aboutsummaryrefslogtreecommitdiffstats
path: root/common/alcomplex.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2018-05-24 00:16:50 -0700
committerChris Robinson <[email protected]>2018-05-24 00:16:50 -0700
commit803d331711cf5c0ecd0796bf28e9c95cf3724198 (patch)
tree8874f59490749796c9b117d0ff8094930f2fd121 /common/alcomplex.h
parent422cf429e61c610f271a05c9b5ac44c60b7e58fe (diff)
Improve formatting of the hilbert function
Diffstat (limited to 'common/alcomplex.h')
-rw-r--r--common/alcomplex.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/common/alcomplex.h b/common/alcomplex.h
index cfd164b6..2418ce78 100644
--- a/common/alcomplex.h
+++ b/common/alcomplex.h
@@ -56,13 +56,13 @@ inline ALcomplex complex_mult(ALcomplex a, ALcomplex b)
void complex_fft(ALcomplex *FFTBuffer, ALsizei FFTSize, ALdouble Sign);
/**
- *Calculate the complex helical sequence (or discrete-time analytical signal)
- *of the given input using the discrete Hilbert transform (In-place algorithm).
- *Fills InOutBuffer[0...size-1] with the discrete-time analytical signal stored
- *in InOutBuffer[0...size-1]. InOutBuffer is an array of complex numbers,
- *size MUST BE power of two.
+ * Calculate the complex helical sequence (discrete-time analytical signal) of
+ * the given input using the discrete Hilbert transform (In-place algorithm).
+ * Fills Buffer[0...size-1] with the discrete-time analytical signal stored in
+ * Buffer[0...size-1]. Buffer is an array of complex numbers, size MUST BE
+ * power of two.
*/
-void hilbert(ALsizei size, ALcomplex *InOutBuffer );
+void complex_hilbert(ALcomplex *Buffer, ALsizei size);
#ifdef __cplusplus
} // extern "C"