import "41.neocities.org/sofia/enca"
type SampleEntry struct { SampleEntry sofia.SampleEntry S struct { ChannelCount uint16 SampleSize uint16 PreDefined uint16 SampleRate uint32 // contains filtered or unexported fields } Box []*sofia.Box Sinf sinf.Box }
ISO/IEC 14496-12
class AudioSampleEntry(codingname) extends SampleEntry(codingname) { const unsigned int(32)[2] reserved = 0; unsigned int(16) channelcount; template unsigned int(16) samplesize = 16; unsigned int(16) pre_defined = 0; const unsigned int(16) reserved = 0 ; template unsigned int(32) samplerate = { default samplerate of media}<<16; }
func (s *SampleEntry) Append(data []byte) ([]byte, error)
func (s *SampleEntry) Read(data []byte) error