Compdigitec Labs

« | Home | »

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 audio output vs Android AudioTrack

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 »

27 Responses to “Android native AudioTrack vs amem performance”

  1. สล็อตแตกง่าย Says:
    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/ […]

  2. rent scooters in treasure island Says:
    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/ […]

  3. sbo Says:
    June 19th, 2022 at 17:13

    … [Trackback]

    […] Info to that Topic: compdigitec.com/labs/2012/03/11/android-native-audiotrack-vs-amem-performance/ […]

  4. shield plus Says:
    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/ […]

  5. iptv Says:
    July 26th, 2022 at 08:08

    … [Trackback]

    […] Information to that Topic: compdigitec.com/labs/2012/03/11/android-native-audiotrack-vs-amem-performance/ […]

  6. The Cyclecheats Says:
    August 8th, 2022 at 20:11

    … [Trackback]

    […] Read More on that Topic: compdigitec.com/labs/2012/03/11/android-native-audiotrack-vs-amem-performance/ […]

  7. สล็อตวอเลท ไม่มีขั้นต่ำ Says:
    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/ […]

  8. sbo Says:
    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/ […]

  9. Buy magic mushrooms online Australia Says:
    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/ […]

  10. CZ P-10 C P-07 9MM 15 ROUND MAGAZINE Says:
    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/ […]

  11. glock 22 gen 5 Says:
    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/ […]

  12. 加入贏家 Says:
    September 27th, 2022 at 04:43

    … [Trackback]

    […] Info on that Topic: compdigitec.com/labs/2012/03/11/android-native-audiotrack-vs-amem-performance/ […]

  13. Henry Lever-Action X Model .45-70 Government Rifle Says:
    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/ […]

  14. passive income investments Says:
    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/ […]

  15. Alexa Nikolas police report Says:
    January 5th, 2023 at 22:07

    … [Trackback]

    […] Information on that Topic: compdigitec.com/labs/2012/03/11/android-native-audiotrack-vs-amem-performance/ […]

  16. Golden teacher mushrooms Says:
    January 26th, 2023 at 09:04

    … [Trackback]

    […] Find More on that Topic: compdigitec.com/labs/2012/03/11/android-native-audiotrack-vs-amem-performance/ […]

  17. Multiple streams of income Says:
    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/ […]

  18. edible delivery toronto Says:
    January 28th, 2023 at 13:51

    … [Trackback]

    […] Read More to that Topic: compdigitec.com/labs/2012/03/11/android-native-audiotrack-vs-amem-performance/ […]

  19. Tor Dot Wiki Says:
    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/ […]

  20. เงินด่วน 10 นาที Says:
    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/ […]

  21. great post to read Says:
    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/ […]

  22. official site Says:
    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/ […]

  23. Full Report Says:
    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/ […]

  24. sea freight china to usa Says:
    March 1st, 2023 at 18:10

    … [Trackback]

    […] Info to that Topic: compdigitec.com/labs/2012/03/11/android-native-audiotrack-vs-amem-performance/ […]

  25. เครดิตฟรี 50 ยืนยันเบอร์ Says:
    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/ […]

  26. weed delivery toronto Says:
    March 7th, 2023 at 11:08

    … [Trackback]

    […] Find More on that Topic: compdigitec.com/labs/2012/03/11/android-native-audiotrack-vs-amem-performance/ […]

  27. mp3juice Says:
    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/ […]

Comments