Wow, thanks Eric, I wasn’t aware of this!

So, this means that in terms of battery consumption, feeding AAC/MP3/etc. 
packets to an AVAudioConverter (then an AVAudioPlayerNode) is as efficient as 
it gets?

Best regards,
Tamás Zahola

> On 2019. Jan 2., at 19:08, Eric Allamanche <[email protected]> wrote:
> 
> Hi Tamás,
> 
> the hardware audio decoders are a thing of the past. All remaining facilities 
> related to hardware audio codecs are deprecated and don’t have any effect. 
> You should stop using them.
> 
> Eric
> 
>> On Dec 23, 2018, at 2:11 PM, Tamás Zahola <[email protected]> wrote:
>> 
>> Hi,
>> 
>> I'm writing an iOS app that would be playing AAC/MP3/etc. streams in the 
>> background for extended periods of time, so I'd like to minimize its battery 
>> impact as much as possible. 
>> 
>> With the AudioConverter C API I could ask for a hardware codec via 
>> AudioConverterNewSpecific + kAppleHardwareAudioCodecManufacturer, but as of 
>> lately AVAudioEngine seems to be Apple's choice of audio API, so I would 
>> prefer to use that instead of the C API...
>> 
>> Is there any information on whether AVAudioConverter would offload audio 
>> conversion to the hardware decoder or not?
>> 
>> Best regards,
>> Tamás Zahola
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Coreaudio-api mailing list      ([email protected])
>> Help/Unsubscribe/Update your Subscription:
>> https://lists.apple.com/mailman/options/coreaudio-api/eallamanche%40apple.com
>> 
>> This email sent to [email protected]
> 
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/coreaudio-api/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to