Hog mode and exclusive use of a device
Hog mode and exclusive use of a device
- Subject: Hog mode and exclusive use of a device
- From: Tim Hewett <email@hidden>
- Date: Mon, 24 Jun 2013 19:44:41 +0100
I am using hog mode to provide exclusive use of an output device. I find that it stops the device being selectable as the default or system output but that other applications which allow a device to be chosen within the tool can still play to it (unless the format is a non-mixable one).
Audacity is one example application, though VLC checks first before blocking selection of the device. Also afplay (modified to play to a chosen output device) plays fine to a device already hogged by another process.
Is there a way to gain full exclusive use of a device for all formats including mixable PCM? I wondered whether setting kAudioFormatFlagIsNonMixable in the AudioStreamBasicDescription format flags might work, but no.
Tim.
_______________________________________________
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