private void SetDefaultConfigs() { /*Set filter for anti aliasing*/ if (!bassServiceProxy.SetConfig(BASSConfig.BASS_CONFIG_MIXER_FILTER, 50)) { throw new BassAudioServiceException(bassServiceProxy.GetLastError()); } /*Set floating parameters to be passed*/ if (!bassServiceProxy.SetConfig(BASSConfig.BASS_CONFIG_FLOATDSP, true)) { throw new BassAudioServiceException(bassServiceProxy.GetLastError()); } }