Reorganise test files, test jlibpipe in exec.sound

This commit is contained in:
2016-07-14 08:53:26 +01:00
parent 717f79bcf6
commit 3040708f80
10 changed files with 7 additions and 4 deletions

View File

@@ -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.+'

View File

@@ -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(

View File

@@ -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();
}

View File

@@ -1 +0,0 @@
medium.mp3