示例#1
0
 public APU()
 {
     this.audioBuffer = new AudioBuffer();
     NESWaveProvider nesWaveProvider = new NESWaveProvider(audioBuffer);
     waveOut = new WaveOut();
     waveOut.Init(nesWaveProvider);
 }
示例#2
0
 public NESWaveProvider(AudioBuffer audioBuffer)
     : this(48000, 1)
 {
     this.audioBuffer = audioBuffer;
 }
示例#3
0
 public NESWaveProvider(AudioBuffer audioBuffer)
     : this(48000, 1)
 {
     this.audioBuffer = audioBuffer;
 }