[issue4741] winsound.SND_PURGE has no effect

2008-12-26 Thread Georg Brandl
Georg Brandl added the comment: In any case, this is not an issue in Python as PlaySound is only a thin wrapper around the OS' function. -- nosy: +georg.brandl resolution: -> wont fix status: open -> closed ___ Python tracker

[issue4741] winsound.SND_PURGE has no effect

2008-12-24 Thread Hirokazu Yamamoto
Hirokazu Yamamoto added the comment: You should specify winsound.SND_ASYNC in first PlaySound. By default, PlaySound won't return until completing to play wav file. winsound.SND_PURGE doesn't work for me. I'm also using Win2000SP4, and I found http://www.vbforums.com/archive/index.php/t-20916

[issue4741] winsound.SND_PURGE has no effect

2008-12-24 Thread Ultrasick
Ultrasick added the comment: added a test sound Added file: http://bugs.python.org/file12444/sound.wav ___ Python tracker ___ ___ Python-bugs-

[issue4741] winsound.SND_PURGE has no effect

2008-12-24 Thread Ultrasick
New submission from Ultrasick : I added a .py file to demonstrate the problem. I tryed 2 ways to stop the sound from beeing played. The first way "winsound.PlaySound(path[0] + '/sound.wav', winsound.SND_PURGE)" should already stop it but instead it starts the playback again. The second has no eff