aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/backends/coreaudio.c
Commit message (Collapse)AuthorAgeFilesLines
* Some suggested changes for iOSChris Robinson2018-09-071-3/+11
|
* Pass the device name list to the backend probe methodChris Robinson2018-09-071-5/+3
|
* Fix capture device closing in the CoreAudio backendChris Robinson2018-03-241-14/+26
|
* Remove an unused struct and move some functions to where they're usedChris Robinson2018-03-231-38/+24
|
* Combine multiple allocations into oneChris Robinson2018-03-231-16/+5
|
* Ensure at least the specified ringbuffer size is writableChris Robinson2018-03-021-1/+1
| | | | | | 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 ringbufferChris Robinson2018-03-011-1/+1
|
* Don't bother with an explicit stop backend methodChris Robinson2018-01-291-8/+3
|
* Call the backend close method in the destructorChris Robinson2018-01-281-0/+1
|
* Avoid using alloca in the CoreAudio backendChris Robinson2018-01-161-12/+10
|
* Move the ringbuffer declarations to a separate headerChris Robinson2018-01-111-0/+1
| | | | And rename alcRing.c to ringbuffer.c for consistency.
* Store the ambisonic order separate from the channel enumChris Robinson2017-04-121-5/+3
|
* Convert the CoreAudio backend to the updated backend APIChris Robinson2017-04-091-178/+282
|
* 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
|
* Modify NumUpdates for different sample rates instead of UpdateSizeChris Robinson2016-08-041-1/+1
| | | | | | | Not that this really changes anything since the CoreAudio backend doesn't honor the ALCdevice's buffer metrics, nor accurately report the device's actual metrics. But it clears up warnings from a non-multiple-of-four update size if the sample rate causes it to change.
* Remove DevFmtBFormat3D, which is covered by DevFmtAmbi1Chris Robinson2016-07-311-1/+0
|
* Add a config to output first-, second-, or third-order ambisonicsChris Robinson2016-07-291-0/+3
| | | | | | | | | Currently incomplete, as second- and third-order output will not correctly handle B-Format input buffers. A standalone up-sampler will be needed, similar to the high-quality decoder. Also, output is ACN ordering with SN3D normalization. A config option will eventually be provided to change this if desired.
* Convert remaining ringbuffers to the lockless variantChris Robinson2016-03-291-9/+13
|
* Replace deprecated Carbon API calls with modern AudioComponent APIs in the ↵Alex Szpakowski2015-11-131-18/+24
| | | | | | | | CoreAudio backend. This prevents a deprecation notice from being output to stdout when alcOpenDevice is called in Mac OS X 10.11. The new API calls require Mac OS X 10.6 or newer.
* Support B-Format output with the wave file writerChris Robinson2014-11-251-0/+1
|
* Fix 5.1 surround soundChris Robinson2014-11-071-1/+1
| | | | | | | | | | | | | 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.
* Remove the GetLatency method from the old BackendFuncsChris Robinson2014-09-081-2/+1
|
* Check the given CoreAudio capture device nameChris Robinson2014-08-261-0/+5
|
* 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
* Add a needed header for the CoreAudio backendChris Robinson2014-05-221-0/+1
|
* Use an al_string for the device nameChris Robinson2014-03-281-1/+3
|
* 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 support for float32 output to CoreAudioChris Robinson2012-12-031-10/+13
|
* Use the correct multiplier for int32 output with CoreAudioChris Robinson2012-12-031-2/+2
|
* Don't include alu.h in alMain.hChris Robinson2012-09-141-2/+1
|
* 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-1/+1
|
* Minor coreaudio fix, and make sure to set the device nameChris Robinson2012-03-131-4/+3
|
* Attempted fix for the coreaudio backendChris Robinson2012-03-121-16/+40
|
* 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-0/+13
|
* Avoid printing messages about device parameter changes in the backendsChris Robinson2012-01-171-41/+0
|
* Check the number of available samples before calling the capture methodChris Robinson2011-09-181-9/+6
|
* Remove a couple ineffective alcSetError callsChris Robinson2011-09-141-6/+0
|
* Return an error from the CaptureSamples method instead of setting itChris Robinson2011-09-141-28/+27
|
* Return an ALC error enum from the OpenCapture backend methodChris Robinson2011-08-241-4/+4
|
* 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/+719