public APU() { this.audioBuffer = new AudioBuffer(); NESWaveProvider nesWaveProvider = new NESWaveProvider(audioBuffer); waveOut = new WaveOut(); waveOut.Init(nesWaveProvider); }