diff options
author | Gregory Maxwell <greg@xiph.org> | 2011-09-28 15:44:53 -0400 |
---|---|---|
committer | Gregory Maxwell <greg@xiph.org> | 2011-09-28 16:28:18 -0400 |
commit | 59647fdb655bf6dc363c155b23bc817d195dc17d (patch) | |
tree | 38ba24728a3b3d35ad6fcb46203282c9a6d49a1d /silk/resampler.c | |
parent | afc8d53b1b1d4a740551b3bbf8c2ac45061786ed (diff) | |
download | opus-59647fdb655bf6dc363c155b23bc817d195dc17d.tar.gz |
Misc. silk/ cleanups: static inline things which are only used in one file.
Diffstat (limited to 'silk/resampler.c')
-rw-r--r-- | silk/resampler.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/silk/resampler.c b/silk/resampler.c index 377ef271..3102d42b 100644 --- a/silk/resampler.c +++ b/silk/resampler.c @@ -141,18 +141,6 @@ opus_int silk_resampler_init( return 0; } -/* Clear the states of all resampling filters, without resetting sampling rate ratio */ -opus_int silk_resampler_clear( - silk_resampler_state_struct *S /* I/O: Resampler state */ -) -{ - /* Clear state */ - silk_memset( S->sDown2, 0, sizeof( S->sDown2 ) ); - silk_memset( S->sIIR, 0, sizeof( S->sIIR ) ); - silk_memset( S->sFIR, 0, sizeof( S->sFIR ) ); - return 0; -} - /* Resampler: convert from one sampling rate to another */ opus_int silk_resampler( silk_resampler_state_struct *S, /* I/O: Resampler state */ |