Closed frgnca closed 2 years ago
Any chance of this getting merged into master and rebuilt for download? I really need this feature and am having trouble building this branch from source.
This is exactly what I need, would be very nice if it could be merged and rebuilt since I'm having trouble building this as well.
@stjiub @ImTheRedDevil I've managed to build it by adding the following in Project > Reference > Browse button at bottom:
C:\Program Files (x86)\Reference Assemblies\Microsoft\WindowsPowerShell\3.0\System.Management.Automation.dll
If you are having difficulty with Uninstall-Module
or Remove-Module
to remove a previous version, open up a cmd
shell (not powershell) and run:
powershell -NoProfile -Command "& {Get-Module -ListAvailable -Name 'AudioDeviceCmdlets' | Remove-Module -Force -Verbose}"
I had trouble removing the module when installed using the README, since it is auto-loading. Hence, using cmd without a profile prevents the auto-load and it gets removed.
HTH
@cdhunt Can we get this merged into master? Would love to see this in the latest build.
There seems to be a bug in this code:
WriteObject(new AudioDevice(i + 1, DeviceCollection[i], true));
If I understand this correctly, the true
boolean will flag it to be the default playback/recording device.
The logical choice for me would be to extend the AudioDevice class to have both a Default and DefaultCommunication boolean, or a enum for defaults.
I recommend changing 'Windows PowerShell' to 'PowerShell on Windows'. Ever since they dropped the 'Core' suffix from PowerShell 6+, they've been saying 'Windows PowerShell' to refer to PowerShell 5.1 specifically.
I recommend changing 'Windows PowerShell' to 'PowerShell on Windows'. Ever since they dropped the 'Core' suffix from PowerShell 6+, they've been saying 'Windows PowerShell' to refer to PowerShell 5.1 specifically.
Thank you @ImportTaste I did not know that. I'll try to read up a bit more on this.
Should be able to support
TODO:
DONE: