aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/backends
Commit message (Collapse)AuthorAgeFilesLines
* Fix 5.1 surround soundChris Robinson2014-11-077-33/+38
| | | | | | | | | | | | | Apparently, 5.1 surround sound is supposed to use the "side" channels, not the back channels, and we've been wrong this whole time. That means the "5.1 Side" is actually the correct 5.1 setup, and using the back channels is anomalous. Additionally, this means the 5.1 buffer format should also use the the side channels instead of the back channels. A final note: the 5.1 mixing coefficients are changed so both use the original 5.1 surround sound set (with the surround channels at +/-110 degrees). So the only difference now between 5.1 "side" and 5.1 "back" is the channel labels.
* Use a wave file channel mask based on the actual formatChris Robinson2014-09-101-14/+12
|
* Remove some unnecessary config optionsChris Robinson2014-09-081-18/+8
|
* Use a vector instead of a manual dynamic arrayChris Robinson2014-09-081-150/+90
|
* Don't modify a capture device's formatChris Robinson2014-09-081-168/+7
| | | | | | OpenAL's capture API guarantees the application gets the format requested, or else the device will fail to open. The only valid change is that the capture buffer can be larger than requested.
* Remove the GetLatency method from the old BackendFuncsChris Robinson2014-09-087-37/+9
|
* Convert the winmm backend to the new backend APIChris Robinson2014-09-082-285/+381
|
* Only pass nano seconds to al_nssleepChris Robinson2014-09-084-5/+5
|
* Check mmdevapi device ids to match the default deviceChris Robinson2014-08-281-19/+36
| | | | | Seems Windows can return different IMMDevice object pointers for the same endpoint.
* Check the given CoreAudio capture device nameChris Robinson2014-08-261-0/+5
|
* Convert the wave writer backend to the new APIChris Robinson2014-08-242-111/+181
|
* Update COPYING to the latest ↵François Cami2014-08-1814-28/+28
| | | | https://www.gnu.org/licenses/old-licenses/lgpl-2.0.txt to fix the FSF' address Fix the FSF' address in the source
* Use VECTOR_FIND_IF and VECTOR_FOR_EACH instead of manual loopsChris Robinson2014-08-093-105/+56
|
* Use the default input device for portaudio's default capture deviceChris Robinson2014-08-081-1/+4
|
* Use pulseaudio's write callback to signal a mixer proc wakeupChris Robinson2014-07-261-3/+11
|
* Don't require pre-declaring vector typesChris Robinson2014-07-065-12/+8
|
* Don't print an ERR if pulse fails to get latency info due to no dataChris Robinson2014-05-261-3/+8
| | | | It just means it was called too quickly after starting.
* Add a needed header for the CoreAudio backendChris Robinson2014-05-221-0/+1
|
* Initialize a pointer to NULL instead of a stringChris Robinson2014-05-151-2/+1
|
* Initialize some variables when declaring themChris Robinson2014-05-151-4/+2
|
* Don't try to read the internal capture buffer into itselfChris Robinson2014-05-141-6/+9
|
* Avoid freeing an in-use capture bufferChris Robinson2014-05-141-5/+3
| | | | | When stopping, ALSA may capture into its own storage buffer. Do not free the storage buffer if it first reads from it.
* Make RefCount a non-integer typeChris Robinson2014-05-141-4/+4
| | | | | It should only be accessed through the appropriate functions to ensure proper atomicity.
* Iniitialize some mmdevapi backend fields in the constructorChris Robinson2014-05-021-0/+23
|
* Add a helper VECTOR_FOR_EACH macroChris Robinson2014-04-305-55/+42
|
* Convert the mmdevapi backend to the new backend APIChris Robinson2014-04-252-393/+510
|
* Use a vector for mmdevapi device listsChris Robinson2014-04-241-93/+77
|
* More device list cleanup cleanupChris Robinson2014-04-242-40/+25
|
* Use a helper function to clear PulseAudio device listsChris Robinson2014-04-241-36/+20
|
* Use a helper method to clear winmm device listsChris Robinson2014-04-241-20/+15
|
* Avoid using superfluous LP* typesChris Robinson2014-04-231-10/+10
|
* Use a RefCount for counting committed winmm buffersChris Robinson2014-04-231-7/+7
|
* Avoid forward-declaring backend vtablesChris Robinson2014-04-234-42/+44
|
* Avoid using assert() in createBackendChris Robinson2014-04-232-14/+20
|
* Properly handle HAVE_DYNLOAD in the dsound backendChris Robinson2014-04-221-1/+7
|
* Avoid some superfluous typesChris Robinson2014-04-221-8/+8
|
* Use a helper to return mmdevapi message thread responsesChris Robinson2014-04-221-16/+15
|
* Use a vector to store the ALSA device listsChris Robinson2014-04-211-96/+82
|
* Use al_string for ALSA's device mapChris Robinson2014-04-211-21/+26
|
* Trace the device name being opened in ALSA and PulseAudioChris Robinson2014-04-212-0/+4
|
* Use the althrd methods in winmmChris Robinson2014-04-211-78/+15
|
* Use the stored format block align instead of calculating itChris Robinson2014-04-201-7/+4
|
* Use a vector for the PulseAudio DevMapsChris Robinson2014-04-201-76/+82
|
* Use an al_string in the PulseAudio backend instead of char*Chris Robinson2014-04-201-44/+63
|
* Convert the DSound backend to the new APIChris Robinson2014-04-192-220/+292
|
* Add a GCC-specific STATIC_UPCAST macro that checks the object typeChris Robinson2014-04-191-1/+1
| | | | | The check is compile time, and is functionally identical to the old/alternate version.
* Rename SetThreadName to althrd_setnameChris Robinson2014-04-1711-14/+14
|
* Make and use a C11-like altimespec_get wrapper functionChris Robinson2014-04-172-44/+57
|
* Avoid using a Sleep() wrapperChris Robinson2014-04-165-10/+10
|
* Remove the old thread wrappers for the new onesChris Robinson2014-04-168-95/+91
|