I am capturing the desktop using VLC and DirectShow an I need to find the main speakers audio device in order to capture all the sound from the desktop, can this be done programmaticly ?
I am using C# in windows XP and 7
You need to pass VLC option "--dshow-adev="<audio device name>" in your libVLC coding. You can use VLC GUI capture device tab to find the name of your preferred audio device first and use the name in your coding. See VLC command line help
– ecle
1 Answers
3
votes
You actually cannot capture data from speakers. The real options are:
audio capture from real audio input device, such as microphone
audio capture from loop back device (provided that it is enabled)
Note that loopback capture is different in Vista+ and older systems, also previously discussed here:
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.OkRead more
"--dshow-adev="<audio device name>"
in your libVLC coding. You can use VLC GUI capture device tab to find the name of your preferred audio device first and use the name in your coding. See VLC command line help – ecle