private void DeviceMnu_Click(object sender, RoutedEventArgs e)
        {
            if (sender is MenuItem mnu)
            {
                if (mnu.DataContext is DeviceFullInfo device)
                {
                    if (device == null || device.State != EDeviceState.Active)
                    {
                        return;
                    }

                    SoundDeviceManager.SetActiveDevice(device.ID, device.DeviceType);
                }
            }
        }
        private void SetActiveDevice(DeviceFullInfo device)
        {
            try
            {
                if (device == null || device.State != EDeviceState.Active)
                {
                    return;
                }

                SoundDeviceManager.SetActiveDevice(device.ID, device.DeviceType);

                SetActiveDeviceToBold(device.Device);
            }
            catch (Exception err)
            {
                MessageBox.Show(err.Message);
            }
        }