diff options
author | Kurt Korbatits <kurt.korbatits@nokia.com> | 2010-06-24 02:23:34 (GMT) |
---|---|---|
committer | Kurt Korbatits <kurt.korbatits@nokia.com> | 2010-06-24 02:23:34 (GMT) |
commit | 5aa3b45acf810f444487d0904a9c84be8687623d (patch) | |
tree | 1cb8010fa047a61569f5022c126867dd0b6259d1 /src/multimedia/audio/qaudiodeviceinfo_win32_p.cpp | |
parent | efefdf4412707991f28e1a65675dda5b03ab8a7d (diff) | |
download | Qt-5aa3b45acf810f444487d0904a9c84be8687623d.zip Qt-5aa3b45acf810f444487d0904a9c84be8687623d.tar.gz Qt-5aa3b45acf810f444487d0904a9c84be8687623d.tar.bz2 |
Added surround sound support to win32 low-level audio backend.
Task-number:QTBUG-11586
Reviewed-by:Andrew den Exter
Diffstat (limited to 'src/multimedia/audio/qaudiodeviceinfo_win32_p.cpp')
-rw-r--r-- | src/multimedia/audio/qaudiodeviceinfo_win32_p.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/multimedia/audio/qaudiodeviceinfo_win32_p.cpp b/src/multimedia/audio/qaudiodeviceinfo_win32_p.cpp index 465bc98..4e6b2df 100644 --- a/src/multimedia/audio/qaudiodeviceinfo_win32_p.cpp +++ b/src/multimedia/audio/qaudiodeviceinfo_win32_p.cpp @@ -374,6 +374,11 @@ void QAudioDeviceInfoInternal::updateLists() #endif channelz.append(1); channelz.append(2); + if (mode == QAudio::AudioOutput) { + channelz.append(4); + channelz.append(6); + channelz.append(8); + } byteOrderz.append(QAudioFormat::LittleEndian); |