Android audio programming nightmare - soundpool, audiotrack arrghh?

前端 未结 3 1649
眼角桃花
眼角桃花 2021-01-02 13:55

I\'ve built a simple music sequencer Android app that plays multiple audio files.

Originally I was using SoundPool to play mp3 files and it worked perfectly on 2.3.4

3条回答
  •  时光取名叫无心
    2021-01-02 14:43

    I would recommend you do all your audio capture and time sensitive processing in native code and use JNI to interact between the SDK and NDK components.

    You can find native-audio project example code in the Android NDK distro that show you how to do audio in C/C++

提交回复
热议问题