summaryrefslogtreecommitdiffstats
path: root/src/multimedia/audio/qaudiooutput_alsa_p.h
diff options
context:
space:
mode:
authorKurt Korbatits <kurt.korbatits@nokia.com>2009-09-30 04:53:37 (GMT)
committerKurt Korbatits <kurt.korbatits@nokia.com>2009-09-30 04:53:37 (GMT)
commitf4bcf5c9fd51ed1923239ea1ad0d78bcd3d56f62 (patch)
treee149c3d355882cec80031b7bc0927ee1a9375809 /src/multimedia/audio/qaudiooutput_alsa_p.h
parent8c3bf71e6fcbcfb21b9574e25cfdb00614a0c68d (diff)
downloadQt-f4bcf5c9fd51ed1923239ea1ad0d78bcd3d56f62.zip
Qt-f4bcf5c9fd51ed1923239ea1ad0d78bcd3d56f62.tar.gz
Qt-f4bcf5c9fd51ed1923239ea1ad0d78bcd3d56f62.tar.bz2
Fixed error in notify() signal and totalTime() in QAudioInput and
QAudioOutput. -The notify() signal was not firing the correct number of times. -The totalTime() on wince was incorrect (unit test). Reviewed-by:Justin McPherson
Diffstat (limited to 'src/multimedia/audio/qaudiooutput_alsa_p.h')
-rw-r--r--src/multimedia/audio/qaudiooutput_alsa_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/multimedia/audio/qaudiooutput_alsa_p.h b/src/multimedia/audio/qaudiooutput_alsa_p.h
index 63fe348..6d4177d 100644
--- a/src/multimedia/audio/qaudiooutput_alsa_p.h
+++ b/src/multimedia/audio/qaudiooutput_alsa_p.h
@@ -134,6 +134,7 @@ private:
QByteArray m_device;
int bytesAvailable;
QTime timeStamp;
+ qint64 elapsedTimeOffset;
char* audioBuffer;
snd_pcm_t* handle;
snd_async_handler_t* ahandler;