From 381498e945f1cd39e0f99763e27bee47bd356ff6 Mon Sep 17 00:00:00 2001 From: Themaister Date: Sun, 25 Dec 2011 01:59:30 +0100 Subject: [PATCH] Print feature for DirectSound. --- config.features.h | 6 ++++++ ssnes.c | 1 + 2 files changed, 7 insertions(+) diff --git a/config.features.h b/config.features.h index be2db3a2e4..64b282712c 100644 --- a/config.features.h +++ b/config.features.h @@ -74,6 +74,12 @@ static const bool _pulse_supp = true; static const bool _pulse_supp = false; #endif +#ifdef HAVE_DSOUND +static const bool _dsound_supp = true; +#else +static const bool _dsound_supp = false; +#endif + #ifdef HAVE_XAUDIO static const bool _xaudio_supp = true; #else diff --git a/ssnes.c b/ssnes.c index 122ca707d5..c736e13aa5 100644 --- a/ssnes.c +++ b/ssnes.c @@ -410,6 +410,7 @@ static void print_features(void) _PSUPP(rsound, "RSound", "audio driver"); _PSUPP(roar, "RoarAudio", "audio driver"); _PSUPP(pulse, "PulseAudio", "audio driver"); + _PSUPP(dsound, "DirectSound", "audio driver"); _PSUPP(xaudio, "XAudio2", "audio driver"); _PSUPP(al, "OpenAL", "audio driver"); _PSUPP(dylib, "External", "External filter and driver support");