aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/backends/wasapi.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Don't round WASAPI updates to the update sizeChris Robinson2019-04-271-1/+0
|
* Scale the update size with sample rate changesChris Robinson2019-04-261-9/+6
|
* Specify the buffer size as itself instead of the period countChris Robinson2019-04-261-23/+23
| | | | | | | Certain backends don't need a buffer size to be a strict multiple of the period count, which allows a little more flexibility. The period/update size simply acts as the minimum request, which helps control CPU load by determining how often parameter and other pre-mixing updates are processed.
* Remove the backend factory deinit methodChris Robinson2019-04-141-9/+0
| | | | | | It was never actually called anywhere, and there's no safe place where it can be called. It's probably better to let the individual backends worry about cleaning themselves up anyway.
* Use a custom message queue for the WASAPI backendChris Robinson2019-04-141-263/+160
|
* Add some enum casts for the WASAPI backendChris Robinson2019-03-191-5/+5
|
* Rename DevProbe enum namesChris Robinson2019-03-191-6/+6
|
* Avoid using internal AL[u]int64 typesChris Robinson2019-02-111-1/+1
|
* Handle a missing default WASAPI device IDChris Robinson2019-01-181-3/+3
|
* Use an atomic bool on things that only take true or falseChris Robinson2018-12-301-6/+6
|
* Rename BackendLock to StateLockChris Robinson2018-12-301-10/+0
|
* Use member functions for the sample and channel convertersChris Robinson2018-12-291-5/+5
|
* Add missing includes for mem_fnChris Robinson2018-12-291-0/+1
|
* Return a unique_ptr for the backendChris Robinson2018-12-291-3/+3
|
* Make the backend type an enum classChris Robinson2018-12-291-5/+5
|
* Convert the backends to use proper inheritenceChris Robinson2018-12-281-159/+103
|
* Use static_cast instead of reinterpret_cast where possibleChris Robinson2018-12-281-16/+16
|
* Finish turning ancillary backend methods into member functionsChris Robinson2018-12-281-157/+156
|
* Get rid of the unnecessary STATIC_(UP)CAST macrosChris Robinson2018-12-271-90/+77
|
* Use a proper constructor/destructor for the ALCbackend baseChris Robinson2018-12-271-6/+6
|
* Return unique_ptrs instead of raw pointersChris Robinson2018-12-271-20/+13
| | | | For the ring buffer, channel converter, and sample converter.
* Clean up the ring buffer struct and use member functionsChris Robinson2018-12-261-5/+8
|
* Remove extraneous typedef, struct, and enum keywordsChris Robinson2018-12-241-2/+2
|
* Use a normal delete instead of ll_ringbuffer_freeChris Robinson2018-12-221-12/+6
| | | | And use RingBufferPtr in more places
* Use inline methods for the device format sizesChris Robinson2018-12-191-8/+4
|
* Avoid several uses of memsetChris Robinson2018-12-081-1/+1
|
* Pass the desired resampler to CreateSampleConverterChris Robinson2018-11-281-1/+1
|
* Avoid the update size going to 0 with a relatively large device periodChris Robinson2018-11-281-1/+1
|
* Replace remaining uses of std::vector with al::vectorChris Robinson2018-11-241-6/+6
| | | | Which uses a custom allocator that uses our allocation functions.
* Use proper time types for the device clock time and latencyChris Robinson2018-11-221-2/+2
|
* Return the ringbuffer data pointers as a pairChris Robinson2018-11-191-9/+10
|
* Use a std::string for the device nameChris Robinson2018-11-181-16/+6
|
* Avoid more cases of an enum variable and type name clashChris Robinson2018-11-181-3/+3
|
* Don't pass the current thread to althrd_setnameChris Robinson2018-11-171-2/+2
|
* Convert the WASAPI backend factoryChris Robinson2018-11-151-79/+55
|
* Remove the unused al_string APIChris Robinson2018-11-151-1/+0
|
* Use a regular char* for the device's nameChris Robinson2018-11-151-10/+12
|
* Search the right list for WASAPI name duplicatesChris Robinson2018-11-151-1/+1
|
* Use std::string instead of al_string for enumeratingChris Robinson2018-11-151-5/+3
|
* Avoid calling through the vtable in the backendsChris Robinson2018-11-131-10/+10
|
* Use utf8_to_wstr to convert UTF-8 to wstringChris Robinson2018-11-131-20/+10
|
* Move wstr_to_utf8 to compat.hChris Robinson2018-11-031-16/+0
|
* Expand the anonymous namespacesChris Robinson2018-11-021-13/+14
|
* 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-011-312/+282
| | | | | | 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
|
* Preliminary conversion of the WASAPI backend to C++Chris Robinson2018-11-011-0/+2035
A very sparse conversion. Will clean up more later after seeing what MSVC does.