]> code.delx.au - pulseaudio/commitdiff
make polypaudio run when installed
authorLennart Poettering <lennart@poettering.net>
Sat, 17 Jul 2004 15:00:31 +0000 (15:00 +0000)
committerLennart Poettering <lennart@poettering.net>
Sat, 17 Jul 2004 15:00:31 +0000 (15:00 +0000)
update docs

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@92 fefdeb5f-60dc-0310-8127-8f9354f1896f

doc/README.html.in
polyp/Makefile.am
polyp/main.c

index a9b07d60c7debf74aebd271c49a4b1c802a64c0a..b523e3dcbf25bd7ed4e58a73349dfa46d60854c1 100644 (file)
@@ -78,7 +78,10 @@ available.</p>
 
 <p>Version @PACKAGE_VERSION@ is quite usable. <tt>polypaudio</tt> does
 not yet match all ESOUND features: currently a sample cache and
-automatic releasing of unused sound drivers are missing. Have a look on the more extensive <a href="http://0pointer.de/cgi-bin/viewcvs.cgi/trunk/src/todo?view=markup">TODO list</a>.</p>
+automatic releasing of unused sound drivers are missing. Have a look
+on the more extensive <a
+href="http://0pointer.de/cgi-bin/viewcvs.cgi/trunk/doc/todo?view=markup">TODO
+list</a>.</p>
   
 <h2><a name="documentation">Documentation</a></h2>
 
@@ -90,6 +93,26 @@ href="daemon.html"><tt>daemeon.html</tt></a>.</p>
 <p>Documentation for developing with <tt>polypaudio</tt> is not yet
 available. Read the source, Luke!</p>
 
+<h3>First Steps</h1>
+
+<p>Simply start the polypaudio daemon with the argument <tt>-C</tt></p>
+
+<pre>polypaudio -C</pre>
+
+<p>This will present you a screen like this:</p>
+
+<pre>Welcome to polypaudio! Use "help" for usage information.
+&gt;&gt;&gt; </pre>
+
+<p>Now you can issue CLI commands as described in <a
+href="cli.html"><tt>cli.html</tt></a>. Another way to start
+<tt>polypaudio</tt> is by specifying a configuration script on the
+command line like that one included in the distribution:</p>
+
+<pre>polypaudio -F polypaudio.pa</pre>
+
+<p>This will load some drivers and protocols automatically.</p>
+
 <h2><a name="requirements">Requirements</a></h2>
 
 <p>Currently, <tt>polypaudio</tt> is tested on Linux only. It requires an OSS or ALSA compatible soundcard.</p>
index c4da734275c6b6e98106ab956b0a99e7842d2001..4edeeeba3d9575a46e3bb48e19efcd0fc922bef0 100644 (file)
@@ -17,7 +17,7 @@
 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
 # USA.
 
-AM_CFLAGS=-ansi -D_GNU_SOURCE
+AM_CFLAGS=-ansi -D_GNU_SOURCE -DDLSEARCHDIR=\"$(pkglibdir)\"
 
 EXTRA_DIST = polypaudio.run depmod.py
 bin_PROGRAMS = polypaudio pacat pactl
index d9967cef2c6b376e7988d349523e61458046690a..bcc1fadae52bea000cb4379dd9bfc452139d5a39 100644 (file)
@@ -125,7 +125,10 @@ int main(int argc, char *argv[]) {
     
     r = lt_dlinit();
     assert(r == 0);
-    
+#ifdef DLSEARCHDIR
+    lt_dladdsearchdir(DLSEARCHDIR);
+#endif
+
     mainloop = pa_mainloop_new();
     assert(mainloop);