Patent ID: 7778525

Claim:
A method of preventing playing of audio or video data from being interrupted for a mix mode multimedia playback system, said method comprising the steps of: providing a video stream buffer, an audio stream buffer, and a parser module; examining amount of free space in said video stream buffer so as to ensure amount of the free space is larger than a sum of video data in a track buffer and video data being processed by said parser module; examining amount of free space in said audio stream buffer so as to ensure amount of the free space is larger than a sum of audio data of said track buffer and audio data being processed by said parser module; if amount of the free space is larger than a sum of video data of said track buffer and video data being processed by said parser module, pushing said video data processed by said parser module and video data in said track buffer into said free space of said video stream buffer at the same time while playing of an video scene state machine is paused or stopped so as to release entire space of said track buffer for audio data to be loaded; and if amount of the free space is larger than a sum of audio data of said track buffer and audio data being processed by said parser module, pushing said audio data processed by said parser module and audio data in said track buffer into said free space of said video stream buffer at the same time while playing of an audio scene state machine is paused or stopped so as to release entire space of said track buffer for video data to be loaded.