public RemoteOutput() { _handle = GCHandle.Alloc(this); _waveDef = new SineWaveDef[2]; for (int i = 0; i < _waveDef.Length; i++) { _waveDef[i] = new SineWaveDef() { sampleRate = 44100.0, frequency = 440.0 * (i +1) }; } prepareAUGraph(); }
public RemoteOutput() { _handle = GCHandle.Alloc(this); _waveDef = new SineWaveDef[2]; for (int i = 0; i < _waveDef.Length; i++) { _waveDef[i] = new SineWaveDef() { sampleRate = 44100.0, frequency = 440.0 * (i + 1) }; } prepareAUGraph(); }