diff --git a/celt/opus_defines.h b/celt/opus_defines.h index 361a58433040773558bb2bfde60d2a7cd342d579..31b4327dbe88b0c4c1d17da13823c0fcdf31091c 100644 --- a/celt/opus_defines.h +++ b/celt/opus_defines.h @@ -112,7 +112,7 @@ extern "C" { /** @endcond */ /** @defgroup encoderctls Encoder related CTLs - * @see opus_encoder_ctl + * @see genericctls,opusencoder * @{ */ /** @cond DOXYGEN_EXCLUDE */ @@ -135,7 +135,7 @@ extern "C" { /** Configures the encoder's computational complexity. * The supported range is 0-10 inclusive with 10 representing the highest complexity. - * The default value is inconsistent between modes + * The default value is 10. * @param[in] x <tt>int</tt>: 0-10, inclusive * @hideinitializer */ #define OPUS_SET_COMPLEXITY(x) OPUS_SET_COMPLEXITY_REQUEST, __opus_check_int(x) @@ -201,7 +201,7 @@ extern "C" { * @hideinitializer */ #define OPUS_GET_FORCE_CHANNELS(x) OPUS_GET_FORCE_CHANNELS_REQUEST, __opus_check_int_ptr(x) -/** Configures the encoder's bandpass. +/** Configures the encoder's bandpass, @see OPUS_GET_BANDWIDTH * The supported values are: * - OPUS_BANDWIDTH_AUTO (default) * - OPUS_BANDWIDTH_NARROWBAND 4kHz passband @@ -212,10 +212,6 @@ extern "C" { * @param[in] x <tt>int</tt>: Bandwidth value * @hideinitializer */ #define OPUS_SET_BANDWIDTH(x) OPUS_SET_BANDWIDTH_REQUEST, __opus_check_int(x) -/** Gets the encoder's configured bandpass, @see OPUS_SET_BANDWIDTH - * @param[out] x <tt>int*</tt>: Bandwidth value - * @hideinitializer */ -#define OPUS_GET_BANDWIDTH(x) OPUS_GET_BANDWIDTH_REQUEST, __opus_check_int_ptr(x) /** Configures the type of signal being encoded. * This is a hint which helps the encoder's mode selection. @@ -328,7 +324,7 @@ extern "C" { /**@}*/ /** @defgroup genericctls Generic CTLs - * @see opus_encoder_ctl,opus_decoder_ctl + * @see opus_encoder_ctl,opusencoder,opusdecoder * @{ */ @@ -359,6 +355,11 @@ extern "C" { * @hideinitializer */ #define OPUS_GET_PITCH(x) OPUS_GET_PITCH_REQUEST, __opus_check_int_ptr(x) +/** Gets the encoder's configured bandpass or the decoder's last bandpass, @see OPUS_SET_BANDWIDTH + * @param[out] x <tt>int*</tt>: Bandwidth value + * @hideinitializer */ +#define OPUS_GET_BANDWIDTH(x) OPUS_GET_BANDWIDTH_REQUEST, __opus_check_int_ptr(x) + /**@}*/ /** @defgroup libinfo Opus library information functions diff --git a/configure.ac b/configure.ac index d68c372783cbba4262f48c377a23f4c8e7f59a8b..de123f3610cfece5d679b009736abe9caaf4870b 100644 --- a/configure.ac +++ b/configure.ac @@ -240,7 +240,7 @@ AC_MSG_RESULT([ Fixed point debugging: ......... ${ac_enable_fixed_debug} Custom modes: .................. ${ac_enable_custom_modes} Assertion checking: ............ ${ac_enable_assertions} - Fuzzing: .. .......... ${ac_enable_fuzzing} + Fuzzing: ....................... ${ac_enable_fuzzing} API documentation: ............. ${ac_enable_doc} ------------------------------------------------------------------------ diff --git a/doc/Doxyfile.in b/doc/Doxyfile.in index 108c7ba40ad5a1658621beda8294207e00666136..ff8085248c55dbfe9225864b8c784b5574d76e44 100644 --- a/doc/Doxyfile.in +++ b/doc/Doxyfile.in @@ -1420,13 +1420,13 @@ ENABLE_PREPROCESSING = YES # compilation will be performed. Macro expansion can be done in a controlled # way by setting EXPAND_ONLY_PREDEF to YES. -MACRO_EXPANSION = NO +MACRO_EXPANSION = YES # If the EXPAND_ONLY_PREDEF and MACRO_EXPANSION tags are both set to YES # then the macro expansion is limited to the macros specified with the # PREDEFINED and EXPAND_AS_DEFINED tags. -EXPAND_ONLY_PREDEF = NO +EXPAND_ONLY_PREDEF = YES # If the SEARCH_INCLUDES tag is set to YES (the default) the includes files # pointed to by INCLUDE_PATH will be searched when a #include is found. @@ -1454,7 +1454,7 @@ INCLUDE_FILE_PATTERNS = # undefined via #undef or recursively expanded use the := operator # instead of the = operator. -PREDEFINED = +PREDEFINED = OPUS_EXPORT= # If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then # this tag can be used to specify a list of macro names that should be expanded.