Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewOpusCodecData ¶
func NewOpusCodecData(sr int, cc av.ChannelLayout) av.AudioCodecData
func NewPCMAlawCodecData ¶
func NewPCMAlawCodecData() av.AudioCodecData
func NewPCMCodecData ¶
func NewPCMCodecData() av.AudioCodecData
func NewPCMMulawCodecData ¶
func NewPCMMulawCodecData() av.AudioCodecData
Types ¶
type OpusCodecData ¶
type OpusCodecData struct { SampleRate_ int ChannelLayout_ av.ChannelLayout // contains filtered or unexported fields }
func (OpusCodecData) ChannelLayout ¶
func (self OpusCodecData) ChannelLayout() av.ChannelLayout
func (OpusCodecData) PacketDuration ¶
func (self OpusCodecData) PacketDuration(data []byte) (time.Duration, error)
func (OpusCodecData) SampleFormat ¶
func (self OpusCodecData) SampleFormat() av.SampleFormat
func (OpusCodecData) SampleRate ¶
func (self OpusCodecData) SampleRate() int
func (OpusCodecData) Type ¶
func (self OpusCodecData) Type() av.CodecType
type PCMUCodecData ¶
type PCMUCodecData struct {
// contains filtered or unexported fields
}
func (PCMUCodecData) ChannelLayout ¶
func (self PCMUCodecData) ChannelLayout() av.ChannelLayout
func (PCMUCodecData) PacketDuration ¶
func (self PCMUCodecData) PacketDuration(data []byte) (time.Duration, error)
func (PCMUCodecData) SampleFormat ¶
func (self PCMUCodecData) SampleFormat() av.SampleFormat
func (PCMUCodecData) SampleRate ¶
func (self PCMUCodecData) SampleRate() int
func (PCMUCodecData) Type ¶
func (self PCMUCodecData) Type() av.CodecType
type SpeexCodecData ¶
func NewSpeexCodecData ¶
func NewSpeexCodecData(sr int, cl av.ChannelLayout) SpeexCodecData
func (SpeexCodecData) PacketDuration ¶
func (self SpeexCodecData) PacketDuration(data []byte) (time.Duration, error)
Click to show internal directories.
Click to hide internal directories.