Commit cdd433ac by aquilescanta Committed by Oliver Woodman

Disambiguate comment in Ac3Reader

PiperOrigin-RevId: 239810798
parent e5aed73f
......@@ -201,7 +201,7 @@ public final class Ac3Reader implements ElementaryStreamReader {
output.format(format);
}
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.
sampleDurationUs = C.MICROS_PER_SECOND * frameInfo.sampleCount / format.sampleRate;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment