<html><head></head><body><div class="ydp7dcaadf4yahoo-style-wrap" style="font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 13px;">Hi,</div><div class="ydp7dcaadf4yahoo-style-wrap" style="font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 13px;"><br></div><div class="ydp7dcaadf4yahoo-style-wrap" style="font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 13px;">I am trying to use module-echo-cancel, but I am facing some difficulties. I am completely new to PulseAudio, so hoping someone here can help.</div><div class="ydp7dcaadf4yahoo-style-wrap" style="font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 13px;"><br></div><div class="ydp7dcaadf4yahoo-style-wrap" style="font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 13px;">I am working on an embedded device. It has PulseAudio already running as a system-wide instance.</div><div class="ydp7dcaadf4yahoo-style-wrap" style="font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 13px;"><br></div><div class="ydp7dcaadf4yahoo-style-wrap" style="font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 13px;"><span>bash-4.4# ps aux | grep pulseaudio<br> 1744 pulse 0:02 /usr/bin/pulseaudio --system --daemonize=no -vvvv<br></span><div><span> 2056 root 0:00 {grep} /bin/busybox /bin/grep pulseaudio</span></div><div><span><br></span></div><div><span>I want to try module-echo-cancel. In the post on stackoverflow (<a href="https://stackoverflow.com/questions/22726143/how-can-i-get-a-stream-of-all-sounds-recorded-from-the-microphone-that-my-comp" rel="nofollow" target="_blank" class="">https://stackoverflow.com/questions/22726143/how-can-i-get-a-stream-of-all-sounds-recorded-from-the-microphone-that-my-comp</a>), OP has mentioned that we should add "load-module module-echo-cancel" line in the config. Restart PulseAudio. Then use pacmd to list the sources and sinks, so that those can be specified in the config as default devices. I am having problem here.</span></div><div><span><br></span></div><div><span>When I try to run pacmd, I get following error<br></span></div><div><span><br></span></div><div><span><span>bash-4.4# pacmd list-sinks<br></span></span><div><span><span>No PulseAudio daemon running, or not running as session daemon.</span></span></div><div><span><span><br></span></span></div><div><span><span>If I try to start PulseAudio, then I get error that daemon is already running.<br></span></span></div><div><span><span><br></span></span></div><div><span><span><span>bash-4.4# pulseaudio --start<br></span></span></span><div><span><span><span>W: [pulseaudio] main.c: [1mThis program is not intended to be run as root (unless --system is specified).[0m</span></span></span></div><div><span><span><span></span></span></span><br></div><span><span><span>bash-4.4# pulseaudio --system<br>W: [pulseaudio] main.c: [1mRunning in system mode, but --disallow-exit not set.[0m<br>W: [pulseaudio] main.c: [1mRunning in system mode, but --disallow-module-loading not set.[0m<br>N: [pulseaudio] main.c: Running in system mode, forcibly disabling SHM mode.<br>N: [pulseaudio] main.c: Running in system mode, forcibly disabling exit idle time.<br>W: [pulseaudio] main.c: [1mOK, so you are running PA in system mode. Please make sure that you actually do want to do that.[0m<br>W: [pulseaudio] main.c: [1mPlease read http://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/WhatIsWrongWithSystemWide/ for an explanation why system mode is usually a bad idea.[0m<br>E: [pulseaudio] pid.c: [1;31mDaemon already running.[0m<br>E: [pulseaudio] main.c: [1;31mpa_pid_file_create() failed.[0m</span><br></span></span></div><div><span></span><br></div><div>How do I fix this?<br></div><div><br></div><div>Thanks,</div><div>Jyotesh<br></div></div></div></body></html>