aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/backends
Commit message (Collapse)AuthorAgeFilesLines
* Round and clamp the scaled update count with openslChris Robinson2017-01-271-1/+4
|
* Try to use the system sample rate with AndroidChris Robinson2017-01-261-6/+56
|
* Use ALsizei in more placesChris Robinson2017-01-181-3/+3
|
* Avoid using some LP typesChris Robinson2017-01-101-5/+5
|
* Use proper atomics in the OSS backendChris Robinson2017-01-101-17/+17
|
* Hold Pulse's mainloop lock while calling capture functionsChris Robinson2017-01-101-2/+10
| | | | | | | Since commit c837484015e, the backend's lock is no longer implicitly held when calling capture functions. A separate mutex is used to ensure serial access, and its up to the backend to protect against races and reentrancy with the audio API.
* Convert the SndIO backend to the updated APIChris Robinson2016-12-212-78/+127
|
* Add missing macros for OSS3/Free compatibilityChris Robinson2016-12-211-0/+2
|
* Warn when a given device name isn't found for OSSChris Robinson2016-12-011-4/+10
|
* Minor cleanup for ALCossListPopulateChris Robinson2016-12-011-22/+18
|
* Ensure OSS devices are enumerated when a name is requested.Chris Robinson2016-12-011-2/+12
|
* Include the full JACK ringbuffer size for the device period countChris Robinson2016-11-031-3/+8
|
* Include wtypes.h for defining Windows' property keysChris Robinson2016-10-041-0/+1
|
* Recognize Headset formfactors as headphonesChris Robinson2016-09-211-1/+3
|
* Simplify mmdevapi's device name searchChris Robinson2016-09-071-17/+33
| | | | | Avoids converting each enumerated devid from WSTR to UTF-8, and instead just converts the device name from UTF-8 to WSTR once if needed.
* mmdevapi: Allow specifying output device by it's audio endpoint GUID or by ↵Dmytry Lavrov2016-09-061-8/+45
| | | | the device id string (Oculus VR api requires you to play back on a specific device).
* Set a JACK error message handler when initializing the backendChris Robinson2016-08-111-0/+10
| | | | | | | | | | | | | | JACK2 will print error messages to stderr if it fails to connect to a server. Users who don't normally use JACK but have the client lib installed will get those messages even though OpenAL Soft will continue on to find a working backend without trouble. So to avoid it, set an error message handler that'll log them as warnings. This isn't that great because there's no way to tell whether the error messages are due to the server not running, or some other problem. And it resets the callback to the default afterward even if it may have been set to something else before. JACK2, which is what needs this workaround in the first place, doesn't export the jack_error_callback pointer to properly save and restore it.
* 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.
* Look for the correct DLL for JACK on WindowsChris Robinson2016-08-031-1/+6
|
* Remove DevFmtBFormat3D, which is covered by DevFmtAmbi1Chris Robinson2016-07-317-12/+3
|
* Add a config to output first-, second-, or third-order ambisonicsChris Robinson2016-07-297-1/+31
| | | | | | | | | 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.
* Combine VECTOR_RESIZE and VECTOR_RESERVEChris Robinson2016-07-266-16/+11
|
* Clean up a couple variable names and declarationsChris Robinson2016-05-301-3/+2
|
* Change the backend getLatency method to return the clock time tooChris Robinson2016-05-2814-50/+111
| | | | | | 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.
* Properly pluralize some messagesChris Robinson2016-05-221-3/+4
|
* Shorten VECTOR_ITER_ macros to VECTOR_Chris Robinson2016-04-156-31/+28
|
* Use al_malloc/al_free for allocationsChris Robinson2016-04-051-9/+7
|
* Also disable ALSA's resampler when not requesting a sample rateChris Robinson2016-04-051-1/+4
|
* Add a hack to workaround erroneous prebuf values from pulseChris Robinson2016-03-311-5/+28
|
* Convert remaining ringbuffers to the lockless variantChris Robinson2016-03-295-70/+74
|
* Fix when ESTRPIPE and EPIPE are the sameChris Robinson2016-02-221-0/+2
|
* Replace some CreateEvent calls with CreateEventWChris Robinson2016-02-072-7/+7
|
* Don't write one byte at a time for the wave writer on big endianChris Robinson2016-01-251-17/+19
|
* Replace multiple fputc calls with one fwriteChris Robinson2016-01-231-6/+4
|
* Fix for systems that don't have strnlenChris Robinson2016-01-211-4/+14
|
* Improve the OSS enumeration codeChris Robinson2016-01-211-63/+71
|
* Added a check for an empty pathKeegan Drake H.P2015-12-171-2/+2
|
* Add device enumeration support for OSSv4Keegan Drake H.P2015-12-171-27/+206
|
* Add includes to work around broken GNU headers and POSIX-2001Chris Robinson2015-12-112-0/+2
|
* Reformat Windows device name dressingChris Robinson2015-12-043-29/+27
|
* Better handle inexact ALSA period countsChris Robinson2015-11-231-1/+4
|
* Fix the allow-resampler check for ALSAChris Robinson2015-11-231-1/+1
|
* 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.
* Add options to disable Pulse's and ALSA's resamplersChris Robinson2015-11-072-3/+7
|
* Add another cast for MSVCChris Robinson2015-11-061-1/+1
|
* Convert the PortAudio backend to the new backend APIChris Robinson2015-10-222-152/+258
|
* Add a function to get a list of data filesChris Robinson2015-10-031-1/+0
| | | | | | The method takes a marked-up filename (e.g. may include %r for a sample rate, %% for %, etc), and returns a vector of strings of found filenames that match. It will search the CWD, the local, and global data directories, in that order.
* Use the macros to allocate the wrapper backendsChris Robinson2015-09-241-6/+2
|
* Disable mmdevapi capture and update changelogChris Robinson2015-09-181-1/+6
| | | | | | | Unfortunately mmdevapi does not do channel remixing or resampling, even for capture, so the device can only be opened in the mode it's configured for. For now, fallback to dsound or winmm to get the conversion until we can do it ourselves.
* Append "on OpenAL Soft" to mmdevapi, dsound, and winmm device namesChris Robinson2015-09-103-32/+46
| | | | | Would be nicer to have a more backend-agnostic method of doing this, Perhaps even also only when the router is being used.