26 Commits

Author SHA1 Message Date
Chris Robinson
aee10ef606 Hold the source lock in UpdateAllSourceProps 2019-09-01 00:29:26 -07:00
Chris Robinson
164626a7be Pass unsigned sample count to aluMixData 2019-08-25 17:54:36 -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
bc9f39b5ac Environment variables should override config settings 2019-08-12 17:10:04 -07:00
Chris Robinson
1aaf65abfe Add methods to get env vars as an optional 2019-08-12 03:59:52 -07:00
Chris Robinson
e200569cd3 Move the wstr converters to a separate header 2019-08-11 18:50:07 -07:00
Raulshc
c4f1c95a45 Add parameter DECLs for vocal morpher 2019-08-10 18:42:02 +02:00
Chris Robinson
80a85febcf Update some includes 2019-08-05 18:36:39 -07:00
Chris Robinson
d24401c3f3 Move the meters per unit property to the listener 2019-08-05 12:15:14 -07:00
Chris Robinson
3154a915b1 Remove the ReverbSpeedOfSound hack
No other effect depends on context or listener properties, so reverb being the
only exception for speed of sound and meters per unit was putting extra work on
the effect engine for no real reason. Especially since the reverb decay time
should be the time actual time to decay irrespective of other settings.
2019-08-05 11:37:05 -07:00
Chris Robinson
2fa2c35bdc Modify LIKELY and UNLIKELY to not need extra parenthesis 2019-08-04 11:59:14 -07:00
Chris Robinson
559d1666b8 Add a Create method to FlexArray for "raw" arrays 2019-08-03 14:59:01 -07:00
Chris Robinson
3417436804 Avoid manually incrementing a reference count 2019-08-03 12:14:50 -07:00
Chris Robinson
a7a9c00275 Turn a couple more functions into methods 2019-08-02 18:30:22 -07:00
Chris Robinson
33bcced82a Use a smart pointer for holding the context's device 2019-08-01 19:44:09 -07:00
Chris Robinson
0be823320d Add and use an intrusive_ptr type 2019-08-01 15:19:37 -07:00
Chris Robinson
57e7fff6f6 Remove an unnecessary variable 2019-08-01 14:29:02 -07:00
Chris Robinson
65f7fc610e Add a common base for auto-deleting ref-counted objects
Which will also work as the basis for a future intrusive_ptr
2019-08-01 13:43:32 -07:00
Chris Robinson
f286c3fa38 Move another function to a ALCcontext method 2019-07-30 21:32:05 -07:00
Chris Robinson
ac554de67d Turn some functions into methods 2019-07-30 14:13:05 -07:00
Chris Robinson
ea76e003e7 Properly prefix ALCcontext members 2019-07-30 09:05:54 -07:00
Chris Robinson
4c9e18c5a0 Rename al/* sources to avoid camel-case 2019-07-29 17:54:07 -07:00
Chris Robinson
76d87330ec Move the event declarations to a separate header 2019-07-29 15:58:26 -07:00
Chris Robinson
cb3e96e756 Rename Alc to alc 2019-07-28 18:56:04 -07:00