WMF: fix reported sample type of 8-bit audio formats.
authorYoann Lopes <yoann.lopes@theqtcompany.com>
Tue, 14 Apr 2015 11:42:46 +0000 (13:42 +0200)
committerYoann Lopes <yoann.lopes@theqtcompany.com>
Tue, 14 Apr 2015 14:30:16 +0000 (14:30 +0000)
commitb109f093d9bad84d54d5114735f311762f0eb42a
tree8d73fc6b4168116d97c13790febf8da7a58ab230
parentf3a07360dd5a7b8e8b13217b08a952a1584e8101
WMF: fix reported sample type of 8-bit audio formats.

Always report 8-bit PCM data as unsigned integer. Even though there's
no API to actually know that, it's standard on Windows. 8-bit is
unsigned and 16-bit is signed.

Task-number: QTBUG-45540
Change-Id: I4a3c09084de688ea7afc3bc147508184fb582224
Reviewed-by: Christian Stromme <christian.stromme@theqtcompany.com>
src/plugins/wmf/decoder/mfaudiodecodercontrol.cpp
src/plugins/wmf/player/mfplayersession.cpp