public bool Unlock() { BassWasapi.CurrentDevice = DeviceIndex; return(BassWasapi.Lock(false)); }
public bool Lock() { BassWasapi.CurrentDevice = DeviceIndex; return(BassWasapi.Lock(true)); }