summaryrefslogtreecommitdiffstats
path: root/src/multimedia/qml/wavedecoder_p.cpp
diff options
context:
space:
mode:
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));