Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Avoid using some LP types | Chris Robinson | 2017-01-10 | 1 | -5/+5 |
| | |||||
* | Use proper atomics in the OSS backend | Chris Robinson | 2017-01-10 | 1 | -17/+17 |
| | |||||
* | Hold Pulse's mainloop lock while calling capture functions | Chris Robinson | 2017-01-10 | 1 | -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 API | Chris Robinson | 2016-12-21 | 2 | -78/+127 |
| | |||||
* | Add missing macros for OSS3/Free compatibility | Chris Robinson | 2016-12-21 | 1 | -0/+2 |
| | |||||
* | Warn when a given device name isn't found for OSS | Chris Robinson | 2016-12-01 | 1 | -4/+10 |
| | |||||
* | Minor cleanup for ALCossListPopulate | Chris Robinson | 2016-12-01 | 1 | -22/+18 |
| | |||||
* | Ensure OSS devices are enumerated when a name is requested. | Chris Robinson | 2016-12-01 | 1 | -2/+12 |
| | |||||
* | Include the full JACK ringbuffer size for the device period count | Chris Robinson | 2016-11-03 | 1 | -3/+8 |
| | |||||
* | Include wtypes.h for defining Windows' property keys | Chris Robinson | 2016-10-04 | 1 | -0/+1 |
| | |||||
* | Recognize Headset formfactors as headphones | Chris Robinson | 2016-09-21 | 1 | -1/+3 |
| | |||||
* | Simplify mmdevapi's device name search | Chris Robinson | 2016-09-07 | 1 | -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 Lavrov | 2016-09-06 | 1 | -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 backend | Chris Robinson | 2016-08-11 | 1 | -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 UpdateSize | Chris Robinson | 2016-08-04 | 1 | -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 Windows | Chris Robinson | 2016-08-03 | 1 | -1/+6 |
| | |||||
* | Remove DevFmtBFormat3D, which is covered by DevFmtAmbi1 | Chris Robinson | 2016-07-31 | 7 | -12/+3 |
| | |||||
* | Add a config to output first-, second-, or third-order ambisonics | Chris Robinson | 2016-07-29 | 7 | -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_RESERVE | Chris Robinson | 2016-07-26 | 6 | -16/+11 |
| | |||||
* | Clean up a couple variable names and declarations | Chris Robinson | 2016-05-30 | 1 | -3/+2 |
| | |||||
* | Change the backend getLatency method to return the clock time too | Chris Robinson | 2016-05-28 | 14 | -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 messages | Chris Robinson | 2016-05-22 | 1 | -3/+4 |
| | |||||
* | Shorten VECTOR_ITER_ macros to VECTOR_ | Chris Robinson | 2016-04-15 | 6 | -31/+28 |
| | |||||
* | Use al_malloc/al_free for allocations | Chris Robinson | 2016-04-05 | 1 | -9/+7 |
| | |||||
* | Also disable ALSA's resampler when not requesting a sample rate | Chris Robinson | 2016-04-05 | 1 | -1/+4 |
| | |||||
* | Add a hack to workaround erroneous prebuf values from pulse | Chris Robinson | 2016-03-31 | 1 | -5/+28 |
| | |||||
* | Convert remaining ringbuffers to the lockless variant | Chris Robinson | 2016-03-29 | 5 | -70/+74 |
| | |||||
* | Fix when ESTRPIPE and EPIPE are the same | Chris Robinson | 2016-02-22 | 1 | -0/+2 |
| | |||||
* | Replace some CreateEvent calls with CreateEventW | Chris Robinson | 2016-02-07 | 2 | -7/+7 |
| | |||||
* | Don't write one byte at a time for the wave writer on big endian | Chris Robinson | 2016-01-25 | 1 | -17/+19 |
| | |||||
* | Replace multiple fputc calls with one fwrite | Chris Robinson | 2016-01-23 | 1 | -6/+4 |
| | |||||
* | Fix for systems that don't have strnlen | Chris Robinson | 2016-01-21 | 1 | -4/+14 |
| | |||||
* | Improve the OSS enumeration code | Chris Robinson | 2016-01-21 | 1 | -63/+71 |
| | |||||
* | Added a check for an empty path | Keegan Drake H.P | 2015-12-17 | 1 | -2/+2 |
| | |||||
* | Add device enumeration support for OSSv4 | Keegan Drake H.P | 2015-12-17 | 1 | -27/+206 |
| | |||||
* | Add includes to work around broken GNU headers and POSIX-2001 | Chris Robinson | 2015-12-11 | 2 | -0/+2 |
| | |||||
* | Reformat Windows device name dressing | Chris Robinson | 2015-12-04 | 3 | -29/+27 |
| | |||||
* | Better handle inexact ALSA period counts | Chris Robinson | 2015-11-23 | 1 | -1/+4 |
| | |||||
* | Fix the allow-resampler check for ALSA | Chris Robinson | 2015-11-23 | 1 | -1/+1 |
| | |||||
* | Replace deprecated Carbon API calls with modern AudioComponent APIs in the ↵ | Alex Szpakowski | 2015-11-13 | 1 | -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 resamplers | Chris Robinson | 2015-11-07 | 2 | -3/+7 |
| | |||||
* | Add another cast for MSVC | Chris Robinson | 2015-11-06 | 1 | -1/+1 |
| | |||||
* | Convert the PortAudio backend to the new backend API | Chris Robinson | 2015-10-22 | 2 | -152/+258 |
| | |||||
* | Add a function to get a list of data files | Chris Robinson | 2015-10-03 | 1 | -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 backends | Chris Robinson | 2015-09-24 | 1 | -6/+2 |
| | |||||
* | Disable mmdevapi capture and update changelog | Chris Robinson | 2015-09-18 | 1 | -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 names | Chris Robinson | 2015-09-10 | 3 | -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. | ||||
* | Specify the pa_channel_map directly instead of through a string | Chris Robinson | 2015-09-04 | 1 | -30/+43 |
| | |||||
* | Use the correct device name for PulseAudio too | Chris Robinson | 2015-09-03 | 1 | -10/+24 |
| | | | | | Like mmdevapi. duplicate device names will have a '#2' or such appended, so the device's reported name may be incorrect. | ||||
* | Replace another vector loop with VECTOR_FIND_IF | Chris Robinson | 2015-09-03 | 1 | -14/+11 |
| |