| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fix g++ / Clang warnings:
alsaaudioinput.cpp: In member function 'qint64 QAlsaAudioInput::read(char*, qint64)':
qalsaaudioinput.cpp:530:36: warning: variable length array 'buffer' is used [-Wvla]
qalsaaudiooutput.cpp: In member function 'qint64 QAlsaAudioOutput::write(const char*, qint64)':
qalsaaudiooutput.cpp:570:23: warning: variable length array 'out' is used [-Wvla]
(variable length arrays being C99 features).
Change-Id: Id5024af7a42dffb56fbbeda59e1fadb41c660e41
Reviewed-by: Christian Stromme <christian.stromme@qt.io>
Reviewed-by: Yoann Lopes <yoann.lopes@qt.io>
|
|\
| |
| |
| | |
Change-Id: I8cfa9cb233675bb7ff842118d96ec8ac0b97964f
|
| |
| |
| |
| |
| | |
Change-Id: I710e99e6889e49755241e8448163167374f23f52
Reviewed-by: Venugopal Shivashankar <Venugopal.Shivashankar@qt.io>
|
| |\
| | |
| | |
| | |
| | |
| | |
| | | |
Conflicts:
tests/auto/integration/qaudiooutput/tst_qaudiooutput.cpp
Change-Id: I4a30fc030c25e7b8da3eb9f386c4a5fa468df141
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: I92e16722dc5cc8df23cf4ed0d048a0d2a23956eb
Reviewed-by: Yoann Lopes <yoann.lopes@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Casting to same type.
Change-Id: I93935b75edac56c958d0669eff216b9dcf16a153
Reviewed-by: Yoann Lopes <yoann.lopes@qt.io>
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: I6da76524533e16f6987fad6029b1f42960972383
Reviewed-by: Christian Stromme <christian.stromme@qt.io>
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: Ie61c33592873b7e5a2ed1b8ccf3386b20edb2cef
Reviewed-by: Christian Stromme <christian.stromme@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Correctly emit metaDataAvailableChanged and metaDataChanged signals.
Task-number: QTBUG-46368
Change-Id: Ic79acd519b47f4d864fa335c8f75758fe9185c39
Reviewed-by: Christian Stromme <christian.stromme@qt.io>
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: Ia4c521b4eee8efd7afe6efd1f00f3c15fd138d9b
Reviewed-by: Topi Reiniö <topi.reinio@theqtcompany.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The lock/unlock operation has to be created in the Xaml thread.
Task-number: QTBUG-56034
Change-Id: I450ad0ba4a8f1275f878917bcd16c31fbf87e164
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This was broken by the removal of exclusive simulator and device builds,
(and so would be difficult to express in the new system), but it's not
clear why it was ever necessary to exclude these plugins from simulator
builds at all, so enable them everywhere.
Change-Id: Iff184820cc98973d8928184a4a63793c66275d0b
Reviewed-by: Mike Krus <mike.krus@kdab.com>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@theqtcompany.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: I2c3574e2a5cf46ecc9719111b5293b67583d006c
Reviewed-by: Venugopal Shivashankar <Venugopal.Shivashankar@qt.io>
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: I54889a72346da24654c8a0618056c14999ecf71e
Reviewed-by: Yoann Lopes <yoann.lopes@qt.io>
|
|\| |
| | |
| | |
| | | |
Change-Id: I96aca24df935d51b40380c727b6c5002432a6be6
|
| |\ \ |
|
| | |\|
| | | |
| | | |
| | | | |
Change-Id: I5bce2843ac62bb97efc1ccaaa9c671c4adf10640
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Don't create the camera service when the camerabin plugin is not
available on the system and print a warning.
Task-number: QTBUG-50775
Change-Id: I56c7e6297bebe4b90596cb3c0323f1d38231bceb
Reviewed-by: Christian Stromme <christian.stromme@qt.io>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Some asynchronous operations return a pa_operation pointer, which can
be null if the operation fails. In some cases we were not checking that
the returned object was non null, leading to some asserts being raised
in pa_operation_unref.
Change-Id: Iff1cc67b7f79b758fa81d79e658debb1d737b29f
Reviewed-by: Christian Stromme <christian.stromme@qt.io>
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Change-Id: I1f34e52c4a8f72a91b1c673fe7e152335d8a0ade
Reviewed-by: Venugopal Shivashankar <Venugopal.Shivashankar@qt.io>
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | | |
Upated to 5.7 from 5.6.
Change-Id: Ife0bc905aa81a8e776c5fc3eeafbc5706e5352d3
Reviewed-by: Venugopal Shivashankar <Venugopal.Shivashankar@qt.io>
|
|\| |
| | |
| | |
| | | |
Change-Id: I022c07dab3ded6072f7c103e299822caaf40cf34
|
| |\|
| | |
| | |
| | | |
Change-Id: I27d68b69f2ad15e930b6adab5b2ff583f4642fac
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Map MEDIASUBTYPE_MJPG to QVideoFrame::Format_Jpeg, which makes sure
that cameras that only support MJPEG are configured properly.
Task-number: QTBUG-55359
Change-Id: I732c56afc51109aba0231c8537f795e8d276c194
Reviewed-by: Christian Stromme <christian.stromme@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Some signals for QDeclarativePlaylist were wrongly tagged to
QDeclarativeAudio.
Task-number: QTBUG-55007
Change-Id: I16185f74768b45115f19c049ec1261d1d3dadf5c
Reviewed-by: Yoann Lopes <yoann.lopes@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
When reading playlist items from a file, pass them to the playlist
backend all at once rather than one by one. This might be faster
depending on the implementation.
Task-number: QTBUG-54849
Change-Id: I57acdc68604ee56fe5d7615ba0a72655e668443f
Reviewed-by: Christian Stromme <christian.stromme@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | | |
Task-number: QTBUG-55630
Change-Id: I2f5defd78fbdd57e6121dde0287b615f7db8848b
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
It is expected from the user side that the QIODevice passed to the audio
input/output is handled in the very same thread it has been created in.
Previously we used the worker thread for it. Instead, schedule handling
a buffer to the GUI thread and move on.
This also helps simplifying many of the emits, as they happen in the
same thread as the target device.
Task-number: QTBUG-55894
Change-Id: I552a7a41562dccbaae5681e3c416267165720d30
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This is without video modes so far, simply because video itself is
not supported yet.
Also included a cleanup for string conversions.
Task-number: QTBUG-48541
Change-Id: Ib090f61861596e095d597cf7e5e74f7040fbc58f
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The camera and its controls have been moved out of the xaml thread
recently, hence acting asynchronously is not required anymore for the
focus control. In addition to this, previous behavior caused troubles
inside QML as QDeclarativeCameraFocus::setFocusMode always emitted a
focus change even though it did not happen yet. This resulted in
inconsistencies between QML and the plugin.
Task-number: QTBUG-48539
Change-Id: I19a3a3512530b01b627476e233291d737cfee11f
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Samuel Nevala <samuel.nevala@intopalo.com>
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: I7449a68cfb76798e9c4e3101da4a4e3ab713d4be
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
There isn't any new API in 5.8, we need to re-register an existing
type to make that version number available.
Change-Id: I061dc53e9570eefc1cbdcb9d15f557904b5d275f
Reviewed-by: Christian Stromme <christian.stromme@qt.io>
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: Iade5ceb5f791abaa2ec7649ff4752d1b59d96aad
Reviewed-by: Christian Stromme <christian.stromme@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
3c5bbb0dac7bed3199ddddc88c0175d5a2ac1036 added the default* functions to
query a default device. However, IMediaDeviceStatics can only return ids
and not the device names. Hence we need to invoke availableDevices to
create the internal mapping and return the device name to properly
initialize audio devices afterwards.
Task-number: QTBUG-55631
Change-Id: I38b9205a933de5e41296a2e5880d0379db41ad97
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
|
|\| |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Conflicts:
src/multimedia/audio/qaudiosystemplugin.cpp
src/plugins/directshow/helpers/directshowobject.cpp
src/plugins/directshow/player/directshowiosource.cpp
src/plugins/directshow/player/directshowiosource.h
Change-Id: I0e4632c7705128f81429ddbcb0d4abbc04858a8b
|
| |\|
| | |
| | |
| | | |
Change-Id: I639d42e78a2b85e939c9f8e9dd5da70cdc058857
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This fixes the remaining auto tests that were failing.
Change-Id: I3b31263e7912422407cb98b4bf2db7080bcfc1a8
Reviewed-by: Yoann Lopes <yoann.lopes@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The IO device was leaking in push mode, as a new one was created each
time start was called.
Change-Id: I78bb45e9e4e801772e88104b11d7baedc9e91ba8
Reviewed-by: Michael Dippold <michael.dippold@us.thalesgroup.com>
Reviewed-by: Yoann Lopes <yoann.lopes@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | | |
Change-Id: I4a9906d2d5aa1eaf8e67773f79ca217150a53ce5
Reviewed-by: Michael Dippold <michael.dippold@us.thalesgroup.com>
Reviewed-by: Yoann Lopes <yoann.lopes@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Some of the state variables were not reset correctly.
Change-Id: I22113072320dd1812529c598cda1a5f6cc8c780b
Reviewed-by: Michael Dippold <michael.dippold@us.thalesgroup.com>
Reviewed-by: Yoann Lopes <yoann.lopes@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This functionality was removed in d44a327da4a956f62cc0d51,
but is still needed, as we need to negotiate the media type
with the input pin; even if we limit the scope to streaming
types.
Task-number: QTBUG-55264
Change-Id: I7cc02c5ea17cca9912c29c40813314b04b91bd18
Reviewed-by: Yoann Lopes <yoann.lopes@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
When start is called, the buffer is always filled starting from index 0
without regard to m_nexBuffer. m_nextBuffer could be set to 1 from the
previous playback which causes the second buffer to be filled first, which
is now the currently playing buffer. This is causing an audible hiccup
right after starting in cases where m_nextBuffer starts at 1.
Change-Id: Ia0d73638350d5258a51943d7a1c7cd6f22d068ee
Reviewed-by: Christian Stromme <christian.stromme@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Using 'self' in a block maintains a strong reference to it, the previous
code would never release that reference and therefore leak the
AVFMediaPlayerSessionObserver object when the session was deleted.
Captured variables used in the relevant block are now marked with
'__block' to make sure no strong references are maintained.
We now also make sure the session still exist when that callback block
is called.
Change-Id: I847b524d8692559fe5884517abb5b9cc7696b4fd
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@theqtcompany.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
NSView/UIView were only forward declared here which led to warnings when
calling methods on instances of them.
Change-Id: Ic2b391bb0ed8d45306dc16e2a807ce7fcae5015e
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The PulseAudio stream must be ready to write data to it, otherwise an
assert is raised.
Change-Id: Iaa108124a135b018aa84845a37665895a005f380
Reviewed-by: Christian Stromme <christian.stromme@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
When loading a new QSoundEffect source, the data in the stream must
be flushed to avoid that the old source plays right before the new one.
Task-number: QTBUG-48982
Change-Id: Iff14884edb2fb4851f93e67ff8191b77ebb16359
Reviewed-by: Christian Stromme <christian.stromme@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
As of version 10.12 (Sierra), the name of Apple's desktop operating
system will be macOS. Change all occurrences where the platform is
discussed to use the macro \macos (defined in the documentation
configuration in qtbase).
Change-Id: I1ba3b1e3c11870523516d3a13790d40dd0803aad
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Use a variable that expands to the latest plugin version instead of
hard-coding the string.
Change-Id: I3bdbee161e4a3b59127dc4f00a0c9ce9386b67c2
Reviewed-by: Yoann Lopes <yoann.lopes@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Added information about volume scales.
Change-Id: Ica8367396147e3e1c814b3575faa5cf0503be031
Reviewed-by: Venugopal Shivashankar <Venugopal.Shivashankar@qt.io>
Reviewed-by: Christian Stromme <christian.stromme@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | | |
Change-Id: I26d80ece18abf882338de5ce0258469ed103a0eb
Reviewed-by: Yoann Lopes <yoann.lopes@qt.io>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
|