Simplify mmdevapi's device name search
commitef67d17a842a315eac3ef863edc8682a5c033032
authorChris Robinson <chris.kcat@gmail.com>
Wed, 7 Sep 2016 16:22:34 +0000 (7 09:22 -0700)
committerChris Robinson <chris.kcat@gmail.com>
Wed, 7 Sep 2016 16:22:34 +0000 (7 09:22 -0700)
tree45789450dff44893bb082acf337facbd073bdccd
parent64a8ad9711c3ae0220285c1c01305d9d2ec679d7
Simplify mmdevapi's device name search

Avoids converting each enumerated devid from WSTR to UTF-8, and instead just
converts the device name from UTF-8 to WSTR once if needed.
Alc/backends/mmdevapi.c