• 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: Bill Stewart <email@hidden>
  • Date: Mon, 19 May 2003 15:35:43 -0700

In the SDK:

On your installed disk (with Developer tools intalled)
/Developer/Examples/CoreAudio
- in there there is a directory called PublicUtility

You can also get the latest version of the SDK from:
http://developer.apple.com/audio

If you aren't an Apple Developer you can become an online Apple Developer - takes about 5 minutes, is free, and you can then download this SDK...

Once you have the SDK, install it and the sources will be in the above location

Bill

On Monday, May 19, 2003, at 12:56 PM, Shaun Wexler wrote:

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.


-- 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
________________________________________________________________________ __
_______________________________________________
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.
References: 
 >Re: Stuck notes in Rax and Synthtest (From: Shaun Wexler <email@hidden>)

  • Prev by Date: Program changes...
  • Next by Date: Re: 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