# libvorbis - Vorbis Encoder/Decoder example for Android/JNI
libvorbis - Vorbis Encoder/Decoder example for Android/JNI.
## Purpose
* The purpose of this project is to demonstrate how Android can use a JNI wrapper around the libvorbis library to both encode PCM data, and decode a ogg/vorbis bitstream
## Usage
* Press the "Start Recording" button to start recording, then press the "Stop Recording" button to stop recording.
* Recorded content is saved saveTo.ogg on the external storage location.
* Press the "Start Playing" button to start playing the recorded data, then press the "Stop Playing" button to stop playing or simply wait for the playback to finish on its own.
* Content is played form saveTo.ogg on the external storage location
## To Build
* Verify the ndk-build tool is in your path and simply execute ./build_jni.sh from your terminal