From 6654e987c17bc1026944248cfb01876311807bd7 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Mon, 19 Jun 2006 23:52:16 +0000 Subject: update docs git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1040 fefdeb5f-60dc-0310-8127-8f9354f1896f --- doc/FAQ.html.in | 110 +++++++++++++++++++++++++++------------------------- doc/README.html.in | 108 ++++++++++++++++++++++++++------------------------- doc/cli.html.in | 8 ++-- doc/daemon.html.in | 8 ++-- doc/modules.html.in | 26 ++++++------- 5 files changed, 133 insertions(+), 127 deletions(-) diff --git a/doc/FAQ.html.in b/doc/FAQ.html.in index d9550e95..6b83cf77 100644 --- a/doc/FAQ.html.in +++ b/doc/FAQ.html.in @@ -2,7 +2,7 @@ -pulseaudio: FAQ +PulseAudio: FAQ @@ -12,39 +12,39 @@

Frequently Asked Questions

    -
  1. How does Polypaudio compare with ESOUND/aRts/NAS?

    +
  2. How does PulseAudio compare with ESOUND/aRts/NAS?

    -

    Polypaudio is sound daemon similar to ESOUND and NAS, but much more +

    PulseAudio is sound daemon similar to ESOUND and NAS, but much more powerful. aRts is a realtime-synthesizer-cum-sound-server, i.e. it - does much more than Polypaudio. However, I believe that Polypaudio + does much more than PulseAudio. However, I believe that PulseAudio does what it does much better than any other free sound server.

  3. What about ESOUND compatibility?

    -

    Polypaudio is a drop in replacement for ESOUND. That means: you can +

    PulseAudio is a drop in replacement for ESOUND. That means: you can load a esound compatibility module which implements an ESOUND compatible protocol which allows you to use most of the classic ESOUND compatible programs (including the command line programs like esdcat).

  4. -
  5. Is Polypaudio a GNOME program?

    -

    No, Polypaudio has no dependency on GNOME/GTK/GLIB. All it requires +

  6. Is PulseAudio a GNOME program?

    +

    No, PulseAudio has no dependency on GNOME/GTK/GLIB. All it requires is a UNIX-like operating system and very few dependency - libraries. However, the accompanying GUI tools are writen with + libraries. However, the accompanying GUI tools are written with gtkmm, i.e. require both GLIB and GTK.

  7. -
  8. Can I integrate Polypaudio in my GLIB/GTK/GNOME application?

    -

    Yes! Polypaudio comes with a GLIB main loop adapter. You can embed +

  9. Can I integrate PulseAudio in my GLIB/GTK/GNOME application?

    +

    Yes! PulseAudio comes with a GLIB main loop adapter. You can embed both the client library and the daemon (!) into your GLIB based application.

  10. -
  11. Can I integrate Polypaudio in my Qt/KDE application?

    -

    Yes! Polypaudio uses a main loop abstraction layer that allows you - to integrate Polypaudio in any program that supports main +

  12. Can I integrate PulseAudio in my Qt/KDE application?

    +

    Yes! PulseAudio uses a main loop abstraction layer that allows you + to integrate PulseAudio in any program that supports main loops. Unfortunately there is no adapter for Qt publicly available yet.

  13. -
  14. I want to write a new driver for Polypaudio, are there any docs?

    +
  15. I want to write a new driver for PulseAudio, are there any docs?

    Currently, only the client API is documented with doxygen. Read the source and base your work on a simple module like module-pipe-sink.

  16. @@ -54,67 +54,67 @@
  17. What about compatibility with aRts?

    Is not available. Since aRts is as synthesizer application you'd have to - reimplement very much code for Polypaudio. It should be easy to + reimplement very much code for PulseAudio. It should be easy to implement limited support for libartsc based applications. Noone has done this yet. It is probably a better idea to - run arts on top of Polypaudio (through a pulseaudio driver + run arts on top of PulseAudio (through a PulseAudio driver for aRts, which nobody has written yet). Another solution would be to - embed Polypaudio in the aRts process.

  18. + embed PulseAudio in the aRts process.

    -
  19. I often hear noises when playing back with Polypaudio, what can I do?

    -

    There are to possible solutions: run pulseaudio with argument +

  20. I often hear noises when playing back with PulseAudio, what can I do?

    +

    There are to possible solutions: run PulseAudio with argument --high-priority=1 and make yourself member of the group realtime, or increase the fragment sizes of the audio - drivers. The former will allow Polypaudio to activate + drivers. The former will allow PulseAudio to activate SCHED_FIFO high priority scheduling (root rights are dropped immediately after this). Keep in mind that this is a potential security hole!

  21. The pulseaudio executable is installed SUID root by default. Why this? Isn't this a potential security hole?

    -

    Polypaudio activates SCHED_FIFO scheduling if the user +

    PulseAudio activates SCHED_FIFO scheduling if the user passes --high-priority=1. This will only succeed when executed as root, therefore the binary is marked SUID root by -default. Yes, this is a potential security hole. However, pulseaudio +default. Yes, this is a potential security hole. However, PulseAudio tries its best to minimize the security threat: immediately after -startup pulseaudio drops all capabilities except +startup PulseAudio drops all capabilities except CAP_SYS_NICE (At least on systems that support it, like Linux; see man 7 capabilities for more information). If the calling user is not a member of the group realtime (which is required to have a GID < 1000), root rights are dropped immediately. This means, you can -install pulseaudio SUID root, but only a subset of your users (the +install pulseaudio SUID root, but only a subset of your users (the members of the group realtime) may make use of realtime scheduling. Keep in mind that these users might load their own binary -modules into the pulseaudio daemon which may freeze the machine. The +modules into the PulseAudio daemon which may freeze the machine. The daemon has a minimal protection against CPU hogging (the daemon is killed after hogging more than 70% CPU for 5 seconds), but this may be circumvented easily by evildoers.

  22. -
  23. I want to run pulseaudio only when it is needed, how do I do this?

    +
  24. I want to run PulseAudio only when it is needed, how do I do this?

    Set autospawn = yes in client.conf. That -configuration file may be found either in /etc/pulseaudio/ or -in ~/.pulseaudio/.

  25. +configuration file may be found either in /etc/pulse/ or +in ~/.pulse/.

    -
  26. How do I list all pulseaudio modules installed?

    +
  27. How do I list all PulseAudio modules installed?

    pulseaudio --dump-modules

    Add -v for terse usage instructions.

    -
  28. How do I use pulseaudio over the network?

    +
  29. How do I use PulseAudio over the network?

    -

    Just set $POLYP_SERVER to the host name of the pulseaudio +

    Just set $POLYP_SERVER to the host name of the PulseAudio server. For authentication you need the same auth cookies on all sides. For -that copy ~./pulseaudio-cookie to all clients that shall +that copy ~./pulse-cookie to all clients that shall be allowed to connect.

    Alternatively the authorization cookies can be stored in the X11 server.

  30. -
  31. Is pulseaudio capable of providing synchronized audio playback over the network for movie players like mplayer?

    +
  32. Is PulseAudio capable of providing synchronized audio playback over the network for movie players like mplayer?

    Yes! Unless your network is congested in some way (i.e. transfer latencies vary strongly) it works perfectly. Drop me an email for experimental patches for MPlayer.

    -
  33. What environment variables does pulseaudio care about?

    +
  34. What environment variables does PulseAudio care about?

    The client honors: POLYP_SINK (default sink to connect to), POLYP_SOURCE (default source to connect to), POLYP_SERVER (default server to connect to, like ESPEAKER), POLYP_BINARY (the binary to start when autospawning a daemon), POLYP_CLIENTCONFIG (path to the client configuration file).

    @@ -126,36 +126,36 @@ be allowed to connect.

    A brilliant guy named Lennart Poettering once wrote a nifty tool for that purpose: bidilink. To -connect to a running pulseaudio daemon try using the following commands:

    +connect to a running PulseAudio daemon try using the following commands:

    killall -USR2 pulseaudio
    -bidilink unix-client:/tmp/pulseaudio/cli
    +bidilink unix-client:/tmp/pulse-$USER/cli

    BTW: Someone should package this great tool for Debian!

    New: There's now a tool pacmd that automates sending SIGUSR2 to the daemon and running a bidilink like tool for you.

  35. -
  36. How do the pulseaudio libraries decide where to connect to?

    +
  37. How do the PulseAudio libraries decide where to connect to?

    The following rule applies:

    1. If the the application using the library specifies a server to connect to it is used. If the connection fails, the library fails too.
    2. If the environment variable POLYP_SERVER is defined the library connects to that server. If the connection fails, the library fails too.
    3. If $DISPLAY is set, the library tries to connect to that server and looks for the root window property POYLP_SERVER for the host to connect to. If POLYP_COOKIE is set it is used as authentication cookie.
    4. -
    5. If the client configuration file (~/.pulseaudio/client.conf or /etc/pulseaudio/client.conf) sets the server address, the library connects to that server. If the connection fails, the library fails too.
    6. -
    7. The library tries to connect to the default local UNIX socket for pulseaudio servers. If the connection fails, it proceeds with the next item.
    8. -
    9. The library tries to connect to the default local TCP socket for pulseaudio servers. If the connection fails, it proceeds with the next item.
    10. +
    11. If the client configuration file (~/.pulse/client.conf or /etc/pulse/client.conf) sets the server address, the library connects to that server. If the connection fails, the library fails too.
    12. +
    13. The library tries to connect to the default local UNIX socket for PulseAudio servers. If the connection fails, it proceeds with the next item.
    14. +
    15. The library tries to connect to the default local TCP socket for PulseAudio servers. If the connection fails, it proceeds with the next item.
    16. If $DISPLAY 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.
    17. The connection fails.
  38. Why the heck does libpulse link against libX11?

    -

    The Polypaudio client libraries look for some X11 root window -properties for the credentials of the Polypaudio server to access. You -may compile Polypaudio without X11 for disabling this feature.

  39. +

    The PulseAudio client libraries look for some X11 root window +properties for the credentials of the PulseAudio server to access. You +may compile PulseAudio without X11 for disabling this feature.

    -
  40. How can I use Polypaudio as an RTP based N:N multicast +

  41. How can I use PulseAudio as an RTP based N:N multicast conferencing solution for the LAN?

    After loading all the necessary audio drivers for recording and playback, just load the RTP reciever and sender modules with default parameters:

    @@ -165,7 +165,7 @@ load-module module-rtp-send load-module module-rtp-recv -

    As long as the Polypaudio daemon runs, the microphone data will be +

    As long as the PulseAudio daemon runs, the microphone data will be streamed to the network and the data from other hosts is played back locally. Please note that this may cause quite a lot of traffic. Hence consider passing rate=8000 format=ulaw channels=1 to the @@ -182,11 +182,11 @@ announce RTP sessions that are described with SDP. (Modern SIP based VoIP phones

    All three protocols are defined in IETF RFCs (RFC3550, RFC3551, RFC2327, RFC2327). They can be used in both multicast and unicast -fashions. Polypaudio exclusively uses multicast RTP/SDP/SAP containing audio data.

    +fashions. PulseAudio exclusively uses multicast RTP/SDP/SAP containing audio data.

    -

    For more information about using these technologies with Polypaudio have a look on the respective module's documentation. +

    For more information about using these technologies with PulseAudio have a look on the respective module's documentation. -

  42. How can I use Polypaudio to stream music from my main PC to my LAN with multiple PCs with speakers?

    +
  43. How can I use PulseAudio to stream music from my main PC to my LAN with multiple PCs with speakers?

    On the sender side create an RTP sink:

    @@ -208,7 +208,7 @@ load-module module-rtp-recv

    BTW: You can have more than one sender machine set up like this. The audio data will be mixed on the client side.

  44. -
  45. How can I use Polypaudio to share a single LINE-IN/MIC jack on the entire LAN?

    +
  46. How can I use PulseAudio to share a single LINE-IN/MIC jack on the entire LAN?

    On the sender side simply load the RTP sender module:

    @@ -238,7 +238,7 @@ modules to select them. Choose your group addresses from the range 225.0.0.x to make sure the audio data never leaves the LAN.

  47. -
  48. Can I use Polypaudio to playback music on two sound cards simultaneously?

    +
  49. Can I use PulseAudio to playback music on two sound cards simultaneously?

    Yes! Use module-combine for that.

    @@ -251,13 +251,13 @@ set-sink-default combined

    This will combine the two sinks output0 and output1 into a new sink combined. Every sample -written to the latter will be forwarded to the former two. Polypaudio +written to the latter will be forwarded to the former two. PulseAudio will make sure to adjust the sample rate of the slave device in case it deviates from the master device. You can have more than one slave sink attached to the combined sink, and hence combine even three and more sound cards.

  50. -
  51. Can I use Polypaudio to combine two stereo soundcards into a virtual surround sound card?

    +
  52. Can I use PulseAudio to combine two stereo soundcards into a virtual surround sound card?

    Yes! You can use use module-combine for that.

    @@ -271,7 +271,7 @@ load-module module-combine sink_name=combined master=output0 slaves=output1 chan time we manually specify the channel mappings for the sinks to make sure everything is routed correctly.

    -

    Please keep in mind that Polypaudio will constantly adjust the +

    Please keep in mind that PulseAudio will constantly adjust the sample rate to compensate for the deviating quartzes of the sound devices. This is not perfect, however. Deviations in a range of 1/44100s (or 1/48000s depending on the sampling frequency) can not be @@ -281,7 +281,11 @@ you hear.

  53. +
  54. Why did you rename Polypaudio to PulseAudio?

    +

    Please read this blog story for an explanation.

    + +
diff --git a/doc/README.html.in b/doc/README.html.in index 2f6ad448..e4eea786 100644 --- a/doc/README.html.in +++ b/doc/README.html.in @@ -3,12 +3,12 @@ -pulseaudio @PACKAGE_VERSION@ +PulseAudio @PACKAGE_VERSION@ -

pulseaudio @PACKAGE_VERSION@

+

PulseAudio @PACKAGE_VERSION@

Copyright 2004-2006 Lennart Poettering <@PACKAGE_BUGREPORT@> and Pierre Ossman

@@ -44,7 +44,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.

News

Fri Jun 2 2006:

Version 0.9.1 +href="@PACKAGE_URL@polypaudio-0.9.1.tar.gz">Version 0.9.1 released; changes include: load modules even when libtool .la files are missing; generate better ALSA device names from module-detect; if an ALSA device doesn't support the @@ -53,7 +53,7 @@ suggests instead; amd64 portability; drop .sh suffix of esdcompat.sh; build system fixes; No API or ABI changes were made

Fri May 26 2006:

Version 0.9.0 +href="@PACKAGE_URL@polypaudio-0.9.0.tar.gz">Version 0.9.0 released; changes include: new module module-volume-restore; new OSS API emulation tool padsp; require valid UTF8 strings everywhere; properly support ALSA channel maps for surround sound; @@ -62,7 +62,7 @@ main loop API for synchronous programs; introduce real shared object versioning; a few API additions; many, many bugfixes

Fri Apr 28 2006:

Version 0.8.1 +href="@PACKAGE_URL@polypaudio-0.8.1.tar.gz">Version 0.8.1 released; changes include: support for specifying the channel map on the command lines of paplay and pacat and as arguments to the driver modules; ALSA hardware mixer compatibility; @@ -70,16 +70,16 @@ fix linking; properly remove PF_UNIX sockets when unloading protocol modules; fix sample cache; many other fixes

Thu Apr 13 2006:

Version 0.8 released; -changes include: too many to count - consider reading this blog entry for more information; many, many minor fixes.

+href="@PACKAGE_URL@polypaudio-0.8.tar.gz">Version 0.8 released; +changes include: too many to count - consider reading this blog entry for more information; many, many minor fixes.

Sun Nov 21 2004:

Version 0.7 released; +href="@PACKAGE_URL@polypaudio-0.7.tar.gz">Version 0.7 released; changes include: IPv6 support; PID file support; publish credentials in X11 root window (module-x11-publish; new tool pacmd; ESOUND backend; new command load-sample-dir-lazy; many, many minor fixes.

Thu Oct 28 2004:

Version 0.6 released; +href="@PACKAGE_URL@polypaudio-0.6.tar.gz">Version 0.6 released; changes include: TCP wrappers support; don't load the complete sound file into memory when playing back using pa_play_file(); autoload API change; don't load all sound files as FLOAT32; shorten @@ -91,14 +91,14 @@ generation; correctly lock daemon autospawning; print daemon layout to STDERR on SIGHUP; new options for pacat: allow sample type specification.

Mon Sep 24 2004:

Version 0.5.1 released; +href="@PACKAGE_URL@polypaudio-0.5.1.tar.gz">Version 0.5.1 released; changes include: improve esound protocol compatibility; fix autospawning via libesd; make use of POSIX capabilities; allow SCHED_FIFO scheduling only for users in group realtime; minor build system fix.

Mon Sep 20 2004:

Version 0.5 released; +href="@PACKAGE_URL@polypaudio-0.5.tar.gz">Version 0.5 released; changes include: extensive API improvements, new module module-combine for combining multiple sound cards into one, gcc 2.95 compatibility, configuration files, add "lazy" samples, @@ -106,29 +106,29 @@ support for source and network latency measurements, add module-pipe-source, many other fixes and improvements.

Wed Sep 8 2004:

Version 0.4 released; +href="@PACKAGE_URL@polypaudio-0.4.tar.gz">Version 0.4 released; changes include: daemon auto spawning, support for SCHED_FIFO scheduling, three new modules, proper logging, CPU load watchdog, many fixes.

Fri Aug 27 2004:

Version 0.3 released; +href="@PACKAGE_URL@polypaudio-0.3.tar.gz">Version 0.3 released; changes include: support for both glib 2.0 and glib 1.2, future cancellation, API updates, many fixes, relicense client library to LGPL.

Fri Aug 20 2004:

Version 0.2 released; +href="@PACKAGE_URL@polypaudio-0.2.tar.gz">Version 0.2 released; changes include: added sample cache, introspection API, client API documentation, module autoloading, glib support, a module for intercepting X11 bell events, and much more.

Sat Jul 17 2004:

Version 0.1 released

+href="@PACKAGE_URL@polypaudio-0.1.tar.gz">Version 0.1 released

Overview

-

pulseaudio is a networked sound server for Linux and other +

PulseAudio is a networked sound server for Linux and other Unix like operating systems and Microsoft Windows. It is intended to be an improved drop-in replacement for the Enlightened Sound Daemon (ESOUND). In addition to the features ESOUND provides -pulseaudio has:

+PulseAudio has:

-

A GTK GUI manager application for pulseaudio is the Polypaudio -Manager. Other GTK GUI tool for Polypaudio are the Polypaudio Volume +

A GTK GUI manager application for PulseAudio is the PulseAudio +Manager. Other GTK GUI tool for PulseAudio are the PulseAudio Volume Meter and the Polypaudio Volume +href="http://0pointer.de/lennart/projects/pavucontrol">PulseAudio Volume Control .

There are output plugins for Xine (merged in Xine CVS). Drivers for PortAudio will be released shortly.

+

PulseAudio was formerly known as Polypaudio.

+

Current Status

Version @PACKAGE_VERSION@ is quite usable. It matches and supersedes ESOUND's feature set in nearly all areas.

@@ -216,68 +218,68 @@ href="modules.html">modules.html, cli.html, daemon.html and FAQ.html.

-

There is a Trac based Wiki for Polypaudio available.

+

There is a Trac based Wiki for PulseAudio available.

First Steps

-

Simply start the pulseaudio daemon with the argument -nC

+

Simply start the PulseAudio daemon with the argument -nC

pulseaudio -nC

This will present you a screen like this:

-
Welcome to pulseaudio! Use "help" for usage information.
+
Welcome to PulseAudio! Use "help" for usage information.
 >>> 

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

pulseaudio -nF pulseaudio.pa

This will load some drivers and protocols automatically.

-

The best idea is to configure your daemon in /etc/pulseaudio/daemon.conf and /etc/pulseaudio/default.pa and to run pulseaudio without any arguments.

+

The best idea is to configure your daemon in /etc/pulse/daemon.conf and /etc/pulse/default.pa and to run PulseAudio without any arguments.

Beware! Unless you pass the option --sysconfdir=/etc to -configure, the directory /etc/pulseaudio/ is really -/usr/local/etc/pulseaudio/.

+configure, the directory /etc/pulse/ is really +/usr/local/etc/pulse/.

-

Developing pulseaudio Clients

+

Developing PulseAudio Clients

You may browse the Doxygen generated programing documentation for the client API. (Run make doxygen to generate this documentation from the source tree)

-

Developing pulseaudio Modules

+

Developing PulseAudio Modules

-

There are several reasons for writing loadable modules for pulseaudio:

+

There are several reasons for writing loadable modules for PulseAudio:

  • Extended device driver support
  • Protocol support beyond ESOUND's protocol and the native protocol. (such as NAS or a subset of aRts)
  • New programming interfaces such as XMLRPC or DBUS for controlling the daemon.
  • -
  • Hooking audio event sources directly into pulseaudio (similar to module-x11-bell)
  • -
  • For low latency applications such as VOIP: load the VOIP core directly into pulseaudio and have a slim GUI frontend to control it.
  • +
  • Hooking audio event sources directly into PulseAudio (similar to module-x11-bell)
  • +
  • For low latency applications such as VOIP: load the VOIP core directly into PulseAudio and have a slim GUI frontend to control it.

There is currently no documentation how to write loadable modules -for pulseaudio. Read the source, Luke! If you are interested in +for PulseAudio. Read the source, Luke! If you are interested in writing new modules feel free to contact the author in case you have any questions.

Requirements

-

Currently, pulseaudio is tested on Linux, FreeBSD, Solaris and Microsoft Windows. It requires an OSS, ALSA, Win32 or Solaris compatible soundcard.

+

Currently, PulseAudio> is tested on Linux, FreeBSD, Solaris and Microsoft Windows. It requires an OSS, ALSA, Win32 or Solaris compatible soundcard.

-

pulseaudio was developed and tested on Debian GNU/Linux +

PulseAudio was developed and tested on Debian GNU/Linux "testing" from November 2004, it should work on most other Linux distributions (and maybe Unix versions) since it uses GNU autoconf and GNU libtool for source code configuration and shared library management.

-

pulseaudio needs Pulseaudio needs Secret Rabbit Code (aka libsamplerate), libsndfile, ./configure inside the distribution directory for configuring the source tree. After that you should run make for compilation and make install (as root) for installation of -pulseaudio.

+PulseAudio.

Acknowledgements

@@ -304,11 +306,11 @@ compilation and make install (as root) for installation of

Jeff Waugh for creating Ubuntu packages (and hopefully soon Debian)

-

Miguel Freitas for writing a Polypaudio driver for Xine

+

Miguel Freitas for writing a PulseAudio driver for Xine

-

Joe Marcus Clarke for porting Polypaudio to FreeBSD

+

Joe Marcus Clarke for porting PulseAudio to FreeBSD

-

Cendio AB for paying for Pierre's work on Polypaudio

+

Cendio AB for paying for Pierre's work on PulseAudio

Sebastien ESTIENNE for testing

@@ -320,7 +322,7 @@ compilation and make install (as root) for installation of

The current release is @PACKAGE_VERSION@

-

Get pulseaudio's development sources from the Subversion repository (viewcvs):

+

Get PulseAudio's development sources from the Subversion repository (viewcvs):

svn checkout svn://0pointer.de/pulseaudio/trunk pulseaudio
@@ -328,13 +330,13 @@ compilation and make install (as root) for installation of

If you want to be notified whenever I release a new version of this software use the subscription feature of Freshmeat.

-

There is a general discussion mailing list for pulseaudio available. In addition, you can subscribe to SVN changes and Trac Tickets.

+

There is a general discussion mailing list for PulseAudio available. In addition, you can subscribe to SVN changes and Trac Tickets.

-

Polypaudio is being tracked at CIA.

+

PulseAudio is being tracked at CIA.

-

There's a chance to meet the Polypaudio developers on our IRC channel #pulseaudio on irc.freenode.org.

+

There's a chance to meet the PulseAudio developers on our IRC channel #pulseaudio on irc.freenode.org.

-

There is a Trac based Wiki for Polypaudio available.

+

There is a Trac based Wiki for PulseAudio available.

Please report bugs to our Trac ticket system.

diff --git a/doc/cli.html.in b/doc/cli.html.in index 511f5964..3a256732 100644 --- a/doc/cli.html.in +++ b/doc/cli.html.in @@ -2,14 +2,14 @@ -pulseaudio: Simple Command Line Language +PulseAudio: Simple Command Line Language

Simple Command Line Language

-

pulseaudio provides a simple command line language used by +

PulseAudio provides a simple command line language used by configuration scripts as well as the modules module-cli and module-cli-protocol-{unix,tcp}. Empty lines and lines beginning with a hashmark (#) are silently ignored. Several @@ -181,7 +181,7 @@ on the interactive command line.

Example Configuration Script

-

Mark the following script as executable (chmod +x) and run it for a sensible pulseaudio configuration.

+

Mark the following script as executable (chmod +x) and run it for a sensible PulseAudio configuration.

 #!/usr/bin/polaudio -nF
@@ -215,6 +215,6 @@ play-file /usr/share/sounds/startup3.wav combined
 

-
Lennart Poettering <@PACKAGE_BUGREPORT@>, April 2006
+
Lennart Poettering <@PACKAGE_BUGREPORT@>, June 2006
$Id$
diff --git a/doc/daemon.html.in b/doc/daemon.html.in index 0d91e534..d90caa2a 100644 --- a/doc/daemon.html.in +++ b/doc/daemon.html.in @@ -2,7 +2,7 @@ -pulseaudio: Daemon +PulseAudio: Daemon @@ -11,7 +11,7 @@

Command Line Arguments

-The pulseaudio daemon accepts several command line arguments: +The PulseAudio daemon accepts several command line arguments:
 COMMANDS:
@@ -60,7 +60,7 @@ STARTUP SCRIPT:
 
 
pulseaudio -D
-

This will run /etc/pulseaudio/default.pa after startup. This should be a script written in the CLI language described in cli.html.

+

This will run /etc/pulse/default.pa after startup. This should be a script written in the CLI language described in cli.html.

Signals

@@ -83,6 +83,6 @@ STARTUP SCRIPT:

The daemon logs the current server layout.


-
Lennart Poettering <@PACKAGE_BUGREPORT@>, November 2004
+
Lennart Poettering <@PACKAGE_BUGREPORT@>, June 2006
$Id$
diff --git a/doc/modules.html.in b/doc/modules.html.in index f004f084..dbad8d63 100644 --- a/doc/modules.html.in +++ b/doc/modules.html.in @@ -2,7 +2,7 @@ -pulseaudio: Loadable Modules +PulseAudio: Loadable Modules @@ -10,7 +10,7 @@

Loadable Modules

-

The following loadable modules are provided with the pulseaudio distribution:

+

The following loadable modules are provided with the PulseAudio distribution:

Device Drivers

@@ -157,7 +157,7 @@ will decrease output quality however. (defaults to

module-tunnel-{sink,source}

Tunnel a remote sink/source to a local "ghost" -sink/source. Requires a running pulseaudio daemon on the remote server +sink/source. Requires a running PulseAudio daemon on the remote server with module-native-protocol-tcp loaded. It's probably a better idea to connect to the remote sink/source directly since some buffer control is lost through this tunneling.

@@ -204,7 +204,7 @@ module see cli.html.

module-cli-protocol-{unix,tcp}

An implemenation of a simple command line based protocol for -controlling the pulseaudio daemon. If loaded, the user may +controlling the PulseAudio daemon. If loaded, the user may connect with tools like netcat, telnet or bidilink to the listening sockets and execute commands the same way as with module-cli.

@@ -225,7 +225,7 @@ transparent TCP/IP socket. (Both IPv6 and IPv4 - if available)

a numerical binary value. If 1 the socket is bound to the loopback device, i.e. not publicly accessible. (defaults to 1) listen=(only for -tcp) The IP address to listen on. If specified, supersedes the value specified in loopback= - socket=(only for -unix) The UNIX socket name (defaults to /tmp/pulseaudio/cli) + socket=(only for -unix) The UNIX socket name (defaults to /tmp/pulse/cli)

module-simple-protocol-{unix,tcp}

@@ -254,7 +254,7 @@ about the two possible suffixes of this module.

An implemenation of a protocol compatible with the Enlightened Sound Daemon (ESOUND, esd). When you load this module you may -access the pulseaudio daemon with tools like esdcat, +access the PulseAudio daemon with tools like esdcat, esdrec or even esdctl. Many applications, such as XMMS, include support for this protocol.

@@ -273,7 +273,7 @@ about the two possible suffixes of this module.

module-native-protocol-{unix,tcp}

-

The native protocol of pulseaudio.

+

The native protocol of PulseAudio.

See module-cli-protocol-{unix,tcp} for more information about the two possible suffixes of this module.

@@ -293,7 +293,7 @@ about the two possible suffixes of this module.

module-http-protocol-tcp

A proof-of-concept HTTP module, which can be used to introspect -the current status of the pulseaudio daemon using HTTP. Just load this +the current status of the PulseAudio daemon using HTTP. Just load this module and point your browser to http://localhost:4714/. This module takes the same arguments as module-cli-protocol-tcp.

@@ -430,7 +430,7 @@ created in the JACK server.

- +
sink_name=The name for the Polypaudio sink. If ommited defaults to jack_out.
server_name=The JACK server to connect to. If ommited defaults to the default server.
client_name=The client name to tell the JACK server. If ommited defaults to pulseaudio.
client_name=The client name to tell the JACK server. If ommited defaults to PulseAudio.
channels=Number of channels to register. If ommited defaults to the number of physical playback ports of the JACK server.
connect=Takes a boolean value. If enabled (the default) Polypaudio will try to connect its ports to the physicial playback ports of the JACK server
@@ -455,18 +455,18 @@ which is replaced by source_name (with a default of jack_in) f

module-esound-compat-spawnfd

-

This is a compatibility module for libesd based autospawning of pulseaudio. Don't use it directly.

+

This is a compatibility module for libesd based autospawning of PulseAudio. Don't use it directly.

module-esound-compat-spawnpid

-

This is a compatibility module for libesd based autospawning of pulseaudio. Don't use it directly.

+

This is a compatibility module for libesd based autospawning of PulseAudio. Don't use it directly.

module-match

Adjust the volume of a playback stream automatically based on its name.

- +
table=The regular expression matching table file to use (defaults to ~/.pulseaudio/match.table)
table=The regular expression matching table file to use (defaults to ~/.pulse/match.table)

The table file should contain a regexp and volume on each line, seperated by spaces. An example:

@@ -482,7 +482,7 @@ which is replaced by source_name (with a default of jack_in) f

Adjust the volume of a playback stream automatically based on its name.

- +
table=The table file to use (defaults to ~/.pulseaudio/volume.table)
table=The table file to use (defaults to ~/.pulse/volume.table)

In contrast to module-match this module needs no explicit -- cgit