diff options
author | Jean-Marc Valin <Jean-Marc.Valin@csiro.au> | 2008-06-05 08:11:52 +0400 |
---|---|---|
committer | Jean-Marc Valin <Jean-Marc.Valin@csiro.au> | 2008-06-05 08:11:52 +0400 |
commit | 412a60ec3d316b4865e96f75cc1dca1b46ecba9a (patch) | |
tree | fa868821835575936429cd0a44c1cda433b382c4 /include/speex | |
parent | 3d5c97908a77adc1d052069e4b53598b5aef96ec (diff) |
DecorrState -> SpeexDecorrState
Diffstat (limited to 'include/speex')
-rw-r--r-- | include/speex/speex_echo.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/speex/speex_echo.h b/include/speex/speex_echo.h index fec17e4..53bcd28 100644 --- a/include/speex/speex_echo.h +++ b/include/speex/speex_echo.h @@ -133,9 +133,9 @@ int speex_echo_ctl(SpeexEchoState *st, int request, void *ptr); -struct DecorrState_; +struct SpeexDecorrState_; -typedef struct DecorrState_ DecorrState; +typedef struct SpeexDecorrState_ SpeexDecorrState; /** Create a state for the channel decorrelation algorithm @@ -144,7 +144,7 @@ typedef struct DecorrState_ DecorrState; * @param channels Number of channels (it's a bit pointless if you don't have at least 2) * @param frame_size Size of the frame to process at ones (counting samples *per* channel) */ -DecorrState *speex_decorrelate_new(int rate, int channels, int frame_size); +SpeexDecorrState *speex_decorrelate_new(int rate, int channels, int frame_size); /** Remove correlation between the channels by modifying the phase and possibly adding noise in a way that is not (or little) perceptible. @@ -153,12 +153,12 @@ DecorrState *speex_decorrelate_new(int rate, int channels, int frame_size); * @param out Result of the decorrelation (out *may* alias in) * @param strength How much alteration of the audio to apply from 0 to 100. */ -void speex_decorrelate(DecorrState *st, const spx_int16_t *in, spx_int16_t *out, int strength); +void speex_decorrelate(SpeexDecorrState *st, const spx_int16_t *in, spx_int16_t *out, int strength); /** Destroy a Decorrelation state * @param st State to destroy */ -void speex_decorrelate_destroy(DecorrState *st); +void speex_decorrelate_destroy(SpeexDecorrState *st); #ifdef __cplusplus |