Remove the use of the native_data_t object.

This commit is contained in:
Reece H. Dunn
2015-10-07 21:23:58 +01:00
parent 66cfe9af2b
commit e6f6e97680
2 changed files with 9 additions and 51 deletions
@@ -83,11 +83,6 @@ public class SpeechSynthesis {
attemptInit();
}
@Override
protected void finalize() {
nativeDestroy();
}
public static String getVersion() {
return nativeGetVersion();
}
@@ -339,8 +334,6 @@ public class SpeechSynthesis {
private native final int nativeCreate(String path, int bufferSizeInMillis);
private native final boolean nativeDestroy();
private native final static String nativeGetVersion();
private native final String[] nativeGetAvailableVoices();