mmdevapi: Only return ACTIVE devices from GetDefaultAudioEndpoint.
commitf7d37b38fe5914cb81f0fbca3902b0862eb842d9
authorAndrew Eikum <aeikum@codeweavers.com>
Tue, 14 Feb 2012 17:50:05 +0000 (14 11:50 -0600)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 15 Feb 2012 10:56:47 +0000 (15 11:56 +0100)
tree86f891ae5784cd7fb34c4076650e973248f1fd12
parent4f5271a17f07b169012168fd81951938bb68e5d0
mmdevapi: Only return ACTIVE devices from GetDefaultAudioEndpoint.

This prevents invalid devices from being created if the user adds a
device, sets it as default, and then removes it.
dlls/mmdevapi/devenum.c