mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +00:00
Increase gapless trim sample count
PiperOrigin-RevId: 247348352
This commit is contained in:
parent
b3ae1d3fed
commit
887116cd2d
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
|
* 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");
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue