Skip to content

Commit

Permalink
Fixed auto loading of native library
Browse files Browse the repository at this point in the history
  • Loading branch information
ex3ndr committed Sep 30, 2014
1 parent 270ed45 commit bf8df32
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 2 additions & 2 deletions opus/build.gradle
Expand Up @@ -11,7 +11,7 @@ apply plugin: 'maven'
apply plugin: 'signing'

group = 'com.droidkit'
version = '1.1'
version = '1.1.1'

repositories {
mavenCentral()
Expand All @@ -25,7 +25,7 @@ android {
minSdkVersion 8
targetSdkVersion 19
versionCode 1
versionName "1.1"
versionName "1.1.1"

ndk {
moduleName "opus"
Expand Down
5 changes: 5 additions & 0 deletions opus/src/main/java/com/droidkit/opus/OpusLib.java
Expand Up @@ -6,6 +6,11 @@
* OpusLib native binding
*/
public class OpusLib {

static {
System.loadLibrary("opus");
}

/**
* Starting opus recording
*
Expand Down

0 comments on commit bf8df32

Please sign in to comment.