aboutsummaryrefslogtreecommitdiffstats
path: root/alc/backends
Commit message (Collapse)AuthorAgeFilesLines
* Don't force application name with pulseaudioIlya Fedin2021-03-181-8/+1
|
* Don't activate the WASAPI device when initially opening itChris Robinson2021-03-171-17/+2
|
* Avoid returning objects with a reference parameterChris Robinson2021-03-161-13/+13
|
* Check that CoCreateInstance succeedsChris Robinson2021-03-161-13/+17
|
* Workaround mingw complaining about the %z formatterChris Robinson2021-03-121-0/+4
|
* Initialize the new audio unit before disposing the old oneChris Robinson2021-03-091-6/+6
|
* Move the ComPtr wrapper to a common headerChris Robinson2021-03-082-126/+2
|
* Allow calling BackendBase::open multiple times on playback devicesChris Robinson2021-03-0815-257/+360
| | | | | | | | | | | It will not be called while the device is running. If the first call succeeds, a subsequent call that happens to fail must leave the existing device state as it was so it can be resumed. This is a rough first pass. It will fail when trying to re-open the same device which can only be opened once (for instance, with direct hardware access, on hardware that doesn't do its own mixing). Some backends won't guarantee the new device is usable until the reset() or start() call.
* Add enumeration to the JACK backendChris Robinson2021-02-131-35/+84
| | | | | | | | Port names seem to be structured as <device_name:channel_name> or <app_name:channel_name>. I'm not sure if this is always the case, but it seems some other apps expect something like this. Also fix the port selection to exclude MIDI ports and allow non-physical ports.
* Stop the Oboe recording stream when recording is stoppedChris Robinson2021-02-021-2/+2
| | | | Hopefully Oboe will retain any unread samples and let them be read.
* Implement Oboe captureChris Robinson2021-01-311-4/+135
|
* Set the oboe stream buffer sizeChris Robinson2021-01-311-0/+2
|
* Allow the sample type to get changed on SolarisChris Robinson2021-01-291-6/+10
|
* Fix compilation on Solaris backendCacodemon3452021-01-291-0/+1
|
* Remove an unnecessary semicolonChris Robinson2021-01-221-1/+1
|
* Use if constexpr when possibleChris Robinson2021-01-222-2/+4
|
* Make PopCount and CountTrailingZeros more standard-likeChris Robinson2021-01-222-2/+4
|
* Use a standard bitset for bitfield flagsChris Robinson2021-01-225-12/+12
|
* Make the endian test more C++-likeChris Robinson2021-01-212-13/+17
|
* Fix handling paused devices with the wave writer backendChris Robinson2021-01-211-10/+14
|
* Simplify a divisionChris Robinson2021-01-211-1/+1
| | | | | The division opcode typically also generates the remainder, making the result of x%y free with x/y.
* Avoid calling readAdvance in a loopChris Robinson2021-01-171-3/+5
|
* Don't assume the ring buffer's read vector is the next writable spaceChris Robinson2021-01-151-30/+36
| | | | | This is untrue since the ring buffer leaves one element unwritten, so there's one extra element to be written once a readable element is read.
* Use a span instead of passing a vector by referenceChris Robinson2021-01-111-5/+5
|
* Make sure proper names are used for querying PulseAudio infoChris Robinson2021-01-101-5/+5
|
* Pass nullptr to pulse for default deviceIlya Fedin2021-01-101-42/+13
|
* Remove unnecessary includesChris Robinson2020-12-244-8/+0
|
* Move alexcpt to coreChris Robinson2020-12-2417-17/+1
|
* Avoid some more AL typesChris Robinson2020-12-241-4/+4
|
* Avoid AL/ALC types in the backendsChris Robinson2020-12-1717-273/+274
|
* Don't use ALC error enums for the backend error codeChris Robinson2020-12-1718-172/+222
|
* Move the AL error enum out of base_exceptionChris Robinson2020-12-171-1/+4
|
* Don't return an enum from captureSamplesChris Robinson2020-12-1712-108/+83
| | | | It's always no_error
* Move logging to coreChris Robinson2020-12-1717-18/+17
|
* Make sure to stop ALSA playback when the backend stopsChris Robinson2020-12-121-0/+3
|
* Add a gain argument to altonegen (#502)Eliot Miranda2020-12-041-1/+1
| | | | | | * Fix a speeling rorre in an error message. Add a gain command-line argument to altonegen.c * Fix some formatting issues and a copy/paste error.
* Change a couple macros into constexpr variablesChris Robinson2020-11-281-1/+1
|
* Fix a UInt32 variable typeChris Robinson2020-11-241-1/+1
|
* Fill all buffers for CoreAudio playbackChris Robinson2020-11-241-2/+6
|
* Disable buffer allocation with CoreAudio captureChris Robinson2020-11-241-0/+8
|
* Ceil the scaled buffer size instead of roundChris Robinson2020-11-231-1/+3
| | | | The result has to be large enough to get the original requested size from it.
* Fix buffer offset for the second conversionChris Robinson2020-11-231-1/+1
|
* Fix capture buffer size scaling in CoreAudioChris Robinson2020-11-231-5/+5
|
* Use kAudioUnitScope_Global to get the maximum frame sizeChris Robinson2020-11-231-1/+1
|
* Use clearer variable namesChris Robinson2020-11-201-1/+1
|
* Don't try to override the CoreAudio maximum capture sliceChris Robinson2020-11-191-20/+28
|
* Add missing include for the CoreAudio backendChris Robinson2020-11-051-0/+1
|
* Use inline functions for popcnt and ctz instead of macrosChris Robinson2020-10-132-2/+2
|
* Be more robust with to-mono channel conversionsChris Robinson2020-10-051-16/+52
|
* Cast the ringbuffer size to the correct typeChris Robinson2020-10-051-1/+1
|