Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add a front-stablizer config option for surround sound modes | Chris Robinson | 2017-07-31 | 4 | -0/+110 |
| | | | | | | | | | | | | This improves a stereo (front-left + front-right) sound "image" by generating a front-center channel signal. Done correctly, it helps reduce the comb effects and phase errors associated with using only two speakers to simulate center sounds. Note that it shouldn't be used if the front-center channel is already included in the positional audio mix (the dialog effect is okay). In general, it may actually be better to exclude the front-center channel from the positional audio mix and use this to generate front-center output. | ||||
* | Don't bother returning the IR length for B-Format decoding | Chris Robinson | 2017-07-31 | 3 | -7/+5 |
| | |||||
* | Print an error if the input channel isn't in the device | Chris Robinson | 2017-07-31 | 1 | -22/+16 |
| | | | | Rather than the other way around, if a device channel isn't in the channel map. | ||||
* | Update default 5.1 and 6.1 coefficients to exclude front-center | Chris Robinson | 2017-07-30 | 1 | -15/+12 |
| | | | | | | | Not all speaker kits have a front-center speaker capable of outputing full- range content. It's best to err on the side of caution and not include front- center for normal positional sound by default, leaving it instead for the dedicated dialog effect. | ||||
* | Cleanup output write functions | Chris Robinson | 2017-07-27 | 1 | -32/+26 |
| | |||||
* | Remove unused macros | Chris Robinson | 2017-07-25 | 1 | -4/+0 |
| | |||||
* | Update makehrtf to use a larger FFT by default | Chris Robinson | 2017-07-25 | 1 | -1/+1 |
| | | | | Also fixes DC offset removal and increases the max IR size. | ||||
* | Downgrade some ERRs to TRACEs | Chris Robinson | 2017-07-23 | 1 | -2/+2 |
| | | | | | These don't exist outside OSSv4, e.g. with OSS/Free, padsp, or aoss, so no need to be concerned. | ||||
* | Make sure OSS device files exist before adding them | Chris Robinson | 2017-07-23 | 1 | -2/+10 |
| | |||||
* | Fix default effect initialization | Chris Robinson | 2017-07-19 | 1 | -28/+11 |
| | |||||
* | Add an all-pass filter that replicates the band splitter's phase shift | Chris Robinson | 2017-07-19 | 2 | -0/+51 |
| | |||||
* | Scale the source volume by +3dB for a full spread | Chris Robinson | 2017-07-18 | 1 | -6/+7 |
| | | | | | This effectively turns a full spread source into an ambient response, preventing such sources from being unexpectedly quiet. | ||||
* | Apply the output buffer offset before writing to it | Chris Robinson | 2017-07-15 | 1 | -24/+24 |
| | |||||
* | Set the float PCM GUID for wave files only when outputting float | Chris Robinson | 2017-07-15 | 1 | -2/+3 |
| | |||||
* | Add the default auxiliary slot to the active slot array | Chris Robinson | 2017-07-13 | 2 | -18/+11 |
| | |||||
* | Initialize the default effect after device update | Chris Robinson | 2017-07-13 | 1 | -35/+31 |
| | |||||
* | Use macros to set and restore the mixer FPU mode | Chris Robinson | 2017-07-13 | 3 | -17/+10 |
| | |||||
* | Store the default effect slot in the context | Chris Robinson | 2017-07-13 | 2 | -59/+82 |
| | |||||
* | Store the QSA backend's ExtraData in the wrapper struct | Chris Robinson | 2017-06-29 | 1 | -118/+121 |
| | |||||
* | Use sqrtf for single-precision square roots | Chris Robinson | 2017-06-29 | 1 | -1/+1 |
| | |||||
* | Add casts to silence MSVC | Chris Robinson | 2017-06-29 | 1 | -1/+1 |
| | |||||
* | Define a backup log2f if the compiler doesn't have it | Chris Robinson | 2017-06-29 | 1 | -3/+0 |
| | |||||
* | Calculate the converter stepping value using floating point | Chris Robinson | 2017-06-28 | 1 | -3/+3 |
| | |||||
* | Remove the fastf2u conversion function | Chris Robinson | 2017-06-27 | 6 | -13/+12 |
| | |||||
* | Use a macro to apply NFC filtered mixes instead of a loop | Chris Robinson | 2017-06-26 | 1 | -18/+16 |
| | |||||
* | Round the converter's stepping value | Chris Robinson | 2017-06-26 | 1 | -2/+3 |
| | |||||
* | Trace the message name in the message handler loop | Chris Robinson | 2017-06-26 | 1 | -1/+14 |
| | |||||
* | Convert all input samples in the loop | Chris Robinson | 2017-06-26 | 1 | -2/+2 |
| | | | | Instead of potentially leaving 1 sample that requires another loop iteration. | ||||
* | Clean up some messy rounding code | Chris Robinson | 2017-06-26 | 2 | -7/+12 |
| | |||||
* | Ensure the mmdevapi capture buffer is at least 100ms | Chris Robinson | 2017-06-26 | 1 | -0/+4 |
| | |||||
* | Clean up some loop variables | Chris Robinson | 2017-06-25 | 1 | -29/+23 |
| | |||||
* | Use the bsinc resampler for the converter | Chris Robinson | 2017-06-25 | 3 | -7/+16 |
| | |||||
* | Improve traces for the mmdevapi capture conversions | Chris Robinson | 2017-06-23 | 1 | -10/+8 |
| | |||||
* | Use the correct destination channel offset | Chris Robinson | 2017-06-23 | 1 | -2/+2 |
| | |||||
* | 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. |