🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.multimedia
Article #458

Repeating sounds in Windows Media Player

#458
From: David Andrus
Date: Mon, 31 May 2004 19:34
17 lines
1690 bytes
I am designing a program that plays sound effects for a science
center, and I am having a little trouble getting Windows Media Player
to cooperate.  Basically all that the program does is tell Media
Player to play certain sounds based on what key the user presses. 
That portion of the program is working fine, now I"m just fine tuning
it.

My problem is that there are certain sound effects that need to repeat
for an indefinite amount of time.  I have gotten the sounds to repeat,
but when the user presses another sound key while a repeating sound is
playing (without first stopping playback) the program will seemingly
crash.  I have noticed, though, that if I click on the program window
and hold it for a few seconds, then release, that the new sound will
start playing properly.  Can anyone tell me why my program might be
doing this?  I can post the source code if needed.

Thanks
Technical Details
Message-ID: <2502fbb6.0405311134.280b7232@posting.google.com>
Path: arc1-ca.pugleaf.net!controlnews3.google.com!postnews1.google.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10d0fc,183e30e5e9f1dd8c,start
X-Google-Attributes: gid10d0fc,public
Path: arc1-ca.pugleaf.net!controlnews3.google.com!postnews1.google.com!not-for-mail
From: uvsc_wolverine@yahoo.com (David Andrus)
Newsgroups: borland.public.cppbuilder.multimedia
Subject: Repeating sounds in Windows Media Player
Date: 31 May 2004 12:34:51 -0700
Organization: http://groups.google.com
Lines: 17
Message-ID: <2502fbb6.0405311134.280b7232@posting.google.com>
NNTP-Posting-Host: 4.10.241.221
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1086032091 2983 127.0.0.1 (31 May 2004 19:34:51 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Mon, 31 May 2004 19:34:51 +0000 (UTC)