Allow speed adjustments close to 1f in SonicAudioProcessor
Issue: #4904 PiperOrigin-RevId: 336841791
This commit is contained in:
parent
09598580f2
commit
76b7f76437
@ -33,7 +33,7 @@ public final class SonicAudioProcessor implements AudioProcessor {
|
||||
public static final int SAMPLE_RATE_NO_CHANGE = -1;
|
||||
|
||||
/** The threshold below which the difference between two pitch/speed factors is negligible. */
|
||||
private static final float CLOSE_THRESHOLD = 0.01f;
|
||||
private static final float CLOSE_THRESHOLD = 0.0001f;
|
||||
|
||||
/**
|
||||
* The minimum number of output bytes at which the speedup is calculated using the input/output
|
||||
|
Loading…
x
Reference in New Issue
Block a user