Application and hw mixing for VoIP

View: New views
1 Messages — Rating Filter:   Alert me  

Application and hw mixing for VoIP

by Fabien Comte :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,
I need some help please.
I have an application that does VoIP and use ALSA interface.

I want to :
- send through VoIP application a mixed sound from mic and an another
application (aplay should be ok for testing).

mic in --- sound card ------------->
                                       jackd  ---- alsa -----> voip
application
application 1 --- alsa or jack ---->
(aplay or jack compatible home made)

- use sound received from VoIP with HP output and an another application
(arecord should be ok for testing).

                                           ---- alsa or jack --->
application 2 (arecord or jack compatible home made)
voip application ----- jackd ---->  jackd  
                                           ---- sound card -----> HP output
       

Both at the same time.

That's my .asounrdc

pcm.!default {
    type plug
    slave { pcm "jack" }
}

pcm.jack {
    type jack
    playback_ports {
        0 alsa_pcm:playback_1
        1 alsa_pcm:playback_2
    }
    capture_ports {
        0 alsa_pcm:capture_1
        1 alsa_pcm:capture_2
    }
}

ctl.mixer0 {
    type hw
    card 0
}

That allow me :
voip application ----- jackd ---->  jackd  ---- sound card -----> HP output
and
mic in ---- sound card ---------->  jackd  ---- alsa -----> voip application


How to configure jackd to add the another application ?


Thank you.

Fabien

_______________________________________________
Jack-Devel mailing list
Jack-Devel@...
http://lists.jackaudio.org/listinfo.cgi/jack-devel-jackaudio.org