AndroidSpeexDemo Use AudioRecord to get PCM data Use libspeex to encode PCM data with JNI Use OggWriter to get .spx ogg format file