Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewPCMAlawCodecData ¶
func NewPCMAlawCodecData() av.AudioCodecData
func NewPCMMulawCodecData ¶
func NewPCMMulawCodecData() av.AudioCodecData
Types ¶
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.