summaryrefslogtreecommitdiffhomepage
path: root/nGenEx/SoundD3D.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'nGenEx/SoundD3D.cpp')
-rw-r--r--nGenEx/SoundD3D.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/nGenEx/SoundD3D.cpp b/nGenEx/SoundD3D.cpp
index 45c5c0d..162295d 100644
--- a/nGenEx/SoundD3D.cpp
+++ b/nGenEx/SoundD3D.cpp
@@ -727,14 +727,14 @@ SoundD3D::Localize()
HRESULT hr = buffer->SetPan((LONG) pan);
if (!SUCCEEDED(hr)) {
char warn[512];
- sprintf_s(warn, "Warning could not set pan on buffer to %d", pan);
+ sprintf_s(warn, "Warning could not set pan on buffer to %f", pan);
SoundD3DError(warn, hr);
}
hr = buffer->SetVolume((LONG) vol);
if (!SUCCEEDED(hr)) {
char warn[512];
- sprintf_s(warn, "Warning: could not set volume on buffer to %d", vol);
+ sprintf_s(warn, "Warning: could not set volume on buffer to %f", vol);
SoundD3DError(warn, hr);
}