<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:12pt"><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt;">Hi there!</div><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt;"><br></div><div style="font-family: arial, helvetica, sans-serif; font-size: 16px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;">I am a phone app developer trying to achieve the following tasks using PulseAudio:</div><div style="font-family: arial, helvetica, sans-serif; font-size: 16px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;"><br></div><div style="font-family: arial, helvetica, sans-serif; font-size: 16px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;"><span class="Apple-tab-span" style="background-color: transparent; white-space: pre;">    </span><span style="background-color: transparent;">1. Allow
 the user to select the source/sink devices to use (from the application).</span><br></div><div style="font-family: arial, helvetica, sans-serif; font-size: 16px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;"><span class="Apple-tab-span" style="white-space:pre">   </span>2. Cancel the echo from the selected devices.</div><div style="font-family: arial, helvetica, sans-serif; font-size: 16px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;"><br></div><div style="font-family: arial, helvetica, sans-serif; font-size: 16px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;">I am setting the media.role to "phone" and the filter.want property to "echo-cancel" for both streams </div><div style="background-color: transparent;"><span style="font-family: arial, helvetica, sans-serif;">and echo cancel is successfully loaded and it works with the mention that webrtc cuts a lot
 of</span></div><div style="background-color: transparent; color: rgb(0, 0, 0); font-size: 16px; font-family: arial, helvetica, sans-serif; font-style: normal;"><span style="font-family: arial, helvetica, sans-serif;">"good noise" so that the users are having a hard time understanding each other.</span></div><div style="background-color: transparent; color: rgb(0, 0, 0); font-size: 16px; font-family: arial, helvetica, sans-serif; font-style: normal;"><span style="font-family: arial, helvetica, sans-serif;"><br></span></div><div style="background-color: transparent;"><span><span style="font-family: arial, helvetica, sans-serif;">I tried manually loading the Speex echo canceler using pa_context_load_module (and it works great)</span></span></div><div style="background-color: transparent; color: rgb(0, 0, 0); font-size: 16px; font-family: arial, helvetica, sans-serif; font-style: normal;"><span><span style="font-family: arial, helvetica,
 sans-serif;"> but i don't think that is a</span></span><span style="background-color: transparent;">n option for me because devices that are plugged-in after the echo-cancel </span></div><div style="background-color: transparent; color: rgb(0, 0, 0); font-size: 16px; font-family: arial, helvetica, sans-serif; font-style: normal;"><span style="background-color: transparent;">module being loaded </span><span style="background-color: transparent;">don't have their echo-cancelled equivalent loaded (at least they are not shown in pasystray). </span></div><div style="background-color: transparent; color: rgb(0, 0, 0); font-size: 16px; font-family: arial, helvetica, sans-serif; font-style: normal;"><span style="background-color: transparent;">Therefore </span><span style="background-color: transparent;">I have the following question:</span></div><div style="background-color: transparent; color: rgb(0, 0, 0); font-size: 16px;
 font-family: arial, helvetica, sans-serif; font-style: normal;"><span><span style="font-family: arial, helvetica, sans-serif;"><br></span></span></div><div style="background-color: transparent; color: rgb(0, 0, 0); font-size: 16px; font-family: arial, helvetica, sans-serif; font-style: normal;"><span><span style="font-family: arial, helvetica, sans-serif;">Can I / How can I specify per application which aec_method to use without loading the echo cancel-module?</span></span></div><div style="background-color: transparent; color: rgb(0, 0, 0); font-size: 16px; font-family: arial, helvetica, sans-serif; font-style: normal;"><br></div><div style="background-color: transparent; color: rgb(0, 0, 0); font-size: 16px; font-family: arial, helvetica, sans-serif; font-style: normal;">Thanks!</div><div style="background-color: transparent; color: rgb(0, 0, 0); font-size: 16px; font-family: arial, helvetica, sans-serif; font-style: normal;"><span style="font-family:
 arial, helvetica, sans-serif;"><br></span></div><div style="background-color: transparent; color: rgb(0, 0, 0); font-size: 16px; font-family: arial, helvetica, sans-serif; font-style: normal;"><span style="font-family: arial, helvetica, sans-serif;"><br></span></div><div style="background-color: transparent; color: rgb(0, 0, 0); font-size: 16px; font-family: arial, helvetica, sans-serif; font-style: normal;"><br></div></div></body></html>