Is kAudioHardwarePropertySleepingIsAllowed broken on Lion?
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