forjoe.blogg.se

Windows 10 no speakers or headphones plugged in
Windows 10 no speakers or headphones plugged in





windows 10 no speakers or headphones plugged in

Var endpoints = enumerator.EnumerateAudioEndPoints(ĭeviceState.Unplugged | DeviceState.Active) Ĭonsole. Allows you to enumerate rendering devices in certain states

windows 10 no speakers or headphones plugged in

I was thinking maybe I accidentally unplugged something while I was cleaning my PC. When I right click the icon, it says 'speaker setup (UNKNOWN)' if I click that it says 'off'. My speakers were plugged in and it said there wasn't any speakers or headphones plugged in. You should be able to enumerate the audio devices with their plugged/unplugged states as follows: var enumerator = new () Once turning it on, I noticed there was a red X on the sound icon. Take a look at the NAudio NuGet package: Install-Package NAudio I wouldn't recommend using the COM+ API yourself.







Windows 10 no speakers or headphones plugged in