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
Container Registry
Model registry
Operate
Environments
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
Xiph.Org
Opus
Commits
5667867f
Unverified
Commit
5667867f
authored
11 months ago
by
Jan Buethe
Browse files
Options
Downloads
Patches
Plain Diff
updates under ENABLE_OSCE_TRAINING_DATA
parent
dfd4175a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#5287
passed
11 months ago
Stage: build
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/opus_demo.c
+5
-1
5 additions, 1 deletion
src/opus_demo.c
with
5 additions
and
1 deletion
src/opus_demo.c
+
5
−
1
View file @
5667867f
...
...
@@ -294,7 +294,7 @@ static OpusDecoder *ms_opus_decoder_create(opus_int32 Fs, int channels, int *err
#define PACKET_LOSS_PERC_MAX 50
#define PACKET_LOSS_PERC_STEP 5
#define CBR_BITRATE_LIMIT 8000
#define CBR_BITRATE_LIMIT 8000
0
#define NUM_BITRATES 102
static
int
bitrates
[
NUM_BITRATES
]
=
{
...
...
@@ -727,6 +727,10 @@ int main(int argc, char *argv[])
{
opus_encoder_ctl
(
enc
,
OPUS_SET_DRED_DURATION
(
dred_duration
));
}
#ifdef ENABLE_OSCE_TRAINING_DATA
opus_encoder_ctl
(
enc
,
OPUS_SET_FORCE_MODE
(
MODE_SILK_ONLY
));
srand
(
0
);
#endif
}
if
(
!
encode_only
)
{
...
...
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