Two AUHALs, one ring buffer, and one AU filter. But no sound.
Two AUHALs, one ring buffer, and one AU filter. But no sound.
- Subject: Two AUHALs, one ring buffer, and one AU filter. But no sound.
- From: Chilton Webb <email@hidden>
- Date: Thu, 1 Jul 2004 14:13:35 -0500
Hi,
Back story: I'm trying to transmit audio through a USB mic, through an
AU filter, and out the default output. Thus far, it turns out you can't
connect the AUs all together (devices run in parallel, so data doesn't
get passed back and forth properly, or so I understand), and you can't
use a single block of memory (this crashes deep inside the filter AU,
no idea why). I'm trying the ring buffer theory now, where I write to
one part of a buffer and read from another, so the buffer can be used
by both input and output threads.
I've successfully created a ring buffer, and as far as I can tell from
the debugger, it's getting and setting data in the buffer. I'm looking
into that closer now, as it's still not producing any audio. But during
all of this, a few people have suggested that this is just impossible,
due to timing issues. Is that true? If not, is a ring buffer the right
way to do this?
Thank you,
-Chilton
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.