Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Add an ambi-format option for ACN ordering and FuMa scaling | Chris Robinson | 2022-01-12 | 3 | -2/+19 | |
| | ||||||
* | Use a different output matrix for late reverb | Chris Robinson | 2022-01-11 | 1 | -14/+22 | |
| | | | | | | | | | | This is a slightly reoriented tetrahedron, with responses on the front-left and front-right, along with upper-back and lower-back. This is a alternative matrix suggested for converting the A-Format late reverb lines back to B-Format. Also alter the matrix scaling to be less destructive. x0.5 is just reducing the floating-point exponent by 1, whereas the previous values would be more likely to introduce rounding errors just from scaling. | |||||
* | Explicitly default the band splitter's copy assignment | Chris Robinson | 2022-01-11 | 1 | -0/+1 | |
| | ||||||
* | Slightly improve handling of stopping voices | Chris Robinson | 2022-01-08 | 1 | -19/+27 | |
| | ||||||
* | Use the deprecated enum for older Qt versions | Chris Robinson | 2022-01-06 | 1 | -0/+4 | |
| | ||||||
* | Avoid a deprecated QString enum | Chris Robinson | 2022-01-05 | 1 | -1/+1 | |
| | ||||||
* | Add a third-order ambisonic decoder for HRTF | Chris Robinson | 2022-01-05 | 2 | -7/+63 | |
| | | | | | Using the 20-channel dodecahedron, seems to be good enough to handle 16-channel third-order ambisonics. | |||||
* | Update the 3D7.1 configuration | Chris Robinson | 2022-01-04 | 1 | -24/+42 | |
| | | | | | | This one is a regular layout first-order dual-band decoder, which excludes the front-center (to maintain regularity). The previous was a second-order single- band decoder, which included front-center. | |||||
* | Update the HRTF second-order ambisonic decoder | Chris Robinson | 2022-01-04 | 1 | -42/+27 | |
| | | | | This only needs 14 virtual channels instead of 20. | |||||
* | Remove a couple unnecessary overloads | Chris Robinson | 2022-01-04 | 1 | -9/+1 | |
| | ||||||
* | Avoid duplicate definitions of the same wrapper functions | Chris Robinson | 2022-01-04 | 1 | -74/+41 | |
| | ||||||
* | Remove extra ';' after member function definition (#634) | Jan Niklas Hasse | 2022-01-04 | 1 | -1/+1 | |
| | | | Found using -Wextra-semi warning. | |||||
* | Don't mix higher orders of B-Format than the device is doing | Chris Robinson | 2022-01-02 | 1 | -2/+2 | |
| | ||||||
* | Use an span of pointers instead of arrays for mixing | Chris Robinson | 2022-01-01 | 1 | -93/+94 | |
| | ||||||
* | Pass a span of pointers to the UHJ/SuperStereo decoder | Chris Robinson | 2022-01-01 | 4 | -23/+29 | |
| | ||||||
* | Avoid a static-sized char array on the stack | Chris Robinson | 2021-12-31 | 1 | -16/+22 | |
| | ||||||
* | Add a couple more methods to al::optional | Chris Robinson | 2021-12-31 | 1 | -0/+16 | |
| | ||||||
* | Avoid some unnecessary copying | Chris Robinson | 2021-12-31 | 1 | -10/+9 | |
| | ||||||
* | Some more restructuring of the PipeWire backend | Chris Robinson | 2021-12-30 | 1 | -73/+58 | |
| | ||||||
* | Set the node rate for the pipewire capture stream too | Chris Robinson | 2021-12-29 | 1 | -0/+1 | |
| | ||||||
* | Move some constexpr variables to where they're used | Chris Robinson | 2021-12-28 | 1 | -50/+47 | |
| | ||||||
* | C++-ize the PipeWire backend some more | Chris Robinson | 2021-12-28 | 1 | -61/+94 | |
| | | | | | | | | | Use unique_ptrs for a few more types to avoid explicit free calls. Move ThreadMainloop::wait to the unique_lock wrapper that's holding the lock. Since the mainloop acts as both a lock and condition_variable, passing the lock to the wait method makes no sense. Also have it optionally take a predicate functor to dictate when to stop waiting. | |||||
* | Make sure alffplay properly stops when quiting | Chris Robinson | 2021-12-27 | 1 | -10/+13 | |
| | | | | | | The parser thread could be waiting on the threads to join after queueing all packets, so it wouldn't see mQuit to flush the queue. So make a stop method that forces a flush when setting mQuit. | |||||
* | Trace the device format after starting playback | Chris Robinson | 2021-12-27 | 1 | -0/+7 | |
| | | | | | Some devices can change it when starting, so it's useful to know what the device configuration is when that happens. | |||||
* | Heavily update alffplay packet handling | Chris Robinson | 2021-12-26 | 1 | -157/+209 | |
| | | | | | Avoid deprecated use of raw AVPacket objects, and use a separate thread to send packets than receives the decoded frames. | |||||
* | Add the PipeWire config option to alsoft-config | Chris Robinson | 2021-12-25 | 2 | -0/+33 | |
| | ||||||
* | Increase the priority of the PipeWire backend | Chris Robinson | 2021-12-25 | 1 | -6/+6 | |
| | ||||||
* | Check for audio devices when initializing PipeWire | Chris Robinson | 2021-12-25 | 2 | -3/+79 | |
| | | | | | | | | | | | This isn't great since it can fail when PipeWire is handling audio but no devices are available at initialization, causing the Pulseaudio or ALSA backend to be selected instead. Future versions of PipeWire are expected to have a better way to detect if it's handling audio, but for now this is better than nothing. A config option is available for users to have the PipeWire backend be usable even with no devices at initialization, just in case. | |||||
* | Fix non-runtime linking with pipewire | Chris Robinson | 2021-12-25 | 1 | -1/+2 | |
| | ||||||
* | Remove unnecessary ifdefs from alffplay | Chris Robinson | 2021-12-24 | 1 | -32/+9 | |
| | | | | We already assume OpenAL Soft's alext.h, which these are part of now. | |||||
* | Use the audio clock as the default in alffplay | Chris Robinson | 2021-12-24 | 1 | -49/+59 | |
| | ||||||
* | Use a bitset instead of a plain uint for flags | Chris Robinson | 2021-12-23 | 4 | -37/+42 | |
| | ||||||
* | Don't do direct channels with UHJ output | Chris Robinson | 2021-12-21 | 2 | -21/+17 | |
| | | | | | | | | | | Directly mixing a non-UHJ stereo signal into a UHJ stereo signal results in a non-UHJ stereo signal. Such a mix can't be properly decoded anymore. An option can probably be added for users that intend to listen to UHJ output undecoded and let a stereo sound come through as-is on their speakers, but it probably shouldn't be the default for cases where the output may be decoded back. | |||||
* | Work around a MinGW thread_local bug | Chris Robinson | 2021-12-20 | 7 | -22/+60 | |
| | | | | | | | | | | MinGW-w64 generates bad code when accessing extern thread_local objects. Wrapper functions are used to ensure it only accesses them from the same place they're defined. This unfortunately adds a bit of overhead for what should be a relatively simple thing. These functions are inlined for non-MinGW targets, avoiding the overhead on non-affected targets. | |||||
* | Simplify and combine a couple macros | Chris Robinson | 2021-12-18 | 1 | -8/+8 | |
| | ||||||
* | Don't swallow up buffer callback samples when pausing | Chris Robinson | 2021-12-18 | 1 | -11/+17 | |
| | ||||||
* | Don't update voice sample histories when stopping/pausing | Chris Robinson | 2021-12-18 | 1 | -24/+25 | |
| | | | | | Since a voice pausing is on a fade-out, and will replay the same samples again when restarting and fading in. | |||||
* | Set the voice's ambisonic order for playing super stereo | Chris Robinson | 2021-12-17 | 1 | -1/+1 | |
| | ||||||
* | Move some more context functions to the proper source | Chris Robinson | 2021-12-17 | 3 | -77/+80 | |
| | ||||||
* | Move the effects base and effectslot to core | Chris Robinson | 2021-12-17 | 22 | -225/+232 | |
| | ||||||
* | Move some ContextBase function definitions to the right place | Chris Robinson | 2021-12-17 | 2 | -64/+70 | |
| | ||||||
* | Remove an unnecessary parameter | Chris Robinson | 2021-12-17 | 3 | -16/+12 | |
| | ||||||
* | Allocate voice properties in clusters | Chris Robinson | 2021-12-17 | 5 | -31/+39 | |
| | ||||||
* | Set the PipeWire stream rate | Chris Robinson | 2021-12-16 | 1 | -0/+1 | |
| | | | | | When requesting a non-default rate, this may allow the hardware to run at the requested rate. | |||||
* | Rename Voice::mNumChannels for clarity | Chris Robinson | 2021-12-15 | 3 | -7/+7 | |
| | ||||||
* | Add an option to use Super Stereo in alffplay | Chris Robinson | 2021-12-15 | 1 | -0/+23 | |
| | ||||||
* | Add source properties for Super Stereo | Chris Robinson | 2021-12-15 | 8 | -30/+116 | |
| | | | | | When playing a stereo format, enabling Super Stereo causes the source to behave as a B-Format source, with a variable width control. | |||||
* | Minor UHJ coefficient scaling precision improvement | Chris Robinson | 2021-12-13 | 1 | -3/+3 | |
| | ||||||
* | Make an inline function to check for 2D ambisonic formats | Chris Robinson | 2021-12-12 | 4 | -11/+11 | |
| | ||||||
* | Avoid initializing the NFC filter for every voice channel | Chris Robinson | 2021-12-11 | 5 | -72/+61 | |
| | | | | | | It can be initialized once with the device's speaker distance since it won't change in between resets, then copied into the voice where it can be adjusted as needed. |