Re: playing a pcm buffer
Re: playing a pcm buffer
- Subject: Re: playing a pcm buffer
- From: Jeff Moore <email@hidden>
- Date: Wed, 4 Oct 2006 18:04:50 -0700
There really isn't a mechanism on Mac OS X that works like you are
used to with wave out on Windows.
At any rate, for basic playback, you should check out the sample code
in /Developer/Examples/CoreAudio/SimpleSDK/DefaultOutputUnit
On Oct 4, 2006, at 5:53 PM, Daniel Birns wrote:
I need to play pcm buffers asynchronously.
I've spent way too much time looking for how to do this on my own.
I could use some help.
Our data will be 11k 8-bit mono.
On windows (for reference), we're doing this with
waveOutPrepareHeader() and waveOutWrite().
There's a callback we get when the buffer is played.
We need a similar mechanism for the mac.
--
Jeff Moore
Core Audio
Apple
_______________________________________________
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