diff options
author | Jean-Marc Valin <jmvalin@jmvalin.ca> | 2011-10-27 13:43:43 -0400 |
---|---|---|
committer | Jean-Marc Valin <jmvalin@jmvalin.ca> | 2011-10-27 13:43:43 -0400 |
commit | e6a0be8ee6a0675dc7c959a0c3cf9d3f7219b682 (patch) | |
tree | 28df22abb42b9f12d2875b64f80e2ae6ae466832 /include/opus_defines.h | |
parent | 6ef378725f274ce60c7b0b42f8ff5f55df95d25d (diff) | |
download | opus-e6a0be8ee6a0675dc7c959a0c3cf9d3f7219b682.tar.gz |
Makes OPUS_SET_VOICE_RATIO private
Let's put it back in if/when we have a clearer view of voice/music detection
Diffstat (limited to 'include/opus_defines.h')
-rw-r--r-- | include/opus_defines.h | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/include/opus_defines.h b/include/opus_defines.h index 61ba8942..50ff16c1 100644 --- a/include/opus_defines.h +++ b/include/opus_defines.h @@ -95,8 +95,6 @@ extern "C" { #define OPUS_GET_PACKET_LOSS_PERC_REQUEST 4015 #define OPUS_SET_DTX_REQUEST 4016 #define OPUS_GET_DTX_REQUEST 4017 -#define OPUS_SET_VOICE_RATIO_REQUEST 4018 -#define OPUS_GET_VOICE_RATIO_REQUEST 4019 #define OPUS_SET_VBR_CONSTRAINT_REQUEST 4020 #define OPUS_GET_VBR_CONSTRAINT_REQUEST 4021 #define OPUS_SET_FORCE_CHANNELS_REQUEST 4022 @@ -259,21 +257,6 @@ extern "C" { * @hideinitializer */ #define OPUS_GET_SIGNAL(x) OPUS_GET_SIGNAL_REQUEST, __opus_check_int_ptr(x) -/** Configures the encoder's expected percentage of voice - * opposed to music or other signals. - * - * @note This interface is currently more aspiration than actuality. It's - * ultimately expected to bias an automatic signal classifier, but it currently - * just shifts the static bitrate to mode mapping around a little bit. - * - * @param[in] x <tt>int</tt>: Voice percentage in the range 0-100, inclusive. - * @hideinitializer */ -#define OPUS_SET_VOICE_RATIO(x) OPUS_SET_VOICE_RATIO_REQUEST, __opus_check_int(x) -/** Gets the encoder's configured voice ratio value, @see OPUS_SET_VOICE_RATIO - * - * @param[out] x <tt>int*</tt>: Voice percentage in the range 0-100, inclusive. - * @hideinitializer */ -#define OPUS_GET_VOICE_RATIO(x) OPUS_GET_VOICE_RATIO_REQUEST, __opus_check_int_ptr(x) /** Configures the encoder's intended application. * The initial value is a mandatory argument to the encoder_create function. |