Documentation
¶
Overview ¶
Package mp4audio holds what the readers and writers of an MPEG-4 AudioSpecificConfig (ISO/IEC 14496-3, 1.6.2.1) share: the sampling frequency indices.
Index ¶
Constants ¶
const ExplicitRate = 15
ExplicitRate is the sampling frequency index that announces a 24-bit rate in Hz in the stream instead of a rate of the table.
const SampleRateIndices = len(sampleRates)
SampleRateIndices is the number of sampling frequency indices that name a rate.
Variables ¶
This section is empty.
Functions ¶
func SampleRate ¶
SampleRate is the rate in Hz of a sampling frequency index; ok is false for ExplicitRate and the reserved indices.
func SampleRateIndex ¶
SampleRateIndex is the sampling frequency index of a rate in Hz; ok is false for a rate outside the table, which a config announces with ExplicitRate.
Types ¶
This section is empty.