TaylorSMarks / playsound

Pure Python, cross platform, single function module with no dependencies for playing sounds.
Other
504 stars 118 forks source link

fix: close at the start of playback, try to close when opening fails #138

Open userElaina opened 1 year ago

userElaina commented 1 year ago

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).