摘要 |
A method and apparatus utilizing a single processor and a plurality of memories for providing audio synchronization including writing an incoming PES audio stream having header information, PTS timing information and payload information and audio information to an input buffer. The method and apparatus further includes reading the incoming audio stream from the input buffer and parsing the timing information and the audio information. The audio information, ES information, is written to an intermediate buffer. Based on the timing information, the method and apparatus further includes reading the audio information from the intermediate buffer and decoding the audio information to generate decoded audio information, PCM information. The method and apparatus includes writing the decoded audio information in an output buffer, wherein the decoded audio information may be provided from the output buffer to a digital-to-analog converter and thereupon provided to an audio system.
|