fix binary name
This commit is contained in:
@@ -31,7 +31,7 @@ def play_audio(file_path: str, loop: bool = False) -> Callable[[], None]:
|
|||||||
if loop:
|
if loop:
|
||||||
# Use sox's play command with repeat for looping wav files
|
# Use sox's play command with repeat for looping wav files
|
||||||
process = subprocess.Popen(
|
process = subprocess.Popen(
|
||||||
["play", file_path, "repeat", "-"],
|
["aplay", file_path, "repeat", "-"],
|
||||||
stdout=subprocess.DEVNULL,
|
stdout=subprocess.DEVNULL,
|
||||||
stderr=subprocess.DEVNULL
|
stderr=subprocess.DEVNULL
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user