aboutsummaryrefslogtreecommitdiffstats
path: root/alc/backends
Commit message (Collapse)AuthorAgeFilesLines
* Move a couple related functions to the backend baseChris Robinson2020-06-1218-18/+145
|
* Check the returned sample endianess with sndioChris Robinson2020-06-071-0/+6
|
* Fix a return valueChris Robinson2020-06-071-1/+1
|
* Use a safer layout if sndio changes the channel countChris Robinson2020-06-071-61/+78
|
* sndio: Support more than 2 channelsDaniel Gibson2020-06-071-2/+32
| | | | | | | So far the sndio backend only supports Mono and Stereo, but sndio supports up to 16 channels (64 in their current git code). This adds support for all the openal-soft formats (DevFmt*). I tested this on Linux with 5.1 surround speakers.
* Don't return a bool from the backend start methodChris Robinson2020-04-2818-198/+120
|
* Set the device name in the Oboe backendChris Robinson2020-04-201-0/+2
|
* Trace the opened Oboe stream propertiesChris Robinson2020-04-191-6/+6
|
* More gracefully relax the Oboe format requestChris Robinson2020-04-191-21/+23
|
* Try to be more robust with the Oboe formatChris Robinson2020-04-181-8/+45
|
* Initial implementation for Oboe-based playbackChris Robinson2020-04-181-4/+185
|
* Add an Oboe backend stubChris Robinson2020-04-182-0/+47
|
* Avoid a function call to get the frame stepChris Robinson2020-04-131-1/+1
|
* Use standard attribute declarationsChris Robinson2020-04-1310-4/+14
|
* Use a common base for a couple exceptionsChris Robinson2020-04-101-1/+18
|
* Clean up some more unnecessary uses of AL typesChris Robinson2020-04-082-2/+2
|
* Report better latency when PulseAudio has no timing infoChris Robinson2020-03-301-5/+5
|
* Inline a small helper methodChris Robinson2020-03-302-24/+24
|
* Get rid of a redundant enumChris Robinson2020-03-3033-67/+62
|
* Return the enumerated device names from the backendChris Robinson2020-03-3033-138/+176
| | | | Rather than using an out parameter.
* Inline a couple BackendBase methodsChris Robinson2020-03-302-8/+3
|
* Remove the mutex from the backend baseChris Robinson2020-03-295-12/+17
|
* Remove the QSA backendChris Robinson2020-03-292-979/+0
| | | | | It's been broken for who knows how long, and could really do with a rewrite for the new interface anyway.
* Protect the call to pa_mainloop_quit with the mutexChris Robinson2020-03-291-1/+4
|
* Make some functions private methodsChris Robinson2020-03-281-19/+19
|
* Avoid AL[C]boolean for internal useChris Robinson2020-03-282-7/+7
|
* Make sure prebuf is filled when starting pulseaudio playbackChris Robinson2020-03-271-1/+25
|
* Use "zero-copy" writes with pulseaudio playbackChris Robinson2020-03-261-6/+20
|
* Clear the WASAPI device list when enumeratingChris Robinson2020-03-241-15/+12
|
* Don't send close messages for unopened WASAPI devicesChris Robinson2020-03-241-2/+10
|
* Avoid some pre-C++14 workaroundsChris Robinson2020-03-221-10/+9
|
* Remove the check for stat()Chris Robinson2020-03-212-4/+0
| | | | It's POSIX-2001 standard
* Avoid a function call to get the channel countChris Robinson2020-03-181-1/+1
|
* Rename a method to be clearerChris Robinson2020-03-181-15/+13
|
* Make the pulseaudio enumeration functions class methodsChris Robinson2020-03-181-112/+113
|
* Remove a couple unused methodsChris Robinson2020-03-181-2/+0
|
* Add a helper to wait for the device mixChris Robinson2020-03-031-2/+1
|
* Remove unnecessary locks now that the mixer doesn't require oneChris Robinson2020-02-2617-61/+17
|
* Remove a couple unnecessary type aliasesChris Robinson2020-02-221-2/+0
|
* Fix JACK process callback handlingChris Robinson2020-01-121-50/+48
| | | | | | The callback apparently can't be set after activation, but we can't allocate the ring buffer until after activation when the callback is already getting called. An ugly flag it is, then, I guess.
* Don't allocate the ring buffer for JACK before activationChris Robinson2020-01-111-32/+20
| | | | | | | | | | | | | | It seems the JACK server can send buffer size change events during device reset and wait on it, which causes a failure since the change event can't be processed during a reset. It's otherwise impossible to safely disable the change event callback during a reset since the lock is already held and the callback can be waiting to acquire it. The only guarantee we seem to have is the event callback won't be invoked after jack_activate succeeds. So instead, the buffer size can be queried after jack_activate and the ring buffer allocated then, instead of using an event callback. This does mean the buffer size can change with a start() call, but it's better than a failure to start.
* Make CreateRingBuffer a static RingBuffer methodChris Robinson2020-01-1010-13/+13
|
* Make a duration type to handle WASAPI reference timesChris Robinson2019-12-221-34/+36
|
* Print the unhandled subformatChris Robinson2019-12-221-54/+54
|
* Try harder to find a matching WASAPI configurationChris Robinson2019-12-221-92/+110
| | | | | | As long as the lowest channel bits match the enabled bits for a given configuration, higher bits from any extra channels can be ignored since they can be skipped.
* Handle padding between device sample framesChris Robinson2019-12-2115-36/+58
| | | | | | | | The padding must be constant and sample type aligned (e.g. some fixed multiple of two bytes between the start of two consecutive frames for 16-bit output). The intent is to always have the ability for stereo output with WASAPI even if the device has some other unsupported configuration, as long as front-left and front-right exist.
* Add a config option for custom ALSA capture devicesChris Robinson2019-10-271-18/+16
|
* Gracefully drain the OpenSL capture buffer on disconnectChris Robinson2019-10-101-13/+24
|
* Use one PulseAudio mainloop per deviceChris Robinson2019-10-091-221/+270
| | | | | To help avoid devices blocking on each other when handling asynchronous messages.
* Remove a useless prebuf check with PulseAudioChris Robinson2019-10-091-14/+0
|