Am 20.07.2013 20:23, schrieb David Henningsson:
On 07/19/2013 09:32 PM, Peter Meerwald wrote:
quiet mode allows to turn off PA's welcome message and the >>> prompt

pacmd waits 100 ms; if nothing is coming from the PA daemon, it is a new
version and we actively ask for the welcome message (non-quiet mode) by sending "hello"; in quiet mode, we send "hello quiet" to tell the daemon we are not
interested in polite messaging and prompts

if something is received from the PA daemon within 100 ms, it must be an old version and we just continue as before; quiet is silently ignored for older
PA daemons (nothing we can do, except filter the data coming from the
server -- no)

So in case of e g scripting, you have now limited the amount of "pacmd"s you can execute (in serial) to 10 per second, which is IMO a bad thing. Btw, since we don't guarantee backwards compatibility anyway, using pacmd for scripting is probably a bad idea in the first place...

Anyway, I'm also annoyed by the chattiness so I think the quiet argument is good, but since pacmd can't connect to remote servers, you don't need to wait 100 ms to try to detect whether the server is old or new. A new pacmd can just assume a new server.


Pretty sure I used pacmd on a remote server by setting the PULSE_SERVER env variable.

Best regards.
_______________________________________________
pulseaudio-discuss mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss

Reply via email to