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