sampling rate has to be int32
This commit is contained in:
parent
2a6039b3f4
commit
d0f57874ef
2 changed files with 2 additions and 2 deletions
|
@ -97,7 +97,7 @@ typedef struct CELTMode CELTMode;
|
|||
@param error Returned error code (if NULL, no error will be returned)
|
||||
@return A newly created mode
|
||||
*/
|
||||
CELTMode *celt_mode_create(int Fs, int channels, int frame_size, int lookahead, int *error);
|
||||
CELTMode *celt_mode_create(celt_int32_t Fs, int channels, int frame_size, int lookahead, int *error);
|
||||
|
||||
/** Destroys a mode struct. Only call this after all encoders and decoders
|
||||
using this mode are destroyed as well.
|
||||
|
|
|
@ -213,7 +213,7 @@ static void compute_allocation_table(CELTMode *mode, int res)
|
|||
|
||||
|
||||
|
||||
CELTMode *celt_mode_create(int Fs, int channels, int frame_size, int lookahead, int *error)
|
||||
CELTMode *celt_mode_create(celt_int32_t Fs, int channels, int frame_size, int lookahead, int *error)
|
||||
{
|
||||
int res;
|
||||
int N, i;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue