Chris Robinson
91ff01d1ad
Don't explicitly inline a particular function
2019-08-13 20:33:26 -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
7118733458
Remove multiple buffers per queue item
...
And simplify related code
2019-08-11 14:01:57 -07:00
Chris Robinson
dca2365051
Fix array access index
2019-08-10 20:31:08 -07:00
Chris Robinson
7c069e29ee
Update some more includes
2019-08-06 23:13:05 -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
3bc9490fd2
Move some structs to where they're used
2019-08-04 17:45:46 -07:00
Chris Robinson
2fa2c35bdc
Modify LIKELY and UNLIKELY to not need extra parenthesis
2019-08-04 11:59:14 -07:00
Chris Robinson
7897de31d0
Pass spans to the source get-property methods
2019-08-03 19:36:19 -07:00
Chris Robinson
7baa07e3ad
Pass spans to the source set-property methods
...
This avoids an extra property check to get the size since the number of values
can be checked when accessed.
2019-08-03 18:57:38 -07:00
Chris Robinson
9f223898f2
Use an unsigned voice index
2019-08-02 12:38:20 -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
4917024c94
Reduce the AsyncEvent struct size
...
The "user" message length is significantly reduced to fit the struct in 256
bytes, rather than 1KB.
2019-08-01 15:54:17 -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
a0aa5bc80a
Add iterators to ALbufferlistitem
...
And change some types to ALuint
2019-07-31 09:20:53 -07:00
Chris Robinson
4cd7eee01c
Remove improper include
2019-07-30 21:50:47 -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
c2de0782cf
Minor formatting fixes
2019-07-29 16:49:56 -07:00
Chris Robinson
76d87330ec
Move the event declarations to a separate header
2019-07-29 15:58:26 -07:00
Chris Robinson
0a26bab14e
Rename the OpenAL32 directory to al
2019-07-29 15:40:17 -07:00