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 /libspeex | |
parent | 3d5c97908a77adc1d052069e4b53598b5aef96ec (diff) |
DecorrState -> SpeexDecorrState
Diffstat (limited to 'libspeex')
-rw-r--r-- | libspeex/scal.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libspeex/scal.c b/libspeex/scal.c index 4d5dc1a..c6abfd2 100644 --- a/libspeex/scal.c +++ b/libspeex/scal.c @@ -54,7 +54,7 @@ The algorithm implemented here is described in: #define ALLPASS_ORDER 20 -struct DecorrState_ { +struct SpeexDecorrState_ { int rate; int channels; int frame_size; @@ -78,10 +78,10 @@ struct DecorrState_ { -EXPORT DecorrState *speex_decorrelate_new(int rate, int channels, int frame_size) +EXPORT SpeexDecorrState *speex_decorrelate_new(int rate, int channels, int frame_size) { int i, ch; - DecorrState *st = speex_alloc(sizeof(DecorrState)); + SpeexDecorrState *st = speex_alloc(sizeof(SpeexDecorrState)); st->rate = rate; st->channels = channels; st->frame_size = frame_size; @@ -134,7 +134,7 @@ static unsigned int irand(int *seed) } -EXPORT void speex_decorrelate(DecorrState *st, const spx_int16_t *in, spx_int16_t *out, int strength) +EXPORT void speex_decorrelate(SpeexDecorrState *st, const spx_int16_t *in, spx_int16_t *out, int strength) { int ch; float amount; @@ -271,7 +271,7 @@ EXPORT void speex_decorrelate(DecorrState *st, const spx_int16_t *in, spx_int16_ } } -EXPORT void speex_decorrelate_destroy(DecorrState *st) +EXPORT void speex_decorrelate_destroy(SpeexDecorrState *st) { #ifdef VORBIS_PSYCHO vorbis_psy_destroy(st->psy); |