Re: Stuck notes in Rax and Synthtest
Re: Stuck notes in Rax and Synthtest
- Subject: Re: Stuck notes in Rax and Synthtest
- From: Shaun Wexler <email@hidden>
- Date: Thu, 8 May 2003 10:41:08 -0700
On Thursday, May 8, 2003, at 08:00 AM, Garth Cummings wrote:
A cautionary note...
We generally recommend that developers not use Mach APIs directly. We
don't guarantee that they won't change, unlike higher-level APIs. Most
of our frameworks have higher-level wrappers around Mach calls that
preserve the abstraction layering.
There may be cases when there's no other way to accomplish something.
If you find one of those cases, I suggest filing an enhancement
request to add an API to the framework you're using at
<http://developer.apple.com/bugreporter>.
Thanks,
--gc
*** How about Apple adding a semaphore wrapper/abstraction to the
CoreAudio API? ***
typedef semaphore_t AudioSemaphore;
AudioSemaphore AudioSemaphoreCreate(void);
void AudioSemaphoreDestroy(AudioSemaphore semaphore);
void AudioSemaphoreSignal(AudioSemaphore semaphore);
void AudioSemaphoreSignaAll(AudioSemaphore semaphore);
void AudioSemaphoreWait(AudioSemaphore semaphore);
BOOL AudioSemaphoreWaitTimeout(AudioSemaphore semaphore, UInt64
maxNanos);
BOOL AudioSemaphoreTimedWait(AudioSemaphore semaphore, UInt64
waitNanos);
etc...
--
Shaun Wexler
MacFOH
http://www.macfoh.com
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.