Re: Hog mode problem
Re: Hog mode problem
- Subject: Re: Hog mode problem
- From: Tim Murison <email@hidden>
- Date: Thu, 07 Jul 2011 16:20:31 -0400
Nobody has any idea about either question?
On 2011-07-04, at 7:13 PM, Tim Murison wrote:
> Hi,
>
> I'm writing an application that is playing audio via a user selected output device in hog mode. I've noticed a problem where sound is cutting out unexpectedly during playback and only restarting once exclusive access to the audio device is released and reacquired.
>
> The only symptom I've been able to track down is a flurry of unexpected calls to my AudioObjectPropertyListenerProc notifying me that hog mode has changed. Sometimes it is one or two calls, other times as many as 20. They happen in rapid succession, always in under 1 second. I am wondering what could be causing this behaviour.
>
> On a perhaps unrelated note, I've been experimenting with kAudioHardwarePropertyHogModeIsAllowed as an alternative method of acquiring hog mode. My understanding is setting this property at startup on the system object should cause my program to automatically acquire hog mode for whichever device it outputs to. Although the property is set correctly (function returns noErr), hog mode is never given to my process. Is there a second step to using this property correctly?
>
> Thanks,
>
> -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