diff --git a/src/audio.py b/src/audio.py index 7bbbb58..0432df9 100644 --- a/src/audio.py +++ b/src/audio.py @@ -31,7 +31,7 @@ def play_audio(file_path: str, loop: bool = False) -> Callable[[], None]: if loop: # Use sox's play command with repeat for looping wav files process = subprocess.Popen( - ["play", file_path, "repeat", "-"], + ["aplay", file_path, "repeat", "-"], stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL )