Plays streamed PCM-format sounds.
Exemplo n.º 1
0
 private bool LoadSoundFile(string name)
 {
     try
     {
         ApplicationStreamedSound = new StreamedMp3Sound(ApplicationDevice, new Mp3Stream(name));
     }
     catch (SoundException)
     {
         return(false);
     }
     return(true);
 }
Exemplo n.º 2
0
 private bool LoadSoundFile(string name)
 {
     try
     {
         ApplicationStreamedSound = new StreamedMp3Sound(ApplicationDevice, new Mp3Stream(name));
     }
     catch(SoundException)
     {
         return false;
     }
     return true;
 }