30 lines
608 B
Java
30 lines
608 B
Java
package net.surina.soundtouch;
|
|
|
|
/* loaded from: classes2.dex */
|
|
public final class SoundTouch {
|
|
long a;
|
|
|
|
static {
|
|
System.loadLibrary("soundtouch");
|
|
}
|
|
|
|
public SoundTouch() {
|
|
this.a = 0L;
|
|
this.a = newInstance();
|
|
}
|
|
|
|
private static final native long newInstance();
|
|
|
|
private final native int processFile(long j, String str, String str2);
|
|
|
|
private final native void setTempo(long j, float f);
|
|
|
|
public void a(float f) {
|
|
setTempo(this.a, f);
|
|
}
|
|
|
|
public int a(String str, String str2) {
|
|
return processFile(this.a, str, str2);
|
|
}
|
|
}
|