reindent/format
This commit is contained in:
parent
1e83aad48d
commit
53dfc0da74
|
@ -90,15 +90,9 @@ public class NetTest {
|
||||||
public static FloatBuffer spectrum;
|
public static FloatBuffer spectrum;
|
||||||
|
|
||||||
/** List of known urls (monkeyradio, di streams) */
|
/** List of known urls (monkeyradio, di streams) */
|
||||||
public static String[] urls = new String[] {
|
public static String[] urls = new String[] { "http://207.200.96.227:8038/", "http://205.188.234.65:8020",
|
||||||
"http://207.200.96.227:8038/",
|
"http://64.236.34.67:80/stream/1006", "http://64.236.34.67:80/stream/1003", "http://205.188.234.65:8026",
|
||||||
"http://205.188.234.65:8020",
|
"http://64.236.34.67:80/stream/2004", "http://64.236.34.67:80/stream/1019", "http://64.236.34.67:80/stream/2005"};
|
||||||
"http://64.236.34.67:80/stream/1006",
|
|
||||||
"http://64.236.34.67:80/stream/1003",
|
|
||||||
"http://205.188.234.65:8026",
|
|
||||||
"http://64.236.34.67:80/stream/2004",
|
|
||||||
"http://64.236.34.67:80/stream/1019",
|
|
||||||
"http://64.236.34.67:80/stream/2005"};
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Creates a new NetTest
|
* Creates a new NetTest
|
||||||
|
@ -141,6 +135,7 @@ public class NetTest {
|
||||||
|
|
||||||
// actual audi thread that starts playing
|
// actual audi thread that starts playing
|
||||||
fmodThread = new Thread() {
|
fmodThread = new Thread() {
|
||||||
|
|
||||||
public void run() {
|
public void run() {
|
||||||
// Open the url and prepare to play
|
// Open the url and prepare to play
|
||||||
// ============================================
|
// ============================================
|
||||||
|
@ -290,6 +285,7 @@ public class NetTest {
|
||||||
dialog.pack();
|
dialog.pack();
|
||||||
|
|
||||||
dialog.addWindowListener(new WindowAdapter() {
|
dialog.addWindowListener(new WindowAdapter() {
|
||||||
|
|
||||||
public void windowClosing(WindowEvent e) {
|
public void windowClosing(WindowEvent e) {
|
||||||
dialog.dispose();
|
dialog.dispose();
|
||||||
}
|
}
|
||||||
|
@ -353,6 +349,7 @@ public class NetTest {
|
||||||
// Add listeners
|
// Add listeners
|
||||||
// =====================================================
|
// =====================================================
|
||||||
frame.addWindowListener(new WindowAdapter() {
|
frame.addWindowListener(new WindowAdapter() {
|
||||||
|
|
||||||
public void windowClosing(WindowEvent e) {
|
public void windowClosing(WindowEvent e) {
|
||||||
frame.dispose();
|
frame.dispose();
|
||||||
netTest.dispose();
|
netTest.dispose();
|
||||||
|
@ -386,7 +383,6 @@ public class NetTest {
|
||||||
frame.setVisible(true);
|
frame.setVisible(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Simplish spectrum
|
* Simplish spectrum
|
||||||
* @author Brian Matzon <brian@matzon.dk>
|
* @author Brian Matzon <brian@matzon.dk>
|
||||||
|
|
Loading…
Reference in New Issue