| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Reviewed-by: Trust Me
|
|
|
|
|
| |
Reviewed-by: Trust Me
(cherry picked from commit ac5c099cc3c5b8c7eec7a49fdeb8a21037230350)
|
|
|
|
|
|
|
| |
Don't write more than the supplied max buffer size to the output buffer.
Task-number: QTBUG-14549 QTBUG-8578
Reviewed-by: Derick Hawcroft
|
|
|
|
|
|
|
|
|
| |
This was causing a crash on windows because the buffer and period sizes
were worked out to 0 with an invalid sample size and dividing one by the
other is division by 0.
Task-number: QTMOBILITY-438
Reviewed-by: Justin McPherson
|
|
|
|
|
| |
Task-number:QTBUG-11755
Reviewed-by:Derick Hawcroft
|
|
|
|
| |
Reviewed-by:Derick Hawcroft
|
|
|
|
|
|
|
|
| |
Removed state change from close() function, should be set by caller
depending on context.
Task-number:QTBUG-9357
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|\
| |
| |
| |
| | |
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
|
|/
|
|
| |
Reviewed-by: Trust Me
|
|
|
|
|
|
|
| |
Changed alsa implementation to present audio devices from alsa.
Task-number:QTBUG-5723
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
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
clock() function should return microseconds, fixed example, alsa backend
and win32 backend.
Reviewed-by:Justin McPherson
|
|
|
|
|
|
| |
Support pre 1.0.14 alsa version.
Reviewed-by:Justin McPherson
|
|
|
|
|
|
|
| |
- clock() should return valid value except in stop state, return 0.
- Added clock() function testing to unit tests.
Reviewed-by:Justin McPherson
|
|
|
|
|
|
|
|
| |
QAudioOutput.
-The notify() signal was not firing the correct number of times.
-The totalTime() on wince was incorrect (unit test).
Reviewed-by:Justin McPherson
|
|
|
|
|
|
|
| |
Internal strings don't need translations, changed to use fromLatin1
instead.
Reviewed-by:TrustMe
|
|
|
|
|
|
|
|
|
|
| |
-put example audiodevices in layout.
-added more checking to testSettings() in win32 implementation.
-disabled objects in example audiodevices that are not editable.
-added more checking to alsa implementation for preferredFormat().
-changed internal strings from tr to QLatin1String.
Reviewed-by:Justin Mcpherson
|
|
|
|
| |
Reviewed-by: Trust Me
|
|
|
|
| |
Reviewed-by: Trust Me
|
|
|
|
| |
13 pairs missing...
|
|
|
|
| |
Reviewed-by: Trust Me
|
|
|