Chris Robinson
17cf1848fb
Update changelog
2021-02-02 19:15:17 -08:00
Chris Robinson
b8a4ebd594
Stop the Oboe recording stream when recording is stopped
...
Hopefully Oboe will retain any unread samples and let them be read.
2021-02-02 19:12:56 -08:00
Chris Robinson
63f5240db2
Implement Oboe capture
2021-01-31 21:07:49 -08:00
Chris Robinson
27bcc55e81
Set the oboe stream buffer size
2021-01-31 19:57:11 -08:00
Chris Robinson
0c510416db
Add a comment about using lld on Android
2021-01-31 13:24:58 -08:00
Chris Robinson
bedb89eb09
Avoid copying buffers for aligning overlapped windows
2021-01-30 15:11:47 -08:00
Chris Robinson
a96b91afd3
Update changelog
2021-01-29 22:36:10 -08:00
Chris Robinson
20057b848c
Calculate the square root after checking the limit
2021-01-29 09:56:38 -08:00
Chris Robinson
0cd5c37c20
Allow the sample type to get changed on Solaris
2021-01-29 07:37:13 -08:00
kcat
a2452d8222
Merge pull request #524 from Cacodemon345/patch-1
...
Fix compilation on Solaris backend
2021-01-29 07:16:52 -08:00
Cacodemon345
e11cfb50f3
Fix compilation on Solaris backend
2021-01-29 20:47:52 +06:00
Chris Robinson
3702ee669b
Add a panning "deadzone" for spatialized sources
...
It is now the greater of 'epsilon' (1 / 2**23) or ref_distance/1024.
2021-01-28 08:36:49 -08:00
Chris Robinson
27e8807a5b
Export EFX functions from the router
2021-01-27 21:24:03 -08:00
Chris Robinson
8c2592b4d9
Ignore SI-style configuration strings for device names
2021-01-27 19:44:33 -08:00
Chris Robinson
f0f7bc036f
Rework fading of stopped sounds
...
Voices that stop and have no more accessible samples now fade out over 64
samples max. The extra loaded samples are also prevented from moving away from
0 amplitude. Paused voices that still have samples will still fade out over the
whole mix.
2021-01-27 14:55:20 -08:00
Chris Robinson
3b89246733
Make sure InitVoice is given a valid buffer queue item
2021-01-26 10:40:16 -08:00
Chris Robinson
ac5d40e40a
Move al::deque to a common header
2021-01-25 09:24:10 -08:00
Chris Robinson
71e6bcbd62
Use an AL-specific buffer queue item struct for sources
2021-01-25 09:08:49 -08:00
Chris Robinson
6151d11253
Use a deque for the source buffer queue
...
This mainly avoids having to allocate ~64-byte structures individually. The
mixing voice still holds the queue as a linked list so as to be container-
agnostic.
2021-01-25 05:07:02 -08:00
Chris Robinson
f7acc30c22
Store the callback in the buffer list item
2021-01-24 09:29:56 -08:00
Chris Robinson
13c1d7efb7
Store buffer info in the queue entry
2021-01-24 02:07:39 -08:00
Chris Robinson
3142fb30ea
Remove some unnecessary function attributes
...
The alloc_size was wrong anyway since the function parameter takes the number
of objects to be allocated and the attribute declares which is the number of
bytes. The assume_aligned is unnecessary since the function is inlined and
al_malloc/al_calloc already have appropriate attributes for the compiler to
see.
2021-01-23 03:27:18 -08:00
Chris Robinson
6f87cc92fb
Set the correct default buffer bits/format
2021-01-22 11:55:37 -08:00
Chris Robinson
f576a35363
Don't bother checking for std::aligned_alloc
2021-01-22 08:53:44 -08:00
Chris Robinson
1dcc6361fe
Fix setting the correct standards flag
2021-01-22 08:42:02 -08:00
Chris Robinson
f9f8b52a40
Ensure the correct standard is set for cmake checks
2021-01-22 08:17:45 -08:00
Chris Robinson
b5f1601c7f
Remove an unnecessary semicolon
2021-01-22 06:05:50 -08:00
Chris Robinson
b3dc99a467
Fix __cplusplus value check
2021-01-22 06:00:36 -08:00
Chris Robinson
cff3693387
Use if constexpr when possible
2021-01-22 05:50:27 -08:00
Chris Robinson
da59ad5105
Make PopCount and CountTrailingZeros more standard-like
2021-01-22 04:58:42 -08:00
Chris Robinson
5ff5fd8ecc
Use a standard bitset for bitfield flags
2021-01-22 00:00:10 -08:00
Chris Robinson
5729e1004d
Make the endian test more C++-like
2021-01-21 23:21:18 -08:00
Chris Robinson
87dbeed853
Update apt before installing dependencies
2021-01-21 09:15:18 -08:00
Chris Robinson
fb6585cf18
Fix handling paused devices with the wave writer backend
2021-01-21 06:51:29 -08:00
Chris Robinson
19adb622ef
Simplify a division
...
The division opcode typically also generates the remainder, making the result
of x%y free with x/y.
2021-01-21 06:27:11 -08:00
Chris Robinson
db4de2b56a
Avoid declaring some variables multiple times
2021-01-21 06:25:50 -08:00
Chris Robinson
20f5e7c1fa
Avoid global constexpr arrays
2021-01-21 04:03:30 -08:00
Chris Robinson
92c653e5f0
Update ChangeLog
2021-01-20 17:47:36 -08:00
Chris Robinson
1c649943f7
Revert "Print the build results after CI"
...
This reverts commit e1e0809253b6a361a5d9862d887de2557bbe9742.
2021-01-20 06:33:11 -08:00
Chris Robinson
e1e0809253
Print the build results after CI
2021-01-20 04:16:06 -08:00
Chris Robinson
32e0d92c51
Avoid extra copies/work when reading HRTF data
2021-01-20 01:26:55 -08:00
Chris Robinson
13698362f1
Avoid explicitly searching for the WindowsSDK
...
It's causing problems with various setups. So instead we'll have to assume some
things for Windows (namely that winmm exists, and if dsound isn't in DXSDK_DIR,
it needs to be in the compiler's default paths to be usable).
2021-01-19 17:19:44 -08:00
Chris Robinson
c3380d4201
Remove constexpr from a function
...
Various versions of GCC have a problem with it, and it doesn't really add much
benefit anyway.
2021-01-17 23:39:33 -08:00
Chris Robinson
8ebf146c72
First try at using GitHub Actions
2021-01-17 23:09:42 -08:00
Chris Robinson
229bf45e24
Avoid calling readAdvance in a loop
2021-01-17 03:17:46 -08:00
Chris Robinson
855a8c0cd9
Don't assume the ring buffer's read vector is the next writable space
...
This is untrue since the ring buffer leaves one element unwritten, so there's
one extra element to be written once a readable element is read.
2021-01-15 18:18:07 -08:00
Chris Robinson
8c4adfd752
Use a span instead of passing a vector by reference
2021-01-11 17:39:57 -08:00
Chris Robinson
1f01311ee3
Make sure proper names are used for querying PulseAudio info
2021-01-10 13:34:05 -08:00
kcat
3348d3ce15
Merge pull request #515 from ilya-fedin/pulse-nullptr-default
...
Pass nullptr to pulse for default device
2021-01-10 11:25:05 -08:00
Ilya Fedin
a30d3ad803
Pass nullptr to pulse for default device
2021-01-10 16:23:08 +04:00