[issue4741] winsound.SND_PURGE has no effect
Georg Brandl ge...@python.org 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 rep...@bugs.python.org http://bugs.python.org/issue4741 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4741] winsound.SND_PURGE has no effect
New submission from Ultrasick pyt...@ontheserver.de: 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 effect on my computer. My system: Windows 2000, service pack: 4 Python 2.6.something -- components: Extension Modules files: test.py messages: 78270 nosy: Ultrasick severity: normal status: open title: winsound.SND_PURGE has no effect type: behavior versions: Python 2.6 Added file: http://bugs.python.org/file12443/test.py ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4741 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4741] winsound.SND_PURGE has no effect
Ultrasick pyt...@ontheserver.de added the comment: added a test sound Added file: http://bugs.python.org/file12444/sound.wav ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4741 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4741] winsound.SND_PURGE has no effect
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp 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-209162.html They also think SND_PURGE doesn't work on Win2000. And MSDN says SND_PURGE is not supported. (http://msdn.microsoft.com/en- us/library/ms712879.aspx) -- nosy: +ocean-city ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4741 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com