summaryrefslogtreecommitdiffstats
path: root/src/multimedia
diff options
context:
space:
mode:
authorKurt Korbatits <kurt.korbatits@nokia.com>2010-06-24 22:41:04 (GMT)
committerKurt Korbatits <kurt.korbatits@nokia.com>2010-06-24 22:41:04 (GMT)
commita67e9a9a0d0e335db2f7b7232c6c7ec42750533c (patch)
treeb9e77434ef2e33402a7060ff62d4232c1b68a2a3 /src/multimedia
parentd3d3dbacadecd7b302893907098b8cf56a9e3e9b (diff)
downloadQt-a67e9a9a0d0e335db2f7b7232c6c7ec42750533c.zip
Qt-a67e9a9a0d0e335db2f7b7232c6c7ec42750533c.tar.gz
Qt-a67e9a9a0d0e335db2f7b7232c6c7ec42750533c.tar.bz2
Fixed compile error in multimedia module
WAVE_FORMAT_EXTENSIBLE not in v6.0 ms SDK only in v6.1's Reviewed-by:TrustMe
Diffstat (limited to 'src/multimedia')
-rw-r--r--src/multimedia/audio/qaudiooutput_win32_p.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/multimedia/audio/qaudiooutput_win32_p.cpp b/src/multimedia/audio/qaudiooutput_win32_p.cpp
index 56de4ee..d0f1791 100644
--- a/src/multimedia/audio/qaudiooutput_win32_p.cpp
+++ b/src/multimedia/audio/qaudiooutput_win32_p.cpp
@@ -95,6 +95,10 @@
#endif
+#if !defined(WAVE_FORMAT_EXTENSIBLE)
+#define WAVE_FORMAT_EXTENSIBLE 0xFFFE
+#endif
+
#define _KSDATAFORMAT_SUBTYPE_PCM (GUID) {0x00000001,0x0000,0x0010,{0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71}}
//#define DEBUG_AUDIO 1