From 141ab85bb76c3d2a8f6f2eee91801597c98e4154 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sat, 17 Jul 2004 15:00:31 +0000 Subject: make polypaudio run when installed update docs git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@92 fefdeb5f-60dc-0310-8127-8f9354f1896f --- doc/README.html.in | 25 ++++++++++++++++++++++++- polyp/Makefile.am | 2 +- polyp/main.c | 5 ++++- 3 files changed, 29 insertions(+), 3 deletions(-) diff --git a/doc/README.html.in b/doc/README.html.in index a9b07d60..b523e3dc 100644 --- a/doc/README.html.in +++ b/doc/README.html.in @@ -78,7 +78,10 @@ available.

Version @PACKAGE_VERSION@ is quite usable. polypaudio 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 TODO list.

+automatic releasing of unused sound drivers are missing. Have a look +on the more extensive TODO +list.

Documentation

@@ -90,6 +93,26 @@ href="daemon.html">daemeon.html.

Documentation for developing with polypaudio is not yet available. Read the source, Luke!

+

First Steps

+ +

Simply start the polypaudio daemon with the argument -C

+ +
polypaudio -C
+ +

This will present you a screen like this:

+ +
Welcome to polypaudio! Use "help" for usage information.
+>>> 
+ +

Now you can issue CLI commands as described in cli.html. Another way to start +polypaudio is by specifying a configuration script on the +command line like that one included in the distribution:

+ +
polypaudio -F polypaudio.pa
+ +

This will load some drivers and protocols automatically.

+

Requirements

Currently, polypaudio is tested on Linux only. It requires an OSS or ALSA compatible soundcard.

diff --git a/polyp/Makefile.am b/polyp/Makefile.am index c4da7342..4edeeeba 100644 --- a/polyp/Makefile.am +++ b/polyp/Makefile.am @@ -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 diff --git a/polyp/main.c b/polyp/main.c index d9967cef..bcc1fada 100644 --- a/polyp/main.c +++ b/polyp/main.c @@ -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); -- cgit