summaryrefslogtreecommitdiffstats
path: root/src/multimedia/qml/wavedecoder_p.cpp
diff options
context:
space:
mode:
authorKurt Korbatits <kurt.korbatits@nokia.com>2010-03-02 01:12:34 (GMT)
committerKurt Korbatits <kurt.korbatits@nokia.com>2010-03-03 01:56:15 (GMT)
commitd2f456c8e94b6c7752818a9e3c819784e18237f0 (patch)
tree7dfba3105671500afaf20e2da6f3dbcf557bb1fd /src/multimedia/qml/wavedecoder_p.cpp
parent39a2b4cb71423db004ea5e6380c9c73bb35d5a2d (diff)
downloadQt-d2f456c8e94b6c7752818a9e3c819784e18237f0.zip
Qt-d2f456c8e94b6c7752818a9e3c819784e18237f0.tar.gz
Qt-d2f456c8e94b6c7752818a9e3c819784e18237f0.tar.bz2
Fixed compiler warnings when compiling multimedia module.
Reviewed-by:Andrew den Exter
Diffstat (limited to 'src/multimedia/qml/wavedecoder_p.cpp')
-rw-r--r--src/multimedia/qml/wavedecoder_p.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/multimedia/qml/wavedecoder_p.cpp b/src/multimedia/qml/wavedecoder_p.cpp
index b7d6101..f2277ae 100644
--- a/src/multimedia/qml/wavedecoder_p.cpp
+++ b/src/multimedia/qml/wavedecoder_p.cpp
@@ -122,7 +122,7 @@ void WaveDecoder::handleData()
else {
int bps = qFromLittleEndian<quint16>(header.wave.bitsPerSample);
- format.setCodec("audio/pcm");
+ format.setCodec(QLatin1String("audio/pcm"));
format.setSampleType(bps == 8 ? QAudioFormat::UnSignedInt : QAudioFormat::SignedInt);
format.setByteOrder(QAudioFormat::LittleEndian);
format.setFrequency(qFromLittleEndian<quint32>(header.wave.sampleRate));