iphone: saving power when there's no audio to output
iphone: saving power when there's no audio to output
- Subject: iphone: saving power when there's no audio to output
- From: Joel Reymont <email@hidden>
- Date: Fri, 13 Feb 2009 22:01:35 +0000
My application will only output data when there's a packet received
from the network. My intuition tells me that outputting zero-filled
silence buffers every few milliseconds is not going to be gentle on
the iPhone battery.
Would it be better to disable output by setting the
kAudioOutputUnitProperty_EnableIO property or by calling
AudioOutputUnitStop? Which one?
Can I just call AudioUnitRender _only_ when I have data, without
setting kAudioUnitProperty_SetRenderCallback?
Thanks, Joel
---
http://tinyco.de
--- Mac & iPhone
_______________________________________________
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