Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Opus
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Mark Harris
Opus
Commits
fa73e75f
Commit
fa73e75f
authored
Dec 30, 2015
by
Jean-Marc Valin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Avoids having the Opus-level "arch" be set to 0 on encoder/decoder reset
parent
9a08ae0d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
src/opus_decoder.c
src/opus_decoder.c
+1
-1
src/opus_encoder.c
src/opus_encoder.c
+1
-1
No files found.
src/opus_decoder.c
View file @
fa73e75f
...
...
@@ -59,6 +59,7 @@ struct OpusDecoder {
opus_int32
Fs
;
/** Sampling rate (at the API level) */
silk_DecControlStruct
DecControl
;
int
decode_gain
;
int
arch
;
/* Everything beyond this point gets cleared on a reset */
#define OPUS_DECODER_RESET_START stream_channels
...
...
@@ -75,7 +76,6 @@ struct OpusDecoder {
#endif
opus_uint32
rangeFinal
;
int
arch
;
};
...
...
src/opus_encoder.c
View file @
fa73e75f
...
...
@@ -81,6 +81,7 @@ struct OpusEncoder {
int
lsb_depth
;
int
encoder_buffer
;
int
lfe
;
int
arch
;
#define OPUS_ENCODER_RESET_START stream_channels
int
stream_channels
;
...
...
@@ -105,7 +106,6 @@ struct OpusEncoder {
int
analysis_offset
;
#endif
opus_uint32
rangeFinal
;
int
arch
;
};
/* Transition tables for the voice and music. First column is the
...
...
Write
Preview
Markdown
is supported
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