Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Clear ALSA's PCM handle after closing it | Chris Robinson | 2018-04-19 | 1 | -0/+1 |
| | |||||
* | Initialize COM using the multithreaded apartment | Chris Robinson | 2018-04-01 | 1 | -7/+7 |
| | | | | | | | I honestly have no idea which is the correct (or better) mode to use given the confusing mess COM is, but CoInitialize uses single-threaded apartments which seems to be a problem for with at least a couple games in the STALKER series (the call fails, which causes us to drop back to the DSound backend). | ||||
* | Fix capture device closing in the CoreAudio backend | Chris Robinson | 2018-03-24 | 1 | -14/+26 |
| | |||||
* | Remove an unused struct and move some functions to where they're used | Chris Robinson | 2018-03-23 | 1 | -38/+24 |
| | |||||
* | Combine multiple allocations into one | Chris Robinson | 2018-03-23 | 1 | -16/+5 |
| | |||||
* | Remove an outdated comment | Chris Robinson | 2018-03-14 | 1 | -5/+0 |
| | |||||
* | Release the PulseAudio mainloop lock sooner | Chris Robinson | 2018-03-14 | 1 | -10/+16 |
| | |||||
* | Avoid using pa_stream_begin_write with PulseAudio | Chris Robinson | 2018-03-14 | 1 | -23/+9 |
| | | | | | | | | | | | | | It seems to actually have a negative performance impact when the system is under load. Without having actual measurements for any potential benefits, simply go with the recommended (and previous fallback) method of allocating space for the write and passing the free method. Ideally some kind of ring buffer could be used, so rather than constantly allocating and freeing blocks of memory, it uses the same memory over again with the callback marking each one as reusable. Unfortunately the callback isn't given much information to work with, and the update size (minreq) can potentially change during playback, which complicates things. | ||||
* | Rename the mmdevapi backend to wasapi | Chris Robinson | 2018-03-09 | 2 | -172/+167 |
| | |||||
* | Add extern "C" to some headers | Chris Robinson | 2018-03-09 | 1 | -0/+8 |
| | |||||
* | Prefix SDL2 device names on Windows | Chris Robinson | 2018-03-09 | 1 | -6/+31 |
| | |||||
* | Request the device's sample type for SDL2 | Chris Robinson | 2018-03-09 | 1 | -1/+13 |
| | |||||
* | Store the frame size for the SDL2 backend | Chris Robinson | 2018-03-08 | 1 | -6/+6 |
| | |||||
* | Print the unsupported values from SDL2 | Chris Robinson | 2018-03-08 | 1 | -5/+2 |
| | |||||
* | Init and quit the SDL2 audio subsystem with the factory | Chris Robinson | 2018-03-08 | 1 | -26/+10 |
| | |||||
* | Also save the update size with SDL2 | Chris Robinson | 2018-03-08 | 1 | -8/+12 |
| | |||||
* | Use the audio device lock for the SDL2 backend | Chris Robinson | 2018-03-08 | 1 | -4/+13 |
| | |||||
* | Properly close the SDL2 audio device | Chris Robinson | 2018-03-08 | 1 | -4/+15 |
| | |||||
* | Avoid calling SDL_GetNumAudioDevices multiple times | Chris Robinson | 2018-03-08 | 1 | -3/+10 |
| | |||||
* | SDL2 backend: Reset device parameters | Jan Niklas Hasse | 2018-03-08 | 1 | -7/+20 |
| | |||||
* | SDL2 backend: Allow changes to channels and format | Jan Niklas Hasse | 2018-03-08 | 1 | -1/+22 |
| | |||||
* | SDL2 backend: Allow frequency changes | Jan Niklas Hasse | 2018-03-08 | 1 | -2/+7 |
| | |||||
* | Handle passing NULL to SDL_OpenAudioDevice as a special device | Jan Niklas Hasse | 2018-03-08 | 1 | -2/+8 |
| | | | | https://discourse.libsdl.org/t/changing-audio-output-when-the-default-audio-playback-device-changes/22399/2 | ||||
* | SDL2 backend: Use callback instead of a timing loop | Jan Niklas Hasse | 2018-03-08 | 1 | -83/+11 |
| | | | | The system clock and audio clock aren't necessarily synchronized. | ||||
* | Add SDL2 backend for playback, fix #173 | Jan Niklas Hasse | 2018-03-07 | 2 | -0/+266 |
| | |||||
* | Ensure at least the specified ringbuffer size is writable | Chris Robinson | 2018-03-02 | 8 | -21/+13 |
| | | | | | | Previously, all but one of the specified size could be written (so for a size of n, only n-1 was guaranteed writable). All users pretty much compensated for this, but it makes more sense to fix it at the source. | ||||
* | Add an option to limit the write size of the ringbuffer | Chris Robinson | 2018-03-01 | 9 | -20/+18 |
| | |||||
* | Make the Connected state atomic | Chris Robinson | 2018-02-04 | 12 | -67/+67 |
| | | | | Also don't send the Disconnected event more than once. | ||||
* | Avoid potentially writing partial samples | Chris Robinson | 2018-02-03 | 1 | -1/+3 |
| | |||||
* | Provide more descriptive messages to disconnection events | Chris Robinson | 2018-02-03 | 11 | -43/+51 |
| | |||||
* | Use an atomic instead of volatile to tell a thread to quit | Chris Robinson | 2018-02-01 | 1 | -6/+5 |
| | |||||
* | Use semaphores to signal for more samples with JACK and OpenSL | Chris Robinson | 2018-02-01 | 2 | -54/+16 |
| | |||||
* | Don't bother with an explicit stop backend method | Chris Robinson | 2018-01-29 | 17 | -340/+208 |
| | |||||
* | Call the backend close method in the destructor | Chris Robinson | 2018-01-28 | 13 | -79/+125 |
| | |||||
* | Avoid using alloca in the CoreAudio backend | Chris Robinson | 2018-01-16 | 1 | -12/+10 |
| | |||||
* | Properly cast some parameters for MSVC | Chris Robinson | 2018-01-16 | 1 | -5/+5 |
| | |||||
* | Use GetProcBinary to get the executable name for PulseAudio | Chris Robinson | 2018-01-13 | 1 | -4/+7 |
| | |||||
* | Make a couple functions inline | Chris Robinson | 2018-01-12 | 2 | -0/+9 |
| | |||||
* | Use atomic variables in place of volatile | Chris Robinson | 2018-01-11 | 1 | -16/+17 |
| | |||||
* | Define a function where it's used | Chris Robinson | 2018-01-11 | 1 | -0/+7 |
| | |||||
* | Fix up some types for MSVC | Chris Robinson | 2018-01-11 | 2 | -2/+2 |
| | |||||
* | Move the ringbuffer declarations to a separate header | Chris Robinson | 2018-01-11 | 9 | -1/+10 |
| | | | | And rename alcRing.c to ringbuffer.c for consistency. | ||||
* | Move the config function declarations to their own header | Chris Robinson | 2018-01-11 | 7 | -0/+7 |
| | | | | And rename alcConfig.c to alconfig.c for consistency. | ||||
* | Restore the original JACK message callback when possible | Chris Robinson | 2017-09-23 | 1 | -1/+9 |
| | |||||
* | Downgrade some ERRs to TRACEs | Chris Robinson | 2017-07-23 | 1 | -2/+2 |
| | | | | | These don't exist outside OSSv4, e.g. with OSS/Free, padsp, or aoss, so no need to be concerned. | ||||
* | Make sure OSS device files exist before adding them | Chris Robinson | 2017-07-23 | 1 | -2/+10 |
| | |||||
* | Set the float PCM GUID for wave files only when outputting float | Chris Robinson | 2017-07-15 | 1 | -2/+3 |
| | |||||
* | Store the QSA backend's ExtraData in the wrapper struct | Chris Robinson | 2017-06-29 | 1 | -118/+121 |
| | |||||
* | Add casts to silence MSVC | Chris Robinson | 2017-06-29 | 1 | -1/+1 |
| | |||||
* | Trace the message name in the message handler loop | Chris Robinson | 2017-06-26 | 1 | -1/+14 |
| |