Routing hw PCM

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

I'm working on an embedded device, that runs Linux 4.14.79, that has 2 hardware PCM, one connected to a bluetooth chip and one to a GSM phone.

My goal is to bridge those streams (bt-capture -> gsm-playback and gsm-capture -> bt-playback) in a fullduplex configuration to handle calls. In fact, the bluetooth will be connected to an handset.

I was testing different asound.conf configuration, but I cannot figure how to automatically route those streams. So far I've got (not posting all the attempts, only the part I think is ok): 

pcm.bt {
    type hw
    card 0
    format "S16_LE"
    channel 2
    rate 8000
}

pcm.gsm {
    type hw
    card 1
    format "S16_LE"
    channel 2
    rate 8000
}

I probably need to use the asym plugin, but I cannot figure how to bind them.

Is my goal achievable?

Best regards,
Gabriele
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user

[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux