kopia lustrzana https://github.com/jameshball/osci-render
Create skeleton class for JavaAudioEngine
rodzic
f5c6cabd02
commit
3eed4b26ce
|
@ -0,0 +1,34 @@
|
||||||
|
package sh.ball.audio.engine;
|
||||||
|
|
||||||
|
import sh.ball.shapes.Vector2;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
import java.util.concurrent.Callable;
|
||||||
|
|
||||||
|
public class JavaAudioEngine implements AudioEngine {
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean isPlaying() {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void play(Callable<Vector2> channelGenerator, AudioDevice device) throws Exception {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void stop() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public List<AudioDevice> devices() {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public AudioDevice getDefaultDevice() {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
}
|
Ładowanie…
Reference in New Issue