Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-05-21 | Revert "Fetch avrt.dll functions dynamically again." | Paul Adenot | |
This reverts commit aaffe75c25c18bd171b60edc2d5a6f287a9f9808. | |||
2024-04-30 | Invalidate timing info buffers when destorying AAudio stream. | John Lin | |
aaudio_stream_get_position() returns incorrect result because aaudio_stream_init() recycled destroyed stream where the timing_info buffers contain stale data. | |||
2024-04-16 | Account for enqueues while in cubeb_audio_dump_stream::write_all | Andreas Pehrson | |
2024-04-16 | Add internal utility to log audio streams to disk from real-time audio callbacks | Paul Adenot | |
2024-04-16 | Attempt to reinitialize the stream when the error callback is called with ↵ | Paul Adenot | |
AAUDIO_ERROR_TIMEOUT This can happen when the client side of the AAudio API fails to write all the data to the server side, after the user callback has returned. According to the reporter, this can be hit when a debugger is attached. This fixes #767. | |||
2024-04-16 | Log a message when waiting for AAUDIO_STREAM_STATE_STOP when shutting down a ↵ | Paul Adenot | |
stream in error fails | |||
2024-04-03 | Some DACs can go up to 768kHz | Paul Adenot | |
2024-03-25 | CI: use macos-13 environment and add macos-14 (arm64 M1) | aeiouaeiouaeiouaeiouaeiouaeiou | |
Add a workaround for microphone permission: https://github.com/actions/runner-images/issues/9330 Co-authored-by: Andreas Pehrson <[email protected]> | |||
2024-03-20 | Fix mistake in first parameter type in function pointer | Paul Adenot | |
2024-03-19 | Fetch avrt.dll functions dynamically again. | Paul Adenot | |
Turns out this can crash sometimes, and we need to be more careful. This reverts commit 661c653c8650b2b1c485e86b5a5b4f6d0ed07d1b. | |||
2024-03-06 | Only build duplex_collection_change_no_unregister when death tests are ↵ | Mike Hommey | |
supported (#780) | |||
2024-02-15 | Allow setting CUBEB_INPUT_PROCESSING_PARAM_NONE | Andreas Pehrson | |
Clients may want to disable processing... | |||
2024-02-07 | 384kHz ought to be enough for anybody | Paul Adenot | |
2024-01-31 | Format new changes | Paul Adenot | |
2024-01-31 | audiounit: Resample to match output device hardware sample rate in uncommon ↵ | Steveice10 | |
cases. In some cases, weird sample rates can cause AudioUnit output units to misbehave. Instead, use resampling for non-native rates to make sure this does not happen. | |||
2024-01-15 | Add an API for muting the input side of a stream | Andreas Pehrson | |
2024-01-15 | Add APIs for input processing | Andreas Pehrson | |
2024-01-08 | Checking buffer, buffer_in, buffer_out pointers for non NULL values | Nikolay Borodin | |
2023-12-12 | auto_array: protect from various calls when length_ is 0 | Andreas Pehrson | |
cubeb-coreaudio-rs has hit a case when running its tests on MacOS 12 where it fails the `assert(destination && source);` in `PodCopy` because it tried to push 0 samples to an auto_array of length 0, as the internal auto_array buffer had not been allocated yet. | |||
2023-11-21 | Relax a single test_sanity.cpp assertion when using OpenSL | Paul Adenot | |
2023-11-21 | Allow not being able to get the minimum latency in test_callback_ret.cpp and ↵ | Paul Adenot | |
test_logging.cpp, as it's not essential for the test | |||
2023-11-21 | Add static keyword to fix build of tests in unified builds | Paul Adenot | |
2023-11-21 | Fix latency reporting on OpenSL | Paul Adenot | |
2023-11-10 | Remove test_deadlock.cpp file, hasn't been compiled since March 2018 | Paul Adenot | |
Removed in 789eaa. | |||
2023-11-10 | Include gtest.h in test/common.h | Paul Adenot | |
2023-11-10 | Include the header directly to use AudioBuffer on macOS in cubeb_ring_array.h | Paul Adenot | |
2023-11-10 | Non-functional change: Directly include string.h in test/common.h | Paul Adenot | |
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 | Non functional change: Fix missing documentation in cubeb.h | Paul Adenot | |
2023-11-10 | Non-functional change: Check tests when checking format | Paul Adenot | |
2023-11-10 | Non-functional change: clang-format tests | Paul Adenot | |
2023-11-10 | Non functional change: fix unified compilation issue -- make callbacks static | Paul Adenot | |
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-10 | CI: update actions/checkout to v4 | aeiouaeiouaeiouaeiouaeiouaeiou | |
2023-11-08 | Fix mistake break audio input on OpenSL ES | Paul Adenot | |
2023-11-07 | In test_duplex loop back all input frames | Andreas Pehrson | |
The break removed here makes sense for input-only, where breaking has no side effects. In a loopback duplex case like here it makes the callback exit early, before having written all frames. This can be caused by clipping on the input side (as observed on MacOS) and creates a distortion that sounds terrible. | |||
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 | Generate compile_commands.json while building | Paul Adenot | |
2023-08-25 | Handle input side | Paul Adenot | |
2023-08-25 | Refactor conversion and format setting logic | Paul Adenot | |