Re: CoreAudio equivalent to SndPlay?
Re: CoreAudio equivalent to SndPlay?
- Subject: Re: CoreAudio equivalent to SndPlay?
- From: William Stewart <email@hidden>
- Date: Mon, 31 Oct 2005 11:08:22 -0800
AUScheduledSlice - its an AU that allows you to schedule buffers,
you get a callback when the buffer is consumed, etc... The file
player AU (see in our SDK, the Simple examples directory's PlayFile
code) is built on top of this AU.
We don't yet have any sample code for this - but it shouldn't be too
hard (famous last words!) to figure out. There are some general docs
about the structures it uses in <AudioUnit/AudioUnitProperties.h>
Bill
On 28/10/2005, at 4:01 PM, email@hidden wrote:
Is there a CoreAudio equivalent way to push sound data similar to
SndPlay with the Sound Manager? Q&A QA1448 says the Sound Manager is
deprecated so I want to use whatever is not deprecated. I basically
just wanted to play in-memory sounds on demand (e.g. gun shot sound
when player clicks the mouse).
I can see how I could install a callback with CoreAudio to pull the
data then supply the right data at the right time to play the sound,
but is there an easier, SndPlay-ish way?
_______________________________________________
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
--
mailto:email@hidden
tel: +1 408 974 4056
________________________________________________________________________
__
"Much human ingenuity has gone into finding the ultimate Before.
The current state of knowledge can be summarized thus:
In the beginning, there was nothing, which exploded" - Terry Pratchett
________________________________________________________________________
__
_______________________________________________
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