aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/bs2b.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2010-09-24 18:29:49 -0700
committerChris Robinson <[email protected]>2010-09-24 18:29:49 -0700
commit2e70b82eaab5e8eef4723ab0d99fa3960e5519d7 (patch)
treeb8e5ded8afaef6f096b34488638f0d084d566e6c /Alc/bs2b.c
parent117ed52091a2a24d912c51a8a1c3a97cc5f4d4d5 (diff)
Use separate mixing loops for the dry path and wet paths
This will increase CPU use a bit for sources that use auxiliary sends (particularly with the cosine resampler), but it makes it more scalable when adding more sends per source. Additionally, it will improve performance of sources that don't use auxiliary sends. The cosine resampler can probably be improved by using a lookup table instead of calling cos() as there are 14 bits of fractional precision, so a 16384- element float array would cover it all. This can also be reduced to a half or quarter size if the precision loss is found to be acceptable.
Diffstat (limited to 'Alc/bs2b.c')
0 files changed, 0 insertions, 0 deletions