• 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
Setting the sound output volume and balance
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Setting the sound output volume and balance


  • Subject: Setting the sound output volume and balance
  • From: Anders Ödlund <email@hidden>
  • Date: Wed, 19 Feb 2003 00:56:03 +0100

Hello

I wan't my Cocoa application to raise the system volume to maximum when a certain event happens, since I haven't found a nice Cocoa API to do this I'm trying to use the
carbon function:

SetDefaultOutputVolume(0x100);

and it works rather well, apart from the fact that the balance is shifted to the farthest right.

I doubt that this is the intended behaviour, (should I report a bug?) or do I have to use the CoreAudio API's to raise the volume without problems, or can anyone point me to where I should be looking to find out how to set the balance.

I'm running OS X 10.2.4 on a PB G4,

Regards
Anders
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Removing point from NSBezierPath
  • Next by Date: Wrap up Re: Protecting singleton objects from releasing
  • Previous by thread: Removing point from NSBezierPath
  • Next by thread: Problem with a splitterview...
  • Index(es):
    • Date
    • Thread