Skip to content

Commit

Permalink
Use older jna version
Browse files Browse the repository at this point in the history
  • Loading branch information
henkelmax committed Mar 16, 2021
1 parent 13c5088 commit 8c8b236
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>de.maxhenkel.opus4j</groupId>
<artifactId>opus4j</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>1.0.0-jna-4.4.0</version>

<name>Opus Wrapper for Java</name>
<url>https://maxhenkel.de</url>
Expand All @@ -22,7 +22,7 @@
<dependency>
<groupId>net.java.dev.jna</groupId>
<artifactId>jna</artifactId>
<version>5.6.0</version>
<version>4.4.0</version>
</dependency>
</dependencies>

Expand Down
2 changes: 1 addition & 1 deletion src/main/java/de/maxhenkel/opus4j/Opus.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 8c8b236

Please sign in to comment.