summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKurt Korbatits <kurt.korbatits@nokia.com>2010-01-13 04:01:13 (GMT)
committerKurt Korbatits <kurt.korbatits@nokia.com>2010-01-13 04:01:13 (GMT)
commit5acc7d86245c17c690b09a742acfe80e6076f599 (patch)
treeadfb7119a85deda438bd50e15ede4964a2636260 /src
parent3f3e86d6fce5bb781bc41def35d0f15c58ef769c (diff)
downloadQt-5acc7d86245c17c690b09a742acfe80e6076f599.zip
Qt-5acc7d86245c17c690b09a742acfe80e6076f599.tar.gz
Qt-5acc7d86245c17c690b09a742acfe80e6076f599.tar.bz2
Fix example in QAudioOutput/QAudioInput docs
Fixed error in doc comments. Reviewed-by:Justin McPherson
Diffstat (limited to 'src')
-rw-r--r--src/multimedia/audio/qaudioinput.cpp2
-rw-r--r--src/multimedia/audio/qaudiooutput.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/multimedia/audio/qaudioinput.cpp b/src/multimedia/audio/qaudioinput.cpp
index 733ff4e..6bc2758 100644
--- a/src/multimedia/audio/qaudioinput.cpp
+++ b/src/multimedia/audio/qaudioinput.cpp
@@ -103,7 +103,7 @@ QT_BEGIN_NAMESPACE
audio = new QAudioInput(format, this);
QTimer::singleShot(3000, this, SLOT(stopRecording()));
- audio->start(outputFile);
+ audio->start(&outputFile);
// Records audio for 3000ms
}
\endcode
diff --git a/src/multimedia/audio/qaudiooutput.cpp b/src/multimedia/audio/qaudiooutput.cpp
index 6633308..a98c360 100644
--- a/src/multimedia/audio/qaudiooutput.cpp
+++ b/src/multimedia/audio/qaudiooutput.cpp
@@ -98,7 +98,7 @@ QT_BEGIN_NAMESPACE
audio = new QAudioOutput(format, this);
connect(audio,SIGNAL(stateChanged(QAudio::State)),SLOT(finishedPlaying(QAudio::State)));
- audio->start(inputFile);
+ audio->start(&inputFile);
\endcode