stopping sound
stopping sound
- Subject: stopping sound
- From: Roland Silver <email@hidden>
- Date: Thu, 3 Apr 2008 21:27:09 -0600
Since I don't understand the CoreAudio interface, my program outputs sound using three functions which I lifted from a Sinewave demo without understanding how they work: CreateDefaultAU(); TestDefaultAU(); CloseDefaultAU(); The program runs for 2 seconds because of the call to CFRunLoopRunInMode in TestDefaultAU: CFRunLoopRunInMode(kCFRunLoopDefaultMode, 2, false);
What I want is for sound to be generated indefinitely until my program decides it should stop.
How can I code that?
|
_______________________________________________
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