aboutsummaryrefslogtreecommitdiffstats
path: root/src/output
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/output/winmm_output_plugin.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/output/winmm_output_plugin.c b/src/output/winmm_output_plugin.c
index 214d9e713..e8b004092 100644
--- a/src/output/winmm_output_plugin.c
+++ b/src/output/winmm_output_plugin.c
@@ -65,8 +65,7 @@ winmm_output_get_handle(struct winmm_output* output)
static bool
winmm_output_test_default_device(void)
{
- /* we assume that Wave is always available */
- return true;
+ return waveOutGetNumDevs() > 0;
}
static void *