News for hackers. Stuff that matters.
Re:The Ghost in the MP3 (2014) by Malic on Friday February 12, 2021 @04:40PM (#26118887)
I was under the impression that Apple chose to develop ALAC because it was less CPU/battery intensive to decode. This is going back to iPod Rev.1 days, mind you. Processing power for simply decoding audio CODECs hasn’t been a challenge for some time now.
Re:The Ghost in the MP3 (2014) by LeoPanthera on Friday February 12, 2021 @04:51PM (#26118963)
ALAC (and Sony's ATRAC) can be decoded using only integer math, which makes them very power efficient. It's the reason they exist in the first place.

MP3, FLAC (and I assume AAC) requires floating point math to decode.

Re:The Ghost in the MP3 (2014) by didsomeonesay on Friday February 12, 2021 @05:18PM (#26119188)
Flac decoder does not require floating point math since 2005:

https://xiph.org/flac/changelog.html

Come to think of it, that still might have been one of the historic reasons for ALAC's creation. Its development started before.

Re:The Ghost in the MP3 (2014) by toast0 on Saturday February 13, 2021 @02:56AM (#26122132)
mp3 doesn't require floating point to decode. In the before times, I used mpg321 on an underpowered system because it used the MAD library to decode with only integers, and was able to play my files at only 80% cpu instead of 95% with a floating point decoder. I seem to recall there being a windows player that was faster than winamp, possible because of integer decoding, might have been K-Jofol

https://www.underbit.com/products/mad/