• 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
Re: Properties and kAudioDevicePermissionsError
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Properties and kAudioDevicePermissionsError (From: Dominic Feira <email@hidden>)

  • Prev by Date: Properties and kAudioDevicePermissionsError
  • Next by Date: Re: subgraphs
  • Previous by thread: Properties and kAudioDevicePermissionsError
  • Next by thread: Multiple CoreAudio Interfaces of the same type on one machine.
  • Index(es):
    • Date
    • Thread