summaryrefslogtreecommitdiffstats
path: root/src/multimedia/audio/qaudiooutput_alsa_p.h
diff options
context:
space:
mode:
authorQt Continuous Integration System <qt-info@nokia.com>2010-03-17 17:31:53 (GMT)
committerQt Continuous Integration System <qt-info@nokia.com>2010-03-17 17:31:53 (GMT)
commit48d3561b69adfc59b7b413dfc6f0857a8560b815 (patch)
tree3ad12dda36eb311b6209a228eca66c5892b41746 /src/multimedia/audio/qaudiooutput_alsa_p.h
parent4c1f54097a1fb1acff817ba8caa8af347ae56cd2 (diff)
parentd6ab68fbd22b2d057b0e32e1bfc73a5e7dc9327d (diff)
downloadQt-48d3561b69adfc59b7b413dfc6f0857a8560b815.zip
Qt-48d3561b69adfc59b7b413dfc6f0857a8560b815.tar.gz
Qt-48d3561b69adfc59b7b413dfc6f0857a8560b815.tar.bz2
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1 into 4.7-integration
* '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1: (38 commits) Force qt-zlib to be used for host system when cross compiling. qmake: fix to create proper install target in Makefile at first run compile fix for Windows Fixed focus handling when Qt is embedded into Cocoa app. Do not beep on Mac when pressing some keys. Do not deliver the same key event multiple times in Cocoa. Implement Idle-priority threads for Linux. Improved qt_x11_wait_for_window_manager Doc: document QElapsedTimer Added missing "const" for mac. qdoc3: Fixed some ifdef typos and removed some whitespace. Manual test for QTBUG-8933. Cocoa: minisplitter has only 1px wide grab area "Strictly" Fullscreen Application in Mac OS Bugfix the Symbian implementation Add QDateTime::currentDateTimeUtc and QDateTime::currentMsecsSinceEpoch remove, fixup Change the 32-bit rollover on Windows and Symbian to be more efficient. Add a couple of extra functions to QElapsedTimer Autotest: Rename the test to match the new class name ...
Diffstat (limited to 'src/multimedia/audio/qaudiooutput_alsa_p.h')
-rw-r--r--src/multimedia/audio/qaudiooutput_alsa_p.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/multimedia/audio/qaudiooutput_alsa_p.h b/src/multimedia/audio/qaudiooutput_alsa_p.h
index 802bc27..e6ac231 100644
--- a/src/multimedia/audio/qaudiooutput_alsa_p.h
+++ b/src/multimedia/audio/qaudiooutput_alsa_p.h
@@ -60,6 +60,7 @@
#include <QtCore/qtimer.h>
#include <QtCore/qstring.h>
#include <QtCore/qstringlist.h>
+#include <QtCore/qelapsedtimer.h>
#include <QtCore/qdatetime.h>
#include <QtMultimedia/qaudio.h>
@@ -133,8 +134,8 @@ private:
QTimer* timer;
QByteArray m_device;
int bytesAvailable;
- QTime timeStamp;
- QTime clockStamp;
+ QElapsedTimer timeStamp;
+ QElapsedTimer clockStamp;
qint64 elapsedTimeOffset;
char* audioBuffer;
snd_pcm_t* handle;