Commit ad56e10e authored by Denis Krjuchkov's avatar Denis Krjuchkov

winmm_output: improved test_default_device

If no device is available test_default_device returns false.
parent 75f4772b
......@@ -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 *
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment