Re:LG is getting out of the mobile phone business
by oriolid on Monday April 05, 2021 @09:13AM
(#26698465)
Samsung Pro Audio used to be the only low-latency audio API on Android devices. AFAIK it was a very thin wrapper over JACK. Of course, using it often crashed the app, and then Samsung first declared it deprecated and then didn't port it to 64-bit runtime.
[ Parent
| on HN ]
Re:LG is getting out of the mobile phone business
by pjmlp on Monday April 05, 2021 @01:23PM
(#26701821)
Because eventually AAudio was created, by the time 64 bit Android started to matter.
Re:LG is getting out of the mobile phone business
by oriolid on Monday April 05, 2021 @03:10PM
(#26703247)
Is AAudio really low latency, or "low latency" in the same sense as low latency modes in Android Audio and OpenSL ES? It's surprisingly difficult to find actual numbers that would compare between these three.
Re:LG is getting out of the mobile phone business
by pjmlp on Monday April 05, 2021 @05:52PM
(#26705153)
In the sense that OpenSL is out of the game, and AAudio is good enough for Samsung to drop their Audio SDK.
Now if you compare it with iOS, it still isn't going to win the race, neither in ms nor in tooling.
https://android-developers.googleblog.com/2021/03/high-perfo...
Re:LG is getting out of the mobile phone business
by oriolid on Tuesday April 06, 2021 @01:22AM
(#26708180)
"Good enough for Samsung" is very, very low bar.
It could have been removed too because app developers didn't use it, because they couldn't make it stable or because they couldn't make it work together with mic permissions.
Anyway, I'm interested in numbers, and specifically whether switching from Android Audio or OpenSL to AAudio brings any significant improvement.
Re:LG is getting out of the mobile phone business
by pjmlp on Tuesday April 06, 2021 @02:53AM
(#26708835)
What the hell is Android Audio?
I suggest you to educate yourself in Android audio subsytems.
Re:LG is getting out of the mobile phone business
by oriolid on Tuesday April 06, 2021 @11:32AM
(#26713078)
It's a name that's sometimes used for AudioTrack, AudioRecord and related classes under android.media. Does that collection have an official name? I would also suggest that you learn some manners.