S
S
sha-man2018-05-08 11:22:26
C++ / C#
sha-man, 2018-05-08 11:22:26

How to record sound from a microphone and speakers in one stream?

I wrote a DirectShow filter to capture the sound that is playing on the system.
Written using WASAPI Loopback.
I need to record this sound and the sound from the microphone in one stream.
How to bring two streams together in DirectShow?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
res2001, 2018-05-08
@res2001

I don’t know how it is in DirectShow, but theoretically it’s easy to add both streams element by element, at the same sampling rate. If the sampling rate is different, you need to reduce to one, and then add it anyway.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question