• 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
iphone: saving power when there's no audio to output
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Prev by Date: Re: Coreaudio-api Digest, Vol 6, Issue 71
  • Next by Date: Re: Trimming audio
  • Previous by thread: Re: Coreaudio-api Digest, Vol 6, Issue 71
  • Next by thread: NSOpenPanel - turning off QuickLook for audio
  • Index(es):
    • Date
    • Thread