aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/dsound.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/dsound.c')
-rw-r--r--Alc/dsound.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/Alc/dsound.c b/Alc/dsound.c
index a704c454..6846886d 100644
--- a/Alc/dsound.c
+++ b/Alc/dsound.c
@@ -237,6 +237,11 @@ static ALCboolean DSoundResetPlayback(ALCdevice *device)
speakers = DSSPEAKER_COMBINED(DSSPEAKER_5POINT1, 0);
else if(device->Format == AL_FORMAT_71CHN8 || device->Format == AL_FORMAT_71CHN16)
speakers = DSSPEAKER_COMBINED(DSSPEAKER_7POINT1, 0);
+ else
+ {
+ AL_PRINT("Unknown format: 0x%x\n", device->Format);
+ return ALC_FALSE;
+ }
}
if(SUCCEEDED(hr))
{