summaryrefslogtreecommitdiff
path: root/sms/residual.c
diff options
context:
space:
mode:
authorJohn Glover <john@john-glovers-macbook.local>2010-12-17 17:37:59 +0000
committerJohn Glover <john@john-glovers-macbook.local>2010-12-17 17:37:59 +0000
commite63147a042bebb1cdbeec3b82cc263d16f537a95 (patch)
treebb82bb84c2174703af3fa977fa5941fecdf19fc7 /sms/residual.c
parent4278a00279b66ff5876b3d91097141b06c9596ce (diff)
downloadsimpl-e63147a042bebb1cdbeec3b82cc263d16f537a95.tar.gz
simpl-e63147a042bebb1cdbeec3b82cc263d16f537a95.tar.bz2
simpl-e63147a042bebb1cdbeec3b82cc263d16f537a95.zip
Separated residual parameters/memory into a new SMS_ResidualParams structure
Diffstat (limited to 'sms/residual.c')
-rw-r--r--sms/residual.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/sms/residual.c b/sms/residual.c
index b69a28f..ae9bf9a 100644
--- a/sms/residual.c
+++ b/sms/residual.c
@@ -26,13 +26,12 @@
/*! \brief get the residual waveform
*
- * \param sizeWindow size of buffers
- * \param pSynthesis pointer to deterministic component
- * \param pOriginal pointer to original waveform
- * \param pResidual pointer to output residual waveform
+ * \param sizeWindow size of buffers
+ * \param pSynthesis pointer to deterministic component
+ * \param pOriginal pointer to original waveform
+ * \param pResidual pointer to output residual waveform
* \param pWindow pointer to windowing array
* \return residual percentage (0 if residual was not large enough)
- \todo why is residual energy percentage computed this way? should be optional and in a seperate function
*/
int sms_residual(int sizeWindow, sfloat *pSynthesis, sfloat *pOriginal, sfloat *pResidual, sfloat *pWindow)
{