Documentation
¶
Index ¶
Constants ¶
View Source
const ( SamplesPerGr = 576 BytesPerFrame = SamplesPerGr * 2 * 4 )
Variables ¶
View Source
var ( SfBandIndicesSet = map[SamplingFrequency]SfBandIndices{ SamplingFrequency44100: { L: []int{0, 4, 8, 12, 16, 20, 24, 30, 36, 44, 52, 62, 74, 90, 110, 134, 162, 196, 238, 288, 342, 418, 576}, S: []int{0, 4, 8, 12, 16, 22, 30, 40, 52, 66, 84, 106, 136, 192}, }, SamplingFrequency48000: { L: []int{0, 4, 8, 12, 16, 20, 24, 30, 36, 42, 50, 60, 72, 88, 106, 128, 156, 190, 230, 276, 330, 384, 576}, S: []int{0, 4, 8, 12, 16, 22, 28, 38, 50, 64, 80, 100, 126, 192}, }, SamplingFrequency32000: { L: []int{0, 4, 8, 12, 16, 20, 24, 30, 36, 44, 54, 66, 82, 102, 126, 156, 194, 240, 296, 364, 448, 550, 576}, S: []int{0, 4, 8, 12, 16, 22, 30, 42, 58, 78, 104, 138, 180, 192}, }, } )
Functions ¶
This section is empty.
Types ¶
type SamplingFrequency ¶
type SamplingFrequency int
const ( SamplingFrequency44100 SamplingFrequency = 0 SamplingFrequency48000 SamplingFrequency = 1 SamplingFrequency32000 SamplingFrequency = 2 SamplingFrequencyReserved SamplingFrequency = 3 )
func (SamplingFrequency) Int ¶
func (s SamplingFrequency) Int() int
type SfBandIndices ¶
type UnexpectedEOF ¶
type UnexpectedEOF struct {
At string
}
func (*UnexpectedEOF) Error ¶
func (u *UnexpectedEOF) Error() string
Click to show internal directories.
Click to hide internal directories.