From f49814214355913458f9f7635561365afa5bc7aa Mon Sep 17 00:00:00 2001 From: Nils Wallménius Date: Sat, 22 Sep 2012 12:01:01 +0200 Subject: opus: #if 0 out some unused code Change-Id: I16fa9b439f8da5b9b8a4f17040487b9535078ec5 --- lib/rbcodec/codecs/libopus/opus_custom.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/rbcodec/codecs/libopus/opus_custom.h') diff --git a/lib/rbcodec/codecs/libopus/opus_custom.h b/lib/rbcodec/codecs/libopus/opus_custom.h index e7861d6f0a..f8124009a2 100644 --- a/lib/rbcodec/codecs/libopus/opus_custom.h +++ b/lib/rbcodec/codecs/libopus/opus_custom.h @@ -132,10 +132,12 @@ OPUS_CUSTOM_EXPORT void opus_custom_mode_destroy(OpusCustomMode *mode); * @param [in] channels int: Number of channels * @returns size */ +# if 0 OPUS_CUSTOM_EXPORT_STATIC OPUS_WARN_UNUSED_RESULT int opus_custom_encoder_get_size( const OpusCustomMode *mode, int channels ) OPUS_ARG_NONNULL(1); +#endif /** Creates a new encoder state. Each stream needs its own encoder * state (can't be shared across simultaneous streams). @@ -164,11 +166,13 @@ OPUS_CUSTOM_EXPORT OPUS_WARN_UNUSED_RESULT OpusCustomEncoder *opus_custom_encode * @param [in] channels int: Number of channels * @return OPUS_OK Success or @ref opus_errorcodes */ +#if 0 OPUS_CUSTOM_EXPORT_STATIC int opus_custom_encoder_init( OpusCustomEncoder *st, const OpusCustomMode *mode, int channels ) OPUS_ARG_NONNULL(1) OPUS_ARG_NONNULL(2); +#endif /** Destroys a an encoder state. * @param[in] st OpusCustomEncoder*: State to be freed. -- cgit v1.2.3