Merge remote-tracking branch 'origin/AudioDisplay' into AudioDisplay

This commit is contained in:
lieght
2025-10-16 00:57:01 +02:00
14 changed files with 156 additions and 39 deletions

View File

@@ -18,6 +18,7 @@ public class AudioEvents extends EventsBase {
/** Start background music. */
public record StartBackgroundMusic() implements GenericEvent {}
/** Gives back the name of the song, the position its currently at (in seconds) and how long it takes (in seconds) */
public record PlayingMusic(String name, long currentPosition, long duration) implements GenericEvent {}
/** Change volume, choose type with {@link VolumeControl}. */