diff --git a/silk/decoder_set_fs.c b/silk/decoder_set_fs.c index e44f65964d18fd40d0b237c82e9bda624d9ac87f..38ac249caf33114aae0feea4c8e681f0638ea593 100644 --- a/silk/decoder_set_fs.c +++ b/silk/decoder_set_fs.c @@ -35,7 +35,7 @@ POSSIBILITY OF SUCH DAMAGE. opus_int silk_decoder_set_fs( silk_decoder_state *psDec, /* I/O Decoder state pointer */ opus_int fs_kHz, /* I Sampling frequency (kHz) */ - opus_int fs_API_Hz /* I API Sampling frequency (Hz) */ + opus_int32 fs_API_Hz /* I API Sampling frequency (Hz) */ ) { opus_int frame_length, ret = 0; diff --git a/silk/main.h b/silk/main.h index 9b383c435eeb6edf09ddf3169d1b0290c0cb681a..32675f693100c0f67277f2bca7393c749c8601a7 100644 --- a/silk/main.h +++ b/silk/main.h @@ -357,7 +357,7 @@ opus_int silk_init_decoder( opus_int silk_decoder_set_fs( silk_decoder_state *psDec, /* I/O Decoder state pointer */ opus_int fs_kHz, /* I Sampling frequency (kHz) */ - opus_int fs_API_Hz /* I API Sampling frequency (Hz) */ + opus_int32 fs_API_Hz /* I API Sampling frequency (Hz) */ ); /****************/