摘要 |
A memory management unit (MMU) may buffer media stream samples of one or more media streams, such as audio and/or video streams, in a buffer. The MMU may determine how much time a media stream sample is to be buffered by comparing a value of a real-time clock with a timestamp associated with the media stream sample. The MMU may determine a target output block in the buffer for the media stream sample based on the period of a media clock and on the amount of buffer time that the media stream sample is to be buffered. The target output block is determined relative to an output block identified by a read address. The MMU may store the media stream sample in the target output block. The MMU may increase or decrease the read address at a rate determined by the media clock.
|