summaryrefslogtreecommitdiff
path: root/lib/rbcodec/codecs/libopus/opus_custom.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rbcodec/codecs/libopus/opus_custom.h')
-rw-r--r--lib/rbcodec/codecs/libopus/opus_custom.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/rbcodec/codecs/libopus/opus_custom.h b/lib/rbcodec/codecs/libopus/opus_custom.h
index 6cf3963076..41f36bf2fb 100644
--- a/lib/rbcodec/codecs/libopus/opus_custom.h
+++ b/lib/rbcodec/codecs/libopus/opus_custom.h
@@ -47,7 +47,7 @@ extern "C" {
47#else 47#else
48# define OPUS_CUSTOM_EXPORT 48# define OPUS_CUSTOM_EXPORT
49# ifdef OPUS_BUILD 49# ifdef OPUS_BUILD
50# define OPUS_CUSTOM_EXPORT_STATIC static inline 50# define OPUS_CUSTOM_EXPORT_STATIC static OPUS_INLINE
51# else 51# else
52# define OPUS_CUSTOM_EXPORT_STATIC 52# define OPUS_CUSTOM_EXPORT_STATIC
53# endif 53# endif
@@ -140,6 +140,7 @@ OPUS_CUSTOM_EXPORT_STATIC OPUS_WARN_UNUSED_RESULT int opus_custom_encoder_get_si
140 int channels 140 int channels
141) OPUS_ARG_NONNULL(1); 141) OPUS_ARG_NONNULL(1);
142 142
143# ifdef CUSTOM_MODES
143/** Initializes a previously allocated encoder state 144/** Initializes a previously allocated encoder state
144 * The memory pointed to by st must be the size returned by opus_custom_encoder_get_size. 145 * The memory pointed to by st must be the size returned by opus_custom_encoder_get_size.
145 * This is intended for applications which use their own allocator instead of malloc. 146 * This is intended for applications which use their own allocator instead of malloc.
@@ -152,12 +153,12 @@ OPUS_CUSTOM_EXPORT_STATIC OPUS_WARN_UNUSED_RESULT int opus_custom_encoder_get_si
152 * @param [in] channels <tt>int</tt>: Number of channels 153 * @param [in] channels <tt>int</tt>: Number of channels
153 * @return OPUS_OK Success or @ref opus_errorcodes 154 * @return OPUS_OK Success or @ref opus_errorcodes
154 */ 155 */
155OPUS_CUSTOM_EXPORT_STATIC int opus_custom_encoder_init( 156OPUS_CUSTOM_EXPORT int opus_custom_encoder_init(
156 OpusCustomEncoder *st, 157 OpusCustomEncoder *st,
157 const OpusCustomMode *mode, 158 const OpusCustomMode *mode,
158 int channels 159 int channels
159) OPUS_ARG_NONNULL(1) OPUS_ARG_NONNULL(2); 160) OPUS_ARG_NONNULL(1) OPUS_ARG_NONNULL(2);
160 161# endif
161#endif 162#endif
162 163
163 164