summaryrefslogtreecommitdiffstats
path: root/src/multimedia
diff options
context:
space:
mode:
authorGareth Stockwell <ext-gareth.stockwell@nokia.com>2010-04-15 07:09:40 (GMT)
committerGareth Stockwell <ext-gareth.stockwell@nokia.com>2010-04-15 07:09:40 (GMT)
commit0ebc9a600af8188e7a9d3c2904d012c6289a515d (patch)
treeeb3ac6bbc107e01fe3c8f7004fa658f1baff89e2 /src/multimedia
parent04c24781613a937c472c556391d738b6d563201d (diff)
downloadQt-0ebc9a600af8188e7a9d3c2904d012c6289a515d.zip
Qt-0ebc9a600af8188e7a9d3c2904d012c6289a515d.tar.gz
Qt-0ebc9a600af8188e7a9d3c2904d012c6289a515d.tar.bz2
Fixed compiler warning
Reviewed-by: trustme
Diffstat (limited to 'src/multimedia')
-rw-r--r--src/multimedia/audio/qaudio_symbian_p.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/multimedia/audio/qaudio_symbian_p.cpp b/src/multimedia/audio/qaudio_symbian_p.cpp
index 58e3745..afe98f5 100644
--- a/src/multimedia/audio/qaudio_symbian_p.cpp
+++ b/src/multimedia/audio/qaudio_symbian_p.cpp
@@ -315,7 +315,7 @@ bool isFormatSupported(const QAudioFormat &formatQt,
TUint32 fourCC;
bool result = false;
- if (formatQt.codec() == "audio/pcm" &&
+ if (formatQt.codec() == QString::fromAscii("audio/pcm") &&
formatQtToNative(formatQt, fourCC, formatNative)) {
result =
(formatNative.iRate & caps.caps().iRate)
@@ -337,7 +337,7 @@ bool formatQtToNative(const QAudioFormat &inputFormat,
TMMFMonoStereo outputChannels;
TMMFSoundEncoding outputEncoding;
- if (inputFormat.codec() == "audio/pcm") {
+ if (inputFormat.codec() == QString::fromAscii("audio/pcm")) {
result =
sampleRateQtToNative(inputFormat.frequency(), outputSampleRate)
&& channelsQtToNative(inputFormat.channels(), outputChannels)