aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/backends/alsa.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Set the ALSA period size firstChris Robinson2019-04-261-4/+4
|
* Specify the buffer size as itself instead of the period countChris Robinson2019-04-261-20/+17
| | | | | | | 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-48/+32
| | | | | | 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.
* Rename DevProbe enum namesChris Robinson2019-03-191-2/+2
|
* Remove redundant void argument list in function defFilip Gawin2019-01-091-1/+1
|
* Use c++ headersFilip Gawin2019-01-091-2/+2
|
* Avoid using old style castsFilip Gawin2019-01-081-8/+8
| | | | | | To think about: examples/alffplay.cpp:600 OpenAL32/Include/alMain.h:295
* Use user-defined literals for 64-bit literalsChris Robinson2019-01-071-1/+1
|
* Use an atomic bool on things that only take true or falseChris Robinson2018-12-301-3/+3
|
* Rename BackendLock to StateLockChris Robinson2018-12-301-4/+0
|
* 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-231/+182
|
* Turn more methods into member functionsChris Robinson2018-12-271-10/+14
|
* Make some ancillary methods into member functionsChris Robinson2018-12-271-63/+60
|
* Get rid of the unnecessary STATIC_(UP)CAST macrosChris Robinson2018-12-271-16/+13
|
* Use a proper constructor/destructor for the ALCbackend baseChris Robinson2018-12-271-6/+6
|
* Return unique_ptrs instead of raw pointersChris Robinson2018-12-271-2/+2
| | | | For the ring buffer, channel converter, and sample converter.
* Rename some ALSA class members for consistencyChris Robinson2018-12-271-108/+108
|
* Clean up the ring buffer struct and use member functionsChris Robinson2018-12-261-6/+7
|
* Remove extraneous typedef, struct, and enum keywordsChris Robinson2018-12-241-3/+3
|
* Use a normal delete instead of ll_ringbuffer_freeChris Robinson2018-12-221-11/+7
| | | | And use RingBufferPtr in more places
* Use inline methods for the device format sizesChris Robinson2018-12-191-8/+5
|
* Avoid using ATOMIC_LOAD on ALCdevice::ConnectedChris Robinson2018-11-261-2/+2
|
* Rename some struct membersChris Robinson2018-11-261-126/+126
|
* Replace remaining uses of std::vector with al::vectorChris Robinson2018-11-241-7/+7
| | | | 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/+4
|
* Return the ringbuffer data pointers as a pairChris Robinson2018-11-191-5/+4
|
* Use a std::string for the device nameChris Robinson2018-11-181-6/+4
|
* Avoid more cases of an enum variable and type name clashChris Robinson2018-11-181-5/+5
|
* Don't pass the current thread to althrd_setnameChris Robinson2018-11-171-2/+2
|
* Convert the ALSA backend factoryChris Robinson2018-11-151-74/+53
|
* Use a regular char* for the device's nameChris Robinson2018-11-151-4/+6
|
* Use std::string instead of al_string for enumeratingChris Robinson2018-11-151-4/+2
|
* More clearly check if the buffer is not emptyChris Robinson2018-11-141-1/+1
|
* Fix some comment indentationChris Robinson2018-11-131-3/+3
|
* Use C++ more with the ALSA backendChris Robinson2018-11-131-359/+276
|
* Convert the ALSA backend to C++Chris Robinson2018-11-131-0/+1470