playsound
playsound copied to clipboard
fix: close at the start of playback, try to close when opening fails
fix: close at the start of playback on Windows, block=False; fix: try to close when opening fails on Windows;
test.py
passed on my local system (Windows 10
, Python 3.9.13
and Python 2.7.18
).