• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Stuck notes in Rax and Synthtest
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Stuck notes in Rax and Synthtest


  • Subject: Re: Stuck notes in Rax and Synthtest
  • From: Shaun Wexler <email@hidden>
  • Date: Mon, 19 May 2003 12:56:25 -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>.

I filed a feature-enhancement bug last week, asking for a simple wrapper around the Mach semaphore, and the reply was to "use CAGuard()". Where is this located, and in which API? I have seen in internally in ThreadViewer, etc, but didn't realize that it was public. Is this non-blocking?

Currently, in my ioProc, I perform a de-interleaving blit of all input streams into mono channel ring-buffers, and signal-all via a semaphore belonging to each buffer, after the write has completed for that "channel", so any threads waiting for new data can begin processing it. The only way to do this without blocking was with a Mach semaphore...
--
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.
  • Follow-Ups:
    • Re: Stuck notes in Rax and Synthtest
      • From: Bill Stewart <email@hidden>
References: 
 >Re: Stuck notes in Rax and Synthtest (From: Garth Cummings <email@hidden>)

  • Prev by Date: Re: AudioConverter
  • Next by Date: Fighting Classic for CPU in audio callback
  • Previous by thread: Re: Stuck notes in Rax and Synthtest
  • Next by thread: Re: Stuck notes in Rax and Synthtest
  • Index(es):
    • Date
    • Thread