codec

package
Version: v0.0.0-...-5977273 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 23, 2018 License: MIT Imports: 3 Imported by: 0

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

type SpeexCodecData struct {
	fake.CodecData
}

func NewSpeexCodecData

func NewSpeexCodecData(sr int, cl av.ChannelLayout) SpeexCodecData

func (SpeexCodecData) PacketDuration

func (self SpeexCodecData) PacketDuration(data []byte) (time.Duration, error)

Source Files

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL