Revert "Revert "Update NewAudioEngineTest.cpp""

This reverts commit 379c099b2d.
This commit is contained in:
Eismann 2020-08-01 06:55:33 +02:00
parent 4c36d9477a
commit ba0e91f7e3
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;