lextrack / Simple-Screen-Recorder

Simple and easy-to-use screen recorder for Windows. With a built-in file merge tool.
GNU General Public License v3.0
132 stars 20 forks source link

NAudio.MmException: BadDeviceId calling waveInOpen #13

Closed rhaley-starfish closed 9 months ago

rhaley-starfish commented 1 year ago

Hi,

I get a "NAudio.MmException: BadDeviceId calling waveInOpen" error if the "audio recording method" includes a microphone option and no microphone is connected. The recording works fine if I select "System audio only".

I tried going back to 1.20 and the error is still present.

lextrack commented 9 months ago

The bug was fixed. This used to happen when you launch the app with no mic connected to your PC. Now the user will get an error message and the speaker audio will be recorded instead. Screenshot 2024-01-01 222022