summaryrefslogtreecommitdiff
path: root/silk/resampler.c
diff options
context:
space:
mode:
authorGregory Maxwell <greg@xiph.org>2011-09-28 15:44:53 -0400
committerGregory Maxwell <greg@xiph.org>2011-09-28 16:28:18 -0400
commit59647fdb655bf6dc363c155b23bc817d195dc17d (patch)
tree38ba24728a3b3d35ad6fcb46203282c9a6d49a1d /silk/resampler.c
parentafc8d53b1b1d4a740551b3bbf8c2ac45061786ed (diff)
downloadopus-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.c12
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 */