mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +00:00
Disambiguate comment in Ac3Reader
PiperOrigin-RevId: 239810798
This commit is contained in:
parent
e5aed73fba
commit
cdd433acda
1 changed files with 1 additions and 1 deletions
|
|
@ -201,7 +201,7 @@ public final class Ac3Reader implements ElementaryStreamReader {
|
||||||
output.format(format);
|
output.format(format);
|
||||||
}
|
}
|
||||||
sampleSize = frameInfo.frameSize;
|
sampleSize = frameInfo.frameSize;
|
||||||
// In this class a sample is an access unit (syncframe in AC-3), but the MediaFormat sample rate
|
// In this class a sample is an access unit (syncframe in AC-3), but Format#sampleRate
|
||||||
// specifies the number of PCM audio samples per second.
|
// specifies the number of PCM audio samples per second.
|
||||||
sampleDurationUs = C.MICROS_PER_SECOND * frameInfo.sampleCount / format.sampleRate;
|
sampleDurationUs = C.MICROS_PER_SECOND * frameInfo.sampleCount / format.sampleRate;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue