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