some fixes

This commit is contained in:
Mihály Kuprivecz
2017-05-15 10:40:12 +02:00
parent 0546223bba
commit fe1e45bd69
5 changed files with 30 additions and 9 deletions

View File

@@ -31,6 +31,29 @@ import javax.sound.sampled.AudioInputStream;
*
*/
public class PlayMessage {
AudioInputStream stream;
float volume;
private AudioInputStream stream;
private float volume;
public PlayMessage(AudioInputStream stream, float volume) {
setStream(stream);
setVolume(volume);
}
public AudioInputStream getStream() {
return stream;
}
private void setStream(AudioInputStream stream) {
this.stream = stream;
}
public float getVolume() {
return volume;
}
public void setVolume(float volume) {
this.volume = volume;
}
}