Utils.PlaySound around play (1 Viewer)

Michael.K

Portal Member
February 14, 2012
25
0
Home Country
Ukraine Ukraine
Hello. I need play sound around. So i do next:
Code:
  Utils.PlaySound("incoming_call.wav", false, false, true, true, true);
But if i select some button or else control which also play sound then "incoming_call.wav" stop.How can I control this procedure to stop the sound when I want, and notthen when click or dressed.
in descrioption of PlaySound in winmm.dll sead that the sound can be stopped when the pass instead of a filename zero, but in your code i faund stub:

Code:
if (sSoundFile == null) return 0;
 
      if (sSoundFile.Length == 0) return 0;
what should I do to stop sound at myself?
 

Users who are viewing this thread

Top Bottom