Commit c6e89bec authored by nanahira's avatar nanahira

add log

parent 158fa903
Pipeline #36867 passed with stages
in 4 minutes and 45 seconds
......@@ -111,8 +111,11 @@ void SoundManager::PlaySound(wchar_t* sound) {
usingSoundEffectPointer = playingSoundEffect[0];
ma_sound_uninit(usingSoundEffectPointer);
}
ma_sound_init_from_file_w(&engineSound, sound, MA_SOUND_FLAG_ASYNC | MA_SOUND_FLAG_STREAM, nullptr, nullptr, usingSoundEffectPointer);
ma_sound_start(usingSoundEffectPointer);
wprintf(L"Playing sound: %ls\n", sound);
auto res = ma_sound_init_from_file_w(&engineSound, sound, MA_SOUND_FLAG_ASYNC | MA_SOUND_FLAG_STREAM, nullptr, nullptr, usingSoundEffectPointer);
wprintf(L"ma_sound_init_from_file_w result: %d\n", res);
auto res2 = ma_sound_start(usingSoundEffectPointer);
wprintf(L"ma_sound_start result: %d\n", res2);
#endif
#ifdef YGOPRO_USE_IRRKLANG
char csound[1024];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment