diff options
author | Justin McPherson <justin.mcpherson@nokia.com> | 2010-03-02 00:05:49 (GMT) |
---|---|---|
committer | Justin McPherson <justin.mcpherson@nokia.com> | 2010-03-02 01:29:23 (GMT) |
commit | 0fede209124a20ea8a8c75c6b83e5377a56dda4a (patch) | |
tree | 508250a7c2bc23c6ec4b1b3be0dccffceb6c80b8 /examples/multimedia/audioinput | |
parent | a3a55ff296a15ec0c69990f3526eaa652a216d2f (diff) | |
download | Qt-0fede209124a20ea8a8c75c6b83e5377a56dda4a.zip Qt-0fede209124a20ea8a8c75c6b83e5377a56dda4a.tar.gz Qt-0fede209124a20ea8a8c75c6b83e5377a56dda4a.tar.bz2 |
Fix warnings in AudioInput example.
Reviewed-by: Kurt Korbatits
Diffstat (limited to 'examples/multimedia/audioinput')
-rw-r--r-- | examples/multimedia/audioinput/audioinput.cpp | 2 | ||||
-rw-r--r-- | examples/multimedia/audioinput/audioinput.h | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/examples/multimedia/audioinput/audioinput.cpp b/examples/multimedia/audioinput/audioinput.cpp index b01a396..7c2cc30 100644 --- a/examples/multimedia/audioinput/audioinput.cpp +++ b/examples/multimedia/audioinput/audioinput.cpp @@ -76,6 +76,7 @@ AudioInfo::AudioInfo(const QAudioFormat &format, QObject *parent) case QAudioFormat::SignedInt: m_maxAmplitude = 127; break; + default: ; } break; case 16: @@ -86,6 +87,7 @@ AudioInfo::AudioInfo(const QAudioFormat &format, QObject *parent) case QAudioFormat::SignedInt: m_maxAmplitude = 32767; break; + default: ; } break; } diff --git a/examples/multimedia/audioinput/audioinput.h b/examples/multimedia/audioinput/audioinput.h index f87c682..be721de 100644 --- a/examples/multimedia/audioinput/audioinput.h +++ b/examples/multimedia/audioinput/audioinput.h @@ -119,8 +119,8 @@ private: QPushButton *m_suspendResumeButton; QComboBox *m_deviceBox; - AudioInfo *m_audioInfo; QAudioDeviceInfo m_device; + AudioInfo *m_audioInfo; QAudioFormat m_format; QAudioInput *m_audioInput; QIODevice *m_input; |