Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-02-01 | format cubeb_sndio.c | Paul Adenot | |
2023-02-01 | sndio: switch audio to 24-bit precision | Alexandre Ratchov | |
2023-01-27 | cmake: Make undefined symbols weak on Android | Macdu | |
2023-01-23 | cmake: quote CXX_FLAGS substitution for MSVC | Liam | |
2023-01-09 | Prefer the AAudio backend over the OpenSL ES backend | Paul Adenot | |
The last issues have been fixed, and it's now better (and also uses an API that isn't deprecated). | |||
2023-01-09 | Enable strdup(3) for NetBSD | Ryo ONODERA | |
2023-01-05 | wasapi: Drop context lock before deleting context. | Matthew Gregan | |
2022-12-14 | Fix warnings | Paul Adenot | |
2022-12-14 | Generalize latency reporting to make it work in input-only and duplex modes | Paul Adenot | |
2022-12-14 | Rewrite aaudio_stream_get_position with the accurate timing info provided by ↵ | Paul Adenot | |
AAudio A/V sync is now perfect regardless of the output device (bluetooth, wired, speaker), and client side interpolation provides high accuracy regardless of the buffer-size that the users decides on. | |||
2022-12-14 | Compute and publish timing info, including position and latency, from the ↵ | Paul Adenot | |
real-time audio callback (output-only) This is essentially the same technique we're using on macOS in cubeb-coreaudio-rs, ported for AAudio, and extended to input. | |||
2022-12-14 | Store the sample-rate on the stream struct | Paul Adenot | |
2022-12-14 | Allow directly logging from cubeb_aaudio.cpp to logcat | Paul Adenot | |
2022-12-14 | Add a triple_buffer class that allows publishing data in a wait-free manner ↵ | Paul Adenot | |
from a real-time thread to another thread. It's largely inspired from the crate cubeb-coreaudio-rs uses, but ported to C++. | |||
2022-12-13 | Don't include timeapi.h because it doesn't exist in MinGW, include ↵ | Paul Adenot | |
mmsystem.h that declares timeGetTime instead. | |||
2022-12-13 | Fix warnings in cubeb_wasapi.cpp. | Paul Adenot | |
This fixes #733. | |||
2022-12-12 | Include timeapi.h in cubeb_wasapi.cpp manually to unbreak the build when ↵ | Paul Adenot | |
WIN32_LEAN_AND_MEAN is defined. | |||
2022-12-12 | Add a test to stress test the asynchronous logging system | Paul Adenot | |
2022-12-12 | Allow the asynchronous logging system to safely delete its storage. | Paul Adenot | |
2022-12-08 | wasapi: Avoid reconfiguring default output stream spuriously. | Matthew Gregan | |
2022-12-08 | wasapi: Fix default device change filtering logic. | Matthew Gregan | |
2022-12-08 | wasapi: Typo fix. | Matthew Gregan | |
2022-12-08 | cubeb-test: Add a newline after each log message. | Matthew Gregan | |
2022-12-08 | wasapi: Release WASAPI resources in inverse order to acquisition. | Matthew Gregan | |
This shouldn't have any behavioural effect as the WASAPI resources are reference counted internally. | |||
2022-12-05 | Account for the fact that some OSes have longer callback duration and async ↵ | Paul Adenot | |
logging is batched | |||
2022-12-02 | Inline values for stream params in test_logging.cpp, undef defines in test ↵ | Paul Adenot | |
to avoid breaking unified builds when building tests in Firefox. | |||
2022-12-02 | Allow dynamic enabling and disabling of the log, add tests for the logging ↵ | Paul Adenot | |
system. Also clear out the memory used by the async logger when it's shut down. This relies on the fact that enabling and disabling logging is performed on the same thread, but I think this is a reasonnable thing to do. We could assert it though. | |||
2022-10-19 | Properly compare against current log level | Ty Lamontagne | |
2022-09-29 | Clarify `cubeb_log_get_{log,callback}()` declaration. | Matthew Gregan | |
2022-09-22 | Register threads explicitely created by cubeb | Paul Adenot | |
This covers some callbacks, but not all of them: the APIs that don't require explicitely creating the thread will see their thread registered separately. | |||
2022-09-22 | Make the log callback and level atomic | Paul Adenot | |
It's useful to be able to enable logging dynamically while the program is running, and this can now be done on any thread. Various threads are logging (directly or asynchronously via the ring buffer), it's better to have those atomic. Both values are always checked before logging, and both must be non-null to log. | |||
2022-09-22 | Simplify initialization of opensl backend | Paul Adenot | |
2022-09-21 | Null check `context` in cubeb_enumerate_devices. | Matthew Gregan | |
2022-09-21 | cmake: fix install rules | Alexandre Bouvier | |
* don't install cmake test binaries * fix variable names in Doxyfile.in * install doc files | |||
2022-09-06 | Remove comments after #endif to fix clang-format errors. | ivan-matveev | |
2022-09-06 | Add #ifndef around dlclose() to allow build with "LAZY_LOAD_LIBS=OFF" cmake ↵ | ivan-matveev | |
argument. | |||
2022-07-21 | Add logging statement when input audio dropping happens | Paul Adenot | |
2022-07-21 | Add a header to be able to use a frame profiler in cubeb | Paul Adenot | |
The purpose of this header is to be swapped by cubeb users to use any number of frame profiler (tracy/Gecko Profiler/trace_event.h, etc.). | |||
2022-07-19 | Don't print the file name and \n twice when logging asynchronously (#715) | Paul Adenot | |
Not the prettiest but it does the job. Thanks to @ashleyz we don't really care about checking the log level here, it's checked ahead of time, which is nice because we don't want to carry it in the async log payload. | |||
2022-07-18 | Check log level in asynchronous logging macros before printing (#714) | az | |
Added `ALOG` macro and updated `ALOGV` for use with asynchronous logging. Both macros should now verify log level. | |||
2022-07-11 | Update build instructions | japm48 | |
2022-06-29 | Merge pull request #712 from kinetiknz/fix_decl | Ashley | |
Clarify `cubeb_async_log_reset_threads` declaration. | |||
2022-06-30 | Clarify `cubeb_async_log_reset_threads` declaration. | Matthew Gregan | |
2022-06-23 | fix threading errors | - | |
rearrange the cross-thread load to be the second load; being a little late may cause it to be lucky! (this probably doesn't matter) | |||
2022-06-21 | CI: update actions to v3, use macos-11 environment and bump Android API target | aeiouaeiouaeiouaeiouaeiouaeiou | |
2022-05-31 | Update INSTALL.md | Kevin Yin | |
correct typo | |||
2022-04-13 | wasapi: Fail stream setup instead of asserting if device latency unavailable. | Matthew Gregan | |
Follow up to https://github.com/mozilla/cubeb/pull/695. Before that PR, we would fail setup when GetDevicePeriod failed. This restores that behaviour. | |||
2022-04-13 | wasapi: Stop audio clients when render thread exits. | Matthew Gregan | |
2022-04-11 | wasapi: Enumerate only active devices when matching BT output device. | Matthew Gregan | |
Potentially significantly shrinks the list of devices to search when matching BT output device with specified BT input device. On my local machine, this shrinks the list from 25 to 7, and reduces the initial enumerate time from ~67ms to ~32ms (and a subsequent call from ~14ms to ~12ms). | |||
2022-04-11 | wasapi: Avoid enumerating DEVICE_STATE_NOTPRESENT devices. | Matthew Gregan | |
Devices in this state are not visible in the Sound Control Panel or other typical places in the OS audio UI, so there's little point in including them in cubeb's device list. On my test machine, this reduces the number of devices enumerated from 118 to 25 - reducing the cost of an initial cubeb_enumerate_devices from ~215ms to ~67ms (and a subsequent call from ~22ms to ~14ms). |