You've already forked android_translation_layer
mirror of
https://gitlab.com/android_translation_layer/android_translation_layer.git
synced 2025-10-27 11:48:10 -07:00
api-impl/android/media/AudioTrack: make this a stub again for now, it's kinda broken
This commit is contained in:
@@ -74,5 +74,9 @@ public class AudioTrack {
|
|||||||
System.out.println("calling release(), how did this not get reported before DIDREEEEEEEEEEEEEEEEEEEEEEEEE\n");
|
System.out.println("calling release(), how did this not get reported before DIDREEEEEEEEEEEEEEEEEEEEEEEEE\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public int getState() {
|
||||||
|
return 0; // TODO: fix up the native part and make this work properly
|
||||||
|
}
|
||||||
|
|
||||||
public native int write(byte[] audioData, int offsetInBytes, int sizeInBytes);
|
public native int write(byte[] audioData, int offsetInBytes, int sizeInBytes);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user