Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-11-10 | Consistently use double in the mixer | Paul Adenot | |
This fixes a warning: INT32_MAX cannot be represented as a float. | |||
2023-11-10 | clang-format | Paul Adenot | |
2023-11-10 | Reset logging thread ID when starting a new stream to allow debugging ↵ | Paul Adenot | |
comfortably | |||
2023-11-10 | AAudio: set the callback size to the latency passed in, increase internal ↵ | Paul Adenot | |
buffer size to be 3 times the burst size | |||
2023-11-10 | Add and modify a few logging statements | Paul Adenot | |
2023-11-10 | AAudio: when finding that an input device has been disconnected, ↵ | Paul Adenot | |
reinitialize the duplex stream | |||
2023-11-10 | AAudio: remove unused header | Paul Adenot | |
2023-11-10 | Reset thread id when a new stream is created, in OpenSL backend | Paul Adenot | |
This is not 100% correct, but prevents crashing on an assert in the very common case of opening multiple streams back to back with logging enabled. | |||
2023-11-10 | Fix output buffer conversion: handle differing channel count between input ↵ | Paul Adenot | |
and output | |||
2023-11-08 | Fix mistake break audio input on OpenSL ES | Paul Adenot | |
2023-10-26 | AAudio: ensure input buffer is large enough when reading input data | Paul Adenot | |
2023-10-24 | Return an error if failing to open a recorder and it's not a sample-rate not ↵ | Paul Adenot | |
supported issue | |||
2023-09-26 | Actually use the return value in initialize_with_format callback call. | Paul Adenot | |
2023-09-15 | Use uint64_t for the samplerate in opensl_stream_get_position to avoid overflow | Paul Adenot | |
2023-08-25 | Handle input side | Paul Adenot | |
2023-08-25 | Refactor conversion and format setting logic | Paul Adenot | |
2023-08-25 | OpenSLES and related file: clang-format | Paul Adenot | |
2023-08-25 | OpenSLES: clang-format | Paul Adenot | |
2023-08-25 | OpenSLES: Fix most clang-tidy warnings | Paul Adenot | |
2023-08-25 | OpenSLES: when floats IO aren't supported, perform a conversion | Paul Adenot | |
2023-08-25 | OpenSLES: use cubeb logging facilities | Paul Adenot | |
2023-08-25 | OpenSLES: compile as C++ | Paul Adenot | |
2023-08-03 | AAudio: Don't unlock a mutex owned by a lock_guard | Paul Adenot | |
2023-07-31 | Don't attempt to use an unavailable cubeb_stream in aaudio_stream_init. | Paul Adenot | |
2023-07-26 | Run clang-format | Paul Adenot | |
2023-07-26 | AAudio: Fix log level when stopping a stream | Paul Adenot | |
2023-07-26 | AAudio: When a device is disconnected, reinitialize the stream with the same ↵ | Paul Adenot | |
parameters | |||
2023-07-26 | AAudio: Split init/destroy/start functions into an internal and external ↵ | Paul Adenot | |
interface This will allow calling those functions properly from an internal thread, and simplify lock management. This will happen in a subsequent patch. The initial parameter passed to cubeb_stream_init are now stored on the cubeb_stream struct to be able to reinitialized properly (again in a subsequent patch). Since all those calls need have a lock held, the lock is passed as argument to ensure thread safety. This ensures the caller of the internal functions has taken the lock, and at the same time allows not unlocking/relocking the mutex if a series of call is performed (that will be the case in a subsequent patch, during reinitialization). The boolean that marks that a stream is in use is modified in the external interface, called by the user. A stream is marked as being in use when the user initialize it, and is marked as not being in use when the user destroys it. | |||
2023-07-26 | AAudio: switch to using cubeb logging facilities | Paul Adenot | |
2023-07-26 | Fix clang-tidy warnings in cubeb_log.cpp | Paul Adenot | |
2023-07-26 | AAudio: fix clang-tidy issues | Paul Adenot | |
2023-07-26 | wasapi: Flag cubeb_stream as inactive when stopped, avoid reconfiguring ↵ | Matthew Gregan | |
inactive streams from render thread. | |||
2023-07-26 | wasapi: Take stream_reset_lock earlier in render thread reconfig path. | Matthew Gregan | |
2023-05-17 | Remove incorrect code to adjust output queue capacity | Paul Adenot | |
2023-05-17 | Run clang-format-15 on the codebase -- fix a single difference | Paul Adenot | |
2023-05-17 | wasapi: make render thread exist for the lifetime of the stream object | Michael M | |
- Converts cubeb_stream into a reference-counted object, and gets rid of emergency_bailout logic - When reconfiguring, only restart a stream if it was already started - Removes timeout inside the render thread, as we can't guarantee events while a stream is stopped Subsequently rebased by Paul Adenot <[email protected]> | |||
2023-04-26 | Don't wait in winmm_stream_destroy when the return value of the data ↵ | Paul Adenot | |
callback is an error. | |||
2023-04-26 | Don't continue calling the data callback in the winmm backend if the user ↵ | Paul Adenot | |
has returned a negative value | |||
2023-04-26 | clang-format cubeb_winmm.c | Paul Adenot | |
2023-04-26 | Add some logging messages to winmm to ease debugging and make the logging ↵ | Paul Adenot | |
test pass | |||
2023-04-26 | Handle a negative return value from the user callback | Paul Adenot | |
2023-04-26 | Change the WinMM backend so that it doesn't call the user callback during ↵ | Paul Adenot | |
initialization | |||
2023-04-19 | Don't spin when waiting for streams to be stopped. | Paul Adenot | |
2023-04-19 | When an error happens, wait for the streams to be stopped before dispatching ↵ | Paul Adenot | |
the error callback | |||
2023-04-19 | Add a way to know if the data callback is running | Paul Adenot | |
2023-04-19 | Fix formatting warning | Paul Adenot | |
2023-04-19 | Rename shutdown to shutdown_with_error got better convey the meaning | Paul Adenot | |
2023-03-22 | opensl: Attempt to avoid a race with active callbacks during shutdown. | Matthew Gregan | |
Based on examining crash dumps and investigating OpenSL workarounds in liboboe, there is a potential race between active buffer callbacks and stream shutdown, resulting in a buffer callback attempting to use a new buffer after stream destroy has freed the backing allocation. Ideally there would be a concrete event to watch for to ensure the last callbacks have completed before destroying the stream, but I'm not aware of one and the existing workaround in liboboe relies on an arbitrary ("long enough") sleep between stopping and destroying streams. | |||
2023-03-21 | On NetBSD, define _NETBSD_SOURCE for timersub() | Ryo ONODERA | |
2023-02-01 | format cubeb_sndio.c | Paul Adenot | |