Buffering considerations

The minimum buffer size should be equal to the size of an MP4 sample.

Because each MP4 sample from a Dolby Digital Plus audio track must contain all the audio data necessary to produce 1,536 samples of decoded PCM from each substream from the Dolby Digital Plus track, the size of the buffer for an MP4 sample may require special considerations. At the maximum data rate of 3,024 kbps (at 48 kHz), the maximum size of an MP4 sample containing Dolby Digital Plus data is 12,096 bytes, so the minimum buffer size is 12,096 bytes.