Need an android ndk library (to be run on android devices) to decode audio files that are encrypted using Speex codec and encrypted using a stream cipher (aes preferred). Provided a file pointer and a decryption key, the library should be able to:
1) Decrypt and decode the contents at the file pointer in chunks.
2) Support decrypting+decoding files that are partially downloaded, while they are being downloaded.
3) Support seeking to a given timestamp lying within the downloaded part of the file.
Opus audio codec would also be preferred instead of Speex if it can be supported.