Add a mode_info call to obtain the sampling rate of the current mode.

This commit is contained in:
Gregory Maxwell 2009-05-30 17:04:02 -04:00
parent e4c05a4d74
commit d9458cd0b3
2 changed files with 5 additions and 0 deletions

View file

@ -87,6 +87,8 @@ extern "C" {
#define CELT_GET_LOOKAHEAD 1001
/** GET the number of channels used in the current mode */
#define CELT_GET_NB_CHANNELS 1002
/** GET the sample rate used in the current mode */
#define CELT_GET_SAMPLE_RATE 1003
/** GET the bit-stream version for compatibility check */
#define CELT_GET_BITSTREAM_VERSION 2000