Move test files

This commit is contained in:
2014-12-15 22:03:46 +00:00
parent fef152887b
commit f41b6903b4
14 changed files with 50 additions and 47 deletions

View File

@@ -6,9 +6,36 @@ subprojects {
apply plugin: 'maven'
repositories {
mavenCentral()
}
dependencies {
maven {
url 'https://github.com/Boukefalos/mimis/raw/mvn-repo/'
}
maven {
url 'https://github.com/Boukefalos/wiigee/raw/mvn-repo/'
}
maven {
url 'https://github.com/Boukefalos/jlibcom/raw/mvn-repo/'
}
maven {
url 'https://github.com/Boukefalos/jlibitunes/raw/mvn-repo/'
}
maven {
url 'https://github.com/Boukefalos/jlibloader/raw/mvn-repo/'
}
maven {
url 'https://github.com/Boukefalos/jlibwiiuse/raw/mvn-repo/'
}
maven {
url 'https://github.com/Boukefalos/jlibwiigee/raw/mvn-repo/'
}
maven {
url 'https://github.com/Boukefalos/libwiiuse/raw/mvn-repo/'
}
maven {
url 'https://github.com/Boukefalos/jlibintellitype/raw/mvn-repo/'
}
maven {
url 'https://github.com/Boukefalos/jlibxinput/raw/mvn-repo/'
}
mavenCentral()
}
}

View File

@@ -6,40 +6,6 @@ task wrapper(type: Wrapper) {
gradleVersion = '2.2'
}
repositories {
maven {
url 'https://github.com/Boukefalos/mimis/raw/mvn-repo/'
}
maven {
url 'https://github.com/Boukefalos/wiigee/raw/mvn-repo/'
}
maven {
url 'https://github.com/Boukefalos/jlibcom/raw/mvn-repo/'
}
maven {
url 'https://github.com/Boukefalos/jlibitunes/raw/mvn-repo/'
}
maven {
url 'https://github.com/Boukefalos/jlibloader/raw/mvn-repo/'
}
maven {
url 'https://github.com/Boukefalos/jlibwiiuse/raw/mvn-repo/'
}
maven {
url 'https://github.com/Boukefalos/jlibwiigee/raw/mvn-repo/'
}
maven {
url 'https://github.com/Boukefalos/libwiiuse/raw/mvn-repo/'
}
maven {
url 'https://github.com/Boukefalos/jlibintellitype/raw/mvn-repo/'
}
maven {
url 'https://github.com/Boukefalos/jlibxinput/raw/mvn-repo/'
}
mavenCentral()
}
dependencies {
compile project(':base')

View File

@@ -1 +1 @@
include 'base', 'mimis', 'test'
include 'base', 'mimis', 'test', 'sound'

View File

@@ -19,8 +19,8 @@ public class Test {
AudioFormat audioFormat = new AudioFormat(AudioFormat.Encoding.PCM_SIGNED, 48000f, 16, 2, 4, 48000f, true);
try {
//Producer p1 = new Target("Line-In (Creative SB X-Fi)");
Producer p2 = new Target("Line 1 (Virtual Audio Cable)", audioFormat);
p2.start();
//Producer p2 = new Target("Line 1 (Virtual Audio Cable)", audioFormat);
//p2.start();
Producer p3 = new Stream("http://ics2gss.omroep.nl:80/3fm-bb-mp3");
Producer p4 = new Stream("http://sc7.mystreamserver.com:8004");
@@ -32,7 +32,7 @@ public class Test {
//Utils.write(p3.getInputStream(), new File("stream.out"));
//Utils.play(p3.getInputStream());
c3.start(p3);
c4.start(p3);
//while (true) {
//Thread.sleep(300000);

View File

@@ -1,3 +1,12 @@
dependencies {
apply plugin: 'java'
apply plugin: 'eclipse'
dependencies {
compile project(':mimis')
compile 'com.github.boukefalos:jlibmimis:0.1'
compile 'com.github.boukefalos:jlibitunes:0.3'
compile 'com.github.boukefalos:jlibwiiuse:0.12'
compile 'com.github.boukefalos:jlibintellitype:1.3.9'
compile 'com.github.boukefalos:jlibxinput:1.0'
}

View File

@@ -6,5 +6,6 @@ public class TestiTunes {
public static void main(String[] args) {
iTunes iTunes = new iTunes();
iTunes.connect();
iTunes.playPause();
}
}
}

View File

@@ -1,4 +1,4 @@
package mimis.util;
package util;
public class BufferedSound {
private byte[][] soundData;

View File

@@ -1,4 +1,4 @@
package mimis.util;
package util;
import java.awt.Color;
import java.awt.Graphics2D;

View File

@@ -1,4 +1,4 @@
package mimis.util;
package util;
import java.io.File;
import java.io.IOException;