How to read simultaneously from two ALSA devices

HARK FORUM How to read simultaneously from two ALSA devices

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #523

    I need to use the semiblindICA node for AEC. The input is a simple capture ALSA device (hw:0,0), and the reference is a virtual mic with the speakerś sound redirected to it (hw:1,0).
    for that i use one AudioStreamFromMic node for hw:0,0 and another one for hw:1,0, but it only reads one of the PCM from the two AudioStreamFromMic nodes.
    It should read hw:0,0 from the first one and hw:1,0 from the last one, but it reads hw:0,0 from both even though the device parameter is set correctly on both nodes.
    How can i solve that?
    Is there an alternative for capturing audio from ALSA devices?

    #525
    Avatarmfukuda
    Moderator

    Hello,

    HARK does not support using multiple audio devices at the same time.
    You should use one multi-channel audio device and one channel of the device should be reference signal for SemiBlindICA.
    To support multiple audio devices is future work.

    Best,
    HARK Support team

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.