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-dev
sudo 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/ ...