Open frgnca opened 5 years ago
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.
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