-
Notifications
You must be signed in to change notification settings - Fork 94
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
add support for device state (Enabled = true/false) #25
base: master
Are you sure you want to change the base?
Conversation
* add ShowDisabled parameter process * add ShowDisabled process to List parameter * change var name change comment
I'm considering scraping the -ShowDisabled feature in favor of showing all devices by default (enabled or not) as it is the default behavior in the classic Sound control panel. One thing to note is that assigning an Index to each disabled devices newly showing might change the Index of potentially already used devices. For this reason, I'm thinking of waiting for a future v4.0 release to add that feature so that the change in behavior comes only with a major release. |
As someone who has virtual audio devices as well as a sound card, capture card, and extraneous sound devices from the motherboard's integrated sound, that'd be rather messy. I think the most ideal behavior would be to have disabled devices hidden cosmetically and indexing the audio devices the same regardless. -ShowDisabled would just add the already indexed disabled devices to the command output instead of omitting them. |
Should be able to support
Get-AudioDevice -List -ShowDisabledShould also add new attribut Enabled (bool) to AudioDevice object