'Twas brillig, and Alvaro Alonso Jiménez at 21/09/09 15:34 did gyre and gimble:
Hey everybody!!!

I am trying to execute pacmd list-modules in one statement; however, when I do it, it says just Welcome to PulseAudio, and it provides me the consol, so I have to rewrite list-modules in order to obtain the modules. I really need to do it in once. However, in other computer that I have, I can do it in once!!!! And they have apparently no difference one from another...

"pacmd list-modules" works fine here so don't know what's up with your setup... maybe an old version?

You can also use "pactl list" which will include the modules plus a whole lot of other stuff in it's output. pactl uses the pulse protocol like any other client (i.e. connection to PULSE_SERVER env var etc. rather than just the local PA daemon) and it doesn't rely on module-protocol-cli which pacmd requires. So if it's a general purpose thing you're doing, I'd use pactl instead (even if you have to filter out the crud).

Col

--

Colin Guthrie
gmane(at)colin.guthr.ie
http://colin.guthr.ie/

Day Job:
  Tribalogic Limited [http://www.tribalogic.net/]
Open Source:
  Mandriva Linux Contributor [http://www.mandriva.com/]
  PulseAudio Hacker [http://www.pulseaudio.org/]
  Trac Hacker [http://trac.edgewall.org/]

_______________________________________________
pulseaudio-discuss mailing list
[email protected]
https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss

Reply via email to