async. winsound .PlaySound question....

andrew andrew at mail.idrive.com
Fri Oct 19 21:29:49 EDT 2001


i cannot seem to get my system to run more than one winsound.PlaySound
asyncronously ... I think I am using the right flags ... here is my
code snippet:


winsound.PlaySound(filePath1, winsound.SND_FILENAME |
winsound.SND_ASYNC | winsound.SND_NOSTOP)

winsound.PlaySound(filePath2,  winsound.SND_FILENAME |
winsound.SND_ASYNC | winsound.SND_NOSTOP)


on the second attempt to play a sound, i get a RunTimeError.  i am on
a win2k system with a full-duplex enabled sound driver.  Python 2.1.

any ideas?

thanks in advance



More information about the Python-list mailing list