Does AEAudioController consume CPU power when no channel is playing?

I'm thinking, because an iOS app should preserve battery life as much as possible, should I shut down the audio controller when no channel is playing, or it's not really necessary? I.e. no audio producer has channelIsPlaying set, though there are effects/filters hanging in the graph. Does the audio controller do anything in this situation?

Comments

  • I just checked myself and yes, the controller is running even when no channel is playing. If you have, for example, channel groups that are stopped but there is a filter on the root node, that filter will be receiving silence at normal rate. Which means the audio controller should be stopped when not used! Possibly in a "lazy" manner, i.e. say after N seconds of no activity.

Sign In or Register to comment.