You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
joy4/codec/fake/fake.go

29 lines
518 B
Go

3 years ago
package fake
import (
1 year ago
"git.icomsys.co.kr/ljhwan026/joy4/av"
3 years ago
)
type CodecData struct {
CodecType_ av.CodecType
SampleRate_ int
SampleFormat_ av.SampleFormat
ChannelLayout_ av.ChannelLayout
}
func (self CodecData) Type() av.CodecType {
return self.CodecType_
}
func (self CodecData) SampleFormat() av.SampleFormat {
return self.SampleFormat_
}
func (self CodecData) ChannelLayout() av.ChannelLayout {
return self.ChannelLayout_
}
func (self CodecData) SampleRate() int {
return self.SampleRate_
}