Chris Robinson
6ac84c7a5f
Clean up the remaining effect struct member names
2018-11-19 21:04:50 -08:00
Chris Robinson
67da3850cb
Use a normal vector for the echo buffer
2018-11-19 20:15:40 -08:00
Chris Robinson
a346380e2b
Clean up more effects' struct members
2018-11-19 19:57:30 -08:00
Chris Robinson
7f3584ec4c
Fix the reverb buffer size calculation
2018-11-19 19:13:44 -08:00
Chris Robinson
4810def613
Use a normal vector for the chorus sample buffer
2018-11-19 19:08:30 -08:00
Chris Robinson
ba33f6a7a4
Clean up the chorus/flanger struct members
2018-11-19 18:51:01 -08:00
Chris Robinson
3ae1c78d1a
Use std::isfinite instead of isfinite
2018-11-19 09:51:29 -08:00
Chris Robinson
ddfed7187f
Use a regular vector for the reverb sample buffer
2018-11-19 09:36:59 -08:00
Chris Robinson
55637ff1fc
Rename reverb struct members
2018-11-19 09:29:22 -08:00
Chris Robinson
387a34ca00
Clean up the biquad filter a bit
2018-11-19 09:10:36 -08:00
Chris Robinson
07386e79de
Fix up the struct member names in the autowah effect
2018-11-19 09:06:17 -08:00
Chris Robinson
f51f6703d8
Add a missing include
2018-11-19 06:50:37 -08:00
Chris Robinson
c5c537cc5f
Use proper inheritence for EffectStateFactory
2018-11-19 06:43:37 -08:00
Chris Robinson
f0cc34a60e
Use a vector to handle mixing buffer storage
2018-11-19 06:22:09 -08:00
Chris Robinson
f766437569
Fix a couple incorrect uses of ringbuffer pointer data
2018-11-19 05:07:09 -08:00
Chris Robinson
ac2a420351
Remove the ATOMIC_THREAD_FENCE macro
2018-11-19 05:04:17 -08:00
Chris Robinson
ad5f9d9b22
Return the ringbuffer data pointers as a pair
2018-11-19 04:46:49 -08:00
Chris Robinson
a14f39ea06
Make ll_ringbuffer_write/read take void*/const void*
2018-11-19 04:11:21 -08:00
Chris Robinson
c01743fe5d
Remove the CONST_CAST hack
2018-11-19 03:53:31 -08:00
Chris Robinson
e6c2c1f3b6
Remove unnecessary using statements
2018-11-19 03:32:16 -08:00
Chris Robinson
e24435ef58
Remove the atomic exchange macros
2018-11-19 03:21:58 -08:00
Chris Robinson
c5142530d6
Simplify the RefCount type
2018-11-19 02:17:06 -08:00
Chris Robinson
6e114a7a70
Replace ATOMIC_REPLACE_HEAD with an inline function
2018-11-19 01:20:03 -08:00
Chris Robinson
190de1452e
Remove the unused vector macros
2018-11-18 23:37:56 -08:00
Chris Robinson
dbf2381a3b
Use a normal vector in the QSA backend
2018-11-18 23:23:12 -08:00
Chris Robinson
e0d0faaa63
Use a normal vector for filter sublists
2018-11-18 23:02:31 -08:00
Chris Robinson
362979cefb
Use a normal vector for effect sublists
2018-11-18 22:50:04 -08:00
Chris Robinson
81aed2ea01
Use a normal vector for buffer sublists
2018-11-18 22:31:51 -08:00
Chris Robinson
becbaab2dc
Remove some unnecessary static specifiers
2018-11-18 22:14:44 -08:00
Chris Robinson
e23796aabe
Use a standard string for the enumerated HRTF names
2018-11-18 21:18:19 -08:00
Chris Robinson
140c139852
Use a standard string for the device's HRTF name
2018-11-18 19:28:01 -08:00
Chris Robinson
2c06ec7093
Use a regular vector for the enumerated HRTF list
2018-11-18 19:19:35 -08:00
Chris Robinson
bafcba7194
Use a std::string for the device name
2018-11-18 18:45:45 -08:00
Chris Robinson
b10e7d08c3
Use a std::thread for the event thread
2018-11-18 18:04:27 -08:00
Chris Robinson
ef7995cfd0
Fix the initial device refcount
2018-11-18 08:14:23 -08:00
Chris Robinson
aef52be432
Fix a float constant type
2018-11-18 08:03:22 -08:00
Chris Robinson
8b8f01e25d
Avoid more cases of an enum variable and type name clash
2018-11-18 08:01:50 -08:00
Chris Robinson
336b7b7799
Use constructors/destructors with ALCdevice
...
As with ALCcontext, this is really ALCdevice_struct because of the way it's
declared in the public header.
2018-11-18 07:33:42 -08:00
Chris Robinson
1bc88ed751
Avoid a fixed-size string buffer
2018-11-18 07:00:43 -08:00
Chris Robinson
5bbddff2f3
Separate class and variable definitions
2018-11-18 06:46:50 -08:00
Chris Robinson
e194d896de
Use constructors/destructors for ALeffectslot
2018-11-18 06:35:45 -08:00
Chris Robinson
ad82a70a65
Use cleaner constructor/destructor calls for ALCcontext
...
Note that the actual type name is ALCcontext_struct, because of how it's
defined in AL/alc.h (ALCcontext is just an alias to struct ALCcontext_struct).
2018-11-18 05:40:00 -08:00
Chris Robinson
de13f30e28
Improve audio underrun recordery in alffplay
...
Now it has a better idea to skip samples during refill instead of after
restarting.
2018-11-18 05:38:03 -08:00
Chris Robinson
0851dc12b4
Remove an unused typedef
2018-11-18 04:26:28 -08:00
Chris Robinson
f48be9d73b
Remove the pointer-specific atomic exchange macros
2018-11-18 03:59:39 -08:00
Chris Robinson
7433cb5f4c
Avoid naming a struct member the same as an enum type
2018-11-18 03:39:32 -08:00
Chris Robinson
bf30eb0391
Use std::isfinite instead of the global isfinite
2018-11-18 03:25:32 -08:00
Chris Robinson
310770c531
Add and use new/delete operators to ALeffectslot
2018-11-18 02:52:46 -08:00
Chris Robinson
3eededf5d6
Use a normal vector for auxiliary effect slots
2018-11-18 02:39:27 -08:00
Chris Robinson
7b95712f38
Use a proper vector for the source sublists
2018-11-18 02:15:31 -08:00