Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add audio pin? #52

Open
teoAlivanoglou opened this issue Jan 17, 2024 · 2 comments
Open

Add audio pin? #52

teoAlivanoglou opened this issue Jan 17, 2024 · 2 comments

Comments

@teoAlivanoglou
Copy link

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

@tshino
Copy link
Owner

tshino commented Jan 17, 2024

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.

@teoAlivanoglou
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants