🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.multimedia
1 messages
1 total messages Started by David Andrus Mon, 31 May 2004 19:34
Repeating sounds in Windows Media Player
#458
Author: 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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads