Re: In Search of Audio I/O
Re: In Search of Audio I/O
- Subject: Re: In Search of Audio I/O
- From: Jens Alfke <email@hidden>
- Date: Wed, 4 Jun 2008 07:58:13 -0700
On 4 Jun '08, at 4:14 AM, Richard Furse wrote:
3. Stream audio to and from one of these devices synchronously at a
fixed sample rate of my choosing
...
At step three, I've an AUHAL object that looks happy enough, but I'm
not clear what state change logic I should be using and what
properties apply when. I'm receiving an error code -10865 (what's
that?) when I try to set stream properties on AUHAL - and I really
have no idea what I'm doing! :-)
I think you want to use slightly higher-level APIs than talking to the
HAL directly. Generally one does this using AudioUnits — find the
input or output unit corresponding to the device you want, then either
use its audio callbacks directly, or hook it up to other AudioUnits
that do things like mixing and effects.
There are a number of sample apps that demonstrate using AudioUnits.
—Jens
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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