diff options
author | Kurt Korbatits <kurt.korbatits@nokia.com> | 2010-02-16 02:33:05 (GMT) |
---|---|---|
committer | Kurt Korbatits <kurt.korbatits@nokia.com> | 2010-02-16 02:33:05 (GMT) |
commit | 2f29860320796ad6f94f51daf6af84515c288ec8 (patch) | |
tree | 3c2014d225a822d43524d6160236a182f18f1fc7 /src/multimedia | |
parent | 2d264a80f9fc759e979dfe2583425cb419688a70 (diff) | |
download | Qt-2f29860320796ad6f94f51daf6af84515c288ec8.zip Qt-2f29860320796ad6f94f51daf6af84515c288ec8.tar.gz Qt-2f29860320796ad6f94f51daf6af84515c288ec8.tar.bz2 |
Fixed compile error in pulseaudio soundeffect implementation
Diffstat (limited to 'src/multimedia')
-rw-r--r-- | src/multimedia/qml/qsoundeffect_pulse_p.cpp | 4 | ||||
-rw-r--r-- | src/multimedia/qml/qsoundeffect_pulse_p.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/multimedia/qml/qsoundeffect_pulse_p.cpp b/src/multimedia/qml/qsoundeffect_pulse_p.cpp index 6d7b222..b1e5982 100644 --- a/src/multimedia/qml/qsoundeffect_pulse_p.cpp +++ b/src/multimedia/qml/qsoundeffect_pulse_p.cpp @@ -151,7 +151,7 @@ private: m_mainLoopApi = pa_threaded_mainloop_get_api(m_mainLoop); lock(); - m_context = pa_context_new(m_mainLoopApi, QString("QtPulseAudio:%1").arg(::getpid()).toAscii().constData()); + m_context = pa_context_new(m_mainLoopApi, QString(QLatin1String("QtPulseAudio:%1")).arg(::getpid()).toAscii().constData()); #if(Q_WS_MAEMO_5) pa_context_set_state_callback(m_context, context_state_callback, this); @@ -362,7 +362,7 @@ void QSoundEffectPrivate::decoderReady() } if (m_name.isNull()) - m_name = QString("QtPulseSample-%1-%2").arg(::getpid()).arg(int(this)).toUtf8(); + m_name = QString(QLatin1String("QtPulseSample-%1-%2")).arg(::getpid()).arg(int(this)).toUtf8(); pa_sample_spec spec = audioFormatToSampleSpec(m_waveDecoder->audioFormat()); diff --git a/src/multimedia/qml/qsoundeffect_pulse_p.h b/src/multimedia/qml/qsoundeffect_pulse_p.h index 155d7fc..58a05d2 100644 --- a/src/multimedia/qml/qsoundeffect_pulse_p.h +++ b/src/multimedia/qml/qsoundeffect_pulse_p.h @@ -57,7 +57,7 @@ #include "qsoundeffect_p.h" #include <QtCore/qobject.h> -#include <QtCore/qtime.h> +#include <QtCore/qdatetime.h> #include <QtMultimedia/qmediaplayer.h> #include <pulse/pulseaudio.h> |