aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/backends/portaudio.c
Commit message (Collapse)AuthorAgeFilesLines
* Don't bother with an explicit stop backend methodChris Robinson2018-01-291-23/+14
|
* Call the backend close method in the destructorChris Robinson2018-01-281-14/+4
|
* Move the ringbuffer declarations to a separate headerChris Robinson2018-01-111-0/+1
| | | | And rename alcRing.c to ringbuffer.c for consistency.
* Move the config function declarations to their own headerChris Robinson2018-01-111-0/+1
| | | | And rename alcConfig.c to alconfig.c for consistency.
* Store the ambisonic order separate from the channel enumChris Robinson2017-04-121-2/+2
|
* Rename al_string_* functions to alstr_*Chris Robinson2017-04-041-2/+2
|
* Always lock the device backend before calling aluMixDataChris Robinson2017-02-181-0/+2
|
* Change the backend getLatency method to return the clock time tooChris Robinson2016-05-281-2/+2
| | | | | | This will also allow backends to better synchronize the tracked clock time with the device output latency, without necessarily needing to lock if the backend API can allow for it.
* Convert the PortAudio backend to the new backend APIChris Robinson2015-10-221-152/+257
|
* Allow for device-specific config valuesChris Robinson2015-08-281-2/+2
|
* Remove the GetLatency method from the old BackendFuncsChris Robinson2014-09-081-2/+1
|
* Update COPYING to the latest ↵François Cami2014-08-181-2/+2
| | | | https://www.gnu.org/licenses/old-licenses/lgpl-2.0.txt to fix the FSF' address Fix the FSF' address in the source
* Use the default input device for portaudio's default capture deviceChris Robinson2014-08-081-1/+4
|
* Use an al_string for the device nameChris Robinson2014-03-281-2/+2
|
* Remove the Lock and Unlock methods from BackendFuncsChris Robinson2013-11-041-2/+0
| | | | | All backends that still use the old interface use the default locking methods, which is also used by the ALCbackend base.
* Add a missing compat.h include for portaudioChris Robinson2013-10-281-0/+1
|
* Use the UNUSED macro in the backendsChris Robinson2013-10-071-14/+6
|
* Compile using -std=c99 when availableChris Robinson2013-10-031-1/+1
|
* Destroy the ring buffer when closing down a portaudio deviceChris Robinson2013-02-011-0/+3
|
* Don't include alu.h in alMain.hChris Robinson2012-09-141-2/+2
|
* Use a default method to provide a dummy latencyChris Robinson2012-08-191-8/+1
|
* Move the device lock into the backend function tableChris Robinson2012-08-181-0/+2
| | | | | For backend-specific implementations: this should hold the audio mixer loop for playback devices, and provide recursive mutex behavior.
* Add a device method to retrieve the active latencyChris Robinson2012-08-171-1/+9
| | | | | This is effectively the time until the next update will be heard by the user, or the closest approximation thereof, in nanoseconds.
* Rename AllDevice -> AllDevicesChris Robinson2012-05-091-1/+1
|
* Remove hungarian notation from the device and context structsChris Robinson2012-04-191-2/+2
|
* Avoid modifying the ALCdevice in portaudio's open methodChris Robinson2012-03-131-25/+31
|
* Store the portaudio stream parameters with the deviceChris Robinson2012-03-131-32/+33
|
* Use a separate backend callback to start playback of the deviceChris Robinson2012-03-051-1/+9
| | | | | | | | | | | | This allows us to properly update the ALCdevice and its resources with the new parameters before starting playback, instead of expecting the mixer to block and wait after it has begun. This also lets us avoid holding the device lock while resetting and starting the device, which helps prevent lock inversion on some backends (ie, one thread locking A then B, and another thread locking B then A), ultimately allowing certain backends to asynchronously update the ALCdevice without risk of lockup. Capture still has issues here, however.
* Avoid a leak if PortAudio fails to give a usable channel countChris Robinson2012-03-021-2/+2
|
* Don't define lib handles when dynamic loading is disabledChris Robinson2012-03-011-9/+15
|
* Always use "OpenAL Soft" for the short device enumeration listChris Robinson2012-02-201-3/+0
|
* Support signed and unsigned 32-bit int outputChris Robinson2012-02-141-1/+11
|
* Avoid printing messages about device parameter changes in the backendsChris Robinson2012-01-171-7/+1
|
* Retry opening the PortAudio device with 16-bit short if 32-bit float output ↵Chris Robinson2012-01-171-3/+9
| | | | fails
* Check the number of available samples before calling the capture methodChris Robinson2011-09-181-8/+5
|
* Return int and float config values through a parameterChris Robinson2011-09-181-4/+4
| | | | | This allows the getter functions to return whether or not the option exists without a separate call and check.
* Return an error from the CaptureSamples method instead of setting itChris Robinson2011-09-141-7/+8
|
* Return an ALC error enum from the OpenCapture backend methodChris Robinson2011-08-241-11/+5
|
* Return an ALC error enum from the OpenPlayback backend methodChris Robinson2011-08-241-5/+5
|
* Move backend sources to a separate sub-directoryChris Robinson2011-08-201-0/+449