Skip to content

Commit

Permalink
Disambiguate comment in Ac3Reader
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 239810798
  • Loading branch information
AquilesCanta authored and ojw28 committed Mar 22, 2019
1 parent e5aed73 commit cdd433a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ private void parseHeader() {
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;
}
Expand Down

0 comments on commit cdd433a

Please sign in to comment.