Commit Graph

6459 Commits

Author SHA1 Message Date
Chris Robinson 7ad2ed965c Avoid reading from pointers to __m128 values 2019-08-21 07:43:28 -07:00
Chris Robinson 024d5d900a Dereference the correct buffer when destructing a source 2019-08-21 03:00:19 -07:00
Chris Robinson bb46cec0b1 Pass samplesToDo as size_t to effects 2019-08-20 14:30:04 -07:00
Chris Robinson 3e499e70fd Try to improve non-dynamic-extent span construction 2019-08-20 12:31:46 -07:00
Chris Robinson 3a6676b61e Fix NEON store call 2019-08-20 12:19:38 -07:00
Chris Robinson 80710c146a Use size_t for the mixers' fade counter and outpos 2019-08-20 12:00:24 -07:00
Chris Robinson 3fa83547e9 Use size_t for HrtfMixer functions' buffer size 2019-08-20 11:39:39 -07:00
Chris Robinson a19f65f2c8 Use size_t for reverb offsets and masks 2019-08-20 11:13:19 -07:00
Chris Robinson 9e326846f6 Simplify passing some span parameters 2019-08-20 10:36:17 -07:00
Chris Robinson a3a295f6dc Try to fix span construction for MSVC 2019-08-20 09:31:08 -07:00
Chris Robinson a7f078927d Fix MixRow definition for NEON 2019-08-20 09:20:18 -07:00
Chris Robinson 0961f4eb00 Pass a span to the Resample function 2019-08-20 08:46:12 -07:00
Chris Robinson ce76cc1441 Use unsigned for the sample and channel converters 2019-08-20 07:57:37 -07:00
Chris Robinson 2ab52968f4 Track the MixVoice sample count and fade counter as unsigned 2019-08-20 06:03:31 -07:00
Chris Robinson 7a8f81259c Use size_t for the NFC and biquad filters' sample count 2019-08-20 05:26:51 -07:00
Chris Robinson 102ef6cb33 Pass a span for the Mix function's input 2019-08-20 04:16:44 -07:00
Chris Robinson 4883091f5d Rename the Mix function input for clarity 2019-08-20 01:24:02 -07:00
Chris Robinson 8fd90334a1 Pass the MixRow buffer size as a span 2019-08-20 00:27:28 -07:00
Chris Robinson 34a61122f6 Change NUM_LINES to a size_t for MSVC 2019-08-19 09:49:01 -07:00
Chris Robinson 34331c0dfa Fix for GCC5 decaying an array to a pointer 2019-08-19 09:14:54 -07:00
Chris Robinson c0cd43d100 More logically separate temp reverb buffers 2019-08-19 08:46:57 -07:00
Chris Robinson 2d0568c048 Allow using a variable channel stride for MixRowSamples 2019-08-19 08:02:08 -07:00
Chris Robinson a9223ae601 Improve subspan default template argument 2019-08-18 23:26:49 -07:00
Chris Robinson 2bbdd329cd Use the appropriate type 2019-08-18 15:37:39 -07:00
Chris Robinson 6629b65ab9 Formatting cleanup 2019-08-18 15:25:18 -07:00
Chris Robinson 4f4ef3a410 Don't require MixRow's output to be a FloatBufferLine 2019-08-18 15:15:56 -07:00
kcat 6750907bdd Merge pull request #329 from Raulshc/fshifter
EFX: Update Frequency shifter
2019-08-18 15:15:19 -07:00
kcat 71ddb86047 Merge pull request #328 from Raulshc/double2int
Move double2int function
2019-08-18 15:15:09 -07:00
kcat c89fb550b6 Merge pull request #327 from Raulshc/alsoft_config_vmorpher
Alsoft-config: Add vocal morpher effect
2019-08-18 15:15:01 -07:00
Raulshc eaaa194163 EFX: Update Frequency shifter
Add f. shifter processing for L and R channels.
2019-08-18 19:28:00 +02:00
Raulshc 550f1dce1f Move double2int function
Move inline double2int function to alnumeric.h from pshifter.cpp
2019-08-18 19:12:38 +02:00
Raulshc 42602b9ede Alsoft-config: Add vocal morpher effect 2019-08-18 18:49:52 +02:00
Chris Robinson ff66061091 Reduce the size of reverb's temporary buffer storage
The size of ReverbState is now almost half of what it was.
2019-08-18 03:19:19 -07:00
Chris Robinson 16886bd259 Avoid an out parameter for VectorPartialScatter 2019-08-17 23:00:46 -07:00
Chris Robinson ddf7e0f07c Use a std::array for the reverb sample buffer 2019-08-17 21:23:30 -07:00
Chris Robinson 351ccf2e11 Use new/delete for context and effectslot properties 2019-08-13 22:25:59 -07:00
Chris Robinson ecab99bce9 Move update pointers to the containers they update 2019-08-13 22:06:14 -07:00
Chris Robinson 0806a003e2 Use new/delete for listener properties 2019-08-13 20:33:44 -07:00
Chris Robinson 91ff01d1ad Don't explicitly inline a particular function 2019-08-13 20:33:26 -07:00
Chris Robinson bc9f39b5ac Environment variables should override config settings 2019-08-12 17:10:04 -07:00
Chris Robinson 38a565bdf8 Move UID definitions to a separate source 2019-08-12 14:56:17 -07:00
Chris Robinson dff906c13b Remove always-true assumption 2019-08-12 14:32:04 -07:00
Chris Robinson 81d17bb80f Fix some return types 2019-08-12 14:30:47 -07:00
Chris Robinson 1aaf65abfe Add methods to get env vars as an optional 2019-08-12 03:59:52 -07:00
Chris Robinson 50d16d2422 Don't use INT_MAX for unknown span lengths
32-bit doesn't like it, for some reason. Use the largest possible length it
could be.
2019-08-11 22:48:18 -07:00
Chris Robinson f290bf2751 Move vector.h to common 2019-08-11 20:54:21 -07:00
Chris Robinson e200569cd3 Move the wstr converters to a separate header 2019-08-11 18:50:07 -07:00
Chris Robinson 7118733458 Remove multiple buffers per queue item
And simplify related code
2019-08-11 14:01:57 -07:00
Chris Robinson 70058a8a84 Move the dynload decls and defs to common 2019-08-10 21:54:30 -07:00
Chris Robinson dca2365051 Fix array access index 2019-08-10 20:31:08 -07:00