Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Opus
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Alexander Traud
Opus
Commits
5174817d
Commit
5174817d
authored
11 years ago
by
Jean-Marc Valin
Browse files
Options
Downloads
Patches
Plain Diff
Hides OPUS_FRAMESIZE_VARIABLE from the API until it actually works
parent
420231ab
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
celt/celt.h
+4
-0
4 additions, 0 deletions
celt/celt.h
include/opus_defines.h
+0
-1
0 additions, 1 deletion
include/opus_defines.h
tests/test_opus_api.c
+1
-1
1 addition, 1 deletion
tests/test_opus_api.c
with
5 additions
and
2 deletions
celt/celt.h
+
4
−
0
View file @
5174817d
...
...
@@ -66,6 +66,10 @@ typedef struct {
/* Encoder/decoder Requests */
/* Expose this option again when variable framesize actually works */
#define OPUS_FRAMESIZE_VARIABLE 5010
/**< Optimize the frame size dynamically */
#define CELT_SET_PREDICTION_REQUEST 10002
/** Controls the use of interframe prediction.
0=Independent frames
...
...
This diff is collapsed.
Click to expand it.
include/opus_defines.h
+
0
−
1
View file @
5174817d
...
...
@@ -206,7 +206,6 @@ extern "C" {
#define OPUS_FRAMESIZE_20_MS 5004
/**< Use 20 ms frames */
#define OPUS_FRAMESIZE_40_MS 5005
/**< Use 40 ms frames */
#define OPUS_FRAMESIZE_60_MS 5006
/**< Use 60 ms frames */
#define OPUS_FRAMESIZE_VARIABLE 5010
/**< Optimize the frame size dynamically */
/**@}*/
...
...
This diff is collapsed.
Click to expand it.
tests/test_opus_api.c
+
1
−
1
View file @
5174817d
...
...
@@ -1374,7 +1374,7 @@ opus_int32 test_enc_api(void)
if
(
err
!=
OPUS_OK
)
test_failed
();
cfgs
++
;
CHECK_SETGET
(
OPUS_SET_EXPERT_FRAME_DURATION
(
i
),
OPUS_GET_EXPERT_FRAME_DURATION
(
&
i
),
0
,
-
1
,
OPUS_FRAMESIZE_
VARIABLE
,
OPUS_FRAMESIZE_ARG
,
OPUS_FRAMESIZE_
60_MS
,
OPUS_FRAMESIZE_ARG
,
" OPUS_SET_EXPERT_FRAME_DURATION ............... OK.
\n
"
,
" OPUS_GET_EXPERT_FRAME_DURATION ............... OK.
\n
"
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment