Browse Source

quieter() in UsbPlayer implemented

feature-dev-rp_prev
sahar 3 years ago
parent
commit
32ae4d585e
  1. 6
      src/main/java/device/UsbPlayer.java

6
src/main/java/device/UsbPlayer.java

@ -25,7 +25,11 @@ public class UsbPlayer implements Device {
@Override @Override
public void quieter() { public void quieter() {
if(Lautstaerke > 0) {
Lautstaerke -= 1;
} else {
Lautstaerke = 0;
}
} }
@Override @Override

Loading…
Cancel
Save