示例#1
0
 public SoundService()
 {
     audioSession = new XAudioSession();
     audioChannel = audioSession.AddChannel(AudioEncodingProperties.CreatePcm(22050, 2, 16));
     LoadSounds();
 }
示例#2
0
 public SoundService()
 {
     audioSession = new XAudioSession();
     audioChannel = audioSession.AddChannel(AudioEncodingProperties.CreatePcm(22050, 2, 16));
     LoadSounds();
 }