mirror of https://github.com/axmolengine/axmol.git
Update NewAudioEngineTest.cpp
"wav-samples/8kadpcm.wav" not existing.
This commit is contained in:
parent
f807981d80
commit
34b3f1589e
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue