Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Don't report any output samples for no input samples | Chris Robinson | 2017-06-23 | 1 | -0/+6 |
| | |||||
* | Forward Sample_ALuint to Sample_ALint | Chris Robinson | 2017-06-23 | 1 | -1/+1 |
| | |||||
* | Stop conversion when no more source samples are available | Chris Robinson | 2017-06-22 | 1 | -3/+4 |
| | |||||
* | Trace the capture converter formats for mmdevapi | Chris Robinson | 2017-06-22 | 1 | -0/+6 |
| | |||||
* | Workaround log2f missing on Android | Chris Robinson | 2017-06-21 | 1 | -0/+2 |
| | |||||
* | Remove an unnecessary variable | Chris Robinson | 2017-06-21 | 1 | -3/+2 |
| | |||||
* | Trace if dithering is enabled | Chris Robinson | 2017-06-19 | 1 | -3/+7 |
| | |||||
* | "Convert" the QSA backend to the new API | Chris Robinson | 2017-06-18 | 4 | -250/+201 |
| | | | | | | | | | | I say "convert" because it takes the lazy way and essentially just embeds the wrappers into the backend. It's done this way because I lack the means to check any changes, even syntactically. This also means the device's ExtraData field is still needed. However, this does mean all the backends are now using the new API. Code related to the old interface can now be removed. | ||||
* | Make the dithering depth configurable | Chris Robinson | 2017-06-17 | 2 | -20/+33 |
| | |||||
* | Apply dither separately from output | Chris Robinson | 2017-06-17 | 1 | -98/+68 |
| | |||||
* | Use helpers to get data from byte streams | Chris Robinson | 2017-06-16 | 1 | -51/+51 |
| | |||||
* | Round the B-Format HRTF response where the multiple is defined | Chris Robinson | 2017-06-16 | 2 | -4/+3 |
| | |||||
* | Limit device buffer based on PulseAudio's tlength | Chris Robinson | 2017-06-15 | 1 | -10/+9 |
| | | | | | | Unfortunately PulseAudio has a habit of limiting tlength, and trying to calculate the device's buffer length to write regardless of tlength could result in some amount always being writable. | ||||
* | Implement GetProcPath for FreeBSD | rdb | 2017-06-09 | 1 | -1/+20 |
| | |||||
* | Calculate chorus and flanger mod delays separately from feedback | Chris Robinson | 2017-06-07 | 2 | -135/+118 |
| | |||||
* | Make the late lines' delay the delay average for modulation | Chris Robinson | 2017-06-07 | 1 | -59/+36 |
| | | | | | | | | | Similar to the recent chorus and flanger changes, the modulation delay now swings between -n to +n, where n is less than the delay length. This brings up a slight issue with the linear interpolation, as modff doesn't produce the correct fraction value for interpolation (it's inverted, with 0 being closer to the next sample and 1 being closer to the base). So it's using nearest interpolation for now. | ||||
* | Restrict ClampedDist to RefDistance for invalid distance attenuation | Chris Robinson | 2017-05-30 | 1 | -4/+10 |
| | |||||
* | Use an RMS limit of -3dB for the output limiter | Chris Robinson | 2017-05-29 | 1 | -2/+2 |
| | |||||
* | Use peak limiting rather than RMS detection | Chris Robinson | 2017-05-27 | 1 | -1/+1 |
| | |||||
* | Fix source sends' initial HF absorption and decay calculation | Chris Robinson | 2017-05-27 | 1 | -21/+15 |
| | | | | | | | | The HF absorption is applied given the source distance, as relative to the source's immediate environment, with additional absorption being applied given the room/reverb environment. This does double up the amount of absorption compared to the dry path, but it can be assumed the initial reflections travel a longer distance. | ||||
* | Use normal air absorption for the sends | Chris Robinson | 2017-05-27 | 1 | -1/+1 |
| | | | | | Applies just for the normal air absorption which uses the air absorption factor, not the automated decay applied when WetGainAuto is enabled. | ||||
* | Add a new compressor/limiter | Chris Robinson | 2017-05-27 | 3 | -97/+274 |
| | | | | | | This is just for the output limiter right now, but in the future can be used for the compressor EFX effect. The parameters are also hardcoded, but can be made configurable after 1.18. | ||||
* | Fix handling chorus and flanger LFO displacement offset | Chris Robinson | 2017-05-26 | 2 | -2/+8 |
| | | | | | The phase offset is modulo-wrapped rather than masked, so it's best to avoid negative offsets. | ||||
* | Properly handle the chorus and flanger LFOs | Chris Robinson | 2017-05-26 | 2 | -24/+30 |
| | | | | | The effects' specified delay is the average delay time, meaning the delay offset should move between -n and +n relative to the delay, where n <= delay. | ||||
* | Finalize ALC_SOFT_output_limiter | Chris Robinson | 2017-05-25 | 1 | -1/+1 |
| | |||||
* | Apply distance compensation separately | Chris Robinson | 2017-05-25 | 1 | -43/+66 |
| | |||||
* | Add a config option to specify custom ALSA devices | Chris Robinson | 2017-05-23 | 1 | -5/+40 |
| | |||||
* | Add an option to dither 8- and 16-bit output | Chris Robinson | 2017-05-23 | 2 | -45/+146 |
| | |||||
* | Reduce the amount of variables that hold the same value | Chris Robinson | 2017-05-21 | 2 | -10/+8 |
| | |||||
* | Avoid calculating the filter coefficients multiple times | Chris Robinson | 2017-05-21 | 1 | -24/+36 |
| | |||||
* | Add a method to copy a filter's coefficients | Chris Robinson | 2017-05-21 | 2 | -39/+6 |
| | |||||
* | Avoid unnecessary doubles | Chris Robinson | 2017-05-21 | 1 | -2/+2 |
| | |||||
* | Use a macro to specify the decay target gain | Chris Robinson | 2017-05-21 | 2 | -7/+7 |
| | |||||
* | Use more correct doppler shift calculations | Chris Robinson | 2017-05-20 | 1 | -11/+24 |
| | |||||
* | Restore spec-defined cone behavior for auxiliary sends | Chris Robinson | 2017-05-20 | 1 | -26/+23 |
| | |||||
* | Apply more proper air absorption to the wet path | Chris Robinson | 2017-05-19 | 1 | -21/+53 |
| | | | | | | | | This properly accounts for the room rolloff factor for normal air absorption (which makes it none by default, like distance attenuation), and uses the reverb's decay time, decay hf ratio, decay hf limit, and room air absorption properties to calculate an initial hf decay with the WetGainAuto flag. This mirrors the behavior of the initial distance decay. | ||||
* | Reorganize some code to have fewer temporaries | Chris Robinson | 2017-05-17 | 1 | -39/+34 |
| | |||||
* | Add an env var to specify a default pulse device | Chris Robinson | 2017-05-16 | 1 | -0/+7 |
| | | | | | Some apps don't allow selecting an audio device, and due to problems with KDE, PulseAudio isn't allowed to move the stream after being created by default. | ||||
* | Reduce the main reverb filter gain limit to match the rest | Chris Robinson | 2017-05-16 | 1 | -4/+4 |
| | |||||
* | Limit the dry and wet path filter gains to -60dB | Chris Robinson | 2017-05-15 | 1 | -4/+4 |
| | |||||
* | Improve distance-related absorption and decay attenuation | Chris Robinson | 2017-05-15 | 1 | -15/+14 |
| | |||||
* | Make reverb delay line structs use interleaved floats | Chris Robinson | 2017-05-15 | 1 | -68/+73 |
| | |||||
* | Make the reverb's early and late feedback lines interleaved | Chris Robinson | 2017-05-14 | 1 | -42/+47 |
| | |||||
* | Don't enable NFC for a 0 reference delay | Chris Robinson | 2017-05-14 | 1 | -1/+1 |
| | |||||
* | Update a couple comments about the reverb modulation | Chris Robinson | 2017-05-13 | 1 | -12/+13 |
| | |||||
* | Replace 4 separate all-passes with one vector all-pass | Chris Robinson | 2017-05-13 | 1 | -53/+47 |
| | | | | | | Each 4 related all-passes now share a structure with one delay line, which uses an interleaved sample history. Also fixes some potential rounding problems for delay lines with interleaved samples. | ||||
* | Apply reverb modulation to the late feedback lines | Chris Robinson | 2017-05-12 | 1 | -104/+71 |
| | | | | | | | | This seems to be more in-line with the intended behavior, to allow build-up and overlap within the reverb decay, rather than a pitch-shift on input. Unfortunately there's no readily available implementation of this reverb model that includes modulation to compare with, so a low depth coefficient is used to keep it very subtle. | ||||
* | Remove the 0.5 gain on the reverb output | Chris Robinson | 2017-05-11 | 1 | -6/+2 |
| | | | | | Turns out to be unnecessary, as it reduced the volume below what other reverb implementations provide with the same presets. | ||||
* | Restore the previous reverb B2A and A2B matrices | Chris Robinson | 2017-05-11 | 1 | -12/+12 |
| | | | | Also, untranspose the A2B matrix. | ||||
* | Log whether the output limiter is enabled or disabled | Chris Robinson | 2017-05-11 | 1 | -0/+1 |
| |