Re: How to play a waveform?
Re: How to play a waveform?
- Subject: Re: How to play a waveform?
- From: William Stewart <email@hidden>
- Date: Tue, 13 Dec 2005 12:19:51 -0800
Have a look at the DefaultOutputUnit code in the SDK. You instantiate
an output unit and provide a callback, then start it. Every I/O cycle
(usually about 11msecs) it will ask you to fill a buffer of data - in
this example it plays a sin wave
Bill
On 13/12/2005, at 7:54 AM, Stephen C. Morgana wrote:
Forgive me for asking this question, but I have really looked in
the documentation and can not find the answer.
I would like to build a waveform in memory and then play it out.
I found documentation on how to do this with the Sound Manager, but
that is deprecated. I can not find the equivalent calls in Core
Audio. All I could find was ways to play sound files stored on disk.
I assume there is a way to do what I want, and I'm just not finding
it in the docs.
Thanks
Stephen Morgana
_______________________________________________
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