• 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
Is kAudioHardwarePropertySleepingIsAllowed broken on Lion?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Is kAudioHardwarePropertySleepingIsAllowed broken on Lion?


  • Subject: Is kAudioHardwarePropertySleepingIsAllowed broken on Lion?
  • From: Jeff Johnson <email@hidden>
  • Date: Sun, 08 Jan 2012 10:50:01 -0600

I have some code that sets kAudioHardwarePropertySleepingIsAllowed. I can't post the full audio code here, unfortunately, but here's the specific call:

		UInt32 flag = 1;
		OSStatus status = AudioHardwareSetProperty( kAudioHardwarePropertySleepingIsAllowed, sizeof(UInt32), &flag );

This returns noErr on both Snow Leopard and Lion. And the code functions as expected on Snow Leopard, allowing the system to idle sleep while the audio device is started. However, on Lion the system never sleeps while the audio device is started; it will only idle sleep if the audio device is stopped. Are there any known issues with kAudioHardwarePropertySleepingIsAllowed on Lion?

-Jeff

 _______________________________________________
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: AudioQueueServices AudioInputCallBack inPacketDescs copy problems
  • Next by Date: AURemoteIO::Initialize failed: -12985 on iOS 5
  • Previous by thread: AudioQueueServices AudioInputCallBack inPacketDescs copy problems
  • Next by thread: AURemoteIO::Initialize failed: -12985 on iOS 5
  • Index(es):
    • Date
    • Thread