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