spu: do adsr on whole buffer
authornotaz <notasas@gmail.com>
Thu, 28 Jul 2011 21:31:56 +0000 (00:31 +0300)
committernotaz <notasas@gmail.com>
Fri, 29 Jul 2011 23:43:33 +0000 (02:43 +0300)
commit1ab7621a76d1ef82fde77322c12d4076889bed01
tree0d79481f4284c6baec8937a4974ebcf668b7cbb7
parent90f1d26c2e771993c1a563f4c0ea81432bd9fc5e
spu: do adsr on whole buffer

this eliminates need to check adsr state for each sample,
we can do multiple at once.
Also use ADSR tables from DrHell/shalma.
plugins/dfsound/adsr.c
plugins/dfsound/spu.c