How do I read a 16 bit .wav audio file into a buffer suitable for writing to an Android AudioTrack?
Is there a replacement some开发者_如何学运维where in the SDK for javax.sound.sampled.AudioFormat and associated stuff that allows you to open a .wav file and extract the PCM samples from it? Or do I really need to implement my own codec?
You can try using OpelSL ES ( programming in native code ). You can do audio manipulation that you want and it is very recommended for audio processing.
精彩评论