diff --git a/src/audio.py b/src/audio.py index 0432df9..a3e284f 100644 --- a/src/audio.py +++ b/src/audio.py @@ -4,7 +4,6 @@ from typing import Callable class AudioPlayer: def __init__(self, file_path: str, loop: bool = False): self.current_stop_function: Callable[[], None] | None = None - self.play(file_path, loop) def play(self, file_path: str, loop: bool = False): """Play the specified audio file, stopping any currently playing audio.""" self.stop() # Stop any currently playing audio