« Android video codec benchmark | Home | Creating Debian packages (properly) using debhelper »
Android native AudioTrack vs amem performance
By admin | March 11, 2012
VLC for Android pre-alpha benchmarks (March 11, 2012) for two audio outputs. Specs and method are the same as in the audio benchmarks.
Sample
First 30 seconds of testfile.mp3
Results
amem Mean: 13.24% Median: 11.30% Mode: 10.7% |
Native AudioTrack Mean: 11.87% Median: 10.40% Mode: 10.7% |
amem
PID PPID USER STAT VSZ %MEM CPU %CPU COMMAND Pass 1: D/vlc ( 3253): using audio output module "amem" 3253 957 10076 S 163m 88.3 0 22.7 org.videolan.vlc 3253 957 10076 S 161m 87.2 0 11.5 org.videolan.vlc 3253 957 10076 S 161m 87.2 0 10.7 org.videolan.vlc 3253 957 10076 S 161m 87.2 0 11.9 org.videolan.vlc 3253 957 10076 S 161m 87.2 0 11.3 org.videolan.vlc 3253 957 10076 S 161m 87.2 0 10.2 org.videolan.vlc Pass 2: D/vlc ( 3366): using audio output module "amem" 3366 957 10076 R 164m 88.7 0 23.7 org.videolan.vlc 3366 957 10076 S 161m 87.5 0 11.7 org.videolan.vlc 3366 957 10076 S 161m 87.5 0 11.7 org.videolan.vlc 3366 957 10076 S 161m 87.5 0 10.5 org.videolan.vlc 3366 957 10076 S 161m 87.5 0 11.1 org.videolan.vlc 3366 957 10076 S 161m 87.5 0 10.9 org.videolan.vlc Pass 3: D/vlc ( 3590): using audio output module "amem" 3590 957 10076 S 164m 89.1 0 25.6 org.videolan.vlc 3590 957 10076 S 164m 89.1 0 12.3 org.videolan.vlc 3590 957 10076 S 164m 89.1 0 11.3 org.videolan.vlc 3590 957 10076 S 164m 89.1 0 10.5 org.videolan.vlc 3590 957 10076 S 164m 89.1 0 10.1 org.videolan.vlc 3590 957 10076 S 164m 89.1 0 10.7 org.videolan.vlc
AudioTrack
PID PPID USER STAT VSZ %MEM CPU %CPU COMMAND Pass 1: D/vlc ( 2835): using audio output module "android_audiotrack" 2835 957 10076 S 159m 86.0 0 10.1 org.videolan.vlc 2835 957 10076 S 159m 86.0 0 10.4 org.videolan.vlc 2835 957 10076 S 159m 86.0 0 9.5 org.videolan.vlc 2835 957 10076 S 159m 86.0 0 9.4 org.videolan.vlc 2835 957 10076 S 159m 86.0 0 9.8 org.videolan.vlc 2835 957 10076 S 159m 86.0 0 9.2 org.videolan.vlc Pass 2: D/vlc ( 2948): using audio output module "android_audiotrack" 2948 957 10076 S 165m 89.5 0 23.5 org.videolan.vlc 2948 957 10076 S 164m 88.7 0 11.1 org.videolan.vlc 2948 957 10076 S 164m 88.7 0 10.4 org.videolan.vlc 2948 957 10076 S 164m 88.7 0 10.7 org.videolan.vlc 2948 957 10076 S 164m 88.7 0 9.6 org.videolan.vlc 2948 957 10076 S 164m 88.7 0 10.7 org.videolan.vlc Pass 3: D/vlc ( 3120): using audio output module "android_audiotrack" 3120 957 10076 S 163m 88.4 0 25.8 org.videolan.vlc 3120 957 10076 S 160m 86.8 0 10.7 org.videolan.vlc 3120 957 10076 S 160m 86.8 0 10.3 org.videolan.vlc 3120 957 10076 S 160m 86.8 0 10.7 org.videolan.vlc 3120 957 10076 S 160m 86.8 0 10.2 org.videolan.vlc 3120 957 10076 S 160m 86.8 0 11.5 org.videolan.vlc
Conclusion
Although there is not much of a significant gain in either audio output, the AudioTrack output feels a bit more stable to the end-user with less glitchiness or stuttering. In addition, AudioTrack supports some formats not supported by amem output (such as mono audio).
If you found this article helpful or interesting, please help Compdigitec spread the word. Don’t forget to subscribe to Compdigitec Labs for more useful and interesting articles!
Topics: Mobile | 27 Comments »
February 14th, 2022 at 19:31
… [Trackback]
[…] Here you can find 50767 additional Info to that Topic: compdigitec.com/labs/2012/03/11/android-native-audiotrack-vs-amem-performance/ […]
March 23rd, 2022 at 07:05
… [Trackback]
[…] Find More Information here to that Topic: compdigitec.com/labs/2012/03/11/android-native-audiotrack-vs-amem-performance/ […]
June 19th, 2022 at 17:13
… [Trackback]
[…] Info to that Topic: compdigitec.com/labs/2012/03/11/android-native-audiotrack-vs-amem-performance/ […]
July 22nd, 2022 at 13:14
… [Trackback]
[…] There you will find 15078 more Info to that Topic: compdigitec.com/labs/2012/03/11/android-native-audiotrack-vs-amem-performance/ […]
July 26th, 2022 at 08:08
… [Trackback]
[…] Information to that Topic: compdigitec.com/labs/2012/03/11/android-native-audiotrack-vs-amem-performance/ […]
August 8th, 2022 at 20:11
… [Trackback]
[…] Read More on that Topic: compdigitec.com/labs/2012/03/11/android-native-audiotrack-vs-amem-performance/ […]
August 19th, 2022 at 19:31
… [Trackback]
[…] Find More Info here to that Topic: compdigitec.com/labs/2012/03/11/android-native-audiotrack-vs-amem-performance/ […]
August 29th, 2022 at 04:40
… [Trackback]
[…] Find More Information here to that Topic: compdigitec.com/labs/2012/03/11/android-native-audiotrack-vs-amem-performance/ […]
August 31st, 2022 at 11:58
… [Trackback]
[…] Here you can find 57817 additional Info on that Topic: compdigitec.com/labs/2012/03/11/android-native-audiotrack-vs-amem-performance/ […]
September 3rd, 2022 at 19:04
… [Trackback]
[…] Here you can find 78245 additional Information to that Topic: compdigitec.com/labs/2012/03/11/android-native-audiotrack-vs-amem-performance/ […]
September 15th, 2022 at 00:09
… [Trackback]
[…] Find More here to that Topic: compdigitec.com/labs/2012/03/11/android-native-audiotrack-vs-amem-performance/ […]
September 27th, 2022 at 04:43
… [Trackback]
[…] Info on that Topic: compdigitec.com/labs/2012/03/11/android-native-audiotrack-vs-amem-performance/ […]
October 5th, 2022 at 10:40
… [Trackback]
[…] Read More on to that Topic: compdigitec.com/labs/2012/03/11/android-native-audiotrack-vs-amem-performance/ […]
December 8th, 2022 at 17:54
… [Trackback]
[…] Read More Information here on that Topic: compdigitec.com/labs/2012/03/11/android-native-audiotrack-vs-amem-performance/ […]
January 5th, 2023 at 22:07
… [Trackback]
[…] Information on that Topic: compdigitec.com/labs/2012/03/11/android-native-audiotrack-vs-amem-performance/ […]
January 26th, 2023 at 09:04
… [Trackback]
[…] Find More on that Topic: compdigitec.com/labs/2012/03/11/android-native-audiotrack-vs-amem-performance/ […]
January 28th, 2023 at 10:32
… [Trackback]
[…] Here you will find 84054 additional Info on that Topic: compdigitec.com/labs/2012/03/11/android-native-audiotrack-vs-amem-performance/ […]
January 28th, 2023 at 13:51
… [Trackback]
[…] Read More to that Topic: compdigitec.com/labs/2012/03/11/android-native-audiotrack-vs-amem-performance/ […]
February 4th, 2023 at 20:12
… [Trackback]
[…] Find More Information here to that Topic: compdigitec.com/labs/2012/03/11/android-native-audiotrack-vs-amem-performance/ […]
February 7th, 2023 at 02:18
… [Trackback]
[…] Read More Information here to that Topic: compdigitec.com/labs/2012/03/11/android-native-audiotrack-vs-amem-performance/ […]
February 25th, 2023 at 14:11
… [Trackback]
[…] Find More Info here on that Topic: compdigitec.com/labs/2012/03/11/android-native-audiotrack-vs-amem-performance/ […]
February 27th, 2023 at 05:00
… [Trackback]
[…] Find More on on that Topic: compdigitec.com/labs/2012/03/11/android-native-audiotrack-vs-amem-performance/ […]
February 27th, 2023 at 15:46
… [Trackback]
[…] Here you will find 34305 additional Info on that Topic: compdigitec.com/labs/2012/03/11/android-native-audiotrack-vs-amem-performance/ […]
March 1st, 2023 at 18:10
… [Trackback]
[…] Info to that Topic: compdigitec.com/labs/2012/03/11/android-native-audiotrack-vs-amem-performance/ […]
March 4th, 2023 at 20:44
… [Trackback]
[…] Find More Information here on that Topic: compdigitec.com/labs/2012/03/11/android-native-audiotrack-vs-amem-performance/ […]
March 7th, 2023 at 11:08
… [Trackback]
[…] Find More on that Topic: compdigitec.com/labs/2012/03/11/android-native-audiotrack-vs-amem-performance/ […]
March 25th, 2023 at 09:54
… [Trackback]
[…] Find More Information here to that Topic: compdigitec.com/labs/2012/03/11/android-native-audiotrack-vs-amem-performance/ […]