Using Audio Unit to affect audio level application-wide ?
Using Audio Unit to affect audio level application-wide ?
- Subject: Using Audio Unit to affect audio level application-wide ?
- From: Francois Reboursier <email@hidden>
- Date: Wed, 22 Sep 2010 08:45:17 +0200
Hello list,
My application uses QTKit to play movies, and NSSound to play short UI
sound effects. It will run on a Mac mini 2010 connected to a TV using
HDMI, thus I cannot set the OS sound volume. But I'd like to set the
output volume for my app, without having to set the volume on every
NSSound and QTMovie I play.
Can I use Audio Units to get all the sound produced by my app (I
gather it's kAudioUnitSubType_DefaultOutput), set its gain, and send
it back to the default audio output ?
Any pointer would be greatly appreciated!
Regards,
Francois
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden