Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-02-03 | oboe: clip waitForAvailableFrames (#1702) | Phil Burk | |
Clip against BufferCapacity minus BurstSize. Also bump Oboe to 1.7.1 and OboeTester to 2.3.6. Fixes #1701 | |||
2022-08-06 | Add API to set sleep time before close. (#1593) | Phil Burk | |
Add: AudioStream::setDelayBeforeCloseMillis(delay) This can be used to avoid use-after-free bugs cause by callbacks running when close is called. Fixes #1500 Add test for delay before close. Bump version to 1.6.3 | |||
2022-07-20 | Rename instances of master with main (#1575) | Robert Wu | |
2022-03-03 | Recommend not calling getTimestamp() from callback (#1499) | Phil Burk | |
Also calculateLatencyMillis(). | |||
2021-07-21 | oboe: improve DataCallbackResult::Stop handling (#1351) | Phil Burk | |
Use another thread to stop the stream for R and earlier. Test: use OboeTester "callback return STOP" checkbox Added a unit test, testReturnStop.cpp run_tests.sh now does not show logcat if app build fails. Fixes #1230. | |||
2021-03-08 | oboe: fix possible race on close (#1200) | Phil Burk | |
* oboe: fix possible race on close Protect native stream pointer with a shared_lock. The race may have never ended badly. But it was theoretically possible. So this prevents it. Note that this requires that Oboe be built with C++17. But apps can still use C++14. Fixes #1180 * Add some comments about the DEBUG code. | |||
2020-11-18 | oboe: add AudioStreamDataCallback and AudioStreamErrorCallback | Phil Burk | |
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 | |||
2020-06-01 | Reduce logging for a cleaner logcat | Phil Burk | |
Convert a few LOGDs to LOGW | |||
2020-04-22 | Oboe: openSharedStream uses ResultWithView | Phil Burk | |
Also use a friend class to hide ssetWeakThis(). | |||
2020-04-15 | oboe: add openSharedStream | Phil Burk | |
To prevent race conditions with the onError callbacks that were resulting in the use of a deleted stream. For bug #820 | |||
2019-09-02 | oboe: add waitForAvailableFrames() | Phil Burk | |
This can avoid glitches if the input buffer is too empty and the MMAP timing is unreliable. | |||
2019-08-29 | resampler: fix some merge errors | Phil Burk | |
2019-08-29 | Merge branch 'master' into resampler | Phil Burk | |
2019-08-07 | Merge pull request #598 from google/fix-warnings | Atneya Nair | |
Commenting out parameters to use Wall compiler flag | |||
2019-08-06 | Commenting out parameters to use Wall compiler flag | Atneya Nair | |
2019-07-26 | Make AudioStream::getState() const | Thomas Guilbert | |
2019-07-19 | oboe: fix broken build AudioStream.cpp | Phil Burk | |
An abstract method was breaking the linker stage. Fixes #582 | |||
2019-07-12 | Small fixes from #352 | Thomas Guilbert | |
2019-06-11 | Deprecating old getTimestamp method. Fixes #478 | Atneya Nair | |
2019-06-04 | Merge pull request #534 from google/fixonerror | Phil Burk | |
oboe: prevent onError callback from causing an assert | |||
2019-06-04 | oboe: improve comments for onError callbacks | Phil Burk | |
2019-06-03 | Deleting stream prior to opening new stream. Other documentation and ↵ | Atneya Nair | |
refactoring changes | |||
2019-06-03 | oboe: make error callback support code protected | Phil Burk | |
2019-06-03 | oboe: prevent onError callback from causing an assert | Phil Burk | |
There was a race that could be caused by multiple onErrorCallbacks. There should only be one callback. We now check to make sure that only the first callback is handled. Fixes #519 | |||
2019-06-03 | Add support for unique ptr AudioStreams | Atneya Nair | |
Created ManagedStream typedef, alias for uniqueptr of AudioStream with custom deleter (implemented by streamDeleterFunctor). Added method in builder to populate this object. Added openStream method to open a ManagedStream | |||
2019-05-17 | oboe: first draft of resampler | Phil Burk | |
UNDER CONSTRUCTION Sample rate conversion in Oboe allows apps to get a FAST track even when the sample rates do not match the native rate. Output works with callback but not with blocking write. Not finishing the buffer properly. Input does not work. Resampler is just a bilinear interpolater. Need to add a sinc. | |||
2019-04-12 | Reorder includes | Don Turner | |
2019-04-12 | Add <atomic> and <mutex> to AudioStream includes | Don Turner | |
2019-04-05 | oboe: update autodocs for waitForStateChange | Phil Burk | |
2019-03-19 | Remove isPlaying from AudioStream header | Julio Zynger | |
2018-12-21 | oboe: stop stream if callback requests it | Phil Burk | |
Stop in a separate thread for AAudio before Q. Call stop directly for OpenSL ES. Possible fix for #277 | |||
2018-12-17 | oboe: use atomics for FIFO counters | Phil Burk | |
2018-10-02 | Code review feedback from phil | Don Turner | |
2018-10-02 | Adding simpler getTimestamp method. Fixes #209 | Don Turner | |
2018-10-02 | Remove AudioStream::setNativeFormat. Fixes #210 | Don Turner | |
2018-09-28 | refactor code for updating frame counters | Phil Burk | |
Use virtual close(). Add updateFramesRead() and ...Written() | |||
2018-09-21 | check usingFifo() for getFramesRead/Written() | Phil Burk | |
For better frame counting in OpenSL ES. When a FIFO was being used, getFramesRead() was returning the server position. It should return the FIFO position. Fixes #153 | |||
2018-09-17 | Updating docs in line with Phil's feedback | Don Turner | |
2018-09-17 | Fixing comment for getUnderlyingStream | Don Turner | |
2018-09-17 | Adding docs to all public objects | Don Turner | |
2018-07-10 | Refactor AudioStream methods to handle closed state | Don Turner | |
2018-06-14 | Addressing feedback from philburk@ on ResultWithValue | Don Turner | |
2018-06-14 | Refactor getXRunCount to return ResultWithValue | Don Turner | |
2018-06-12 | Merge pull request #105 from ggfan/get-frames-per-burst-const | Phil Burk | |
add const modifier to oboe::AudioStream::getFramesPerBurst() | |||
2018-06-12 | Add implicit ctor, static ctor and cast to Result operator | Don Turner | |
2018-06-12 | Refactor setBufferSizeInFrames to return a ResultWithValue | Don Turner | |
2018-06-07 | add const modifier to oboe::AudioStream::getFramesPerBurst() | gerry | |
2018-05-01 | oboe: better latency comments | Phil Burk | |
use double latencyNanos minor cleanup | |||
2018-04-29 | oboe: add calculateLatencyMillis() | Phil Burk | |
Based on getTimestamp(). Fixes #69 | |||
2018-03-27 | oboe: add ErrorOrValue dual return | Phil Burk | |
For returning an error code and a frame count, or other value, at the same time. |