Chris Robinson
|
e2368eb960
|
Use an array to specify the offset for each channel of the device buffer
This effectively inverts the DevChannels array
|
2012-11-04 04:41:11 -08:00 |
|
Chris Robinson
|
e868dad61c
|
Make a decimal value a float type
|
2012-10-31 06:58:16 -07:00 |
|
Chris Robinson
|
3c3e3b123b
|
Add a couple comments to the code
|
2012-10-26 20:11:59 -07:00 |
|
Chris Robinson
|
f02a9935c6
|
Avoid branching when clamping and converting float samples to integer
|
2012-10-26 15:31:14 -07:00 |
|
Chris Robinson
|
e2e502970c
|
Move some math functions to where they're used
|
2012-10-25 17:24:22 -07:00 |
|
Chris Robinson
|
4f5aafe59f
|
Put the HRTF DirectParams into an anonymous struct
|
2012-10-15 01:37:37 -07:00 |
|
Chris Robinson
|
a852669dce
|
Store the output buffers in the DirectParams struct
|
2012-10-14 11:21:52 -07:00 |
|
Chris Robinson
|
0b679167c9
|
Store some more HRTF info in the DirectParams struct
|
2012-10-14 10:57:11 -07:00 |
|
Chris Robinson
|
5c70e6b9ab
|
Don't add the dry gain to the mixing matrix
|
2012-10-13 11:10:58 -07:00 |
|
Chris Robinson
|
9bd3b88a58
|
Silence an implicit int-to-float conversion warning on MSVC
|
2012-10-13 11:00:43 -07:00 |
|
Chris Robinson
|
73105b2d4b
|
Fix copying the listener Up vector
|
2012-10-12 23:35:00 -07:00 |
|
Chris Robinson
|
815b03855b
|
Apply the listener matrix to the listener velocity once
|
2012-10-12 07:56:37 -07:00 |
|
Chris Robinson
|
6750bbb1d7
|
Avoid needlessly copying the listener matrix
|
2012-10-12 07:45:20 -07:00 |
|
Chris Robinson
|
43c8c4fa29
|
Apply the listener position to the transformation matrix
|
2012-10-12 07:38:29 -07:00 |
|
Chris Robinson
|
25b8a95987
|
Check the distance against epsilon to determine if it matches
|
2012-10-12 07:10:51 -07:00 |
|
Chris Robinson
|
99fcd6f816
|
Properly scale wide-stereo sources
|
2012-10-10 04:08:35 -07:00 |
|
Chris Robinson
|
1b7f01b7cc
|
The max step is no longer dependent on the channel count
|
2012-10-10 03:40:01 -07:00 |
|
Chris Robinson
|
a4f21aaa64
|
Set Hrtf.Moving after setting the source params instead of after mixing
|
2012-10-09 06:54:21 -07:00 |
|
Chris Robinson
|
39bc2ba65c
|
Build the listener matrix separately
|
2012-10-09 06:19:36 -07:00 |
|
Chris Robinson
|
c22408cb2a
|
Store a pointer to the listener in the context
|
2012-10-09 04:44:27 -07:00 |
|
Chris Robinson
|
a6287fd407
|
Add a special resampler for matching sample rates
|
2012-10-05 06:03:19 -07:00 |
|
Chris Robinson
|
f138774d78
|
Avoid void* arithmetic
|
2012-10-04 06:16:16 -07:00 |
|
Chris Robinson
|
068da3fe83
|
Make sure the output buffer pointer is updated in case multiple iterations are needed
|
2012-10-03 02:35:43 -07:00 |
|
Chris Robinson
|
12327da4fe
|
Remove SSE resamplers. They aren't gaining us much this way.
|
2012-09-24 14:47:06 -07:00 |
|
Chris Robinson
|
4a86983a6f
|
Avoid correcting for more non-existing clicks
|
2012-09-16 09:04:37 -07:00 |
|
Chris Robinson
|
c19d9d3452
|
Don't try to correct for non-existing clicks.
|
2012-09-16 08:42:36 -07:00 |
|
Chris Robinson
|
79b6d89b3f
|
Explicitly give the wet buffer 1 channel
|
2012-09-16 08:27:50 -07:00 |
|
Chris Robinson
|
a240abb6c8
|
Avoid building redundant mixers
|
2012-09-16 08:14:26 -07:00 |
|
Chris Robinson
|
657ee85136
|
Use a struct to store the FPU mode
|
2012-09-16 01:35:16 -07:00 |
|
Chris Robinson
|
28086f6cb7
|
Implement an SSE cubic resampler
|
2012-09-14 07:01:58 -07:00 |
|
Chris Robinson
|
90e0c74721
|
Implement an SSE linear resampler
|
2012-09-14 04:48:53 -07:00 |
|
Chris Robinson
|
7635afcb52
|
Use a source param for the resampler and move them to the mixer source
|
2012-09-14 04:13:18 -07:00 |
|
Chris Robinson
|
ff809f2271
|
Move a couple methods to where they're used
|
2012-09-12 07:57:50 -07:00 |
|
Chris Robinson
|
3f97af4c8c
|
Don't use count-specific functions to write to the output buffer
|
2012-09-11 06:41:24 -07:00 |
|
Chris Robinson
|
4c5cb2189b
|
Use a non-interleaved DryBuffer
|
2012-09-11 06:32:42 -07:00 |
|
Chris Robinson
|
2bf1979d4a
|
Move the target effect slot to the SendParams struct
|
2012-09-08 22:32:30 -07:00 |
|
Chris Robinson
|
89cab3cd39
|
Remove STACK_DATA_SIZE in favor of BUFFERSIZE
|
2012-09-08 22:09:34 -07:00 |
|
Chris Robinson
|
6723d27e06
|
Remove some unused code
|
2012-09-08 21:53:04 -07:00 |
|
Chris Robinson
|
1c03025090
|
Separate the resampling and mixing steps
|
2012-09-08 21:34:36 -07:00 |
|
Chris Robinson
|
0865db564f
|
Move the device lock into the backend function table
For backend-specific implementations: this should hold the audio mixer loop for
playback devices, and provide recursive mutex behavior.
|
2012-08-18 15:58:04 -07:00 |
|
Chris Robinson
|
8304fc1bef
|
Handle the scalar values a bit better
|
2012-08-11 06:20:24 -07:00 |
|
Chris Robinson
|
d6fd52a0e5
|
Add an option for wide stereo sources
Replaces the old stereodup option
|
2012-08-09 05:38:07 -07:00 |
|
Chris Robinson
|
6bd535bed0
|
Use wrappers for float-typed math functions
|
2012-06-29 02:12:36 -07:00 |
|
Chris Robinson
|
583dc8dbca
|
Don't use all caps for enum value names
|
2012-06-28 18:49:49 -07:00 |
|
Chris Robinson
|
bc6751237c
|
Clamp the Y position before trying to get the elevation
|
2012-06-28 17:26:00 -07:00 |
|
Chris Robinson
|
010a66487d
|
Use 2 chained one-pole filters for the wet path
|
2012-04-30 09:33:00 -07:00 |
|
Chris Robinson
|
aed35fd811
|
Use ComputeAngleGains for multi-channel sources and remove the unused lookup table stuff
|
2012-04-29 05:04:46 -07:00 |
|
Chris Robinson
|
8d9838012d
|
Remove the stereodup option
There's better ways to do it now with "wide" sound sources.
|
2012-04-29 04:44:53 -07:00 |
|
Chris Robinson
|
febc2a50cb
|
Use ComputeAngleGains for 3D sounds
|
2012-04-28 13:06:16 -07:00 |
|
Chris Robinson
|
267d38cf20
|
Flip the parameters to aluCart2LUTpos, so it behaves a bit more like atan2
|
2012-04-28 03:58:58 -07:00 |
|