开发者

How do I read a 16 bit .wav audio file into a buffer suitable for writing to an Android AudioTrack?

开发者 https://www.devze.com 2023-01-05 10:33 出处:网络
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 r

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消