void IProcessorConfig.Init() { faustApi = new FaustApi(); int bufferSize; int noOfBuffers; AudioSettings.GetDSPBufferSize(out bufferSize, out noOfBuffers); faustApi.Init(2, bufferSize, AudioSettings.outputSampleRate); faustProcessor = new FaustProcessor(); faustProcessor.SetFaustApi(faustApi); }
public void SetFaustApi(FaustApi faustApi) { this.faustApi = faustApi; }