Commit Graph

7370 Commits

Author SHA1 Message Date
Chris Robinson 84d47f7d4c Move the bsinc tables to core 2020-12-04 11:15:50 -08:00
Chris Robinson 36c1589c11 Move mastering.cpp/h to core 2020-12-04 11:15:50 -08:00
Chris Robinson aa05feec4a Avoid a global MAX_PITCH macro 2020-12-04 11:15:50 -08:00
Chris Robinson b1c2671e9d Move the resampler declarations to a more appropriate header 2020-12-04 11:15:50 -08:00
Chris Robinson 75f469fa71 Remove some unnecessary includes 2020-12-04 11:15:50 -08:00
Chris Robinson 630a3b8cbd Move lerp/cubic to alnumeric.h 2020-12-04 11:15:50 -08:00
Eliot Miranda e3179aa058 Add a gain argument to altonegen (#502)
* Fix a speeling rorre in an error message.
Add a gain command-line argument to altonegen.c

* Fix some formatting issues and a copy/paste error.
2020-12-04 11:15:27 -08:00
Chris Robinson 8750810f5c Change a couple macros into constexpr variables 2020-11-28 03:38:20 -08:00
Chris Robinson eb9b9fb4e5 Avoid AL types in mastering.cpp/h 2020-11-28 02:06:56 -08:00
Chris Robinson dbfdd35545 Move some declarations to more appropriate headers 2020-11-27 22:27:45 -08:00
Chris Robinson 7e798df7b8 Avoid AL types in the converter 2020-11-27 21:40:02 -08:00
Chris Robinson b0919240ab Move some sources to a separate directory
To begin separating the ALC interfaces from internal ones.
2020-11-27 19:18:17 -08:00
Chris Robinson d86046d522 Update ChangeLog 2020-11-25 16:31:52 -08:00
Chris Robinson 32b9a46b39 Move AL EffectProp handling to separate sources 2020-11-25 13:55:29 -08:00
Chris Robinson 3970252da9 Don't limit the available converted sample count to BUFFERSIZE 2020-11-25 04:20:16 -08:00
Chris Robinson 28278a9c15 Fix a UInt32 variable type 2020-11-24 16:43:38 -08:00
Chris Robinson f16692ecf8 Fill all buffers for CoreAudio playback 2020-11-24 14:47:04 -08:00
Chris Robinson ba39c622ef Disable buffer allocation with CoreAudio capture 2020-11-24 14:44:13 -08:00
Chris Robinson a913aa6ba8 Make sure batched source updates are with the proper voice 2020-11-24 10:49:53 -08:00
Chris Robinson 7632dfb51a Use a type alias instead of decltype 2020-11-23 12:20:33 -08:00
Chris Robinson d08d6b18c4 Ceil the scaled buffer size instead of round
The result has to be large enough to get the original requested size from it.
2020-11-23 10:55:13 -08:00
Chris Robinson d062c16629 Fix buffer offset for the second conversion 2020-11-23 10:43:20 -08:00
Chris Robinson 31c7eb5c55 Fix capture buffer size scaling in CoreAudio 2020-11-23 10:40:20 -08:00
Chris Robinson 5d82058da7 Use kAudioUnitScope_Global to get the maximum frame size 2020-11-23 10:11:28 -08:00
Chris Robinson 534c487f14 Avoid AL types in hrtf.cpp/h 2020-11-22 17:27:22 -08:00
Chris Robinson 822224312d Use optionals for some attribute parameters 2020-11-22 04:31:02 -08:00
Chris Robinson 21174047df Make ALbuffer inherit from BufferStorage 2020-11-21 00:54:25 -08:00
Chris Robinson 54afcbe113 Use clearer variable names 2020-11-20 22:02:20 -08:00
Chris Robinson 2cb2ffef72 Disassociate internal buffer enums from AL enum values 2020-11-20 04:27:10 -08:00
Chris Robinson c3cb09aa0c Avoid AL types in the mixer 2020-11-20 03:59:14 -08:00
Chris Robinson f85e76285f Disassociate internal voice enums from AL enums 2020-11-20 01:37:19 -08:00
Chris Robinson bee9917598 Disassociate internal format enums from ALC enums 2020-11-20 00:55:51 -08:00
Chris Robinson 0024ea229b Don't try to override the CoreAudio maximum capture slice 2020-11-19 17:49:25 -08:00
Chris Robinson 03f9700071 Use BufferStorage for the buffer queue 2020-11-19 04:18:25 -08:00
Chris Robinson 537510afc8 Put the loop start/end in BufferStorage 2020-11-19 03:23:46 -08:00
Chris Robinson ee9f0fe306 Recognize ARM64 as a VS platform 2020-11-18 04:20:10 -08:00
Chris Robinson 645d354ffa Add a close method to the win32 ifstream 2020-11-16 14:51:50 -08:00
Chris Robinson 88cb398a83 Avoid direct initialization of float32x4_t 2020-11-16 13:42:20 -08:00
Chris Robinson 1869dc14d4 Use WinAPI functions to check for NEON support 2020-11-16 12:42:33 -08:00
Chris Robinson a494a89c5a Add some missing custom device config descriptions 2020-11-15 15:54:09 -08:00
Chris Robinson e64c52ce8c Use doubles to calculate the listener matrix translation
To help stablize sources near the listener, when away from origin. Also clean
up some related methods and move them to more appropriate places.
2020-11-13 23:33:40 -08:00
Chris Robinson 417d8da6f4 Avoid a deprecated function 2020-11-13 21:47:48 -08:00
Chris Robinson 1a05dda8db Avoid testing a bool against AL_FALSE 2020-11-12 12:46:15 -08:00
Chris Robinson 7e76770278 Avoid an unnecessary multiplier 2020-11-09 12:33:07 -08:00
Chris Robinson 3a58bac7bd Fix pitch shifter bin count 2020-11-09 08:10:43 -08:00
Chris Robinson 54e4346f50 Simplify some pitch shifter scaling calculations 2020-11-08 07:59:14 -08:00
Chris Robinson db6d6d68b4 Avoid bitshifts for loop counting 2020-11-08 07:46:10 -08:00
Chris Robinson 0498ca200d Use an array of auxslot pointers instead of IDs to lookup 2020-11-07 12:58:19 -08:00
Chris Robinson 4e760bbecc Use a separate structure for the active effect slot properties 2020-11-07 08:36:49 -08:00
Chris Robinson 120776bec5 Use a range-for loop instead of for_each 2020-11-06 15:44:49 -08:00