tshino/softcam

Add audio pin?

Closed this issue · 3 comments

Any plans to support audio? If not, any hints on where I should get started to try to implement it myself?

No plans.
As far as I know, audio and video are entirely separate concepts in DirectShow.
That means making a virtual audio input device (virtual microphone) might require something like developing an audio version of Softcam from scratch.

According to Microsoft documentation, it seems a CSource can contain multiple streams:

The CSource class is a base class for implementing source filters. A filter derived from CSource contains one or more output pins derived from the CSourceStream class. Each output pin creates a worker thread that pushes media samples downstream.

Now, I might be completely misunderstanding how the whole thing works. I won't lie, I dislike the whole windows API.

I thought this issue has been finished. However your comment might be useful information for someone else, so I decided to convert this issue to a discussion thread.