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
559d1666b8
Add a Create method to FlexArray for "raw" arrays
2019-08-03 14:59:01 -07:00
Chris Robinson
13222d719d
Make a couple counts size_t
2019-08-03 13:05:42 -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
9f223898f2
Use an unsigned voice index
2019-08-02 12:38:20 -07:00
Chris Robinson
ce7c86b217
Avoid reloading the voices array when processing
2019-08-02 11:07:48 -07:00
Chris Robinson
61bb079036
Add operator* to intrusive_ptr
2019-08-01 20:15:47 -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
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
380f3dc11d
Cleanup alcontext.h includes
2019-08-01 09:21:56 -07:00
Chris Robinson
62534f424a
Use float2 where appropriate
2019-07-31 11:05:53 -07:00
Chris Robinson
151ff51e7d
Don't templatize HrirArray
2019-07-31 10:46:33 -07:00
Chris Robinson
d1f72624a7
Fix a couple ASSUME statements
2019-07-31 10:28:04 -07:00
Chris Robinson
471f905fbd
Use enums for the resampler and mixer template tags
2019-07-31 10:09:43 -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
488d1de944
More include cleanup
2019-07-29 19:59:48 -07:00
Chris Robinson
06e5454eb9
Use Transposed Direct Form II for the BS2B filters
2019-07-29 19:40:03 -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
Chris Robinson
8ccb7604d3
Remove some unnecessary cmake checks
2019-07-29 13:46:25 -07:00
Chris Robinson
f0408809d6
Cleanup common sources' includes
2019-07-29 09:29:35 -07:00
Chris Robinson
40e937c63a
Cleanup the examples' includes
2019-07-29 08:21:38 -07:00
Chris Robinson
d38d255364
More include cleanups
2019-07-28 21:29:59 -07:00
Chris Robinson
83432a7e5c
Move some headers out of the Include subdirectory
2019-07-28 19:09:07 -07:00
Chris Robinson
cb3e96e756
Rename Alc to alc
2019-07-28 18:56:04 -07:00
Chris Robinson
93e60919c8
Rename alMain.h to alcmain.h
...
And move it and alu.h to Alc/.
2019-07-28 18:33:29 -07:00
Chris Robinson
bb0062625f
Move the ADPCM decoders to alBuffer.cpp
2019-07-28 17:22:00 -07:00
Chris Robinson
b4d56d3fdf
Remove the UNUSED macro
2019-07-28 17:15:34 -07:00
Chris Robinson
c8bbd75bf9
Remove a couple more cmake checks
2019-07-28 15:37:12 -07:00
Chris Robinson
12e179d539
Remove some unnecessary header checks
2019-07-28 15:22:58 -07:00
Chris Robinson
585d965c92
Remove a couple unnecessary includes
2019-07-28 15:16:13 -07:00
Chris Robinson
e0a795d9d2
Clean up some more headers
2019-07-28 14:55:02 -07:00
Chris Robinson
5428d6acc3
Clean up includes a bit
...
Trying out the IWYU tool to only include what's necessary in a given file.
Seems to work decently (it'll miss some headers, suggest unnecessary ones, and
make nonsense suggestions for some things, but overall gives a good starting
point), and helps clean out some headers.
2019-07-28 11:28:36 -07:00
Chris Robinson
659b6d4245
Use more proper cmake to set the C/C++ standard version
2019-07-27 18:58:19 -07:00
Chris Robinson
7cfb353334
Don't explicitly check for standard functions
2019-07-26 14:02:14 -07:00
Chris Robinson
b22ecc45c9
Increase the video picture queue size to 24
2019-07-26 03:44:46 -07:00
Chris Robinson
18f1139de8
Only redraw the image when necessary
2019-07-23 12:51:14 -07:00
Chris Robinson
b8ac4b79e4
Only send packets as needed
2019-07-23 02:38:07 -07:00
Chris Robinson
8a9434c623
Use a local variable to track the decoded pts
2019-07-20 18:46:43 -07:00