Chris Robinson
fcd3bed0c0
Clean up more implicit conversions
2019-09-13 12:51:16 -07:00
Chris Robinson
f09734b707
Pass IrSize to the HRTF mixers as unsigned
2019-09-13 11:19:11 -07:00
Chris Robinson
4254888576
Make IrSize unsigned
2019-09-13 09:38:35 -07:00
Chris Robinson
df306b5524
Make NumAuxSends unsigned
2019-09-13 04:15:05 -07:00
Chris Robinson
5b763e1437
Clean up implicit conversions in alu.cpp
2019-09-13 03:47:23 -07:00
Chris Robinson
c1690178ec
Make the resampler increment unsigned
2019-09-13 03:25:13 -07:00
Chris Robinson
5f862a5b49
Clean up sample converter implicit conversions
2019-09-12 17:45:06 -07:00
Chris Robinson
2e010d29cb
Clean up implicit conversions in source.cpp
2019-09-12 11:33:04 -07:00
Chris Robinson
6699f3cf1c
Use unsigned channel indices
2019-09-12 04:17:21 -07:00
Chris Robinson
07e2aa3bc0
Clean up some more implicit conversions
2019-09-11 14:33:26 -07:00
Chris Robinson
1a9f1e0869
Fix a few more C-style casts
2019-09-11 08:08:23 -07:00
Chris Robinson
a895709b6f
Fix function declaration
2019-09-11 06:58:27 -07:00
Chris Robinson
be0442c620
Avoid C-style casts in C++
2019-09-11 06:47:56 -07:00
Chris Robinson
388928f3aa
Fix some more implicit casts
2019-09-11 05:53:10 -07:00
Chris Robinson
5b37e2339b
Simplify flexible array member usage
2019-09-11 03:59:53 -07:00
Chris Robinson
65374dc5d0
Avoid dynamically allocating ChannelConverter
2019-09-10 23:01:33 -07:00
Chris Robinson
19e1cd7430
Make hq-mode the default and update ambisonics.txt
2019-09-08 01:38:20 -07:00
Chris Robinson
ec8b56ef3b
Remove unneeded TRACEREF logging
2019-09-08 00:59:10 -07:00
Chris Robinson
ef2769af03
Use a normal vector for the voices array
2019-09-04 23:04:55 -07:00
Chris Robinson
c47a6d2279
Increment the mix count during disconnect
...
So attempts to get the current playback offset behave correctly while
disconnecting.
2019-09-04 20:31:55 -07:00
Chris Robinson
e873165019
Only ASSUME values where a variable is used
2019-09-04 19:31:30 -07:00
Chris Robinson
8940bbd034
Only use one accumulation buffer for B-Format HRTF mixing
...
It's all getting added together anyway and all channels are continuous inputs,
so this is fewer passes over various buffers.
2019-09-03 23:19:24 -07:00
Chris Robinson
e1ee1bcde9
Clean up some formatting
2019-09-03 21:34:58 -07:00
Chris Robinson
bb35e24c9b
Avoid unnecessary placement new definitions
2019-09-01 17:54:17 -07:00
Chris Robinson
d15950f383
Avoid accumulating a temporary
2019-09-01 15:03:22 -07:00
Chris Robinson
aee10ef606
Hold the source lock in UpdateAllSourceProps
2019-09-01 00:29:26 -07:00
Chris Robinson
3973334a64
Store the voice fraction offset as unsigned
2019-08-31 15:49:34 -07:00
Chris Robinson
a546343148
Make MixVoice a member function
2019-08-31 14:53:28 -07:00
Chris Robinson
5b6772440a
Remove a couple unnecessary variables
2019-08-27 12:31:19 -07:00
Chris Robinson
b5a6dcc14f
Remove some unnecessary local spans
2019-08-26 11:02:09 -07:00
Chris Robinson
7dbf69afa2
Use a span for effect state input
2019-08-26 09:16:20 -07:00
Chris Robinson
12e6dc0cce
Fix a function's sample count type
2019-08-25 21:30:32 -07:00
Chris Robinson
4e72d7b3ec
Use al::byte for a couple more buffers
2019-08-25 18:09:14 -07:00
Chris Robinson
164626a7be
Pass unsigned sample count to aluMixData
2019-08-25 17:54:36 -07:00
Chris Robinson
b93098f7df
Use unsigned sample counts for the compressor/limiter
2019-08-25 17:24:53 -07:00
Chris Robinson
88a8bf903b
Use size_t for the post-process sample length
2019-08-25 15:36:40 -07:00
Chris Robinson
e165cae3cd
Fade reverb over the whole update
...
Since the early and late panning gains fade over the course of the update, it
should match the fading done by the feedback loops to avoid percussive "blasts"
when transitioning to a long-decay low-gain environment from a short-decay
high-gain environment.
2019-08-24 16:25:56 -07:00
Chris Robinson
02d38091c8
Make a couple functions into member functions
2019-08-23 15:34:45 -07:00
Chris Robinson
b7ab8b6896
Fix a variable declaration
2019-08-22 18:53:09 -07:00
Chris Robinson
7ad2ed965c
Avoid reading from pointers to __m128 values
2019-08-21 07:43:28 -07:00
Chris Robinson
bb46cec0b1
Pass samplesToDo as size_t to effects
2019-08-20 14:30:04 -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