© Jan Newmarch 2017

Jan Newmarch, Raspberry Pi GPU Audio Video Programming , 10.1007/978-1-4842-2472-4_14

14. OpenMAX Audio on the Raspberry Pi

Jan Newmarch

(1)Oakleigh, Victoria, Australia

This chapter looks at audio processing on the Raspberry Pi. The support from OpenMAX is weaker: there is no satisfactory decode component. You have to resort to FFmpeg to decode and render audio.

Building Programs

Some programs in this chapter use libraries from the LibAV project, so development files from LibAV need to be installed.

sudo apt-get install libavcodec-devsudo apt-get install libavformat-dev

You can then build the programs in this chapter using the Makefile, which adds in the LibAV libraries.

DMX_INC =  -I/opt/vc/include/ -I /opt/vc/include/interface/vmcs_host/ ...

Get Raspberry Pi GPU Audio Video Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.