Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Mark Harris
Opus
Commits
d0f57874
Commit
d0f57874
authored
Mar 08, 2008
by
Jean-Marc Valin
Browse files
sampling rate has to be int32
parent
2a6039b3
Changes
2
Hide whitespace changes
Inline
Side-by-side
libcelt/celt.h
View file @
d0f57874
...
...
@@ -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
(
in
t
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.
...
...
libcelt/modes.c
View file @
d0f57874
...
...
@@ -213,7 +213,7 @@ static void compute_allocation_table(CELTMode *mode, int res)
CELTMode
*
celt_mode_create
(
in
t
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
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment