but my problem is that i cannot preapre for the skip, because it happens just when i receive external signal, and right in this timepoint i have to do all the skipping+synth+decoding work. i saw a patch for a real-time linux kernel. will it help ? does someone is going to do a propessional skipping code for the MAD ?
Gad
-----Original Message----- From: mad-dev-admin@lists.mars.org [mailto:mad-dev-admin@lists.mars.org]On Behalf Of Nicolas Pitre Sent: Thursday, August 23, 2001 10:27 PM To: Gad Hayisraeli Cc: Rob Leslie; mad-dev@lists.mars.org Subject: RE: [mad-dev] MAD( Regarding the dynamic jumping to songs differentlocation )
On Thu, 23 Aug 2001, Gad Hayisraeli wrote:
I can't tell you how much time you will need, as much depends on your available CPU, process scheduling, I/O, etc.
i have the whole cpu time only for this mission.
Have you taken any measurements of your current performance?
yes. i've done what you suggested, but the frame mute+synth+the
skip takes
about 20-50 ms.
It's your duty to buffer data before actually skipping to the new position. This will take out the skip time. That's a real time programing, not a decoding issue.
Nicolas