| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| |
| |
| |
| |
| | |
4.6-integration
* '4.6' of scm.dev.nokia.troll.no:qt/qt-multimedia-staging:
Use AudioConverter when not preferred format.
Handle values passed to setNotifyInterval more robustly.
Make sure to check for a valid audioformat before open.
|
| |
| |
| |
| | |
Reviewed-by:Dmytro Poplavskiy
|
| |
| |
| |
| | |
Reviewed-by:Dmytro Poplavskiy
|
| |
| |
| |
| | |
Reviewed-by:Dmytro Poplavskiy
|
|/
|
|
|
|
|
|
|
| |
Changed backend from being a plugin, to being statically compiled into
QtMultimedia.dll. This is to achieve consistency with the backends for
other plugins, and to allow the plugin API to be modified.
Task-number: QTBUG-8994
Reviewed-by: trustme
|
|\ |
|
| |\
| | |
| | |
| | | |
into 4.6
|
| | |
| | |
| | |
| | | |
Reviewed-by:Dmytro Poplavskiy
|
| | |
| | |
| | |
| | | |
Reviewed-by:Dmytro Poplavskiy
|
| |/
|/|
| |
| |
| |
| |
| | |
Handle error recovery better.
Task-number:QTBUG-8893
Reviewed-by:Derick Hawcroft
|
|/
|
|
|
|
|
|
| |
Bug introduced by change 04532ba052559b265b1bc85dc143d8aeeb02149f
Was calculating time assuming totalTimeValue was in frames but it
is stored as bytes in alsa input case.
Reviewed-by:Dmytro Poplavskiy
|
|
|
|
|
| |
Task-number:QTBUG-8755
Reviewed-by:Derick Hawcroft
|
|
|
|
|
|
|
| |
83e73a69d5a1c6b94c5c83f91141f35d65d27f36.
alsa callback was deadlocking with QEventDispatcherGlib.
Reviewed-by:Dmytro Poplavskiy
|
|
|
|
| |
Reviewed-by:Dmytro Poplavskiy
|
|
|
|
|
|
|
|
| |
Adjust buffer and period sizes if system cannot work with defaults
(alsa).
Task-number:QTBUG-8339
Reviewed-by:Derick Hawcroft
|
|
|
|
| |
Reviewed-by: Kurt Korbatits
|
|
|
|
|
| |
Task-number: QTBUG-5741
Reviewed-by: Kurt Korbatits
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
New unit tests have identified issues with awin32 backend. These issues
need to be resolved before new unit tests are added.
* stateChanged() signal should only be emitted on change of state
currently signals can be emitted multiple times.
* for output data is being lost when input can be read from
QIODevice but cannot be written to audio sub system.
Task-number:QTBUG-8441
Reviewed-by:Dmytro Poplavskiy
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
New unit tests have identified issues with alsa backend. These issues
need to be resolved before new unit tests are added.
* stateChanged() signal should only be emitted on change of state
currently signals can be emitted multiple times.
* elapsedUSecs() currently uses alsa to provide this value but
this is not reliable enough and this time is reset when
suspend/resuming. This is not correct operation.
* for output data is being lost when input cant be read
from QIODevice but cannot be written to audio sub system.
Task-number:QTBUG-8440
Reviewed-by:Dmytro Poplavskiy
|
|
|
|
|
|
|
| |
Detail state changes and error states in QAudioInput and QAudioOutput
documentation.
Reviewed-by: Derick Hawcroft
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This reverts commit 80d4a4945d3273a4b2ce91e34597533f661af320.
Conflicts:
examples/multimedia/audioinput/audioinput.cpp
examples/multimedia/audiooutput/audiooutput.cpp
src/multimedia/audio/qaudio_mac.cpp
src/multimedia/audio/qaudiodeviceinfo_alsa_p.cpp
src/multimedia/audio/qaudiodeviceinfo_mac_p.cpp
src/multimedia/audio/qaudiodeviceinfo_win32_p.cpp
src/multimedia/audio/qaudioformat.h
src/multimedia/audio/qaudioinput.cpp
src/multimedia/audio/qaudiooutput.cpp
tests/auto/qaudiodeviceinfo/tst_qaudiodeviceinfo.cpp
tests/auto/qaudioformat/tst_qaudioformat.cpp
tests/auto/qaudioinput/tst_qaudioinput.cpp
tests/auto/qaudiooutput/tst_qaudiooutput.cpp
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This reverts commit f124538ef4840c3d24b4c7e9e7221adb52bdee2c.
Conflicts:
examples/multimedia/audioinput/audioinput.cpp
examples/multimedia/audiooutput/audiooutput.cpp
src/multimedia/audio/qaudio_mac.cpp
src/multimedia/audio/qaudiodeviceinfo_alsa_p.cpp
src/multimedia/audio/qaudiodeviceinfo_mac_p.cpp
src/multimedia/audio/qaudiodeviceinfo_win32_p.cpp
src/multimedia/audio/qaudioformat.h
src/multimedia/audio/qaudioinput.cpp
src/multimedia/audio/qaudiooutput.cpp
tests/auto/qaudiodeviceinfo/tst_qaudiodeviceinfo.cpp
tests/auto/qaudioformat/tst_qaudioformat.cpp
tests/auto/qaudioinput/tst_qaudioinput.cpp
tests/auto/qaudiooutput/tst_qaudiooutput.cpp
|
|\
| |
| |
| |
| |
| |
| | |
4.6-integration
* '4.6' of scm.dev.nokia.troll.no:qt/qt-multimedia-team:
Fix example in QAudioOutput/QAudioInput docs
|
| |
| |
| |
| |
| |
| | |
Fixed error in doc comments.
Reviewed-by:Justin McPherson
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The example given for QAudioOutput doesn't actually compile:
QAudioOutput::start takes a pointer to a QIODevice, but it's passed
a QFile (not the pointer).
Merge-request: 418
Reviewed-by: Thiago Macieira <thiago.macieira@nokia.com>
|
|\ \
| |/
| |
| |
| | |
Conflicts:
src/multimedia/audio/qaudioformat.cpp
|
| |
| |
| |
| |
| |
| |
| |
| | |
The alsa backend was calculating sample timer on resume using buffer_time
instead of period_time.
Task-number:QTBUG-7044
Reviewed-by:Justin McPherson
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
-Added channelCount(), changed everything to use this instead
of channels() in QAudioFormat class.
-Added setSampleRate() and sampleRate(), changed everthing to use these
instead of setFrequency() and frequency() in QAudioFormat class.
-Added supportedSampleRates() and supportedChannelCounts(), changed
everything to use these instead of supportedFrequencies() and
supportedChannels() in QAudioDeviceInfo class.
Reviewed-by:Justin McPherson
|
| |
| |
| |
| |
| |
| |
| | |
Added setChannelCount() and updated docs/examples/tests to use it
instead of setChannels().
Reviewed-by:Justin McPherson
|
| |
| |
| |
| |
| |
| | |
Also added it to the multimedia group.
Reviewed-by: Trust Me
|
|\ \ |
|
| |/
| |
| |
| | |
Reviewed-by: Trust Me
|
|\ \
| |/ |
|
| |
| |
| |
| |
| | |
Task-number:QTBUG-5633
Reviewed-by:Justin McPherson
|
| |
| |
| |
| |
| | |
Task-number:QTBUG-6866
Reviewed-by:Justin McPherson
|
|\ \
| |/ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
QTBUG-6548
QAudioOutput::start() crashes when the QIODevice is destructed
Made documentation clearer.
Task-number:QTBUG-6548
Reviewed-by:Justin McPherson
|
| |
| |
| |
| |
| |
| | |
Allow better control over audio backend used.
Reviewed-by:Justin McPherson
|
|/
|
|
| |
Reviewed-by: Trust Me
|
|
|
|
|
|
|
| |
Changed alsa implementation to present audio devices from alsa.
Task-number:QTBUG-5723
Reviewed-by:Justin McPherson
|
|
|
|
|
|
|
|
| |
If bytesReady() was called before start(), Div by Zero.
Added check for this condition.
Task-number:QTBUG-5300
Reviewed-by:Justin McPherson
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
QAudioFormat::isNull() -> QAudioFormat::isValid() (inverse logic)
QAudio::SuspendState -> QAudio::SuspendedState
QAudio::StopState -> QAudio::StoppedState
QAudioDeviceInfo::deviceList() -> QAudioDeviceInfo::availableDevices()
clock() -> elapsedUSecs()
totalTime() -> processedUSecs()
QIODevice* start(QIODevice*) -> void start(QIODevice*), QIODevice*
start()
Reviewed-by:Justin McPherson
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
QAudioFormat::isNull() -> QAudioFormat::isValid() (inverse logic)
QAudio::SuspendState -> QAudio::SuspendedState
QAudio::StopState -> QAudio::StoppedState
QAudioDeviceInfo::deviceList() ->
QAudioDeviceInfo::availableDevices()
clock() -> elapsedUSecs()
totalTime() -> processedUSecs()
QIODevice* start(QIODevice*) -> void
start(QIODevice*), QIODevice*
start()
Reviewed-by:Justin McPherson
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
QPaintDevice and QImage used the functions numColors(), setNumColors(),
and numBytes(). However, this is not consistent with the rest of the Qt
API which uses *Count() and set*Count().
Removed all usage of these functions inside Qt and test-cases.
Reviewed-by: Andreas Aardal Hanssen
|
| |
| |
| |
| |
| |
| |
| |
| | |
If bytesReady() was called before start(), Div by Zero.
Added check for this condition.
Task-number:QTBUG-5300
Reviewed-by:Justin McPherson
|
|/
|
|
|
|
|
|
|
|
|
|
|
| |
QAudioFormat::isNull() -> QAudioFormat::isValid() (inverse logic)
QAudio::SuspendState -> QAudio::SuspendedState
QAudio::StopState -> QAudio::StoppedState
QAudioDeviceInfo::deviceList() -> QAudioDeviceInfo::availableDevices()
clock() -> elapsedUSecs()
totalTime() -> processedUSecs()
QIODevice* start(QIODevice*) -> void start(QIODevice*), QIODevice*
start()
Reviewed-by:Justin McPherson
|
|
|
|
|
|
|
|
| |
Rename equivalentImageFormat() to imageFormatFromPixelFormat().
Rename equivalentPixelFormat() to pixelFormatFromImageFormat().
Rename numBytes() to mappedBytes().
Reviewed-by: Justin McPherson
|
|
|
|
|
|
|
|
| |
Rename YuvColorSpace enum and related functions to YCbCrColorSpace.
Remove ViewportMode enum and make setFrameSize() always reset the
viewport to fill the frame.
Reviewed-by: Justin McPherson
|