Python + winsound - check whether an audio file is being played
问题 Is there a way to check whether an audio file is being played using winsound? The idea is that music is played in the background while the user can input data via the terminal. In order to achieve this I decided to use SND_ASYNC. The thing is though, once the file is finished playing I want it to play another audio file but I have no means of checking when the audio file is actually done playing. I suppose I could check how long the audio file is and play a different song based on that but I