summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/sound/xaudio2_s.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/sound/xaudio2_s.cpp b/src/sound/xaudio2_s.cpp
index e89e28a78..bd47b2065 100644
--- a/src/sound/xaudio2_s.cpp
+++ b/src/sound/xaudio2_s.cpp
@@ -130,7 +130,7 @@ const char *SoundDriver_XAudio2::Start(const StringList &parm)
if (FAILED(hr))
{
- DEBUG(driver, 0, "xaudio2_s: CoInitializeEx failed (%08x)", hr);
+ DEBUG(driver, 0, "xaudio2_s: CoInitializeEx failed (%08x)", (uint)hr);
return "Failed to initialise COM";
}
@@ -164,7 +164,7 @@ const char *SoundDriver_XAudio2::Start(const StringList &parm)
FreeLibrary(_xaudio_dll_handle);
CoUninitialize();
- DEBUG(driver, 0, "xaudio2_s: XAudio2Create failed (%08x)", hr);
+ DEBUG(driver, 0, "xaudio2_s: XAudio2Create failed (%08x)", (uint)hr);
return "Failed to inititialise the XAudio2 engine";
}
@@ -177,7 +177,7 @@ const char *SoundDriver_XAudio2::Start(const StringList &parm)
FreeLibrary(_xaudio_dll_handle);
CoUninitialize();
- DEBUG(driver, 0, "xaudio2_s: CreateMasteringVoice failed (%08x)", hr);
+ DEBUG(driver, 0, "xaudio2_s: CreateMasteringVoice failed (%08x)", (uint)hr);
return "Failed to create a mastering voice";
}
@@ -216,7 +216,7 @@ const char *SoundDriver_XAudio2::Start(const StringList &parm)
FreeLibrary(_xaudio_dll_handle);
CoUninitialize();
- DEBUG(driver, 0, "xaudio2_s: CreateSourceVoice failed (%08x)", hr);
+ DEBUG(driver, 0, "xaudio2_s: CreateSourceVoice failed (%08x)", (uint)hr);
return "Failed to create a source voice";
}
@@ -225,7 +225,7 @@ const char *SoundDriver_XAudio2::Start(const StringList &parm)
if (FAILED(hr))
{
- DEBUG(driver, 0, "xaudio2_s: _source_voice->Start failed (%08x)", hr);
+ DEBUG(driver, 0, "xaudio2_s: _source_voice->Start failed (%08x)", (uint)hr);
Stop();
return "Failed to start the source voice";
@@ -238,7 +238,7 @@ const char *SoundDriver_XAudio2::Start(const StringList &parm)
if (FAILED(hr))
{
- DEBUG(driver, 0, "xaudio2_s: _voice_context->SubmitBuffer failed (%08x)", hr);
+ DEBUG(driver, 0, "xaudio2_s: _voice_context->SubmitBuffer failed (%08x)", (uint)hr);
Stop();
return "Failed to submit the first audio buffer";