Re: Will AVAudioConverter use the hardware decoder?
Re: Will AVAudioConverter use the hardware decoder?
- Subject: Re: Will AVAudioConverter use the hardware decoder?
- From: Eric Allamanche <email@hidden>
- Date: Wed, 02 Jan 2019 10:57:19 -0800
> On Jan 2, 2019, at 10:24 AM, Tamás Zahola <email@hidden> wrote:
>
> 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?
correct.
>
> Best regards,
> Tamás Zahola
>
>> On 2019. Jan 2., at 19:08, Eric Allamanche <email@hidden> 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@hidden> 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@hidden)
>>> Help/Unsubscribe/Update your Subscription:
>>>
>>> This email sent to email@hidden
>>
_______________________________________________
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