DetectSpeakers.exe, Version 1.00 Check if speakers or headphones are connected Usage: DetectSpeakers.exe Notes: Return code ("errorlevel") equals the number of active audio output devices detected, or -1 in case of errors. This program uses NAudio by Mark Heath et al. NAudio files required (in this program's parent folder) are NAudio.Core.dll, NAudio.Wasapi.dll, NAudio.WinForms.dll and NAudio.WinMM.dll, all included in this program's ZIP file. Consider this program experimental: it had only limited testing, due mainly to my computer's limited audio hardware. Credits: NAudio library for .NET by Mark Heath et al https://github.com/naudio/NAudio Written by Rob van der Woude https://www.robvanderwoude.com