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
3b74d8bd
Commit
3b74d8bd
authored
10 years ago
by
Tristan Matthews
Browse files
Options
Downloads
Patches
Plain Diff
opus_demo: remove unused but set values
parent
75d81f5b
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/opus_demo.c
+2
-5
2 additions, 5 deletions
src/opus_demo.c
with
2 additions
and
5 deletions
src/opus_demo.c
+
2
−
5
View file @
3b74d8bd
...
...
@@ -245,14 +245,14 @@ int main(int argc, char *argv[])
double
bits
=
0
.
0
,
bits_max
=
0
.
0
,
bits_act
=
0
.
0
,
bits2
=
0
.
0
,
nrg
;
double
tot_samples
=
0
;
opus_uint64
tot_in
,
tot_out
;
int
bandwidth
=
-
1
;
int
bandwidth
=
OPUS_AUTO
;
const
char
*
bandwidth_string
;
int
lost
=
0
,
lost_prev
=
1
;
int
toggle
=
0
;
opus_uint32
enc_final_range
[
2
];
opus_uint32
dec_final_range
;
int
encode_only
=
0
,
decode_only
=
0
;
int
max_frame_size
=
96
0
*
6
;
int
max_frame_size
=
4800
0
*
2
;
int
curr_read
=
0
;
int
sweep_bps
=
0
;
int
random_framesize
=
0
,
newsize
=
0
,
delayed_celt
=
0
;
...
...
@@ -336,15 +336,12 @@ int main(int argc, char *argv[])
/* defaults: */
use_vbr
=
1
;
bandwidth
=
OPUS_AUTO
;
max_payload_bytes
=
MAX_PACKET
;
complexity
=
10
;
use_inbandfec
=
0
;
forcechannels
=
OPUS_AUTO
;
use_dtx
=
0
;
packet_loss_perc
=
0
;
max_frame_size
=
2
*
48000
;
curr_read
=
0
;
while
(
args
<
argc
-
2
)
{
/* process command line options */
...
...
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