Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When switching the Systray Icon to Recording mode #533

Closed
fatrolls opened this issue Jan 7, 2021 · 1 comment
Closed

When switching the Systray Icon to Recording mode #533

fatrolls opened this issue Jan 7, 2021 · 1 comment
Labels
Bug-Crash Issues which are related to a crash Confirmed Confirmed issues Invalid-Duplicate Issues which are a duplicate of a existing one

Comments

@fatrolls
Copy link

fatrolls commented Jan 7, 2021

What were you doing when it crashed ?
When switching the Systray Icon to Recording mode

To Reproduce
Steps to reproduce the behavior:

  1. Go to Settings
  2. Click on SystrayIcon dropdown combobox
  3. Scroll down to Recording
  4. See error
[15:51:41.259 FTL] Exception Occurred  (at SoundSwitch.Program.HandleException)
System.Runtime.InteropServices.COMException (0x80070490): Element not found. (0x80070490)
   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32 errorCode)
   at NAudio.CoreAudioApi.MMDeviceEnumerator.GetDefaultAudioEndpoint(DataFlow dataFlow, Role role)
   at SoundSwitch.Framework.TrayIcon.Icon.Changer.RecordingIconChanger.ChangeIcon(TrayIcon trayIcon) in C:\Users\Antoine\source\repos\SoundSwitch\SoundSwitch\Framework\TrayIcon\Icon\Changer\RecordingIconChanger.cs:line 20
   at SoundSwitch.UI.Forms.SettingsForm.iconChangeChoicesComboBox_SelectedIndexChanged(Object sender, EventArgs e) in C:\Users\Antoine\source\repos\SoundSwitch\SoundSwitch\UI\Forms\Settings.cs:line 693
   at System.Windows.Forms.ComboBox.OnSelectedIndexChanged(EventArgs e)
   at System.Windows.Forms.ComboBox.WmReflectCommand(Message& m)
   at System.Windows.Forms.ComboBox.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, WM msg, IntPtr wparam, IntPtr lparam)

But it does't actually crash the program maybe a silent Try/Catch Exception will solve this problem.. I think it's because I don't have a recording mic or something. hooked up to my computer

ZIP
SoundSwitch-crashlog-7_1_2021.zip

@fatrolls fatrolls added the Bug-Crash Issues which are related to a crash label Jan 7, 2021
@Belphemur Belphemur added Confirmed Confirmed issues Invalid-Duplicate Issues which are a duplicate of a existing one labels Jan 9, 2021
@Belphemur
Copy link
Owner

Hello,

Thanks for the report, duplicate of #530 (even if this one is actually a more detailed report).

Will be fixed in next version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug-Crash Issues which are related to a crash Confirmed Confirmed issues Invalid-Duplicate Issues which are a duplicate of a existing one
Projects
None yet
Development

No branches or pull requests

2 participants