aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/alc.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Misc fixes (#315)Philip Muzzall2019-07-141-1/+1
| | | | | | | | * Added rc scripts for dll * Reverted numbering scheme in CMakeLists * Misc fixes
* vocal morpher implementation (#312)Lopuska2019-07-091-2/+0
| | | | | | * vocal morpher implementation * compile fix for GCC
* Don't stop the device before going over the attributesChris Robinson2019-07-061-20/+14
|
* Use unsigned more consistently for source countsChris Robinson2019-07-061-12/+11
|
* Use a span for MixParamsChris Robinson2019-07-041-4/+3
|
* Use a span for RealMixParamsChris Robinson2019-07-031-5/+4
|
* Allocate device buffer when setting the channel countsChris Robinson2019-07-031-18/+0
|
* Don't warn about non-multiple-of-4 update sizesChris Robinson2019-07-021-9/+1
| | | | | | It's not always possible to do anything about it, especially for backends that aren't restricted to the period size, and it's not really a problem anyway (still getting SIMD benefits for the vast majority of samples).
* Create and use a make_optional methodChris Robinson2019-07-011-1/+1
|
* Simplify some optional usageChris Robinson2019-07-011-3/+3
|
* Don't unnecessarily force the output limiter onChris Robinson2019-07-011-1/+0
|
* Use optionals where methods may not return a valid valueChris Robinson2019-06-301-9/+10
|
* Return optionals from the remaining ConfigValue* methodsChris Robinson2019-06-301-8/+9
|
* Use an optional for ConfigValueStrChris Robinson2019-06-301-16/+25
|
* Use an optional for ConfigValueUIntChris Robinson2019-06-301-23/+28
|
* Use an optional for ConfigValueIntChris Robinson2019-06-301-18/+15
|
* Hold references in the global device and context listsChris Robinson2019-06-291-106/+109
|
* Use a FlexArray for a device's contextsChris Robinson2019-06-291-45/+82
|
* Declare variables closer to their useChris Robinson2019-06-291-14/+10
|
* Put some static functions in an anonymous namespaceChris Robinson2019-06-291-35/+35
|
* Avoid a generic function for specialized behaviorChris Robinson2019-06-291-10/+13
|
* Use a bool for the TrapALError flagChris Robinson2019-06-291-3/+3
|
* Use a range-for loop to concatenate available backendsChris Robinson2019-06-291-7/+12
|
* Don't keep retrieving the backend factoriesChris Robinson2019-06-281-22/+22
|
* Fix the error "a reinterpret_cast is not a constant expression" on GCC 9Minmin Gong2019-06-271-1/+1
|
* Use a span instead of pointer+size parametersChris Robinson2019-06-171-10/+11
|
* Avoid manually looping to destroy orphaned async eventsChris Robinson2019-06-161-10/+7
|
* Reorganize how some device fields are set and resetChris Robinson2019-06-151-5/+48
|
* Make the voice count unsignedChris Robinson2019-06-091-2/+2
|
* Use a FlexArray for the context's voicesChris Robinson2019-06-091-96/+49
|
* Make sure the bitfield indices are constantsChris Robinson2019-06-091-41/+41
|
* Use a bitfield for the device flagsChris Robinson2019-06-081-43/+41
|
* Simplify DistanceComp somewhatChris Robinson2019-06-081-1/+0
|
* Use a span for the effect state's output targetChris Robinson2019-06-051-4/+2
|
* Make some more channel counts unsignedChris Robinson2019-06-051-1/+1
|
* Make RealMixParams channel count unsignedChris Robinson2019-06-051-2/+2
|
* Properly destroy other objectsChris Robinson2019-06-051-2/+2
|
* Don't log the function or prefixChris Robinson2019-06-041-7/+7
| | | | | | It's ultimately unnecessary since the message is an indicator about where it was logged from. The message itself is generally more important than where it was from, too.
* Restructure voice data membersChris Robinson2019-06-031-19/+23
| | | | | This should improve access patters by packing each buffer channel's data together, which is more inline with its use.
* Use std::array for most mixing buffer arraysChris Robinson2019-05-281-1/+1
|
* Get rid of the COUNTOF macroChris Robinson2019-05-261-9/+8
|
* Restructure some voice fieldsChris Robinson2019-05-171-9/+4
|
* Catch exceptions from backend resetChris Robinson2019-05-041-1/+7
|
* Add an exception class to cover backend creation and openingChris Robinson2019-05-041-35/+41
|
* Report the threshold limit for the output limiterChris Robinson2019-05-041-3/+6
|
* Scale the update size with sample rate changesChris Robinson2019-04-261-5/+3
|
* Specify the buffer size as itself instead of the period countChris Robinson2019-04-261-22/+25
| | | | | | | 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.
* Open the playback device earlierChris Robinson2019-04-201-18/+20
| | | | | | | | | | So we actually have a device name to get the initial settings for. Be aware that some backends set a format when opening instead of on reset, so such devices will only set the default format (it can't get a desired format without the device name, but the format will already be set once that's known). The affected backends are WinMM, SDL2, and PortAudio (none of which are generally used). This could be fixed by reopening the device during reset, but it would need to be done carefully.
* Remove the SZFMT macroChris Robinson2019-04-111-12/+12
| | | | C++11 mandates the %zu/d formatter
* Simplify sorting and initializing the backendsChris Robinson2019-04-111-58/+42
|