mirror of
https://github.com/samsonjs/media.git
synced 2026-04-10 12:05:47 +00:00
Increase gapless trim sample count
PiperOrigin-RevId: 247348352
This commit is contained in:
parent
0698bd1dbb
commit
85a86e434a
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
* 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. */
|
||||
private static final byte[] opusMagic = Util.getUtf8Bytes("OpusHead");
|
||||
|
|
|
|||
Loading…
Reference in a new issue