public uint GetActiveChannelCount() { VirtualDevice device = _registry.ActiveDevice; if (!_isUsbDeviceSupported && device.IsUsbDevice()) { device = _registry.DefaultDevice; } return(device.ChannelCount); }
public string GetActiveAudioDeviceName() { VirtualDevice device = _registry.ActiveDevice; if (!_isUsbDeviceSupported && device.IsUsbDevice()) { device = _registry.DefaultDevice; } return(device.Name); }