How to control VMWare's virtual machines' audio in c#?

63 Views Asked by At

When I used "vmrun list" to get the running virtual machines in vmware workstation, I got the path

Total running VMs: 2
Absolute-path-to-virtual-machine1.vmx
Absolute-path-to-virtual-machine2.vmx

When I Check my application's volume settings, I saw two "VMware Workstation VMX" settings and "vmware-vmx.exe" process as images Volume Settings Task Manager Processes

I want to control these vm's volume using c# and AudioSwitcher.AudioApi.CoreAudio in my host, but I cannot get the process id of each virtual machine by "vmrun list" command, so I cannot get the correct IAudioSession object in c# to control them

0

There are 0 best solutions below