Use correct default audio output and input devices on Windows.
authorYoann Lopes <yoann.lopes@digia.com>
Tue, 25 Jun 2013 11:20:55 +0000 (13:20 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Tue, 25 Jun 2013 12:05:15 +0000 (14:05 +0200)
commitf424e8249b7b83d7d8f5a353161d2cc093840beb
treeafb0e97ef887410fea003f8a11fe9a89645661fd
parent17053a450b019bffe9b6040d221e9fc1e5c1968f
Use correct default audio output and input devices on Windows.

It was returning the first available device as the default, which might
not be the actual default device. Use the WAVE_MAPPER device ID instead
that tells Windows to use the most appropriate device.

Change-Id: Id1e9324e889bbaaab54bc0e0da810a7ce5fcb592
Reviewed-by: Andy Nichols <andy.nichols@digia.com>
src/multimedia/audio/qaudiodeviceinfo_win32_p.cpp