Compiling libvorbis, libmodplug, and libtheora
For the loading of audio streams, we use libogg, libvorbis, and libmodplug. Video streams are handled in a similar way with the libtheora library. Here, we only give general hints on how to build the libraries from their sources, since the actual build process is straightforward once you have our typical Android.mk
and Application.mk
files in place.
Getting ready
Download the sources of libvorbis and libtheora codecs from http://www.xiph.org/downloads and the libmodplug library from http://modplug-xmms.sourceforge.net.
How to do it...
libvorbis and libtheora both depend on libogg. The compilation of these libraries is straightforward with the provided makefiles and a standard
Android.mk
file with the list of source files.Note
Makefiles for libvorbis and libtheora libraries must refer to the include directories of libogg.
libmodplug is an open source tracker music decoder by Olivier Lapicque. We provide a shortened version of his library, with loaders...