Stopping a sound loop without the default sound

  • From: "tuukka Ojala" <tuukka.ojala@xxxxxxxxx>
  • To: <programmingblind@xxxxxxxxxxxxx>
  • Date: Thu, 18 Jun 2009 00:07:48 +0300

Hi

I'm coding a program which plays a sound loop in the background. In order to ackomplish this i've used the standard win multimedia api function PlaySound with SND_ASYNC, SND_FILENAME and SND_LOOP constants. However now when I try to stop the loop, it plays the windows default "ding" sound, just as it should because I haven't passed the SND_NOLOOP constant. however now when I try to do so, the loop won't stop.

Any clues?

Tuukka
__________
View the list's information and change your settings at //www.freelists.org/list/programmingblind

Other related posts:

  • » Stopping a sound loop without the default sound - tuukka Ojala