mirror of
https://github.com/jokerx3/HeatUp
synced 2026-07-27 07:39:45 +02:00
deleted changes
This commit is contained in:
@@ -4,6 +4,6 @@ public class Main {
|
||||
|
||||
public static void main(String[] args) {
|
||||
//new WavePlayer("<filetpath>").start();
|
||||
new WavePlayer("audiosample.wav").start();
|
||||
//new WavePlayer("audiosample.wav").start();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,14 +0,0 @@
|
||||
package de.heatup.audio;
|
||||
|
||||
public class Play {
|
||||
|
||||
/**
|
||||
* Praktisch wäre eine bindung von GameObject mit einem Sound
|
||||
* dann könnte der entsprechende Sound einfach über das Object gespielt werden ohne jedesmal
|
||||
* einen bestimmten pfand angeben zu müssen ?
|
||||
* */
|
||||
public void Play(String filename) {
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
@@ -51,7 +51,7 @@ public class WavePlayer extends Thread {
|
||||
AudioInputStream audioInputStream = null;
|
||||
try {
|
||||
//audioInputStream = AudioSystem.getAudioInputStream(soundFile);
|
||||
String path = "de/heatup/resources/audio/" + filename;
|
||||
String path = "/resources/audio/" + filename;
|
||||
File f = new File(path);
|
||||
if(!f.exists()) {
|
||||
System.err.println("File not found: " + path);
|
||||
|
||||
Reference in New Issue
Block a user