github.com/bluenviron/mediacommon@v1.9.3/pkg/formats/fmp4/codec_mpeg1_audio.go (about)

     1  package fmp4
     2  
     3  // CodecMPEG1Audio is a MPEG-1 Audio codec.
     4  type CodecMPEG1Audio struct {
     5  	SampleRate   int
     6  	ChannelCount int
     7  }
     8  
     9  // IsVideo implements Codec.
    10  func (CodecMPEG1Audio) IsVideo() bool {
    11  	return false
    12  }
    13  
    14  func (*CodecMPEG1Audio) isCodec() {}