Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
SDK
/
exoplayer
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
887116cd
authored
May 09, 2019
by
andrewlewis
Committed by
Oliver Woodman
May 15, 2019
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Increase gapless trim sample count
PiperOrigin-RevId: 247348352
parent
b3ae1d3f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
library/core/src/main/java/com/google/android/exoplayer2/extractor/mp4/AtomParsers.java
library/core/src/main/java/com/google/android/exoplayer2/extractor/mp4/AtomParsers.java
View file @
887116cd
...
@@ -60,7 +60,7 @@ import java.util.List;
...
@@ -60,7 +60,7 @@ import java.util.List;
* The threshold number of samples to trim from the start/end of an audio track when applying an
* The threshold number of samples to trim from the start/end of an audio track when applying an
* edit below which gapless info can be used (rather than removing samples from the sample table).
* edit below which gapless info can be used (rather than removing samples from the sample table).
*/
*/
private
static
final
int
MAX_GAPLESS_TRIM_SIZE_SAMPLES
=
3
;
private
static
final
int
MAX_GAPLESS_TRIM_SIZE_SAMPLES
=
4
;
/** The magic signature for an Opus Identification header, as defined in RFC-7845. */
/** The magic signature for an Opus Identification header, as defined in RFC-7845. */
private
static
final
byte
[]
opusMagic
=
Util
.
getUtf8Bytes
(
"OpusHead"
);
private
static
final
byte
[]
opusMagic
=
Util
.
getUtf8Bytes
(
"OpusHead"
);
...
...
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