• 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 Manager?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Sound Manager?


  • Subject: Re: Sound Manager?
  • From: Uli Kusterer <email@hidden>
  • Date: Wed, 3 May 2006 22:24:40 +0200

Am 03.05.2006 um 21:35 schrieb Shon Frazier:
The Sound Manager APIs are deprecated. What's the replacement under Cocoa?

Official word is that you should use CoreAudio instead, or NSSound if you have it. IIRC newer versions of OS X also come with OpenAL, an open-source layer above the official audio APIs.


Specifically: I need to know when the system sound volume changes. I'd also like to know whether headphones are plugged in.

1) Is there such a thing as a sound volume changed notification? If so, how do I register for it?
2) The sound preferences pane in System Preferences tells me whether I'm using internal speakers vs. headphones - how does my code get that information?

I don't think there's anything like #1, even if you use the Sound Manager. I don't know at all about #2.


Cheers,
-- M. Uli Kusterer
http://www.zathras.de


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Sound Manager? (From: Shon Frazier <email@hidden>)

  • Prev by Date: Re: Problem with prebinding and Frameworks
  • Next by Date: Re: Keyboard short-cuts edit field
  • Previous by thread: Sound Manager?
  • Next by thread: Re: Sound Manager?
  • Index(es):
    • Date
    • Thread