Initial commit
This commit is contained in:
29
sources/net/surina/soundtouch/SoundTouch.java
Normal file
29
sources/net/surina/soundtouch/SoundTouch.java
Normal file
@@ -0,0 +1,29 @@
|
||||
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);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user