diff --git a/libcelt/celt.h b/libcelt/celt.h index 24df26fd..4d44f5e5 100644 --- a/libcelt/celt.h +++ b/libcelt/celt.h @@ -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. diff --git a/libcelt/modes.c b/libcelt/modes.c index e38df9a9..299f1cd9 100644 --- a/libcelt/modes.c +++ b/libcelt/modes.c @@ -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;