aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/backends
Commit message (Collapse)AuthorAgeFilesLines
* Convert the WinMM backend to C++Chris Robinson2018-11-081-23/+30
|
* Hide function pointer wrapper macros for IDE parsingChris Robinson2018-11-074-0/+8
|
* Use the proper enum values for atomic opsChris Robinson2018-11-061-3/+3
|
* Convert the DSound backend to C++Chris Robinson2018-11-061-297/+269
|
* Move wstr_to_utf8 to compat.hChris Robinson2018-11-031-16/+0
|
* Expand the anonymous namespacesChris Robinson2018-11-022-31/+28
|
* Add a wrapper to manage PROPVARIANT objectsChris Robinson2018-11-021-26/+35
|
* Check the correct propvariant objectChris Robinson2018-11-021-4/+4
|
* Try another fix to declare GUIDs in C++Chris Robinson2018-11-021-4/+10
|
* Make the polymorphism macros less hacky in C++Chris Robinson2018-11-012-344/+319
| | | | | | In particular, it relies on derived structs using C++-style inheritence. Any implementation's source that's converted to C++ will consequently need to make that change.
* Workaround some issue with DEFINE_GUID in C++Chris Robinson2018-11-011-2/+4
|
* Use more C++ types where possibleChris Robinson2018-11-011-343/+290
|
* Use an anonymous namespace instead of static for some thingsChris Robinson2018-11-011-3/+7
|
* Preliminary conversion of the WASAPI backend to C++Chris Robinson2018-11-011-232/+222
| | | | A very sparse conversion. Will clean up more later after seeing what MSVC does.
* Use a wrapper function to simplify a checkChris Robinson2018-11-011-8/+10
|
* Use perfect forwarding to initialize DevMap entriesChris Robinson2018-11-011-3/+4
|
* Simplify a couple loopsChris Robinson2018-11-011-40/+36
|
* Use the appropriate enums for standard atomicsChris Robinson2018-11-011-3/+3
|
* Avoid uniform initialization with referencesChris Robinson2018-11-011-2/+2
| | | | Also doesn't work with GCC 4.x
* Remove unused headerChris Robinson2018-11-011-1/+0
|
* Include a missing header for atomicChris Robinson2018-11-011-0/+1
|
* Fix another use of auto uniform initializationChris Robinson2018-11-011-1/+1
|
* Avoid all uniform initialization with autoChris Robinson2018-11-011-66/+64
| | | | | | Because of early C++11 (GCC 4.x) deficiencies, it's not interpreted correctly. Either declare the type name explicitly with uniform initization, or use auto with = initialization. It'll be fine when updating to GCC 5 or Clang 3.6.
* Avoid uniform initialization on auto for integer typesChris Robinson2018-10-311-17/+17
| | | | To work around a deficiency with early C++11 compilers (GCC 4.x).
* Convert the PulseAudio backend to C++Chris Robinson2018-10-311-597/+581
|
* Replace restrict with RESTRICTChris Robinson2018-10-291-2/+2
|
* Don't try to get the JNIEnv on AndroidChris Robinson2018-10-021-5/+7
| | | | | It's currently not used. More stuff is needed anyway which may need a different approach.
* Include the limiter's lookAhead delay in the device latencyChris Robinson2018-09-252-0/+10
|
* Properly queue buffers for OpenSL captureChris Robinson2018-09-171-32/+9
|
* Fix some potential race conditions with OpenSLChris Robinson2018-09-171-42/+62
| | | | | | | | | For playback, increment the ring buffer's write pointer before queueing audio, to handle cases where the callback is invoked, advancing the read pointer, before the write pointer is advanced. For capture, limit the number of re-queued chunks to the number of fully read chunks.
* Some suggested changes for iOSChris Robinson2018-09-071-3/+11
|
* Pass the device name list to the backend probe methodChris Robinson2018-09-0718-130/+105
|
* Implement capture support for SoundIOChris Robinson2018-09-071-6/+266
|
* Rename ALCsndioBackendChris Robinson2018-09-072-47/+47
|
* Append the OpenSL capture device to the appropriate listChris Robinson2018-08-231-1/+1
|
* Always prepare the ALSA PCM handle before starting captureChris Robinson2018-06-081-2/+9
| | | | | | Draining the ALSA device via stopping puts it into a setup state, which requires re-preparing before playback can start again. Preparing it prior to the first start seems to cause no harm, so just always do it before starting.
* Clear ALSA's PCM handle after closing itChris Robinson2018-04-191-0/+1
|
* Initialize COM using the multithreaded apartmentChris Robinson2018-04-011-7/+7
| | | | | | | I honestly have no idea which is the correct (or better) mode to use given the confusing mess COM is, but CoInitialize uses single-threaded apartments which seems to be a problem for with at least a couple games in the STALKER series (the call fails, which causes us to drop back to the DSound backend).
* 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
|
* Remove an outdated commentChris Robinson2018-03-141-5/+0
|
* Release the PulseAudio mainloop lock soonerChris Robinson2018-03-141-10/+16
|
* Avoid using pa_stream_begin_write with PulseAudioChris Robinson2018-03-141-23/+9
| | | | | | | | | | | | | It seems to actually have a negative performance impact when the system is under load. Without having actual measurements for any potential benefits, simply go with the recommended (and previous fallback) method of allocating space for the write and passing the free method. Ideally some kind of ring buffer could be used, so rather than constantly allocating and freeing blocks of memory, it uses the same memory over again with the callback marking each one as reusable. Unfortunately the callback isn't given much information to work with, and the update size (minreq) can potentially change during playback, which complicates things.
* Rename the mmdevapi backend to wasapiChris Robinson2018-03-092-172/+167
|
* Add extern "C" to some headersChris Robinson2018-03-091-0/+8
|
* Prefix SDL2 device names on WindowsChris Robinson2018-03-091-6/+31
|
* Request the device's sample type for SDL2Chris Robinson2018-03-091-1/+13
|
* Store the frame size for the SDL2 backendChris Robinson2018-03-081-6/+6
|
* Print the unsupported values from SDL2Chris Robinson2018-03-081-5/+2
|