Commit 887116cd by andrewlewis Committed by Oliver Woodman

Increase gapless trim sample count

PiperOrigin-RevId: 247348352
parent b3ae1d3f
...@@ -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");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment