Add debug print statement for audio playback in play_audio function
This commit is contained in:
@@ -26,6 +26,7 @@ def play_audio(file_path: str, loop: bool = False) -> Callable[[], None]:
|
||||
Returns:
|
||||
A callable that stops the audio playback when invoked.
|
||||
"""
|
||||
print(f"Playing audio: {file_path} (loop={loop})")
|
||||
if file_path.endswith(".wav"):
|
||||
if loop:
|
||||
# Use sox's play command with repeat for looping wav files
|
||||
|
||||
Reference in New Issue
Block a user