aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwsoltys <wiso@no.way>2013-10-25 17:11:26 +0200
committerwsoltys <wiso@no.way>2013-10-25 17:11:41 +0200
commit1feb7a278d8b31da855bcd467f0311e4806febec (patch)
tree4c451a0e5598773b2e27947b03c69dcdc1d2ab80
parentf90170a2605328f4d09b5d6de04d98885f12b3b4 (diff)
[WIN32] fixed: added missing directsound return codes.
-rw-r--r--xbmc/cores/AudioEngine/Sinks/AESinkDirectSound.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/xbmc/cores/AudioEngine/Sinks/AESinkDirectSound.cpp b/xbmc/cores/AudioEngine/Sinks/AESinkDirectSound.cpp
index 1d89c1f17f..3c01a85ad4 100644
--- a/xbmc/cores/AudioEngine/Sinks/AESinkDirectSound.cpp
+++ b/xbmc/cores/AudioEngine/Sinks/AESinkDirectSound.cpp
@@ -781,6 +781,12 @@ const char *CAESinkDirectSound::dserr2str(int err)
case DSERR_UNINITIALIZED: return "DSERR_UNINITIALIZED";
case DSERR_NOINTERFACE: return "DSERR_NOINTERFACE";
case DSERR_ACCESSDENIED: return "DSERR_ACCESSDENIED";
+ case DSERR_BUFFERTOOSMALL: return "DSERR_BUFFERTOOSMALL";
+ case DSERR_DS8_REQUIRED: return "DSERR_DS8_REQUIRED";
+ case DSERR_SENDLOOP: return "DSERR_SENDLOOP";
+ case DSERR_BADSENDBUFFERGUID: return "DSERR_BADSENDBUFFERGUID";
+ case DSERR_OBJECTNOTFOUND: return "DSERR_OBJECTNOTFOUND";
+ case DSERR_FXUNAVAILABLE: return "DSERR_FXUNAVAILABLE";
default: return "unknown";
}
}