Update NewAudioEngineTest.cpp

"wav-samples/8kadpcm.wav" not existing.
This commit is contained in:
Eismann 2020-08-01 06:49:44 +02:00
parent f807981d80
commit 34b3f1589e
1 changed files with 1 additions and 1 deletions

View File

@ -238,7 +238,7 @@ bool AudioControlTest::init()
auto playItem = TextButton::create("play", [&](TextButton* button){
if (_audioID == AudioEngine::INVALID_AUDIO_ID) {
_audioID = AudioEngine::play2d("wav-samples/8kadpcm.wav", _loopEnabled, _volume);
_audioID = AudioEngine::play2d("background.mp3", _loopEnabled, _volume);
if(_audioID != AudioEngine::INVALID_AUDIO_ID) {
_isStopped = false;