Echo on front & end of audio clip
Echo on front & end of audio clip
- Subject: Echo on front & end of audio clip
- From: Ben Ralston <email@hidden>
- Date: Tue, 21 Sep 2004 23:30:31 -0500
I'm resurrecting an old OS 9 audio driver and basing the engine on the
Apple02DBDMAAudioDMA engine. This actually turned out to be quite easy to
use the source and quickly get my driver spitting out (mostly) clean audio.
However, at the beginning of each sample played, I get an echo of the last
second or so of the last sample played. Ie., if I play the system beep, and
then start a song in iTunes, the first second of the song gets mixed with
the beep. Then the last second of a clip sometimes gets echoed just as the
audio engine is stopping.
Its like my DMA buffer is overflowing into the next cycle. From the
'WritingAudioDrivers.pdf' document, it sounds like the problem could be with
the 'erase head' that is spoken of. Like it is not keeping up with the
playhead, or not erasing far enough. How do I make adjustments to something
like this?
Any thoughts from the experts would be appreciated...
-Ben
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden