Reorganise test files, test jlibpipe in exec.sound
This commit is contained in:
@@ -18,13 +18,13 @@ package yaml;
|
||||
|
||||
import java.util.HashMap;
|
||||
|
||||
import lirc.Lirc;
|
||||
import base.work.Listen;
|
||||
|
||||
import com.github.boukefalos.lirc.LircButton;
|
||||
import com.github.boukefalos.lirc.implementation.Local;
|
||||
import com.github.boukefalos.lirc.util.SignalObject;
|
||||
public class TestParsing extends Listen<SignalObject<LircButton>> {
|
||||
|
||||
import base.work.ReflectiveListen;
|
||||
import lirc.Lirc;
|
||||
|
||||
public class TestParsing extends ReflectiveListen {
|
||||
public static void main(String[] args) {
|
||||
new TestParsing().start();
|
||||
}
|
||||
@@ -1,6 +1,8 @@
|
||||
dependencies {
|
||||
compile project(':core.worker')
|
||||
|
||||
compile 'com.github.boukefalos:jlibpipe:0.1'
|
||||
|
||||
compile 'commons-io:commons-io:2.+'
|
||||
compile 'commons-cli:commons-cli:1.+'
|
||||
compile 'commons-pool:commons-pool:1.+'
|
||||
|
||||
@@ -16,6 +16,8 @@
|
||||
*/
|
||||
package pipe;
|
||||
|
||||
import com.github.boukefalos.jlibloader.Native;
|
||||
|
||||
/**
|
||||
* @author Vikram S Khatri vikram.khatri@us.ibm.com
|
||||
*/
|
||||
@@ -26,7 +28,7 @@ public class Pipe {
|
||||
static final int PIPE_WAIT = 0x00000000;
|
||||
|
||||
static {
|
||||
System.loadLibrary("pipe");
|
||||
Native.load("com.github.boukefalos", "jlibpipe");
|
||||
}
|
||||
|
||||
public static final native int CreateNamedPipe(
|
||||
|
||||
@@ -95,8 +95,8 @@ public class TestPipe {
|
||||
|
||||
public static void main(String[] args) {
|
||||
String pipeName = "\\\\.\\pipe\\detest";
|
||||
String fileName = "txt/bla.txt";
|
||||
//fileName = "C:\\Users\\Rik\\Music\\Artists\\+44\\When Your Heart Stops Beating\\+44 - 155.mp3";
|
||||
String fileName = "txt/mp3";
|
||||
fileName = "C:\\Users\\Rik\\Music\\Artists\\+44\\When Your Heart Stops Beating\\+44 - 155.mp3";
|
||||
TestPipe testPipe = new TestPipe(pipeName, fileName);
|
||||
testPipe.runPipe();
|
||||
}
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
medium.mp3
|
||||
Reference in New Issue
Block a user