summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2004-11-08 23:48:19 +0000
committerLennart Poettering <lennart@poettering.net>2004-11-08 23:48:19 +0000
commit4bb14837dd09777e45793bda42512d900c6b500e (patch)
tree65a8a5a11b4a99707c009a197335554e6e219f91 /doc
parentb55923a8d33a1c4ed2f892a0da36c9c679e7d828 (diff)
implemented pax11publish.c
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@275 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'doc')
-rw-r--r--doc/FAQ.html.in18
1 files changed, 17 insertions, 1 deletions
diff --git a/doc/FAQ.html.in b/doc/FAQ.html.in
index f1bf24149..751ef562c 100644
--- a/doc/FAQ.html.in
+++ b/doc/FAQ.html.in
@@ -126,7 +126,23 @@ connect to a running polypaudio daemon try using the following commands:</p>
<pre>killall -USR2 polypaudio
bidilink unix-client:/tmp/polypaudio/cli</pre>
-<p><i>BTW: Someone should package that great tool for Debian!</i></p>
+<p><i>BTW: Someone should package that great tool for Debian!</i></p></li>
+
+
+
+<li><p><b>How do the polypaudio libraries decide where to connect to?</b></p>
+<p>The following rule applies:</p>
+<ol>
+ <li>If the the application using the library specifies a server to connect to it is used. If the connection fails, the library fails too.</li>
+ <li>If the environment variable <tt>POLYP_SERVER</tt> is defined the library connects to that server. If the connection fails, the library fails too.</li>
+ <li>If <tt>$DISPLAY</tt> is set, the library tries to connect to that server and looks for the root window property <tt>POYLP_SERVER</tt> for the host to connect to. If <tt>POLYP_COOKIE</tt> is set it is used as authentication cookie.</li>
+ <li>If the client configuration file (<tt>~/.polypaudio/client.conf</tt> or <tt>/etc/polypaudio/client.conf</tt>) sets the server address, the library connects to that server. If the connection fails, the library fails too.</li>
+ <li>The library tries to connect to the default local UNIX socket for polypaudio servers. If the connection fails, it proceeds with the next item.</li>
+ <li>The library tries to connect to the default local TCP socket for polypaudio servers. If the connection fails, it proceeds with the next item.</li>
+ <li>If <tt>$DISPLAY</tt> is set, the library tries to connect to the default TCP port of that host. If the connection fails, it proceeds with the next item.</li>
+ <li>The connection fails.</li>
+</ol>
+<p></p>
</li>