ref: 3af4aa78490505ed04d493dc058cedb189262e2f
parent: c82cd0624a528c4b8ebdcbe00108bdd1bf74b0af
author: Jean-Marc Valin <[email protected]>
date: Tue Apr 24 13:18:58 EDT 2012
Uses opus_int32 for fs_API_Hz parameter in silk_decoder_set_fs
--- a/silk/decoder_set_fs.c
+++ b/silk/decoder_set_fs.c
@@ -35,7 +35,7 @@
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;
--- a/silk/main.h
+++ b/silk/main.h
@@ -357,7 +357,7 @@
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) */
);
/****************/