• 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
Hog mode and exclusive use of a device
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Exampels or thorough documentation for seek properties in (plain) Audio File Services
  • Next by Date: AVAudioMix volume/gain curve seems nonlinear
  • Previous by thread: Re: Exampels or thorough documentation for seek properties in (plain) Audio File Services
  • Next by thread: AVAudioMix volume/gain curve seems nonlinear
  • Index(es):
    • Date
    • Thread