Making the sampling rate an int32 in the multi-stream API
This commit is contained in:
parent
612b88b17b
commit
d9438da52c
2 changed files with 8 additions and 8 deletions
|
@ -149,7 +149,7 @@ int opus_multistream_encoder_get_size(int nb_streams, int nb_coupled_streams)
|
||||||
|
|
||||||
int opus_multistream_encoder_init(
|
int opus_multistream_encoder_init(
|
||||||
OpusMSEncoder *st, /* Encoder state */
|
OpusMSEncoder *st, /* Encoder state */
|
||||||
int Fs, /* Sampling rate of input signal (Hz) */
|
opus_int32 Fs, /* Sampling rate of input signal (Hz) */
|
||||||
int channels, /* Number of channels (1/2) in input signal */
|
int channels, /* Number of channels (1/2) in input signal */
|
||||||
int streams,
|
int streams,
|
||||||
int coupled_streams,
|
int coupled_streams,
|
||||||
|
@ -188,7 +188,7 @@ int opus_multistream_encoder_init(
|
||||||
}
|
}
|
||||||
|
|
||||||
OpusMSEncoder *opus_multistream_encoder_create(
|
OpusMSEncoder *opus_multistream_encoder_create(
|
||||||
int Fs, /* Sampling rate of input signal (Hz) */
|
opus_int32 Fs, /* Sampling rate of input signal (Hz) */
|
||||||
int channels, /* Number of channels (1/2) in input signal */
|
int channels, /* Number of channels (1/2) in input signal */
|
||||||
int streams,
|
int streams,
|
||||||
int coupled_streams,
|
int coupled_streams,
|
||||||
|
@ -458,7 +458,7 @@ int opus_multistream_decoder_get_size(int nb_streams, int nb_coupled_streams)
|
||||||
|
|
||||||
int opus_multistream_decoder_init(
|
int opus_multistream_decoder_init(
|
||||||
OpusMSDecoder *st, /* Encoder state */
|
OpusMSDecoder *st, /* Encoder state */
|
||||||
int Fs, /* Sampling rate of input signal (Hz) */
|
opus_int32 Fs, /* Sampling rate of input signal (Hz) */
|
||||||
int channels, /* Number of channels (1/2) in input signal */
|
int channels, /* Number of channels (1/2) in input signal */
|
||||||
int streams,
|
int streams,
|
||||||
int coupled_streams,
|
int coupled_streams,
|
||||||
|
@ -498,7 +498,7 @@ int opus_multistream_decoder_init(
|
||||||
|
|
||||||
|
|
||||||
OpusMSDecoder *opus_multistream_decoder_create(
|
OpusMSDecoder *opus_multistream_decoder_create(
|
||||||
int Fs, /* Sampling rate of input signal (Hz) */
|
opus_int32 Fs, /* Sampling rate of input signal (Hz) */
|
||||||
int channels, /* Number of channels (1/2) in input signal */
|
int channels, /* Number of channels (1/2) in input signal */
|
||||||
int streams,
|
int streams,
|
||||||
int coupled_streams,
|
int coupled_streams,
|
||||||
|
|
|
@ -39,7 +39,7 @@ typedef struct OpusMSEncoder OpusMSEncoder;
|
||||||
typedef struct OpusMSDecoder OpusMSDecoder;
|
typedef struct OpusMSDecoder OpusMSDecoder;
|
||||||
|
|
||||||
OPUS_EXPORT OpusMSEncoder *opus_multistream_encoder_create(
|
OPUS_EXPORT OpusMSEncoder *opus_multistream_encoder_create(
|
||||||
int Fs, /**< Sampling rate of input signal (Hz) */
|
opus_int32 Fs, /**< Sampling rate of input signal (Hz) */
|
||||||
int channels, /**< Number of channels (1/2) in input signal */
|
int channels, /**< Number of channels (1/2) in input signal */
|
||||||
int streams,
|
int streams,
|
||||||
int coupled_streams,
|
int coupled_streams,
|
||||||
|
@ -50,7 +50,7 @@ OPUS_EXPORT OpusMSEncoder *opus_multistream_encoder_create(
|
||||||
|
|
||||||
OPUS_EXPORT int opus_multistream_encoder_init(
|
OPUS_EXPORT int opus_multistream_encoder_init(
|
||||||
OpusMSEncoder *st, /**< Encoder state */
|
OpusMSEncoder *st, /**< Encoder state */
|
||||||
int Fs, /**< Sampling rate of input signal (Hz) */
|
opus_int32 Fs, /**< Sampling rate of input signal (Hz) */
|
||||||
int channels, /**< Number of channels (1/2) in input signal */
|
int channels, /**< Number of channels (1/2) in input signal */
|
||||||
int streams,
|
int streams,
|
||||||
int coupled_streams,
|
int coupled_streams,
|
||||||
|
@ -81,7 +81,7 @@ OPUS_EXPORT void opus_multistream_encoder_destroy(OpusMSEncoder *st);
|
||||||
OPUS_EXPORT int opus_multistream_encoder_ctl(OpusMSEncoder *st, int request, ...);
|
OPUS_EXPORT int opus_multistream_encoder_ctl(OpusMSEncoder *st, int request, ...);
|
||||||
|
|
||||||
OPUS_EXPORT OpusMSDecoder *opus_multistream_decoder_create(
|
OPUS_EXPORT OpusMSDecoder *opus_multistream_decoder_create(
|
||||||
int Fs, /**< Sampling rate of input signal (Hz) */
|
opus_int32 Fs, /**< Sampling rate of input signal (Hz) */
|
||||||
int channels, /**< Number of channels (1/2) in input signal */
|
int channels, /**< Number of channels (1/2) in input signal */
|
||||||
int streams,
|
int streams,
|
||||||
int coupled_streams,
|
int coupled_streams,
|
||||||
|
@ -91,7 +91,7 @@ OPUS_EXPORT OpusMSDecoder *opus_multistream_decoder_create(
|
||||||
|
|
||||||
OPUS_EXPORT int opus_multistream_decoder_init(
|
OPUS_EXPORT int opus_multistream_decoder_init(
|
||||||
OpusMSDecoder *st, /**< Encoder state */
|
OpusMSDecoder *st, /**< Encoder state */
|
||||||
int Fs, /**< Sampling rate of input signal (Hz) */
|
opus_int32 Fs, /**< Sampling rate of input signal (Hz) */
|
||||||
int channels, /**< Number of channels (1/2) in input signal */
|
int channels, /**< Number of channels (1/2) in input signal */
|
||||||
int streams,
|
int streams,
|
||||||
int coupled_streams,
|
int coupled_streams,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue