diff --git a/app/src/main/cpp/opensl_audio_player.cpp b/app/src/main/cpp/opensl_audio_player.cpp index dad7dfa..e702b6a 100644 --- a/app/src/main/cpp/opensl_audio_player.cpp +++ b/app/src/main/cpp/opensl_audio_player.cpp @@ -273,7 +273,7 @@ AUDIO_PLAYER_FUNC(void, playAudio, jstring filePath) { ret = createBufferQueueAudioPlayer(rate, channel, SL_PCMSAMPLEFORMAT_FIXED_16); if (ret < 0) return; - bqPlayerCallback(mPlayerBufferQueue, nullptr); + audioCallback(mPlayerBufferQueue, nullptr); } AUDIO_PLAYER_FUNC(void, stop) {