Move test files
This commit is contained in:
@@ -6,9 +6,36 @@ subprojects {
|
|||||||
apply plugin: 'maven'
|
apply plugin: 'maven'
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
mavenCentral()
|
maven {
|
||||||
}
|
url 'https://github.com/Boukefalos/mimis/raw/mvn-repo/'
|
||||||
|
}
|
||||||
dependencies {
|
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()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,40 +6,6 @@ task wrapper(type: Wrapper) {
|
|||||||
gradleVersion = '2.2'
|
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 {
|
dependencies {
|
||||||
compile project(':base')
|
compile project(':base')
|
||||||
|
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
include 'base', 'mimis', 'test'
|
include 'base', 'mimis', 'test', 'sound'
|
||||||
@@ -19,8 +19,8 @@ public class Test {
|
|||||||
AudioFormat audioFormat = new AudioFormat(AudioFormat.Encoding.PCM_SIGNED, 48000f, 16, 2, 4, 48000f, true);
|
AudioFormat audioFormat = new AudioFormat(AudioFormat.Encoding.PCM_SIGNED, 48000f, 16, 2, 4, 48000f, true);
|
||||||
try {
|
try {
|
||||||
//Producer p1 = new Target("Line-In (Creative SB X-Fi)");
|
//Producer p1 = new Target("Line-In (Creative SB X-Fi)");
|
||||||
Producer p2 = new Target("Line 1 (Virtual Audio Cable)", audioFormat);
|
//Producer p2 = new Target("Line 1 (Virtual Audio Cable)", audioFormat);
|
||||||
p2.start();
|
//p2.start();
|
||||||
Producer p3 = new Stream("http://ics2gss.omroep.nl:80/3fm-bb-mp3");
|
Producer p3 = new Stream("http://ics2gss.omroep.nl:80/3fm-bb-mp3");
|
||||||
Producer p4 = new Stream("http://sc7.mystreamserver.com:8004");
|
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.write(p3.getInputStream(), new File("stream.out"));
|
||||||
//Utils.play(p3.getInputStream());
|
//Utils.play(p3.getInputStream());
|
||||||
c3.start(p3);
|
c4.start(p3);
|
||||||
|
|
||||||
//while (true) {
|
//while (true) {
|
||||||
//Thread.sleep(300000);
|
//Thread.sleep(300000);
|
||||||
|
|||||||
@@ -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'
|
||||||
}
|
}
|
||||||
@@ -6,5 +6,6 @@ public class TestiTunes {
|
|||||||
public static void main(String[] args) {
|
public static void main(String[] args) {
|
||||||
iTunes iTunes = new iTunes();
|
iTunes iTunes = new iTunes();
|
||||||
iTunes.connect();
|
iTunes.connect();
|
||||||
|
iTunes.playPause();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
package mimis.util;
|
package util;
|
||||||
|
|
||||||
public class BufferedSound {
|
public class BufferedSound {
|
||||||
private byte[][] soundData;
|
private byte[][] soundData;
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
package mimis.util;
|
package util;
|
||||||
|
|
||||||
import java.awt.Color;
|
import java.awt.Color;
|
||||||
import java.awt.Graphics2D;
|
import java.awt.Graphics2D;
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
package mimis.util;
|
package util;
|
||||||
|
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
Reference in New Issue
Block a user