Age | Commit message (Collapse) | Author |
|
Breaks new CtsVerifier build
Bug: 191052922
Test: build CtsVerifier
Change-Id: I98755be1796a2eba7f4f6d72c41ad438b7b1c8d9
|
|
Test: make
Merged-In: I0e69766948e6da6cf547eaf36e880ca08a487d3d
Change-Id: I0e69766948e6da6cf547eaf36e880ca08a487d3d
|
|
Coerce the ErrorTimeout to ErrorDisconnected if R.
This is to fix b/173928197
This can prevent apps that were looking specifically for the
ErrorDisconnected from failing to restart their streams.
|
|
The InputPreset can be coerced from VoicePerformance to
VoiceRecognition. But getInputPreset() returned the wrong value.
Fixed for FilterAudioStream and OpenSL ES.
Fixes #1090
|
|
|
|
Do not unlock when stopping the stream.
Call requestStop_l() or requestPause_l().
Fixes #1062
|
|
Change AudioStreamOpenSLES::close() to close_l() to indicate that it must be called under mLock.
The subclasses acquire the lock.
No runtime change. Just a name change.
Fixes #591
|
|
Check for errors from getFramesWritten().
Preserve const pointer in transfer().
Check for errors from updateServiceFrameCounter().
Check for overflows in capacity calculation.
Fixes #590
|
|
Simplify AudioStreamAAudio constructor.
Add comment about setBufferSize in LatencyTuner.
Use SL constants for switch statement.
See #352
|
|
Co-authored-by: Don Turner <dturner@users.noreply.github.com>
|
|
Remove dead code and logs.
|
|
This allows an app to use different callbacks for data processing
and error processing. The AudioStreamCallback inherits
from both interfaces.
There is also a new method: bool onError()
that allows an app to completely override the default
error handling.
This change is backwards compatible with older versions.
Fixes #917
|
|
|
|
The error message said it wasn't supported but it actually is.
Fixes #1043
|
|
It used to not timeout and would spin until the state changed.
Fixes #1061
|
|
|
|
Fixes #1009
|
|
|
|
Define a virtual destructor for base class.
|
|
Add parameter validation to AudioStreamBase
|
|
|
|
|
|
This will give the callback threads time to exit
before the stream is destroyed and will help avoid
some race conditions inside AAudio and AudioFlinger.
Fixes #961
|
|
|
|
Avoid using callback size adapters in AAudio because of various bugs.
If setFramesPerCallback() called then use a filter stream and do the
block size adaptation in Oboe as part of the data conversion flowgraph.
Fixes #778
Fixes #973
Fixes #983
|
|
|
|
time.
|
|
The callbackCount was not handled correctly.
This could cause a stream to stall and stop calling callbacks.
Fixes #987
|
|
Enable using the Workarounds flag.
|
|
This is a workaround for a possible callback after close that can occur
if close is called immediately after a stop.
This can occur on P, particularly when using Bluetooth devices.
|
|
|
|
|
|
to prevent AAudio from calling into the Oboe library
and causing memory corruption.
Pass in external namespace.
Fixes #930
|
|
Remove AudioClock.h and other unnecessary includes.
Fixes #927
|
|
There was a problem with disconnecting modules
that could cause high pitched sounds in OboeTester.
This patch simplifies the logic for handling cyclic graphs
and split graphs.
Fixes #902
|
|
AAudio returns confusing error codes when an open
fails due to permission errors. Suggest a possible reason.
Related to #888
|
|
|
|
This is used by the QuirksManager.
|
|
|
|
The Samsung S9 does not support mono properly.
It is actually stereo. So on that device, we open a stereo
stream and then convert it to mono by extracting
the first channel.
Fixes #824
|
|
|
|
setMinimumBufferSize(sizeFrames)
|
|
Allow initial size to be set.
Fixes #871
|
|
|
|
|
|
Convert a few LOGDs to LOGW
|
|
Fixes #866
|
|
Move call to getPosition() outside the callback.
This was triggering a restoreTrack_l() inside
AudioFlinger folowing a headset insertion.
That in turn caused an assert in releaseBuffer() in
AudioTrack or AudioRecord.
Now it is called when needed by getFramesRead() or getFramesWritten().
Fixes ##535
|
|
Changed openSharedStream() to openStream().
Remove version with ResultWithValue<shared_ptr>
Bump oboe version to 1.4.0
Bump oboetester version to 1.5.24
|
|
Also use a friend class to hide ssetWeakThis().
|