diff --git a/pom.xml b/pom.xml index 44ff786..bf78a26 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ de.maxhenkel.opus4j opus4j - 1.0.0-SNAPSHOT + 1.0.0-jna-4.4.0 Opus Wrapper for Java https://maxhenkel.de @@ -22,7 +22,7 @@ net.java.dev.jna jna - 5.6.0 + 4.4.0 diff --git a/src/main/java/de/maxhenkel/opus4j/Opus.java b/src/main/java/de/maxhenkel/opus4j/Opus.java index 9577336..402fa7d 100644 --- a/src/main/java/de/maxhenkel/opus4j/Opus.java +++ b/src/main/java/de/maxhenkel/opus4j/Opus.java @@ -13,7 +13,7 @@ public interface Opus extends Library { - Opus INSTANCE = Native.load(NativeLibrary.getInstance(LibraryLoader.getPath()).getFile().getAbsolutePath(), Opus.class); + Opus INSTANCE = Native.loadLibrary(NativeLibrary.getInstance(LibraryLoader.getPath()).getFile().getAbsolutePath(), Opus.class); public static final int OPUS_GET_LSB_DEPTH_REQUEST = 4037; public static final int OPUS_GET_APPLICATION_REQUEST = 4001;