private void InitializeRecordingDevice() { const int DefaultDevice = -1; if (!bassServiceProxy.RecordInit(DefaultDevice)) { Trace.WriteLine( "No default recording device could be found on running machine. Recording is not supported: " + bassServiceProxy.GetLastError(), "Warning"); } }