winmm_output: improved test_default_device

If no device is available test_default_device returns false.
This commit is contained in:
Denis Krjuchkov 2010-11-03 23:26:19 +05:00
parent 75f4772ba2
commit ad56e10e5b

View File

@ -65,8 +65,7 @@ winmm_output_get_handle(struct winmm_output* output)
static bool static bool
winmm_output_test_default_device(void) winmm_output_test_default_device(void)
{ {
/* we assume that Wave is always available */ return waveOutGetNumDevs() > 0;
return true;
} }
static void * static void *