Documentation ¶
Index ¶
Constants ¶
View Source
const ( SamplesPerGr = 576 GranulesMpeg1 = 2 )
View Source
const ( SfBandIndicesLong = 0 SfBandIndicesShort = 1 )
Variables ¶
View Source
var SfBandIndices = [2][3][2][]int{
{
{
{0, 4, 8, 12, 16, 20, 24, 30, 36, 44, 52, 62, 74, 90, 110, 134, 162, 196, 238, 288, 342, 418, 576},
{0, 4, 8, 12, 16, 22, 30, 40, 52, 66, 84, 106, 136, 192},
},
{
{0, 4, 8, 12, 16, 20, 24, 30, 36, 42, 50, 60, 72, 88, 106, 128, 156, 190, 230, 276, 330, 384, 576},
{0, 4, 8, 12, 16, 22, 28, 38, 50, 64, 80, 100, 126, 192},
},
{
{0, 4, 8, 12, 16, 20, 24, 30, 36, 44, 54, 66, 82, 102, 126, 156, 194, 240, 296, 364, 448, 550, 576},
{0, 4, 8, 12, 16, 22, 30, 42, 58, 78, 104, 138, 180, 192},
},
},
{
{
{0, 6, 12, 18, 24, 30, 36, 44, 54, 66, 80, 96, 116, 140, 168, 200, 238, 284, 336, 396, 464, 522, 576},
{0, 4, 8, 12, 18, 24, 32, 42, 56, 74, 100, 132, 174, 192},
},
{
{0, 6, 12, 18, 24, 30, 36, 44, 54, 66, 80, 96, 114, 136, 162, 194, 232, 278, 332, 394, 464, 540, 576},
{0, 4, 8, 12, 18, 26, 36, 48, 62, 80, 104, 136, 180, 192},
},
{
{0, 6, 12, 18, 24, 30, 36, 44, 54, 66, 80, 96, 116, 140, 168, 200, 238, 284, 336, 396, 464, 522, 576},
{0, 4, 8, 12, 18, 26, 36, 48, 62, 80, 104, 134, 174, 192},
},
},
}
Functions ¶
This section is empty.
Types ¶
type SamplingFrequency ¶
type SamplingFrequency int
const (
SamplingFrequencyReserved SamplingFrequency = 3
)
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.