Setting the sound output volume and balance
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.