Speaker: Removed grove dependency
* Renamed all files from grovespeaker to speaker
* Replaced all instances of grovespeaker with speaker
* Updated all CMake files
This commit is contained in:
committed by
Noel Eck
parent
c759932ee6
commit
982065a7b7
19
src/speaker/javaupm_speaker.i
Normal file
19
src/speaker/javaupm_speaker.i
Normal file
@@ -0,0 +1,19 @@
|
||||
%module javaupm_speaker
|
||||
%include "../upm.i"
|
||||
|
||||
%{
|
||||
#include "speaker.hpp"
|
||||
%}
|
||||
|
||||
%include "speaker.hpp"
|
||||
|
||||
%pragma(java) jniclasscode=%{
|
||||
static {
|
||||
try {
|
||||
System.loadLibrary("javaupm_speaker");
|
||||
} catch (UnsatisfiedLinkError e) {
|
||||
System.err.println("Native code library failed to load. \n" + e);
|
||||
System.exit(1);
|
||||
}
|
||||
}
|
||||
%}
|
||||
Reference in New Issue
Block a user