Re: Properties and kAudioDevicePermissionsError
Re: Properties and kAudioDevicePermissionsError
- Subject: Re: Properties and kAudioDevicePermissionsError
- From: Jeff Moore <email@hidden>
- Date: Mon, 20 Sep 2004 16:21:52 -0700
The iSight is a single-client only device. This means that only one process at a time can claim the iSight and use it. You get kAudioDevicePermissionsError returned from the API calls when you are in a process that doesn't own the device and try to access it.
On Sep 20, 2004, at 3:49 PM, Dominic Feira wrote:
Hello.
I am trying to determine wether or not a device is muted or not.
I am using an iSight to test this functionality.
When I try:
AudioDeviceGetProperty(mAudioDeviceID, inChannel, inSection, kAudioDevicePropertyMute, &ioDataSize, outData);
I get kAudioDevicePermissionsError.
HALLab gets the same error (I threw in some printfs to check).
What exactly does kAudioDevicePermissionsError mean?
It looks like HALLab is ignoring the error.
Dominic Feira / Code Monkey / Ambrosia Software, Inc. _______________________________________________
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
--
Jeff Moore
Core Audio
Apple
_______________________________________________
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