• 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: Sound Output Components for OS X???
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Sound Output Components for OS X???


  • Subject: Re: Sound Output Components for OS X???
  • From: Jeff Moore <email@hidden>
  • Date: Mon, 6 Jan 2003 12:02:59 -0800

On Saturday, January 4, 2003, at 06:49 AM, Mark Coniglio wrote:

Hi,

For my real-time video and audio app Isaodra. I've written an OS 9 Sound Output Component that talks to an ASIO handler within my app, and routes the audio from a Sound Manager channel to any pair of channels on an external, multi-channel interface. It works great on my MOTU 828. So far so good...

But now, I'd like to pull off the same trick for OS X. My question is, does OS X recognize a Sound Output Component? Where do I put it?

Yes sdevs are still supported, but the Sound Manager is not the way to do what you are doing. It is not even the primary API for doing audio on X. The right way is to just use the native multi-chanel APIs found in Core Audio.

But if you insist, I would manually register and unregister your component when your app launches and quits using the appropriate Component Manager routines. I would keep your component in your app's bundle in the Resources or Plug-Ins folder.

If you are using this "technique" for grabbing the sound being produced by other processes, you are out of luck. This won't work at all on Mac OS X as the Sound Manager is a per-process entity rather than a per-machine entity like it was on 9.

The only piece of documentation that implied anything about this was QA 1206 (http://developer.apple.com/qa/qa2001/qa1206.html) which talks the fact that the Sound Manager registers an output component for every HAL device on the system. But it doesn't look like those components give me access to the more than two channels on the device.

The HAL sdevs, just like the rest of the Sound Manager, only support stereo so this is to be expected.

If you have any links to documentation or advice, I'd appreciate it.

Ciao,
Mark

P.S. I'm giving Isadora Demo at the Apple Store NYC (Soho) on January 14th. Details at http://www.troikaranch.org/performances.html


--
=======================================================================
Mark Coniglio | email@hidden
TroikaTronix | http://www.troikatronix.com/
Isadora. | http://www.troikatronix.com/isadora.html
| (interactive media processing environment)
=======================================================================
_______________________________________________
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.



--

Jeff Moore
Core Audio
Apple
_______________________________________________
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: 
 >Sound Output Components for OS X??? (From: Mark Coniglio <email@hidden>)

  • Prev by Date: Re: AudioStream format problem
  • Next by Date: Re: multiple track synthesizer problem
  • Previous by thread: Sound Output Components for OS X???
  • Next by thread: Re: Sound Output Components for OS X???
  • Index(es):
    • Date
    • Thread