Skip to content

duplex mode support loopback #677

Answered by mackron
zhaokaixs asked this question in Q&A
Discussion options

You must be logged in to vote

No, you would need to initialize two ma_device objects - one for the loopback, and one for the microphone. You'll need to do the mixing yourself. Keep in mind that the data callbacks for each of the devices will be running on their own thread so you'll need to do your own synchronization and memory management when you do your mixing.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@zhaokaixs
Comment options

Answer selected by zhaokaixs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #676 on May 25, 2023 07:00.