Move files in anticipation of move to modular system
This commit is contained in:
19
src/main/java/test/lines/TargetLine.java
Normal file
19
src/main/java/test/lines/TargetLine.java
Normal file
@@ -0,0 +1,19 @@
|
||||
package test.lines;
|
||||
|
||||
import javax.sound.sampled.Mixer;
|
||||
import javax.sound.sampled.TargetDataLine;
|
||||
|
||||
public class TargetLine {
|
||||
//private Mixer mixer;
|
||||
private TargetDataLine line;
|
||||
|
||||
public TargetLine(Mixer mixer, TargetDataLine line) {
|
||||
//this.mixer = mixer;
|
||||
this.line = line;
|
||||
System.out.println("TARGET " + mixer.getMixerInfo().getName() + " || " + line.getLineInfo());
|
||||
}
|
||||
|
||||
public int read(byte[] bytes, int offset, int length) {
|
||||
return line.read(bytes, offset, length);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user