Nick

Nick

  • NA
  • 2
  • 0

Playing one sound oni, no mixing

Sep 16 2007 9:25 PM

created a application which playing a wav file, while my application running, i dun wan sound from other application mix with my sound, is there any method i can use to achive this? prefer by using directsound but any method will do..

 

i tried to use primary buffer in directsound but it failed when i try to set the cooperative level to writeprimary with exception otherapphasprio.

any idea?

Thanks!