Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Rename ALvoice fields for consistency | Chris Robinson | 2019-03-10 | 5 | -289/+285 |
| | |||||
* | Improve handling of voice's AmbiScales for upsampling | Chris Robinson | 2019-03-10 | 3 | -10/+25 |
| | |||||
* | Use the correct value for MAX_AMBI2D_CHANNELS | Chris Robinson | 2019-03-10 | 1 | -1/+1 |
| | |||||
* | Don't copy old coeffs in MixHrtfBlendBase | Chris Robinson | 2019-03-10 | 1 | -2/+2 |
| | |||||
* | Avoid an extra level of indentation | Chris Robinson | 2019-03-10 | 1 | -38/+50 |
| | |||||
* | Don't directly use a buffer for updating source parameters | Chris Robinson | 2019-03-10 | 4 | -29/+20 |
| | |||||
* | Avoid excessive transformations of the source position | Chris Robinson | 2019-03-10 | 1 | -44/+60 |
| | |||||
* | Add a method to apply an HF scale without band-splitting | Chris Robinson | 2019-03-10 | 4 | -25/+52 |
| | |||||
* | Fix for MSVC decaying arrays to pointers with ?: | Chris Robinson | 2019-03-09 | 1 | -5/+5 |
| | |||||
* | Fade out voices that end normally | Chris Robinson | 2019-03-09 | 1 | -140/+180 |
| | | | | | | Sometimes a sound may end with non-0 amplitude, particularly if a buffer queue underruns. This helps avoid clicks and pops for sources that don't already end in silence. | ||||
* | Play dummy samples and force a fade out on stopping voices | Chris Robinson | 2019-03-09 | 3 | -26/+45 |
| | |||||
* | Add a Stopping state for voices | Chris Robinson | 2019-03-09 | 5 | -39/+104 |
| | | | | | | This currently doesn't do much, except have the mixer progress it to Stopped. It's valid to have without a source or buffers, and in the future will allow fading out when a source is paused or stopped. | ||||
* | Increment the active voice count ahead of playing the sources | Chris Robinson | 2019-03-09 | 1 | -7/+27 |
| | |||||
* | Clear the voice's buffer when detaching from source | Chris Robinson | 2019-03-09 | 2 | -0/+10 |
| | |||||
* | Exclude far-ear IRs for the synthesized -90 degree elevation | Chris Robinson | 2019-03-09 | 1 | -5/+35 |
| | |||||
* | Avoid some explicit loops | Chris Robinson | 2019-03-05 | 1 | -107/+118 |
| | |||||
* | Normalize HRIRs using their maximum RMS | Chris Robinson | 2019-03-04 | 1 | -2/+23 |
| | |||||
* | Pass a reference to function for a template parameter | Chris Robinson | 2019-03-03 | 1 | -3/+3 |
| | |||||
* | Use more specific names for temp buffer storage | Chris Robinson | 2019-03-02 | 2 | -19/+13 |
| | |||||
* | Use a proper flag to indicate audio is prepared in alffplay | Chris Robinson | 2019-03-01 | 1 | -14/+9 |
| | |||||
* | Reverse the HRTF field array | Chris Robinson | 2019-02-27 | 3 | -15/+24 |
| | | | | | | Most often a sound's distance will be beyond the farthest field measurement, so It's more efficient to have the farthest field first and avoid looping through the whole field array for them. | ||||
* | Combine the reverb output mixes into a single call | Chris Robinson | 2019-02-25 | 1 | -28/+38 |
| | |||||
* | Unlock the audio decoder mutex before disabling events in alffplay | Chris Robinson | 2019-02-25 | 1 | -2/+3 |
| | | | | | The callback may be waiting on the mutex, but disabling the callback needs any current invocation to finish first. | ||||
* | Make sure the reverb fading completes | Chris Robinson | 2019-02-25 | 1 | -1/+1 |
| | | | | | The processing loop doesn't depend on being aligned anymore, so it won't get stuck when only less than 4 samples can be done in a non-final update. | ||||
* | Convert the device frequency to float just once | Chris Robinson | 2019-02-24 | 1 | -9/+7 |
| | |||||
* | Make sure the voice's direct buffer is always set | Chris Robinson | 2019-02-24 | 1 | -7/+5 |
| | |||||
* | Remove a duplicate index array | Chris Robinson | 2019-02-24 | 1 | -2/+2 |
| | |||||
* | Reduce BUFFERSIZE to match the default period size | Chris Robinson | 2019-02-24 | 3 | -16/+18 |
| | | | | | Also adds a bit more space to the temp source data buffer, to avoid needing to loop on matching sample rates. | ||||
* | Rework reverb A/B-Format conversion mixing | Chris Robinson | 2019-02-24 | 1 | -99/+77 |
| | | | | | This should help improve performance using the optimized mixers, and fewer passes on the transforms, though at the cost of more memory. | ||||
* | Change some functions to proper methods | Chris Robinson | 2019-02-23 | 1 | -171/+171 |
| | |||||
* | Avoid multiple int-to-float conversions | Chris Robinson | 2019-02-23 | 1 | -12/+17 |
| | |||||
* | Constify some parameters and remove an explicit loop | Chris Robinson | 2019-02-23 | 2 | -10/+23 |
| | |||||
* | Remove the FOAOut mixing buffer and associated post-processes | Chris Robinson | 2019-02-22 | 8 | -298/+14 |
| | |||||
* | Remove the unused FOAOut EffectTarget | Chris Robinson | 2019-02-22 | 2 | -3/+2 |
| | |||||
* | Apply ambisonic upsampling on reverb output as needed | Chris Robinson | 2019-02-22 | 1 | -37/+110 |
| | | | | | | | | | | This isn't the greatest thing since it splits the A-to-B-Format transform from the panning transform. The A-to-B and HF scale mixes are also not as optimal as they could be, since they can't use the main mixer functions (wrong buffer line length). It does, however, get rid of the final use of the FOAOut buffer, so the upsampling post-process is no longer needed. | ||||
* | Ensure reverb fading doesn't end with less than 4 samples | Chris Robinson | 2019-02-22 | 1 | -1/+1 |
| | |||||
* | Avoid some unnecessary local variables | Chris Robinson | 2019-02-22 | 1 | -13/+12 |
| | |||||
* | Combine reverb transform matrices one column at a time | Chris Robinson | 2019-02-21 | 1 | -18/+23 |
| | |||||
* | Mix B-Format sources directly to the dry buffer | Chris Robinson | 2019-02-21 | 2 | -21/+34 |
| | | | | Now the only thing that utilizes FOAOut is reverb output. | ||||
* | Remove RESTRICT from the bandsplitter process method | Chris Robinson | 2019-02-21 | 2 | -2/+2 |
| | | | | | The compiler can see there's no aliasing with the local variables, and the input/output buffers are handled sequentially one element at a time anyway. | ||||
* | Add some preliminary fields for mix-time ambisonic upsampling | Chris Robinson | 2019-02-21 | 2 | -4/+23 |
| | |||||
* | Allow processing some effects in higher order ambisonics | Chris Robinson | 2019-02-21 | 8 | -19/+19 |
| | | | | | | Reverb notably is still only first-order (any higher order channels are dropped, and it writes to FOAOut). But others, like the equalizer, work on all available channels. | ||||
* | Add helpers to get the channel count from an ambisonic order | Chris Robinson | 2019-02-21 | 3 | -16/+20 |
| | |||||
* | Fix unused parameter warning | Chris Robinson | 2019-02-21 | 1 | -1/+1 |
| | |||||
* | Get rid of the MAX_EFFECT_CHANNELS macro | Chris Robinson | 2019-02-21 | 5 | -43/+39 |
| | |||||
* | Make sure the B2A matrix has enough values for the input count | Chris Robinson | 2019-02-21 | 1 | -6/+6 |
| | |||||
* | Remove some now-unnecessary ReverbState fields | Chris Robinson | 2019-02-21 | 1 | -26/+1 |
| | |||||
* | Pass the number of input channels to EffectState::process | Chris Robinson | 2019-02-21 | 14 | -108/+105 |
| | |||||
* | Add a method to get the row of an ambisonic identity transform | Chris Robinson | 2019-02-21 | 1 | -0/+7 |
| | |||||
* | Ensure the device's mAmbiOrder is always set appropriately | Chris Robinson | 2019-02-21 | 1 | -8/+23 |
| | | | | The Dry target is always ambisonic, so set its order correctly. |