Rockbox mail archive
Subject: Re: How in the heck...
The problem is that the unwanted voice output has already been put in the
PCM buffer (the final output stage). I've made another patch which might
help by clearing that buffer to remove any previous voice when starting a
new voice clip. (Unfortunately, I can only do that whilst music is not
being played, because there's no way to separate out the voice and music.)
The patch is at http://www.rockbox.org/tracker/task/6072
The correct solution to this issue is to rewrite the entire voice buffering
system, and mix in the voice onto the output at a very late stage/low
latency. But this likely opens some other cans of worms (sample rate
conversion, interrupt handling etc.) and will probably not be done very
soon, hence the patch above as a workaround.
If you could give it a test and report back (on the patch tracker) then I'd
be grateful. You shouldn't bother to include my previous "delay" patch -
I'll kill that off shortly!
Received on 2006-09-27
Page was last modified "Jan 10 2012" The Rockbox Crew