When you say "output cable", do you mean a USB cable? Unplugging an audio cable shouldn't stop a device working. It should be possible to continue using a disconnected device once it's reconnected, possibly by just calling BASS_Start, but if that doesn't work then calling BASS_Init again with the BASS_DEVICE_REINIT flag. Is even BASS_Init not working in your case? If so, please check the device list (with BASS_GetDeviceInfo) to see if the reconnected device has reappeared as a new entry.