mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
big s/polyp/pulse/g
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1033 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
dd21f11ded
commit
f44ba09265
303 changed files with 2724 additions and 2719 deletions
8
LICENSE
8
LICENSE
|
|
@ -1,13 +1,13 @@
|
|||
All Polypaudio source files are licensed under the GNU Lesser General Public
|
||||
All PulseAudio source files are licensed under the GNU Lesser General Public
|
||||
License. (see file LGPL for details)
|
||||
|
||||
However, the server side links to the GPL-only library 'libsamplerate' which
|
||||
practically downgrades the license of the server part to GPL (see file GPL for
|
||||
details), exercising section 3 of the LGPL.
|
||||
|
||||
Hence you should treat the client library ('libpolyp') of Polypaudio as being
|
||||
LGPL licensed and the server part ('libpolypcore') as being GPL licensed. Since
|
||||
the Polypaudio daemon and the modules link to 'libpolypcore' they are of course
|
||||
Hence you should treat the client library ('libpulse') of Polypaudio as being
|
||||
LGPL licensed and the server part ('libpulsecore') as being GPL licensed. Since
|
||||
the PulseAudio daemon and the modules link to 'libpulsecore' they are of course
|
||||
also GPL licensed.
|
||||
|
||||
-- Lennart Poettering, April 20th, 2006.
|
||||
|
|
|
|||
29
Makefile.am
29
Makefile.am
|
|
@ -1,19 +1,19 @@
|
|||
# $Id$
|
||||
#
|
||||
# This file is part of polypaudio.
|
||||
# This file is part of PulseAudio.
|
||||
#
|
||||
# polypaudio is free software; you can redistribute it and/or modify
|
||||
# PulseAudio is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Lesser General Public License as published by
|
||||
# the Free Software Foundation; either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# polypaudio is distributed in the hope that it will be useful, but
|
||||
# PulseAudio is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
# General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Lesser General Public License
|
||||
# along with polypaudio; if not, write to the Free Software
|
||||
# along with PulseAudio; if not, write to the Free Software
|
||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
# USA.
|
||||
|
||||
|
|
@ -24,16 +24,21 @@ MAINTAINERCLEANFILES =
|
|||
noinst_DATA =
|
||||
|
||||
pkgconfigdir = $(libdir)/pkgconfig
|
||||
pkgconfig_DATA = polyplib.pc polyplib-simple.pc polyplib-browse.pc
|
||||
pkgconfig_DATA = libpulse.pc libpulse-simple.pc
|
||||
|
||||
if HAVE_HOWL
|
||||
pkgconfig_DATA += \
|
||||
libpulse-browse.pc
|
||||
endif
|
||||
|
||||
if HAVE_GLIB20
|
||||
pkgconfig_DATA += \
|
||||
polyplib-glib-mainloop.pc
|
||||
libpulse-glib-mainloop.pc
|
||||
endif
|
||||
|
||||
if HAVE_GLIB12
|
||||
pkgconfig_DATA += \
|
||||
polyplib-glib12-mainloop.pc
|
||||
libpulse-glib12-mainloop.pc
|
||||
endif
|
||||
|
||||
if USE_LYNX
|
||||
|
|
@ -49,11 +54,11 @@ endif
|
|||
|
||||
homepage: all dist doxygen
|
||||
test -d $$HOME/homepage/private
|
||||
mkdir -p $$HOME/homepage/private/projects/polypaudio $$HOME/homepage/private/projects/polypaudio/doxygen
|
||||
cp polypaudio-@PACKAGE_VERSION@.tar.gz $$HOME/homepage/private/projects/polypaudio
|
||||
cp doc/README.html doc/FAQ.html doc/cli.html doc/daemon.html doc/modules.html doc/style.css $$HOME/homepage/private/projects/polypaudio
|
||||
cp -a doxygen/html/* $$HOME/homepage/private/projects/polypaudio/doxygen
|
||||
ln -sf $$HOME/homepage/private/projects/polypaudio/README.html $$HOME/homepage/private/projects/polypaudio/index.html
|
||||
mkdir -p $$HOME/homepage/private/projects/pulseaudio $$HOME/homepage/private/projects/pulseaudio/doxygen
|
||||
cp pulseaudio-@PACKAGE_VERSION@.tar.gz $$HOME/homepage/private/projects/pulseaudio
|
||||
cp doc/README.html doc/FAQ.html doc/cli.html doc/daemon.html doc/modules.html doc/style.css $$HOME/homepage/private/projects/pulseaudio
|
||||
cp -a doxygen/html/* $$HOME/homepage/private/projects/pulseaudio/doxygen
|
||||
ln -sf $$HOME/homepage/private/projects/pulseaudio/README.html $$HOME/homepage/private/projects/pulseaudio/index.html
|
||||
|
||||
#distcleancheck:
|
||||
# @:
|
||||
|
|
|
|||
|
|
@ -1,20 +1,20 @@
|
|||
#!/bin/bash
|
||||
# $Id$
|
||||
|
||||
# This file is part of polypaudio.
|
||||
# This file is part of PulseAudio.
|
||||
#
|
||||
# polypaudio is free software; you can redistribute it and/or modify it
|
||||
# PulseAudio is free software; you can redistribute it and/or modify it
|
||||
# under the terms of the GNU Lesser General Public License as published by
|
||||
# the Free Software Foundation; either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# polypaudio is distributed in the hope that it will be useful, but
|
||||
# PulseAudio is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
# General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Lesser General Public License
|
||||
# along with polypaudio; if not, write to the Free Software Foundation,
|
||||
# along with PulseAudio; if not, write to the Free Software Foundation,
|
||||
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
|
||||
|
||||
VERSION=1.9
|
||||
|
|
|
|||
28
configure.ac
28
configure.ac
|
|
@ -3,20 +3,20 @@
|
|||
|
||||
# $Id$
|
||||
|
||||
# This file is part of polypaudio.
|
||||
# This file is part of PulseAudio.
|
||||
#
|
||||
# polypaudio is free software; you can redistribute it and/or modify it
|
||||
# PulseAudio is free software; you can redistribute it and/or modify it
|
||||
# under the terms of the GNU Lesser General Public License as published by
|
||||
# the Free Software Foundation; either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# polypaudio is distributed in the hope that it will be useful, but
|
||||
# PulseAudio is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
# General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Lesser General Public License
|
||||
# along with polypaudio; if not, write to the Free Software Foundation,
|
||||
# along with PulseAudio; if not, write to the Free Software Foundation,
|
||||
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
|
||||
|
||||
AC_PREREQ(2.57)
|
||||
|
|
@ -25,13 +25,13 @@ m4_define(PA_MAJOR, [0])
|
|||
m4_define(PA_MINOR, [9])
|
||||
m4_define(PA_MICRO, [1])
|
||||
|
||||
AC_INIT([polypaudio], PA_MAJOR.PA_MINOR.PA_MICRO,[mzcbylcnhqvb (at) 0pointer (dot) de])
|
||||
AC_INIT([pulseaudio], PA_MAJOR.PA_MINOR.PA_MICRO,[mzcbylcnhqvb (at) 0pointer (dot) de])
|
||||
AC_CONFIG_SRCDIR([src/daemon/main.c])
|
||||
AC_CONFIG_HEADERS([config.h])
|
||||
AM_INIT_AUTOMAKE([foreign -Wall])
|
||||
|
||||
AC_SUBST(PA_MAJORMINOR, "PA_MAJOR.PA_MINOR")
|
||||
AC_SUBST(PACKAGE_URL, [http://0pointer.de/lennart/projects/polypaudio/])
|
||||
AC_SUBST(PACKAGE_URL, [http://0pointer.de/lennart/projects/pulseaudio/])
|
||||
|
||||
AC_SUBST(PA_API_VERSION, 9)
|
||||
AC_SUBST(PA_PROTOCOL_VERSION, 9)
|
||||
|
|
@ -681,8 +681,8 @@ fi
|
|||
|
||||
AC_ARG_WITH(
|
||||
[module-dir],
|
||||
AC_HELP_STRING([--with-module-dir],[Directory where to install the modules to (defaults to ${libdir}/polypaudio-${PA_MAJORMINOR}/modules/]),
|
||||
[modlibexecdir=$withval], [modlibexecdir="${libdir}/polypaudio-${PA_MAJORMINOR}/modules/"])
|
||||
AC_HELP_STRING([--with-module-dir],[Directory where to install the modules to (defaults to ${libdir}/pulse-${PA_MAJORMINOR}/modules/]),
|
||||
[modlibexecdir=$withval], [modlibexecdir="${libdir}/pulse-${PA_MAJORMINOR}/modules/"])
|
||||
|
||||
AC_SUBST(modlibexecdir)
|
||||
|
||||
|
|
@ -695,11 +695,11 @@ AM_CONDITIONAL([FORCE_PREOPEN], [test "x$FORCE_PREOPEN" = "x1"])
|
|||
AC_CONFIG_FILES([
|
||||
Makefile
|
||||
src/Makefile
|
||||
polyplib.pc
|
||||
polyplib-simple.pc
|
||||
polyplib-browse.pc
|
||||
polyplib-glib-mainloop.pc
|
||||
polyplib-glib12-mainloop.pc
|
||||
libpulse.pc
|
||||
libpulse-simple.pc
|
||||
libpulse-browse.pc
|
||||
libpulse-glib-mainloop.pc
|
||||
libpulse-glib12-mainloop.pc
|
||||
doc/Makefile
|
||||
doc/README.html
|
||||
doc/cli.html
|
||||
|
|
@ -707,7 +707,7 @@ doc/daemon.html
|
|||
doc/modules.html
|
||||
doxygen/Makefile
|
||||
doxygen/doxygen.conf
|
||||
src/polyp/version.h
|
||||
src/pulse/version.h
|
||||
doc/FAQ.html
|
||||
])
|
||||
AC_OUTPUT
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>polypaudio: FAQ</title>
|
||||
<title>pulseaudio: FAQ</title>
|
||||
<link rel="stylesheet" type="text/css" href="style.css" />
|
||||
</head>
|
||||
|
||||
|
|
@ -57,64 +57,64 @@
|
|||
reimplement very much code for Polypaudio. It should be easy to
|
||||
implement limited support for <tt>libartsc</tt> based
|
||||
applications. Noone has done this yet. It is probably a better idea to
|
||||
run <tt>arts</tt> on top of Polypaudio (through a polypaudio driver
|
||||
run <tt>arts</tt> on top of Polypaudio (through a pulseaudio driver
|
||||
for aRts, which nobody has written yet). Another solution would be to
|
||||
embed Polypaudio in the aRts process.</p></li>
|
||||
|
||||
<li><p><b>I often hear noises when playing back with Polypaudio, what can I do?</b></p>
|
||||
<p>There are to possible solutions: run polypaudio with argument
|
||||
<p>There are to possible solutions: run pulseaudio with argument
|
||||
<tt>--high-priority=1</tt> and make yourself member of the group
|
||||
<tt>realtime</tt>, or increase the fragment sizes of the audio
|
||||
drivers. The former will allow Polypaudio to activate
|
||||
<tt>SCHED_FIFO</tt> high priority scheduling (root rights are dropped
|
||||
immediately after this). Keep in mind that this is a potential security hole!</p></li>
|
||||
|
||||
<li><p><b>The <tt>polypaudio</tt> executable is installed SUID root by default. Why this? Isn't this a potential security hole?</b></p>
|
||||
<li><p><b>The <tt>pulseaudio</tt> executable is installed SUID root by default. Why this? Isn't this a potential security hole?</b></p>
|
||||
|
||||
<p>Polypaudio activates <tt>SCHED_FIFO</tt> scheduling if the user
|
||||
passes <tt>--high-priority=1</tt>. 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, polypaudio
|
||||
default. Yes, this is a potential security hole. However, pulseaudio
|
||||
tries its best to minimize the security threat: immediately after
|
||||
startup polypaudio drops all capabilities except
|
||||
startup pulseaudio drops all capabilities except
|
||||
<tt>CAP_SYS_NICE</tt> (At least on systems that support it, like Linux; see <tt>man 7
|
||||
capabilities</tt> for more information). If the calling user is not a
|
||||
member of the group <tt>realtime</tt> (which is required to have a GID
|
||||
< 1000), root rights are dropped immediately. This means, you can
|
||||
install polypaudio 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 <tt>realtime</tt>) may make use of realtime
|
||||
scheduling. Keep in mind that these users might load their own binary
|
||||
modules into the polypaudio 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.</p></li>
|
||||
|
||||
<li><p><b>I want to run polypaudio only when it is needed, how do I do this?</b></p>
|
||||
<li><p><b>I want to run pulseaudio only when it is needed, how do I do this?</b></p>
|
||||
|
||||
<p>Set <tt>autospawn = yes</tt> in <tt>client.conf</tt>. That
|
||||
configuration file may be found either in <tt>/etc/polypaudio/</tt> or
|
||||
in <tt>~/.polypaudio/</tt>.</p></li>
|
||||
configuration file may be found either in <tt>/etc/pulseaudio/</tt> or
|
||||
in <tt>~/.pulseaudio/</tt>.</p></li>
|
||||
|
||||
<li><p><b>How do I list all polypaudio modules installed?</b></p>
|
||||
<li><p><b>How do I list all pulseaudio modules installed?</b></p>
|
||||
|
||||
<p><tt>polypaudio --dump-modules</tt></p>
|
||||
<p><tt>pulseaudio --dump-modules</tt></p>
|
||||
|
||||
<p>Add <tt>-v</tt> for terse usage instructions.</p>
|
||||
|
||||
<li><p><b>How do I use polypaudio over the network?</b></p>
|
||||
<li><p><b>How do I use pulseaudio over the network?</b></p>
|
||||
|
||||
<p>Just set <tt>$POLYP_SERVER</tt> to the host name of the polypaudio
|
||||
<p>Just set <tt>$POLYP_SERVER</tt> to the host name of the pulseaudio
|
||||
server. For authentication you need the same auth cookies on all sides. For
|
||||
that copy <tt>~./polypaudio-cookie</tt> to all clients that shall
|
||||
that copy <tt>~./pulseaudio-cookie</tt> to all clients that shall
|
||||
be allowed to connect.</p>
|
||||
|
||||
<p>Alternatively the authorization cookies can be stored in the X11 server.</p></li>
|
||||
|
||||
<li><p><b>Is polypaudio capable of providing synchronized audio playback over the network for movie players like <tt>mplayer</tt>?</b></p>
|
||||
<li><p><b>Is pulseaudio capable of providing synchronized audio playback over the network for movie players like <tt>mplayer</tt>?</b></p>
|
||||
|
||||
<p>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.</p>
|
||||
|
||||
<li><p><b>What environment variables does polypaudio care about?</b></p>
|
||||
<li><p><b>What environment variables does pulseaudio care about?</b></p>
|
||||
|
||||
<p>The client honors: <tt>POLYP_SINK</tt> (default sink to connect to), <tt>POLYP_SOURCE</tt> (default source to connect to), <tt>POLYP_SERVER</tt> (default server to connect to, like <tt>ESPEAKER</tt>), <tt>POLYP_BINARY</tt> (the binary to start when autospawning a daemon), <tt>POLYP_CLIENTCONFIG</tt> (path to the client configuration file).</p>
|
||||
|
||||
|
|
@ -126,31 +126,31 @@ be allowed to connect.</p>
|
|||
<p>A brilliant guy named Lennart Poettering once wrote a nifty tool
|
||||
for that purpose: <a
|
||||
href="http://0pointer.de/lennart/projects/bidilink/">bidilink</a>. To
|
||||
connect to a running polypaudio daemon try using the following commands:</p>
|
||||
connect to a running pulseaudio daemon try using the following commands:</p>
|
||||
|
||||
<pre>killall -USR2 polypaudio
|
||||
bidilink unix-client:/tmp/polypaudio/cli</pre>
|
||||
<pre>killall -USR2 pulseaudio
|
||||
bidilink unix-client:/tmp/pulseaudio/cli</pre>
|
||||
|
||||
<p><i>BTW: Someone should package this great tool for Debian!</i></p>
|
||||
|
||||
<p><b>New:</b> There's now a tool <tt>pacmd</tt> that automates sending SIGUSR2 to the daemon and running a bidilink like tool for you.</p>
|
||||
</li>
|
||||
|
||||
<li><p><b>How do the polypaudio libraries decide where to connect to?</b></p>
|
||||
<li><p><b>How do the pulseaudio 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 the client configuration file (<tt>~/.pulseaudio/client.conf</tt> or <tt>/etc/pulseaudio/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 pulseaudio 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 pulseaudio 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>
|
||||
</li>
|
||||
|
||||
<li><p><b>Why the heck does libpolyp link against libX11?</b></p>
|
||||
<li><p><b>Why the heck does libpulse link against libX11?</b></p>
|
||||
<p>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.</p></li>
|
||||
|
|
|
|||
|
|
@ -1,19 +1,19 @@
|
|||
# $Id$
|
||||
|
||||
# This file is part of polypaudio.
|
||||
# This file is part of PulseAudio.
|
||||
#
|
||||
# polypaudio is free software; you can redistribute it and/or modify it
|
||||
# PulseAudio is free software; you can redistribute it and/or modify it
|
||||
# under the terms of the GNU Lesser General Public License as published by
|
||||
# the Free Software Foundation; either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# polypaudio is distributed in the hope that it will be useful, but
|
||||
# PulseAudio is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
# General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Lesser General Public License
|
||||
# along with polypaudio; if not, write to the Free Software Foundation,
|
||||
# along with PulseAudio; if not, write to the Free Software Foundation,
|
||||
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
|
||||
|
||||
noinst_DATA = README.html cli.html modules.html daemon.html FAQ.html
|
||||
|
|
|
|||
|
|
@ -3,12 +3,12 @@
|
|||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
|
||||
<head>
|
||||
<title>polypaudio @PACKAGE_VERSION@</title>
|
||||
<title>pulseaudio @PACKAGE_VERSION@</title>
|
||||
<link rel="stylesheet" type="text/css" href="style.css" />
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<h1><a name="top">polypaudio @PACKAGE_VERSION@</a></h1>
|
||||
<h1><a name="top">pulseaudio @PACKAGE_VERSION@</a></h1>
|
||||
|
||||
<p><i>Copyright 2004-2006 Lennart Poettering <@PACKAGE_BUGREPORT@></i> and Pierre Ossman</p>
|
||||
|
||||
|
|
@ -44,7 +44,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.</p>
|
|||
<h2><a name="news">News</a></h2>
|
||||
|
||||
<div class="news-date">Fri Jun 2 2006: </div> <p class="news-text"><a
|
||||
href="@PACKAGE_URL@polypaudio-0.9.1.tar.gz">Version 0.9.1</a>
|
||||
href="@PACKAGE_URL@pulseaudio-0.9.1.tar.gz">Version 0.9.1</a>
|
||||
released; changes include: load modules even when libtool <tt>.la</tt>
|
||||
files are missing; generate better ALSA device names from
|
||||
<tt>module-detect</tt>; if an ALSA device doesn't support the
|
||||
|
|
@ -53,7 +53,7 @@ suggests instead; amd64 portability; drop <tt>.sh</tt> suffix of
|
|||
<tt>esdcompat.sh</tt>; build system fixes; No API or ABI changes were made</p>
|
||||
|
||||
<div class="news-date">Fri May 26 2006: </div> <p class="news-text"><a
|
||||
href="@PACKAGE_URL@polypaudio-0.9.0.tar.gz">Version 0.9.0</a>
|
||||
href="@PACKAGE_URL@pulseaudio-0.9.0.tar.gz">Version 0.9.0</a>
|
||||
released; changes include: new module <tt>module-volume-restore</tt>;
|
||||
new OSS API emulation tool <tt>padsp</tt>; 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</p>
|
||||
|
||||
<div class="news-date">Fri Apr 28 2006: </div> <p class="news-text"><a
|
||||
href="@PACKAGE_URL@polypaudio-0.8.1.tar.gz">Version 0.8.1</a>
|
||||
href="@PACKAGE_URL@pulseaudio-0.8.1.tar.gz">Version 0.8.1</a>
|
||||
released; changes include: support for specifying the channel map on
|
||||
the command lines of <tt>paplay</tt> and <tt>pacat</tt> and as
|
||||
arguments to the driver modules; ALSA hardware mixer compatibility;
|
||||
|
|
@ -70,16 +70,16 @@ fix linking; properly remove <tt>PF_UNIX</tt> sockets when unloading
|
|||
protocol modules; fix sample cache; many other fixes</p>
|
||||
|
||||
<div class="news-date">Thu Apr 13 2006: </div> <p class="news-text"><a
|
||||
href="@PACKAGE_URL@polypaudio-0.8.tar.gz">Version 0.8</a> released;
|
||||
changes include: too many to count - consider reading <a href="http://0pointer.de/blog/projects/polypaudio-0.8.html">this blog entry</a> for more information; many, many minor fixes.</p>
|
||||
href="@PACKAGE_URL@pulseaudio-0.8.tar.gz">Version 0.8</a> released;
|
||||
changes include: too many to count - consider reading <a href="http://0pointer.de/blog/projects/pulseaudio-0.8.html">this blog entry</a> for more information; many, many minor fixes.</p>
|
||||
|
||||
<div class="news-date">Sun Nov 21 2004: </div> <p class="news-text"><a
|
||||
href="@PACKAGE_URL@polypaudio-0.7.tar.gz">Version 0.7</a> released;
|
||||
href="@PACKAGE_URL@pulseaudio-0.7.tar.gz">Version 0.7</a> released;
|
||||
changes include: IPv6 support; PID file support; publish credentials
|
||||
in X11 root window (<tt>module-x11-publish</tt>; new tool <tt>pacmd</tt>; ESOUND backend; new command <tt>load-sample-dir-lazy</tt>; many, many minor fixes.</p>
|
||||
|
||||
<div class="news-date">Thu Oct 28 2004: </div> <p class="news-text"><a
|
||||
href="@PACKAGE_URL@polypaudio-0.6.tar.gz">Version 0.6</a> released;
|
||||
href="@PACKAGE_URL@pulseaudio-0.6.tar.gz">Version 0.6</a> released;
|
||||
changes include: TCP wrappers support; don't load the complete sound
|
||||
file into memory when playing back using <tt>pa_play_file()</tt>;
|
||||
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 <tt>pacat</tt>: allow sample type specification.</p>
|
||||
|
||||
<div class="news-date">Mon Sep 24 2004: </div> <p class="news-text"><a
|
||||
href="@PACKAGE_URL@polypaudio-0.5.1.tar.gz">Version 0.5.1</a> released;
|
||||
href="@PACKAGE_URL@pulseaudio-0.5.1.tar.gz">Version 0.5.1</a> released;
|
||||
changes include: improve esound protocol compatibility; fix
|
||||
autospawning via <tt>libesd</tt>; make use of POSIX capabilities;
|
||||
allow <tt>SCHED_FIFO</tt> scheduling only for users in group
|
||||
<tt>realtime</tt>; minor build system fix.</p>
|
||||
|
||||
<div class="news-date">Mon Sep 20 2004: </div> <p class="news-text"><a
|
||||
href="@PACKAGE_URL@polypaudio-0.5.tar.gz">Version 0.5</a> released;
|
||||
href="@PACKAGE_URL@pulseaudio-0.5.tar.gz">Version 0.5</a> released;
|
||||
changes include: extensive API improvements, new module
|
||||
<tt>module-combine</tt> 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
|
|||
<tt>module-pipe-source</tt>, many other fixes and improvements.</p>
|
||||
|
||||
<div class="news-date">Wed Sep 8 2004: </div> <p class="news-text"><a
|
||||
href="@PACKAGE_URL@polypaudio-0.4.tar.gz">Version 0.4</a> released;
|
||||
href="@PACKAGE_URL@pulseaudio-0.4.tar.gz">Version 0.4</a> released;
|
||||
changes include: daemon auto spawning, support for <tt>SCHED_FIFO</tt> scheduling, three new modules, proper logging, CPU load watchdog, many fixes.</p>
|
||||
|
||||
<div class="news-date">Fri Aug 27 2004: </div> <p class="news-text"><a
|
||||
href="@PACKAGE_URL@polypaudio-0.3.tar.gz">Version 0.3</a> released;
|
||||
href="@PACKAGE_URL@pulseaudio-0.3.tar.gz">Version 0.3</a> released;
|
||||
changes include: support for both glib 2.0 and glib 1.2, future cancellation, API updates, many fixes, relicense client library to LGPL.</p>
|
||||
|
||||
<div class="news-date">Fri Aug 20 2004: </div> <p class="news-text"><a
|
||||
href="@PACKAGE_URL@polypaudio-0.2.tar.gz">Version 0.2</a> released;
|
||||
href="@PACKAGE_URL@pulseaudio-0.2.tar.gz">Version 0.2</a> 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.</p>
|
||||
|
||||
<div class="news-date">Sat Jul 17 2004: </div> <p class="news-text"><a
|
||||
href="@PACKAGE_URL@polypaudio-0.1.tar.gz">Version 0.1</a> released</p>
|
||||
href="@PACKAGE_URL@pulseaudio-0.1.tar.gz">Version 0.1</a> released</p>
|
||||
|
||||
<h2><a name="overview">Overview</a></h2>
|
||||
|
||||
<p><tt>polypaudio</tt> is a networked sound server for Linux and other
|
||||
<p><tt>pulseaudio</tt> 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 <a
|
||||
href="http://www.tux.org/~ricdude/apps.html">Enlightened Sound
|
||||
Daemon</a> (ESOUND). In addition to the features ESOUND provides
|
||||
<tt>polypaudio</tt> has:</p>
|
||||
<tt>pulseaudio</tt> has:</p>
|
||||
|
||||
<ul>
|
||||
<li>Extensible plugin architecture (by loading dynamic loadable modules with <tt>dlopen()</tt>)</li>
|
||||
|
|
@ -150,8 +150,8 @@ Daemon</a> (ESOUND). In addition to the features ESOUND provides
|
|||
use of a simple main loop abstraction layer. This allows easy
|
||||
integration with asynchronous applications using the
|
||||
<tt>glib</tt>/<tt>gtk</tt> mainloop. Since the asynchronous API
|
||||
available through <tt>polyplib</tt> is quite difficult to use there is
|
||||
a simplified synchronous API wrapper <tt>polyplib-simple</tt>
|
||||
available through <tt>pulselib</tt> is quite difficult to use there is
|
||||
a simplified synchronous API wrapper <tt>pulselib-simple</tt>
|
||||
available. A simple main loop implementation is available as well.</p>
|
||||
|
||||
<p>The following modules are currently available:</p>
|
||||
|
|
@ -169,9 +169,9 @@ Sound Architecture</a> (ALSA) sinks and sources</li>
|
|||
<li><tt>module-x11-bell</tt>: play a sample from the sample cache on every X11 bell event.</li>
|
||||
<li><tt>module-x11-publish</tt>: store Polypaudio credentials in the X11 root window.</li>
|
||||
<li><tt>module-esound-protocol-tcp</tt>, <tt>module-esound-protocol-unix</tt>: <a href="http://www.tux.org/~ricdude/apps.html">ESOUND</a> compatibility modules (for TCP/IP resp. UNIX domain sockets)</li>
|
||||
<li><tt>module-native-protocol-tcp</tt>, <tt>module-native-protocol-unix</tt>: Native polypaudio protocol (for TCP/IP resp. UNIX domain sockets)</li>
|
||||
<li><tt>module-native-protocol-tcp</tt>, <tt>module-native-protocol-unix</tt>: Native pulseaudio protocol (for TCP/IP resp. UNIX domain sockets)</li>
|
||||
<li><tt>module-simple-protocol-tcp</tt>, <tt>module-simple-protocol-unix</tt>: Simplistic protocol for playback/capture for usage with tools like <tt>netcat</tt> (for TCP/IP resp. UNIX domain sockets)</li>
|
||||
<li><tt>module-cli-protocol-tcp</tt>, <tt>module-cli-protocol-unix</tt>, <tt>module-cli</tt>: Expose polypaudio's internals whith a simple command line interface. (for TCP/IP resp. UNIX domain sockets resp. STDIN/STDOUT)</li>
|
||||
<li><tt>module-cli-protocol-tcp</tt>, <tt>module-cli-protocol-unix</tt>, <tt>module-cli</tt>: Expose pulseaudio's internals whith a simple command line interface. (for TCP/IP resp. UNIX domain sockets resp. STDIN/STDOUT)</li>
|
||||
<li><tt>module-http-protocol-tcp</tt>: Spawns a small HTTP server which can be used to introspect the Polypaudio server with a web browser.</li>
|
||||
<li><tt>module-tunnel-sink</tt>, <tt>module-tunnel-source</tt>: make sinks/sources from other hosts available locally.</li>
|
||||
<li><tt>module-match</tt>: adjust volume automatically for newly created playback streams based on a regular expression matching table.</li>
|
||||
|
|
@ -186,7 +186,7 @@ Sound Architecture</a> (ALSA) sinks and sources</li>
|
|||
<li><tt>module-jack-sink</tt>, <tt>module-jack-source</tt>: connect to a <a href="http://jackit.sourceforge.net/">JACK Audio Connection Kit</a> server. (A sound server for professional audio production)</li>
|
||||
</ul>
|
||||
|
||||
<p>A GTK GUI manager application for polypaudio is the <a
|
||||
<p>A GTK GUI manager application for pulseaudio is the <a
|
||||
href="http://0pointer.de/lennart/projects/paman/">Polypaudio
|
||||
Manager</a>. Other GTK GUI tool for Polypaudio are the <a
|
||||
href="http://0pointer.de/lennart/projects/pavumeter">Polypaudio Volume
|
||||
|
|
@ -195,10 +195,10 @@ href="http://0pointer.de/lennart/projects/pavucontrol">Polypaudio Volume
|
|||
Control</a> .</p>
|
||||
|
||||
<p>There are output plugins for <a
|
||||
href="http://0pointer.de/lennart/projects/xmms-polyp/">XMMS</a>, <a
|
||||
href="http://0pointer.de/lennart/projects/libao-polyp/">libao</a>
|
||||
href="http://0pointer.de/lennart/projects/xmms-pulse/">XMMS</a>, <a
|
||||
href="http://0pointer.de/lennart/projects/libao-pulse/">libao</a>
|
||||
(merged in <tt>libao</tt> SVN) and <a
|
||||
href="http://0pointer.de/lennart/projects/gst-polyp/">gstreamer</a>
|
||||
href="http://0pointer.de/lennart/projects/gst-pulse/">gstreamer</a>
|
||||
(merged in <tt>gstreamer-plugins</tt> CVS), <a
|
||||
href="http://mplayerhq.hu">MPlayer</a> (merged in MPlayer CVS) and <a
|
||||
href="http://xine.sf.net/">Xine</a> (merged in Xine CVS). Drivers for
|
||||
|
|
@ -216,68 +216,68 @@ href="modules.html"><tt>modules.html</tt></a>, <a
|
|||
href="cli.html"><tt>cli.html</tt></a>, <a
|
||||
href="daemon.html"><tt>daemon.html</tt></a> and <a href="FAQ.html"><tt>FAQ.html</tt></a>.</p>
|
||||
|
||||
<p>There is a <a href="http://www.edgewall.com/products/trac/">Trac</a> based <a href="http://0pointer.de/trac/polypaudio/">Wiki for Polypaudio</a> available.</p>
|
||||
<p>There is a <a href="http://www.edgewall.com/products/trac/">Trac</a> based <a href="http://0pointer.de/trac/pulseaudio/">Wiki for Polypaudio</a> available.</p>
|
||||
|
||||
<h3>First Steps</h3>
|
||||
|
||||
<p>Simply start the polypaudio daemon with the argument <tt>-nC</tt></p>
|
||||
<p>Simply start the pulseaudio daemon with the argument <tt>-nC</tt></p>
|
||||
|
||||
<pre>polypaudio -nC</pre>
|
||||
<pre>pulseaudio -nC</pre>
|
||||
|
||||
<p>This will present you a screen like this:</p>
|
||||
|
||||
<pre>Welcome to polypaudio! Use "help" for usage information.
|
||||
<pre>Welcome to pulseaudio! Use "help" for usage information.
|
||||
>>> </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 like that one included in the distribution on the
|
||||
<tt>pulseaudio</tt> is by specifying a configuration script like that one included in the distribution on the
|
||||
command line :</p>
|
||||
|
||||
<pre>polypaudio -nF polypaudio.pa</pre>
|
||||
<pre>pulseaudio -nF pulseaudio.pa</pre>
|
||||
|
||||
<p>This will load some drivers and protocols automatically.</p>
|
||||
|
||||
<p>The best idea is to configure your daemon in <tt>/etc/polypaudio/daemon.conf</tt> and <tt>/etc/polypaudio/default.pa</tt> and to run polypaudio without any arguments.</p>
|
||||
<p>The best idea is to configure your daemon in <tt>/etc/pulseaudio/daemon.conf</tt> and <tt>/etc/pulseaudio/default.pa</tt> and to run pulseaudio without any arguments.</p>
|
||||
|
||||
<p><b>Beware!</b> Unless you pass the option <tt>--sysconfdir=/etc</tt> to
|
||||
<tt>configure</tt>, the directory <tt>/etc/polypaudio/</tt> is really
|
||||
<tt>/usr/local/etc/polypaudio/</tt>.</p>
|
||||
<tt>configure</tt>, the directory <tt>/etc/pulseaudio/</tt> is really
|
||||
<tt>/usr/local/etc/pulseaudio/</tt>.</p>
|
||||
|
||||
<h3>Developing polypaudio Clients</h3>
|
||||
<h3>Developing pulseaudio Clients</h3>
|
||||
|
||||
<p>You may browse the <a href="http://www.doxygen.org/">Doxygen</a> generated <a
|
||||
href="http://0pointer.de/lennart/projects/polypaudio/doxygen/">programing
|
||||
href="http://0pointer.de/lennart/projects/pulseaudio/doxygen/">programing
|
||||
documentation</a> for the client API. (Run <tt>make doxygen</tt> to generate this documentation from the source tree)</p>
|
||||
|
||||
<h3>Developing polypaudio Modules</h3>
|
||||
<h3>Developing pulseaudio Modules</h3>
|
||||
|
||||
<p>There are several reasons for writing loadable modules for polypaudio:</p>
|
||||
<p>There are several reasons for writing loadable modules for pulseaudio:</p>
|
||||
|
||||
<ul>
|
||||
<li>Extended device driver support</li>
|
||||
<li>Protocol support beyond ESOUND's protocol and the native protocol. (such as NAS or a subset of aRts)</li>
|
||||
<li>New programming interfaces such as XMLRPC or DBUS for controlling the daemon.</li>
|
||||
<li>Hooking audio event sources directly into polypaudio (similar to <tt>module-x11-bell</tt>)</li>
|
||||
<li>For low latency applications such as VOIP: load the VOIP core directly into polypaudio and have a slim GUI frontend to control it.</li>
|
||||
<li>Hooking audio event sources directly into pulseaudio (similar to <tt>module-x11-bell</tt>)</li>
|
||||
<li>For low latency applications such as VOIP: load the VOIP core directly into pulseaudio and have a slim GUI frontend to control it.</li>
|
||||
</ul>
|
||||
|
||||
<p>There is currently no documentation how to write loadable modules
|
||||
for polypaudio. <i>Read the source, Luke!</i> If you are interested in
|
||||
for pulseaudio. <i>Read the source, Luke!</i> If you are interested in
|
||||
writing new modules feel free to contact the author in case you have any
|
||||
questions.</p>
|
||||
|
||||
<h2><a name="requirements">Requirements</a></h2>
|
||||
|
||||
<p>Currently, <tt>polypaudio</tt> is tested on Linux, FreeBSD, Solaris and Microsoft Windows. It requires an OSS, ALSA, Win32 or Solaris compatible soundcard.</p>
|
||||
<p>Currently, <tt>pulseaudio</tt> is tested on Linux, FreeBSD, Solaris and Microsoft Windows. It requires an OSS, ALSA, Win32 or Solaris compatible soundcard.</p>
|
||||
|
||||
<p><tt>polypaudio</tt> was developed and tested on Debian GNU/Linux
|
||||
<p><tt>pulseaudio</tt> 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.</p>
|
||||
|
||||
<p><tt>polypaudio</tt> needs <a
|
||||
<p><tt>pulseaudio</tt> needs <a
|
||||
href="http://www.mega-nerd.com/SRC/">Secret Rabbit Code (aka
|
||||
<tt>libsamplerate</tt>)</a>, <a
|
||||
href="http://www.mega-nerd.com/libsndfile"><tt>libsndfile</tt></a>, <a
|
||||
|
|
@ -296,7 +296,7 @@ building the GLIB main loop integration module only.)</p>
|
|||
<tt>./configure</tt> inside the distribution directory for configuring
|
||||
the source tree. After that you should run <tt>make</tt> for
|
||||
compilation and <tt>make install</tt> (as root) for installation of
|
||||
<tt>polypaudio</tt>.</p>
|
||||
<tt>pulseaudio</tt>.</p>
|
||||
|
||||
<h2><a name="acks">Acknowledgements</a></h2>
|
||||
|
||||
|
|
@ -318,25 +318,25 @@ compilation and <tt>make install</tt> (as root) for installation of
|
|||
|
||||
<p>The newest release is always available from <a href="@PACKAGE_URL@">@PACKAGE_URL@</a></p>
|
||||
|
||||
<p>The current release is <a href="@PACKAGE_URL@polypaudio-@PACKAGE_VERSION@.tar.gz">@PACKAGE_VERSION@</a></p>
|
||||
<p>The current release is <a href="@PACKAGE_URL@pulseaudio-@PACKAGE_VERSION@.tar.gz">@PACKAGE_VERSION@</a></p>
|
||||
|
||||
<p>Get <tt>polypaudio</tt>'s development sources from the <a href="http://subversion.tigris.org/">Subversion</a> <a href="svn://0pointer.de/polypaudio">repository</a> (<a href="http://0pointer.de/cgi-bin/viewcvs.cgi/?root=polypaudio">viewcvs</a>): </p>
|
||||
<p>Get <tt>pulseaudio</tt>'s development sources from the <a href="http://subversion.tigris.org/">Subversion</a> <a href="svn://0pointer.de/pulseaudio">repository</a> (<a href="http://0pointer.de/cgi-bin/viewcvs.cgi/?root=pulseaudio">viewcvs</a>): </p>
|
||||
|
||||
<pre>svn checkout svn://0pointer.de/polypaudio/trunk polypaudio</pre>
|
||||
<pre>svn checkout svn://0pointer.de/pulseaudio/trunk pulseaudio</pre>
|
||||
|
||||
<h2><a name="community">Community</a></h2>
|
||||
|
||||
<p>If you want to be notified whenever I release a new version of this software use the subscription feature of <a href="http://freshmeat.net/projects/polypaudio/">Freshmeat</a>.</p>
|
||||
<p>If you want to be notified whenever I release a new version of this software use the subscription feature of <a href="http://freshmeat.net/projects/pulseaudio/">Freshmeat</a>.</p>
|
||||
|
||||
<p>There is a general discussion <a href="https://tango.0pointer.de/mailman/listinfo/polypaudio-discuss">mailing list for polypaudio</a> available. In addition, you can subscribe to <a href="https://tango.0pointer.de/mailman/listinfo/polypaudio-commits">SVN changes</a> and <a href="https://tango.0pointer.de/mailman/listinfo/polypaudio-tickets">Trac Tickets</a>.</p>
|
||||
<p>There is a general discussion <a href="https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss">mailing list for pulseaudio</a> available. In addition, you can subscribe to <a href="https://tango.0pointer.de/mailman/listinfo/pulseaudio-commits">SVN changes</a> and <a href="https://tango.0pointer.de/mailman/listinfo/pulseaudio-tickets">Trac Tickets</a>.</p>
|
||||
|
||||
<p>Polypaudio is being tracked at <a href="http://cia.navi.cx/stats/project/polypaudio">CIA</a>.</p>
|
||||
<p>Polypaudio is being tracked at <a href="http://cia.navi.cx/stats/project/pulseaudio">CIA</a>.</p>
|
||||
|
||||
<p>There's a chance to meet the Polypaudio developers on our <a href="irc://irc.freenode.org/polypaudio">IRC channel #polypaudio on irc.freenode.org</a>.</p>
|
||||
<p>There's a chance to meet the Polypaudio developers on our <a href="irc://irc.freenode.org/pulseaudio">IRC channel #pulseaudio on irc.freenode.org</a>.</p>
|
||||
|
||||
<p>There is a <a href="http://www.edgewall.com/products/trac/">Trac</a> based <a href="http://0pointer.de/trac/polypaudio/">Wiki for Polypaudio</a> available.</p>
|
||||
<p>There is a <a href="http://www.edgewall.com/products/trac/">Trac</a> based <a href="http://0pointer.de/trac/pulseaudio/">Wiki for Polypaudio</a> available.</p>
|
||||
|
||||
<p><b>Please report bugs to <a href="http://0pointer.de/trac/polypaudio/newticket">our Trac ticket system</a>.</b></p>
|
||||
<p><b>Please report bugs to <a href="http://0pointer.de/trac/pulseaudio/newticket">our Trac ticket system</a>.</b></p>
|
||||
|
||||
<hr/>
|
||||
<address class="grey">Lennart Poettering <@PACKAGE_BUGREPORT@>, June 2006</address>
|
||||
|
|
|
|||
|
|
@ -2,14 +2,14 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>polypaudio: Simple Command Line Language</title>
|
||||
<title>pulseaudio: Simple Command Line Language</title>
|
||||
<link rel="stylesheet" type="text/css" href="style.css" />
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<h1>Simple Command Line Language</h1>
|
||||
|
||||
<p><tt>polypaudio</tt> provides a simple command line language used by
|
||||
<p><tt>pulseaudio</tt> provides a simple command line language used by
|
||||
configuration scripts as well as the modules <tt>module-cli</tt>
|
||||
and <tt>module-cli-protocol-{unix,tcp}</tt>. Empty lines and lines
|
||||
beginning with a hashmark (<tt>#</tt>) are silently ignored. Several
|
||||
|
|
@ -181,7 +181,7 @@ on the interactive command line.</p>
|
|||
|
||||
<h2>Example Configuration Script</h2>
|
||||
|
||||
<p>Mark the following script as executable (<tt>chmod +x</tt>) and run it for a sensible polypaudio configuration.</p>
|
||||
<p>Mark the following script as executable (<tt>chmod +x</tt>) and run it for a sensible pulseaudio configuration.</p>
|
||||
|
||||
<pre>
|
||||
#!/usr/bin/polaudio -nF
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>polypaudio: Daemon</title>
|
||||
<title>pulseaudio: Daemon</title>
|
||||
<link rel="stylesheet" type="text/css" href="style.css" />
|
||||
</head>
|
||||
|
||||
|
|
@ -11,7 +11,7 @@
|
|||
|
||||
<h2>Command Line Arguments</h2>
|
||||
|
||||
The <tt>polypaudio</tt> daemon accepts several command line arguments:
|
||||
The <tt>pulseaudio</tt> daemon accepts several command line arguments:
|
||||
|
||||
<pre>
|
||||
COMMANDS:
|
||||
|
|
@ -58,9 +58,9 @@ STARTUP SCRIPT:
|
|||
|
||||
<p>It is a good idea to run the daemon like this:</p>
|
||||
|
||||
<pre>polypaudio -D</pre>
|
||||
<pre>pulseaudio -D</pre>
|
||||
|
||||
<p>This will run <tt>/etc/polypaudio/default.pa</tt> after startup. This should be a script written in the CLI language described in <a href="cli.html">cli.html</a>. </p>
|
||||
<p>This will run <tt>/etc/pulseaudio/default.pa</tt> after startup. This should be a script written in the CLI language described in <a href="cli.html">cli.html</a>. </p>
|
||||
|
||||
<h2>Signals</h2>
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>polypaudio: Loadable Modules</title>
|
||||
<title>pulseaudio: Loadable Modules</title>
|
||||
<link rel="stylesheet" type="text/css" href="style.css" />
|
||||
</head>
|
||||
|
||||
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
<h1>Loadable Modules</h1>
|
||||
|
||||
<p>The following loadable modules are provided with the <tt>polypaudio</tt> distribution:</p>
|
||||
<p>The following loadable modules are provided with the <tt>pulseaudio</tt> distribution:</p>
|
||||
|
||||
<h2>Device Drivers</h2>
|
||||
|
||||
|
|
@ -157,7 +157,7 @@ will decrease output quality however. (defaults to
|
|||
<h3>module-tunnel-{sink,source}</h3>
|
||||
|
||||
<p>Tunnel a remote sink/source to a local "ghost"
|
||||
sink/source. Requires a running polypaudio daemon on the remote server
|
||||
sink/source. Requires a running pulseaudio daemon on the remote server
|
||||
with <tt>module-native-protocol-tcp</tt> loaded. It's probably a
|
||||
better idea to connect to the remote sink/source directly since some
|
||||
buffer control is lost through this tunneling.</p>
|
||||
|
|
@ -204,7 +204,7 @@ module see <a href="cli.html"><tt>cli.html</tt></a>.
|
|||
<h3>module-cli-protocol-{unix,tcp}</h3>
|
||||
|
||||
<p>An implemenation of a simple command line based protocol for
|
||||
controlling the <tt>polypaudio</tt> daemon. If loaded, the user may
|
||||
controlling the <tt>pulseaudio</tt> daemon. If loaded, the user may
|
||||
connect with tools like <tt>netcat</tt>, <tt>telnet</tt> or
|
||||
<a href="http://0pointer.de/lennart/projects/bidilink/"><tt>bidilink</tt></a> to the listening sockets and execute commands the
|
||||
same way as with <tt>module-cli</tt>.</p>
|
||||
|
|
@ -225,7 +225,7 @@ transparent TCP/IP socket. (Both IPv6 and IPv4 - if available)</p>
|
|||
a numerical binary value. If 1 the socket is bound to the loopback
|
||||
device, i.e. not publicly accessible. (defaults to 1)</td></tr>
|
||||
<tr><td><tt>listen=</tt></td><td>(only for <tt>-tcp</tt>) The IP address to listen on. If specified, supersedes the value specified in <tt>loopback=</tt></td></tr>
|
||||
<tr><td><tt>socket=</tt></td><td>(only for <tt>-unix</tt>) The UNIX socket name (defaults to <tt>/tmp/polypaudio/cli</tt>)</td></tr>
|
||||
<tr><td><tt>socket=</tt></td><td>(only for <tt>-unix</tt>) The UNIX socket name (defaults to <tt>/tmp/pulseaudio/cli</tt>)</td></tr>
|
||||
</table>
|
||||
|
||||
<h3>module-simple-protocol-{unix,tcp}</h3>
|
||||
|
|
@ -254,7 +254,7 @@ about the two possible suffixes of this module.</p>
|
|||
<p>An implemenation of a protocol compatible with the <a
|
||||
href="http://www.tux.org/~ricdude/EsounD.html">Enlightened Sound
|
||||
Daemon</a> (ESOUND, <tt>esd</tt>). When you load this module you may
|
||||
access the <tt>polypaudio</tt> daemon with tools like <tt>esdcat</tt>,
|
||||
access the <tt>pulseaudio</tt> daemon with tools like <tt>esdcat</tt>,
|
||||
<tt>esdrec</tt> or even <tt>esdctl</tt>. Many applications, such as
|
||||
XMMS, include support for this protocol.</p>
|
||||
|
||||
|
|
@ -273,7 +273,7 @@ about the two possible suffixes of this module.</p>
|
|||
|
||||
<h3>module-native-protocol-{unix,tcp}</h3>
|
||||
|
||||
<p>The native protocol of <tt>polypaudio</tt>.</p>
|
||||
<p>The native protocol of <tt>pulseaudio</tt>.</p>
|
||||
|
||||
<p>See <tt>module-cli-protocol-{unix,tcp}</tt> for more information
|
||||
about the two possible suffixes of this module.</p>
|
||||
|
|
@ -293,7 +293,7 @@ about the two possible suffixes of this module.</p>
|
|||
<h3>module-http-protocol-tcp</h3>
|
||||
|
||||
<p>A proof-of-concept HTTP module, which can be used to introspect
|
||||
the current status of the polypaudio daemon using HTTP. Just load this
|
||||
the current status of the pulseaudio daemon using HTTP. Just load this
|
||||
module and point your browser to <a
|
||||
href="http://localhost:4714/">http://localhost:4714/</a>. This module takes the same arguments
|
||||
as <tt>module-cli-protocol-tcp</tt>.</p>
|
||||
|
|
@ -347,7 +347,7 @@ already loaded protocol module is used.</td></tr> </table>
|
|||
|
||||
<table>
|
||||
<tr><td><tt>config=</tt></td><td>The LIRC configuration file</td></tr>
|
||||
<tr><td><tt>appname=</tt></td><td>The application name to pass to LIRC (defaults to <tt>polypaudio</tt>)</td></tr>
|
||||
<tr><td><tt>appname=</tt></td><td>The application name to pass to LIRC (defaults to <tt>pulseaudio</tt>)</td></tr>
|
||||
<tr><td><tt>sink=</tt></td><td>The sink to control</td></tr>
|
||||
</table>
|
||||
|
||||
|
|
@ -430,7 +430,7 @@ created in the JACK server.</p>
|
|||
<table>
|
||||
<tr><td><tt>sink_name=</tt></td><td>The name for the Polypaudio sink. If ommited defaults to <tt>jack_out</tt>.</td></tr>
|
||||
<tr><td><tt>server_name=</tt></td><td>The JACK server to connect to. If ommited defaults to the default server.</td></tr>
|
||||
<tr><td><tt>client_name=</tt></td><td>The client name to tell the JACK server. If ommited defaults to <tt>polypaudio</tt>.</td></tr>
|
||||
<tr><td><tt>client_name=</tt></td><td>The client name to tell the JACK server. If ommited defaults to <tt>pulseaudio</tt>.</td></tr>
|
||||
<tr><td><tt>channels=</tt></td><td>Number of channels to register. If ommited defaults to the number of physical playback ports of the JACK server.</td></tr>
|
||||
<tr><td><tt>connect=</tt></td><td>Takes a boolean value. If enabled (the default) Polypaudio will try to connect its ports to the physicial playback ports of the JACK server</td></tr>
|
||||
</table>
|
||||
|
|
@ -455,18 +455,18 @@ which is replaced by <tt>source_name</tt> (with a default of <tt>jack_in</tt>) f
|
|||
|
||||
<h3>module-esound-compat-spawnfd</h3>
|
||||
|
||||
<p>This is a compatibility module for <tt>libesd</tt> based autospawning of polypaudio. Don't use it directly.</p>
|
||||
<p>This is a compatibility module for <tt>libesd</tt> based autospawning of pulseaudio. Don't use it directly.</p>
|
||||
|
||||
<h3>module-esound-compat-spawnpid</h3>
|
||||
|
||||
<p>This is a compatibility module for <tt>libesd</tt> based autospawning of polypaudio. Don't use it directly.</p>
|
||||
<p>This is a compatibility module for <tt>libesd</tt> based autospawning of pulseaudio. Don't use it directly.</p>
|
||||
|
||||
<h3>module-match</h3>
|
||||
|
||||
<p>Adjust the volume of a playback stream automatically based on its name.</p>
|
||||
|
||||
<table>
|
||||
<tr><td><tt>table=</tt></td><td>The regular expression matching table file to use (defaults to <tt>~/.polypaudio/match.table</tt>)</td></tr>
|
||||
<tr><td><tt>table=</tt></td><td>The regular expression matching table file to use (defaults to <tt>~/.pulseaudio/match.table</tt>)</td></tr>
|
||||
</table>
|
||||
|
||||
<p>The table file should contain a regexp and volume on each line, seperated by spaces. An example:</p>
|
||||
|
|
@ -482,7 +482,7 @@ which is replaced by <tt>source_name</tt> (with a default of <tt>jack_in</tt>) f
|
|||
<p>Adjust the volume of a playback stream automatically based on its name.</p>
|
||||
|
||||
<table>
|
||||
<tr><td><tt>table=</tt></td><td>The table file to use (defaults to <tt>~/.polypaudio/volume.table</tt>)</td></tr>
|
||||
<tr><td><tt>table=</tt></td><td>The table file to use (defaults to <tt>~/.pulseaudio/volume.table</tt>)</td></tr>
|
||||
</table>
|
||||
|
||||
<p>In contrast to <tt>module-match</tt> this module needs no explicit
|
||||
|
|
|
|||
|
|
@ -1,20 +1,20 @@
|
|||
/* $Id$ */
|
||||
|
||||
/***
|
||||
* This file is part of polypaudio.
|
||||
* This file is part of PulseAudio.
|
||||
*
|
||||
* polypaudio is free software; you can redistribute it and/or modify it
|
||||
* PulseAudio is free software; you can redistribute it and/or modify it
|
||||
* under the terms of the GNU Lesser General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* polypaudio is distributed in the hope that it will be useful, but
|
||||
* PulseAudio is distributed in the hope that it will be useful, but
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public License
|
||||
* along with polypaudio; if not, write to the Free Software Foundation,
|
||||
* along with PulseAudio; if not, write to the Free Software Foundation,
|
||||
* Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
|
||||
***/
|
||||
|
||||
|
|
|
|||
|
|
@ -1,19 +1,19 @@
|
|||
# $Id$
|
||||
#
|
||||
# This file is part of polypaudio.
|
||||
# This file is part of PulseAudio.
|
||||
#
|
||||
# polypaudio is free software; you can redistribute it and/or modify
|
||||
# PulseAudio is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Lesser General Public License as published by
|
||||
# the Free Software Foundation; either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# polypaudio is distributed in the hope that it will be useful, but
|
||||
# PulseAudio is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
# General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Lesser General Public License
|
||||
# along with polypaudio; if not, write to the Free Software
|
||||
# along with PulseAudio; if not, write to the Free Software
|
||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
# USA.
|
||||
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@
|
|||
# The PROJECT_NAME tag is a single word (or a sequence of words surrounded
|
||||
# by quotes) that should identify the project.
|
||||
|
||||
PROJECT_NAME = @PACKAGE_NAME@
|
||||
PROJECT_NAME = PulseAudio
|
||||
|
||||
# The PROJECT_NUMBER tag can be used to enter a project or revision number.
|
||||
# This could be handy for archiving the generated documentation or
|
||||
|
|
@ -417,7 +417,7 @@ WARN_LOGFILE =
|
|||
# directories like "/usr/src/myproject". Separate the files or directories
|
||||
# with spaces.
|
||||
|
||||
INPUT = ../src/polyp/context.h ../src/polyp/stream.h ../src/polyp/polypaudio.h ../src/polyp/sample.h ../src/polyp/def.h ../src/polyp/subscribe.h ../src/polyp/introspect.h ../src/polyp/scache.h ../src/polyp/mainloop-api.h ../src/polyp/glib-mainloop.h ../src/polyp/mainloop.h ../src/polyp/mainloop-signal.h ../src/polyp/error.h ../src/polyp/operation.h ../src/polyp/simple.h ../src/polyp/version.h ../src/polyp/volume.h ../src/polyp/channelmap.h ../src/polyp/thread-mainloop.h ../src/polyp/xmalloc.h ../src/polyp/utf8.h ../src/polyp/util.h ../src/polyp/timeval.h
|
||||
INPUT = ../src/pulse/context.h ../src/pulse/stream.h ../src/pulse/pulseaudio.h ../src/pulse/sample.h ../src/pulse/def.h ../src/pulse/subscribe.h ../src/pulse/introspect.h ../src/pulse/scache.h ../src/pulse/mainloop-api.h ../src/pulse/glib-mainloop.h ../src/pulse/mainloop.h ../src/pulse/mainloop-signal.h ../src/pulse/error.h ../src/pulse/operation.h ../src/pulse/simple.h ../src/pulse/version.h ../src/pulse/volume.h ../src/pulse/channelmap.h ../src/pulse/thread-mainloop.h ../src/pulse/xmalloc.h ../src/pulse/utf8.h ../src/pulse/util.h ../src/pulse/timeval.h
|
||||
|
||||
# If the value of the INPUT tag contains directories, you can use the
|
||||
# FILE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp
|
||||
|
|
|
|||
|
|
@ -3,9 +3,9 @@ exec_prefix=${prefix}
|
|||
libdir=${exec_prefix}/lib
|
||||
includedir=${prefix}/include
|
||||
|
||||
Name: polyplib-browse
|
||||
Description: Polypaudio network browsing API
|
||||
Name: libpuls-browse
|
||||
Description: PulseAudio Network Browsing API
|
||||
Version: @PACKAGE_VERSION@
|
||||
Libs: -L${libdir} -lpolyp-browse
|
||||
Libs: -L${libdir} -lpulse-browse
|
||||
Cflags: -D_REENTRANT -I${includedir}
|
||||
Requires: polyplib
|
||||
Requires: libpulse
|
||||
|
|
@ -3,9 +3,9 @@ exec_prefix=${prefix}
|
|||
libdir=${exec_prefix}/lib
|
||||
includedir=${prefix}/include
|
||||
|
||||
Name: polyplib-glib-mainloop
|
||||
Description: GLIB main loop wrapper for polypaudio
|
||||
Name: libpulse-glib-mainloop
|
||||
Description: GLIB 2.0 Main Loop Wrapper for PulseAudio
|
||||
Version: @PACKAGE_VERSION@
|
||||
Libs: -L${libdir} -lpolyp-mainloop-glib
|
||||
Libs: -L${libdir} -lpulse-mainloop-glib
|
||||
Cflags: -D_REENTRANT -I${includedir}
|
||||
Requires: polyplib glib-2.0
|
||||
Requires: libpulse glib-2.0
|
||||
|
|
@ -3,9 +3,9 @@ exec_prefix=${prefix}
|
|||
libdir=${exec_prefix}/lib
|
||||
includedir=${prefix}/include
|
||||
|
||||
Name: polyplib-glib12-mainloop
|
||||
Description: GLIB main loop wrapper for polypaudio
|
||||
Name: libpulse-glib12-mainloop
|
||||
Description: GLIB 1.2 Main Loop Wrapper for PulseAudio
|
||||
Version: @PACKAGE_VERSION@
|
||||
Libs: -L${libdir} -lpolyp-mainloop-glib12
|
||||
Libs: -L${libdir} -lpulse-mainloop-glib12
|
||||
Cflags: -D_REENTRANT -I${includedir}
|
||||
Requires: polyplib glib
|
||||
Requires: libpulse glib
|
||||
|
|
@ -3,9 +3,9 @@ exec_prefix=${prefix}
|
|||
libdir=${exec_prefix}/lib
|
||||
includedir=${prefix}/include
|
||||
|
||||
Name: polyplib-simple
|
||||
Description: Simplified synchronous client interface to polypaudio
|
||||
Name: libpulse-simple
|
||||
Description: Simplified Synchronous Client Interface to PulseAudio
|
||||
Version: @PACKAGE_VERSION@
|
||||
Libs: -L${libdir} -lpolyp-simple
|
||||
Libs: -L${libdir} -lpulse-simple
|
||||
Cflags: -D_REENTRANT -I${includedir}
|
||||
Requires: polyplib
|
||||
Requires: libpulse
|
||||
|
|
@ -3,9 +3,9 @@ exec_prefix=${prefix}
|
|||
libdir=${exec_prefix}/lib
|
||||
includedir=${prefix}/include
|
||||
|
||||
Name: polyplib
|
||||
Description: Client interface to polypaudio
|
||||
Name: libpulse
|
||||
Description: Client Interface to PulseAudio
|
||||
Version: @PACKAGE_VERSION@
|
||||
Libs: -L${libdir} -lpolyp
|
||||
Libs: -L${libdir} -lpulse
|
||||
Cflags: -D_REENTRANT -I${includedir}
|
||||
Requires:
|
||||
790
src/Makefile.am
790
src/Makefile.am
File diff suppressed because it is too large
Load diff
|
|
@ -1 +1 @@
|
|||
../polyp/Makefile
|
||||
../pulse/Makefile
|
||||
|
|
@ -1,20 +1,20 @@
|
|||
/* $Id$ */
|
||||
|
||||
/***
|
||||
This file is part of polypaudio.
|
||||
This file is part of PulseAudio.
|
||||
|
||||
polypaudio is free software; you can redistribute it and/or modify
|
||||
PulseAudio is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU Lesser General Public License as published
|
||||
by the Free Software Foundation; either version 2 of the License,
|
||||
or (at your option) any later version.
|
||||
|
||||
polypaudio is distributed in the hope that it will be useful, but
|
||||
PulseAudio is distributed in the hope that it will be useful, but
|
||||
WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public License
|
||||
along with polypaudio; if not, write to the Free Software
|
||||
along with PulseAudio; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
USA.
|
||||
***/
|
||||
|
|
@ -32,9 +32,9 @@
|
|||
#include <sys/capability.h>
|
||||
#endif
|
||||
|
||||
#include <polypcore/core-error.h>
|
||||
#include <pulsecore/core-error.h>
|
||||
|
||||
#include <polypcore/log.h>
|
||||
#include <pulsecore/log.h>
|
||||
|
||||
#include "caps.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -4,20 +4,20 @@
|
|||
/* $Id$ */
|
||||
|
||||
/***
|
||||
This file is part of polypaudio.
|
||||
This file is part of PulseAudio.
|
||||
|
||||
polypaudio is free software; you can redistribute it and/or modify
|
||||
PulseAudio is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU Lesser General Public License as published
|
||||
by the Free Software Foundation; either version 2 of the License,
|
||||
or (at your option) any later version.
|
||||
|
||||
polypaudio is distributed in the hope that it will be useful, but
|
||||
PulseAudio is distributed in the hope that it will be useful, but
|
||||
WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public License
|
||||
along with polypaudio; if not, write to the Free Software
|
||||
along with PulseAudio; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
USA.
|
||||
***/
|
||||
|
|
|
|||
|
|
@ -1,20 +1,20 @@
|
|||
/* $Id$ */
|
||||
|
||||
/***
|
||||
This file is part of polypaudio.
|
||||
This file is part of PulseAudio.
|
||||
|
||||
polypaudio is free software; you can redistribute it and/or modify
|
||||
PulseAudio is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU Lesser General Public License as published
|
||||
by the Free Software Foundation; either version 2 of the License,
|
||||
or (at your option) any later version.
|
||||
|
||||
polypaudio is distributed in the hope that it will be useful, but
|
||||
PulseAudio is distributed in the hope that it will be useful, but
|
||||
WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public License
|
||||
along with polypaudio; if not, write to the Free Software
|
||||
along with PulseAudio; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
USA.
|
||||
***/
|
||||
|
|
@ -30,10 +30,10 @@
|
|||
#include <getopt.h>
|
||||
#include <sys/stat.h>
|
||||
|
||||
#include <polyp/xmalloc.h>
|
||||
#include <pulse/xmalloc.h>
|
||||
|
||||
#include <polypcore/core-util.h>
|
||||
#include <polypcore/strbuf.h>
|
||||
#include <pulsecore/core-util.h>
|
||||
#include <pulsecore/strbuf.h>
|
||||
|
||||
#include "cmdline.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -4,20 +4,20 @@
|
|||
/* $Id$ */
|
||||
|
||||
/***
|
||||
This file is part of polypaudio.
|
||||
This file is part of PulseAudio.
|
||||
|
||||
polypaudio is free software; you can redistribute it and/or modify
|
||||
PulseAudio is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU Lesser General Public License as published
|
||||
by the Free Software Foundation; either version 2 of the License,
|
||||
or (at your option) any later version.
|
||||
|
||||
polypaudio is distributed in the hope that it will be useful, but
|
||||
PulseAudio is distributed in the hope that it will be useful, but
|
||||
WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public License
|
||||
along with polypaudio; if not, write to the Free Software
|
||||
along with PulseAudio; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
USA.
|
||||
***/
|
||||
|
|
|
|||
|
|
@ -1,20 +1,20 @@
|
|||
/* $Id$ */
|
||||
|
||||
/***
|
||||
This file is part of polypaudio.
|
||||
This file is part of PulseAudio.
|
||||
|
||||
polypaudio is free software; you can redistribute it and/or modify
|
||||
PulseAudio is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU Lesser General Public License as
|
||||
published by the Free Software Foundation; either version 2 of the
|
||||
License, or (at your option) any later version.
|
||||
|
||||
polypaudio is distributed in the hope that it will be useful, but
|
||||
PulseAudio is distributed in the hope that it will be useful, but
|
||||
WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with polypaudio; if not, write to the Free Software
|
||||
License along with PulseAudio; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
USA.
|
||||
***/
|
||||
|
|
@ -23,11 +23,11 @@
|
|||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#include <polyp/error.h>
|
||||
#include <pulse/error.h>
|
||||
|
||||
#include <polypcore/core-util.h>
|
||||
#include <polypcore/core-error.h>
|
||||
#include <polypcore/log.h>
|
||||
#include <pulsecore/core-util.h>
|
||||
#include <pulsecore/core-error.h>
|
||||
#include <pulsecore/log.h>
|
||||
|
||||
#include "cpulimit.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -4,27 +4,27 @@
|
|||
/* $Id$ */
|
||||
|
||||
/***
|
||||
This file is part of polypaudio.
|
||||
This file is part of PulseAudio.
|
||||
|
||||
polypaudio is free software; you can redistribute it and/or modify
|
||||
PulseAudio is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU Lesser General Public License as published
|
||||
by the Free Software Foundation; either version 2 of the License,
|
||||
or (at your option) any later version.
|
||||
|
||||
polypaudio is distributed in the hope that it will be useful, but
|
||||
PulseAudio is distributed in the hope that it will be useful, but
|
||||
WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public License
|
||||
along with polypaudio; if not, write to the Free Software
|
||||
along with PulseAudio; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
USA.
|
||||
***/
|
||||
|
||||
#include <polyp/mainloop-api.h>
|
||||
#include <pulse/mainloop-api.h>
|
||||
|
||||
/* This kills the polypaudio process if it eats more than 70% of the
|
||||
/* This kills the pulseaudio process if it eats more than 70% of the
|
||||
* CPU time. This is build around setrlimit() and SIGXCPU. It is handy
|
||||
* in case of using SCHED_FIFO which may freeze the whole machine */
|
||||
|
||||
|
|
|
|||
|
|
@ -1,20 +1,20 @@
|
|||
/* $Id$ */
|
||||
|
||||
/***
|
||||
This file is part of polypaudio.
|
||||
This file is part of PulseAudio.
|
||||
|
||||
polypaudio is free software; you can redistribute it and/or modify
|
||||
PulseAudio is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU Lesser General Public License as published
|
||||
by the Free Software Foundation; either version 2 of the License,
|
||||
or (at your option) any later version.
|
||||
|
||||
polypaudio is distributed in the hope that it will be useful, but
|
||||
PulseAudio is distributed in the hope that it will be useful, but
|
||||
WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public License
|
||||
along with polypaudio; if not, write to the Free Software
|
||||
along with PulseAudio; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
USA.
|
||||
***/
|
||||
|
|
@ -29,19 +29,19 @@
|
|||
#include <assert.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include <polyp/xmalloc.h>
|
||||
#include <pulse/xmalloc.h>
|
||||
|
||||
#include <polypcore/core-error.h>
|
||||
#include <polypcore/core-util.h>
|
||||
#include <polypcore/strbuf.h>
|
||||
#include <polypcore/conf-parser.h>
|
||||
#include <polypcore/resampler.h>
|
||||
#include <pulsecore/core-error.h>
|
||||
#include <pulsecore/core-util.h>
|
||||
#include <pulsecore/strbuf.h>
|
||||
#include <pulsecore/conf-parser.h>
|
||||
#include <pulsecore/resampler.h>
|
||||
|
||||
#include "daemon-conf.h"
|
||||
|
||||
#ifndef DEFAULT_CONFIG_DIR
|
||||
# ifndef OS_IS_WIN32
|
||||
# define DEFAULT_CONFIG_DIR "/etc/polypaudio"
|
||||
# define DEFAULT_CONFIG_DIR "/etc/pulseaudio"
|
||||
# else
|
||||
# define DEFAULT_CONFIG_DIR "%POLYP_ROOT%"
|
||||
# endif
|
||||
|
|
@ -54,9 +54,9 @@
|
|||
#endif
|
||||
|
||||
#define DEFAULT_SCRIPT_FILE DEFAULT_CONFIG_DIR PATH_SEP "default.pa"
|
||||
#define DEFAULT_SCRIPT_FILE_USER ".polypaudio" PATH_SEP "default.pa"
|
||||
#define DEFAULT_SCRIPT_FILE_USER ".pulseaudio" PATH_SEP "default.pa"
|
||||
#define DEFAULT_CONFIG_FILE DEFAULT_CONFIG_DIR PATH_SEP "daemon.conf"
|
||||
#define DEFAULT_CONFIG_FILE_USER ".polypaudio" PATH_SEP "daemon.conf"
|
||||
#define DEFAULT_CONFIG_FILE_USER ".pulseaudio" PATH_SEP "daemon.conf"
|
||||
|
||||
#define ENV_SCRIPT_FILE "POLYP_SCRIPT"
|
||||
#define ENV_CONFIG_FILE "POLYP_CONFIG"
|
||||
|
|
|
|||
|
|
@ -4,25 +4,25 @@
|
|||
/* $Id$ */
|
||||
|
||||
/***
|
||||
This file is part of polypaudio.
|
||||
This file is part of PulseAudio.
|
||||
|
||||
polypaudio is free software; you can redistribute it and/or modify
|
||||
PulseAudio is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU Lesser General Public License as published
|
||||
by the Free Software Foundation; either version 2 of the License,
|
||||
or (at your option) any later version.
|
||||
|
||||
polypaudio is distributed in the hope that it will be useful, but
|
||||
PulseAudio is distributed in the hope that it will be useful, but
|
||||
WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public License
|
||||
along with polypaudio; if not, write to the Free Software
|
||||
along with PulseAudio; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
USA.
|
||||
***/
|
||||
|
||||
#include <polypcore/log.h>
|
||||
#include <pulsecore/log.h>
|
||||
|
||||
/* The actual command to execute */
|
||||
typedef enum pa_daemon_conf_cmd {
|
||||
|
|
|
|||
|
|
@ -1,23 +1,23 @@
|
|||
# $Id$
|
||||
#
|
||||
# This file is part of polypaudio.
|
||||
# This file is part of PulseAudio.
|
||||
#
|
||||
# polypaudio is free software; you can redistribute it and/or modify
|
||||
# PulseAudio is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Lesser General Public License as published by
|
||||
# the Free Software Foundation; either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# polypaudio is distributed in the hope that it will be useful, but
|
||||
# PulseAudio is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
# General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Lesser General Public License
|
||||
# along with polypaudio; if not, write to the Free Software
|
||||
# along with PulseAudio; if not, write to the Free Software
|
||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
# USA.
|
||||
|
||||
## Configuration file for the polypaudio daemon. Default values are
|
||||
## Configuration file for the pulseaudio daemon. Default values are
|
||||
## commented out. Use either ; or # for commenting
|
||||
|
||||
# Extra verbositiy
|
||||
|
|
@ -69,9 +69,9 @@
|
|||
## hand it has the worst quality of all.
|
||||
; resample-method = sinc-fastest
|
||||
|
||||
## Create a PID file in /tmp/polypaudio-$USER/pid. Of this is enabled
|
||||
## you may use commands like "polypaudio --kill" or "polypaudio
|
||||
## --check". If you are planning to start more than one polypaudio
|
||||
## Create a PID file in /tmp/pulseaudio-$USER/pid. Of this is enabled
|
||||
## you may use commands like "pulseaudio --kill" or "pulseaudio
|
||||
## --check". If you are planning to start more than one pulseaudio
|
||||
## process per user, you better disable this option since it
|
||||
## effectively disables multiple instances.
|
||||
; use-pid-file = 1
|
||||
|
|
|
|||
|
|
@ -1,20 +1,20 @@
|
|||
#!@POLYPAUDIO_BINARY@ -nF
|
||||
|
||||
#
|
||||
# This file is part of polypaudio.
|
||||
# This file is part of PulseAudio.
|
||||
#
|
||||
# polypaudio is free software; you can redistribute it and/or modify it
|
||||
# PulseAudio is free software; you can redistribute it and/or modify it
|
||||
# under the terms of the GNU Lesser General Public License as published by
|
||||
# the Free Software Foundation; either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# polypaudio is distributed in the hope that it will be useful, but
|
||||
# PulseAudio is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
# General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Lesser General Public License
|
||||
# along with polypaudio; if not, write to the Free Software Foundation,
|
||||
# along with PulseAudio; if not, write to the Free Software Foundation,
|
||||
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -1,18 +1,18 @@
|
|||
#
|
||||
# This file is part of polypaudio.
|
||||
# This file is part of PulseAudio.
|
||||
#
|
||||
# polypaudio is free software; you can redistribute it and/or modify it
|
||||
# PulseAudio is free software; you can redistribute it and/or modify it
|
||||
# under the terms of the GNU Lesser General Public License as published by
|
||||
# the Free Software Foundation; either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# polypaudio is distributed in the hope that it will be useful, but
|
||||
# PulseAudio is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
# General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Lesser General Public License
|
||||
# along with polypaudio; if not, write to the Free Software Foundation,
|
||||
# along with PulseAudio; if not, write to the Free Software Foundation,
|
||||
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -1,20 +1,20 @@
|
|||
/* $Id$ */
|
||||
|
||||
/***
|
||||
This file is part of polypaudio.
|
||||
This file is part of PulseAudio.
|
||||
|
||||
polypaudio is free software; you can redistribute it and/or modify
|
||||
PulseAudio is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU Lesser General Public License as published
|
||||
by the Free Software Foundation; either version 2 of the License,
|
||||
or (at your option) any later version.
|
||||
|
||||
polypaudio is distributed in the hope that it will be useful, but
|
||||
PulseAudio is distributed in the hope that it will be useful, but
|
||||
WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public License
|
||||
along with polypaudio; if not, write to the Free Software
|
||||
along with PulseAudio; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
USA.
|
||||
***/
|
||||
|
|
@ -29,9 +29,9 @@
|
|||
#include <stdio.h>
|
||||
#include <ltdl.h>
|
||||
|
||||
#include <polyp/util.h>
|
||||
#include <pulse/util.h>
|
||||
|
||||
#include <polypcore/modinfo.h>
|
||||
#include <pulsecore/modinfo.h>
|
||||
|
||||
#include "dumpmodules.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -4,20 +4,20 @@
|
|||
/* $Id*/
|
||||
|
||||
/***
|
||||
This file is part of polypaudio.
|
||||
This file is part of PulseAudio.
|
||||
|
||||
polypaudio is free software; you can redistribute it and/or modify
|
||||
PulseAudio is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU Lesser General Public License as published
|
||||
by the Free Software Foundation; either version 2 of the License,
|
||||
or (at your option) any later version.
|
||||
|
||||
polypaudio is distributed in the hope that it will be useful, but
|
||||
PulseAudio is distributed in the hope that it will be useful, but
|
||||
WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public License
|
||||
along with polypaudio; if not, write to the Free Software
|
||||
along with PulseAudio; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
USA.
|
||||
***/
|
||||
|
|
|
|||
|
|
@ -2,20 +2,20 @@
|
|||
|
||||
# $Id$
|
||||
#
|
||||
# This file is part of polypaudio.
|
||||
# This file is part of PulseAudio.
|
||||
#
|
||||
# polypaudio is free software; you can redistribute it and/or modify
|
||||
# PulseAudio is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Lesser General Public License as published by
|
||||
# the Free Software Foundation; either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# polypaudio is distributed in the hope that it will be useful, but
|
||||
# PulseAudio is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
# General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Lesser General Public License
|
||||
# along with polypaudio; if not, write to the Free Software
|
||||
# along with PulseAudio; if not, write to the Free Software
|
||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
# USA.
|
||||
|
||||
|
|
|
|||
|
|
@ -1,20 +1,20 @@
|
|||
/* $Id$ */
|
||||
|
||||
/***
|
||||
This file is part of polypaudio.
|
||||
This file is part of PulseAudio.
|
||||
|
||||
polypaudio is free software; you can redistribute it and/or modify
|
||||
PulseAudio is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU Lesser General Public License as published
|
||||
by the Free Software Foundation; either version 2 of the License,
|
||||
or (at your option) any later version.
|
||||
|
||||
polypaudio is distributed in the hope that it will be useful, but
|
||||
PulseAudio is distributed in the hope that it will be useful, but
|
||||
WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public License
|
||||
along with polypaudio; if not, write to the Free Software
|
||||
along with PulseAudio; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
USA.
|
||||
***/
|
||||
|
|
@ -48,24 +48,24 @@
|
|||
#include <tcpd.h>
|
||||
#endif
|
||||
|
||||
#include "../polypcore/winsock.h"
|
||||
#include "../pulsecore/winsock.h"
|
||||
|
||||
#include <polyp/mainloop.h>
|
||||
#include <polyp/mainloop-signal.h>
|
||||
#include <polyp/xmalloc.h>
|
||||
#include <pulse/mainloop.h>
|
||||
#include <pulse/mainloop-signal.h>
|
||||
#include <pulse/xmalloc.h>
|
||||
|
||||
#include <polypcore/core-error.h>
|
||||
#include <polypcore/core.h>
|
||||
#include <polypcore/memblock.h>
|
||||
#include <polypcore/module.h>
|
||||
#include <polypcore/cli-command.h>
|
||||
#include <polypcore/log.h>
|
||||
#include <polypcore/core-util.h>
|
||||
#include <polypcore/sioman.h>
|
||||
#include <polypcore/cli-text.h>
|
||||
#include <polypcore/pid.h>
|
||||
#include <polypcore/namereg.h>
|
||||
#include <polypcore/random.h>
|
||||
#include <pulsecore/core-error.h>
|
||||
#include <pulsecore/core.h>
|
||||
#include <pulsecore/memblock.h>
|
||||
#include <pulsecore/module.h>
|
||||
#include <pulsecore/cli-command.h>
|
||||
#include <pulsecore/log.h>
|
||||
#include <pulsecore/core-util.h>
|
||||
#include <pulsecore/sioman.h>
|
||||
#include <pulsecore/cli-text.h>
|
||||
#include <pulsecore/pid.h>
|
||||
#include <pulsecore/namereg.h>
|
||||
#include <pulsecore/random.h>
|
||||
|
||||
#include "cmdline.h"
|
||||
#include "cpulimit.h"
|
||||
|
|
@ -199,7 +199,7 @@ int main(int argc, char *argv[]) {
|
|||
|
||||
pa_random_seed();
|
||||
|
||||
pa_log_set_ident("polypaudio");
|
||||
pa_log_set_ident("pulseaudio");
|
||||
|
||||
conf = pa_daemon_conf_new();
|
||||
|
||||
|
|
|
|||
|
|
@ -1,20 +1,20 @@
|
|||
#!/usr/bin/python
|
||||
# $Id$
|
||||
#
|
||||
# This file is part of polypaudio.
|
||||
# This file is part of PulseAudio.
|
||||
#
|
||||
# polypaudio is free software; you can redistribute it and/or modify
|
||||
# PulseAudio is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Lesser General Public License as published by
|
||||
# the Free Software Foundation; either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# polypaudio is distributed in the hope that it will be useful, but
|
||||
# PulseAudio is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
# General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Lesser General Public License
|
||||
# along with polypaudio; if not, write to the Free Software
|
||||
# along with PulseAudio; if not, write to the Free Software
|
||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
# USA.
|
||||
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
../polyp/Makefile
|
||||
../pulse/Makefile
|
||||
|
|
@ -1,20 +1,20 @@
|
|||
/* $Id$ */
|
||||
|
||||
/***
|
||||
This file is part of polypaudio.
|
||||
This file is part of PulseAudio.
|
||||
|
||||
polypaudio is free software; you can redistribute it and/or modify
|
||||
PulseAudio is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU Lesser General Public License as published
|
||||
by the Free Software Foundation; either version 2 of the License,
|
||||
or (at your option) any later version.
|
||||
|
||||
polypaudio is distributed in the hope that it will be useful, but
|
||||
PulseAudio is distributed in the hope that it will be useful, but
|
||||
WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public License
|
||||
along with polypaudio; if not, write to the Free Software
|
||||
along with PulseAudio; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
USA.
|
||||
***/
|
||||
|
|
@ -26,10 +26,10 @@
|
|||
#include <sys/types.h>
|
||||
#include <asoundlib.h>
|
||||
|
||||
#include <polyp/sample.h>
|
||||
#include <polyp/xmalloc.h>
|
||||
#include <pulse/sample.h>
|
||||
#include <pulse/xmalloc.h>
|
||||
|
||||
#include <polypcore/log.h>
|
||||
#include <pulsecore/log.h>
|
||||
|
||||
#include "alsa-util.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -4,30 +4,30 @@
|
|||
/* $Id$ */
|
||||
|
||||
/***
|
||||
This file is part of polypaudio.
|
||||
This file is part of PulseAudio.
|
||||
|
||||
polypaudio is free software; you can redistribute it and/or modify
|
||||
PulseAudio is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU Lesser General Public License as published
|
||||
by the Free Software Foundation; either version 2 of the License,
|
||||
or (at your option) any later version.
|
||||
|
||||
polypaudio is distributed in the hope that it will be useful, but
|
||||
PulseAudio is distributed in the hope that it will be useful, but
|
||||
WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public License
|
||||
along with polypaudio; if not, write to the Free Software
|
||||
along with PulseAudio; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
USA.
|
||||
***/
|
||||
|
||||
#include <asoundlib.h>
|
||||
|
||||
#include <polyp/sample.h>
|
||||
#include <polyp/mainloop-api.h>
|
||||
#include <pulse/sample.h>
|
||||
#include <pulse/mainloop-api.h>
|
||||
|
||||
#include <polyp/channelmap.h>
|
||||
#include <pulse/channelmap.h>
|
||||
|
||||
struct pa_alsa_fdlist;
|
||||
|
||||
|
|
|
|||
|
|
@ -1,30 +1,30 @@
|
|||
/* $Id$ */
|
||||
|
||||
/***
|
||||
This file is part of polypaudio.
|
||||
This file is part of PulseAudio.
|
||||
|
||||
polypaudio is free software; you can redistribute it and/or modify
|
||||
PulseAudio is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU Lesser General Public License as
|
||||
published by the Free Software Foundation; either version 2 of the
|
||||
License, or (at your option) any later version.
|
||||
|
||||
polypaudio is distributed in the hope that it will be useful, but
|
||||
PulseAudio is distributed in the hope that it will be useful, but
|
||||
WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with polypaudio; if not, write to the Free Software
|
||||
License along with PulseAudio; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
USA.
|
||||
***/
|
||||
|
||||
#include <assert.h>
|
||||
|
||||
#include <polyp/xmalloc.h>
|
||||
#include <pulse/xmalloc.h>
|
||||
|
||||
#include <polypcore/log.h>
|
||||
#include <polypcore/props.h>
|
||||
#include <pulsecore/log.h>
|
||||
#include <pulsecore/props.h>
|
||||
|
||||
#include "howl-wrap.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -4,27 +4,27 @@
|
|||
/* $Id$ */
|
||||
|
||||
/***
|
||||
This file is part of polypaudio.
|
||||
This file is part of PulseAudio.
|
||||
|
||||
polypaudio is free software; you can redistribute it and/or modify
|
||||
PulseAudio is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU Lesser General Public License as
|
||||
published by the Free Software Foundation; either version 2 of the
|
||||
License, or (at your option) any later version.
|
||||
|
||||
polypaudio is distributed in the hope that it will be useful, but
|
||||
PulseAudio is distributed in the hope that it will be useful, but
|
||||
WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with polypaudio; if not, write to the Free Software
|
||||
License along with PulseAudio; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
USA.
|
||||
***/
|
||||
|
||||
#include <howl.h>
|
||||
|
||||
#include <polypcore/core.h>
|
||||
#include <pulsecore/core.h>
|
||||
|
||||
typedef struct pa_howl_wrapper pa_howl_wrapper;
|
||||
|
||||
|
|
|
|||
|
|
@ -1,20 +1,20 @@
|
|||
/* $Id$ */
|
||||
|
||||
/***
|
||||
This file is part of polypaudio.
|
||||
This file is part of PulseAudio.
|
||||
|
||||
polypaudio is free software; you can redistribute it and/or modify
|
||||
PulseAudio is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU Lesser General Public License as published
|
||||
by the Free Software Foundation; either version 2 of the License,
|
||||
or (at your option) any later version.
|
||||
|
||||
polypaudio is distributed in the hope that it will be useful, but
|
||||
PulseAudio is distributed in the hope that it will be useful, but
|
||||
WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public License
|
||||
along with polypaudio; if not, write to the Free Software
|
||||
along with PulseAudio; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
USA.
|
||||
***/
|
||||
|
|
@ -34,16 +34,16 @@
|
|||
|
||||
#include <asoundlib.h>
|
||||
|
||||
#include <polyp/xmalloc.h>
|
||||
#include <pulse/xmalloc.h>
|
||||
|
||||
#include <polypcore/core.h>
|
||||
#include <polypcore/module.h>
|
||||
#include <polypcore/memchunk.h>
|
||||
#include <polypcore/sink.h>
|
||||
#include <polypcore/modargs.h>
|
||||
#include <polypcore/core-util.h>
|
||||
#include <polypcore/sample-util.h>
|
||||
#include <polypcore/log.h>
|
||||
#include <pulsecore/core.h>
|
||||
#include <pulsecore/module.h>
|
||||
#include <pulsecore/memchunk.h>
|
||||
#include <pulsecore/sink.h>
|
||||
#include <pulsecore/modargs.h>
|
||||
#include <pulsecore/core-util.h>
|
||||
#include <pulsecore/sample-util.h>
|
||||
#include <pulsecore/log.h>
|
||||
|
||||
#include "alsa-util.h"
|
||||
#include "module-alsa-sink-symdef.h"
|
||||
|
|
|
|||
|
|
@ -1,20 +1,20 @@
|
|||
/* $Id$ */
|
||||
|
||||
/***
|
||||
This file is part of polypaudio.
|
||||
This file is part of PulseAudio.
|
||||
|
||||
polypaudio is free software; you can redistribute it and/or modify
|
||||
PulseAudio is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU Lesser General Public License as published
|
||||
by the Free Software Foundation; either version 2 of the License,
|
||||
or (at your option) any later version.
|
||||
|
||||
polypaudio is distributed in the hope that it will be useful, but
|
||||
PulseAudio is distributed in the hope that it will be useful, but
|
||||
WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public License
|
||||
along with polypaudio; if not, write to the Free Software
|
||||
along with PulseAudio; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
USA.
|
||||
***/
|
||||
|
|
@ -34,17 +34,17 @@
|
|||
|
||||
#include <asoundlib.h>
|
||||
|
||||
#include <polyp/xmalloc.h>
|
||||
#include <pulse/xmalloc.h>
|
||||
|
||||
#include <polypcore/core-error.h>
|
||||
#include <polypcore/core.h>
|
||||
#include <polypcore/module.h>
|
||||
#include <polypcore/memchunk.h>
|
||||
#include <polypcore/sink.h>
|
||||
#include <polypcore/modargs.h>
|
||||
#include <polypcore/core-util.h>
|
||||
#include <polypcore/sample-util.h>
|
||||
#include <polypcore/log.h>
|
||||
#include <pulsecore/core-error.h>
|
||||
#include <pulsecore/core.h>
|
||||
#include <pulsecore/module.h>
|
||||
#include <pulsecore/memchunk.h>
|
||||
#include <pulsecore/sink.h>
|
||||
#include <pulsecore/modargs.h>
|
||||
#include <pulsecore/core-util.h>
|
||||
#include <pulsecore/sample-util.h>
|
||||
#include <pulsecore/log.h>
|
||||
|
||||
#include "alsa-util.h"
|
||||
#include "module-alsa-source-symdef.h"
|
||||
|
|
|
|||
|
|
@ -1,20 +1,20 @@
|
|||
/* $Id$ */
|
||||
|
||||
/***
|
||||
This file is part of polypaudio.
|
||||
This file is part of PulseAudio.
|
||||
|
||||
polypaudio is free software; you can redistribute it and/or modify
|
||||
PulseAudio is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU Lesser General Public License as published
|
||||
by the Free Software Foundation; either version 2 of the License,
|
||||
or (at your option) any later version.
|
||||
|
||||
polypaudio is distributed in the hope that it will be useful, but
|
||||
PulseAudio is distributed in the hope that it will be useful, but
|
||||
WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public License
|
||||
along with polypaudio; if not, write to the Free Software
|
||||
along with PulseAudio; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
USA.
|
||||
***/
|
||||
|
|
@ -27,12 +27,12 @@
|
|||
#include <assert.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include <polypcore/module.h>
|
||||
#include <polypcore/iochannel.h>
|
||||
#include <polypcore/cli.h>
|
||||
#include <polypcore/sioman.h>
|
||||
#include <polypcore/log.h>
|
||||
#include <polypcore/modargs.h>
|
||||
#include <pulsecore/module.h>
|
||||
#include <pulsecore/iochannel.h>
|
||||
#include <pulsecore/cli.h>
|
||||
#include <pulsecore/sioman.h>
|
||||
#include <pulsecore/log.h>
|
||||
#include <pulsecore/modargs.h>
|
||||
|
||||
#include "module-cli-symdef.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -1,20 +1,20 @@
|
|||
/* $Id$ */
|
||||
|
||||
/***
|
||||
This file is part of polypaudio.
|
||||
This file is part of PulseAudio.
|
||||
|
||||
polypaudio is free software; you can redistribute it and/or modify
|
||||
PulseAudio is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU Lesser General Public License as published
|
||||
by the Free Software Foundation; either version 2 of the License,
|
||||
or (at your option) any later version.
|
||||
|
||||
polypaudio is distributed in the hope that it will be useful, but
|
||||
PulseAudio is distributed in the hope that it will be useful, but
|
||||
WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public License
|
||||
along with polypaudio; if not, write to the Free Software
|
||||
along with PulseAudio; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
USA.
|
||||
***/
|
||||
|
|
@ -26,18 +26,18 @@
|
|||
#include <assert.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include <polyp/timeval.h>
|
||||
#include <polyp/xmalloc.h>
|
||||
#include <pulse/timeval.h>
|
||||
#include <pulse/xmalloc.h>
|
||||
|
||||
#include <polypcore/module.h>
|
||||
#include <polypcore/llist.h>
|
||||
#include <polypcore/sink.h>
|
||||
#include <polypcore/sink-input.h>
|
||||
#include <polypcore/memblockq.h>
|
||||
#include <polypcore/log.h>
|
||||
#include <polypcore/core-util.h>
|
||||
#include <polypcore/modargs.h>
|
||||
#include <polypcore/namereg.h>
|
||||
#include <pulsecore/module.h>
|
||||
#include <pulsecore/llist.h>
|
||||
#include <pulsecore/sink.h>
|
||||
#include <pulsecore/sink-input.h>
|
||||
#include <pulsecore/memblockq.h>
|
||||
#include <pulsecore/log.h>
|
||||
#include <pulsecore/core-util.h>
|
||||
#include <pulsecore/modargs.h>
|
||||
#include <pulsecore/namereg.h>
|
||||
|
||||
#include "module-combine-symdef.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -8,8 +8,8 @@ define(`gen_symbol', `#define $1 'module_name`_LTX_$1')dnl
|
|||
#ifndef incmacro
|
||||
#define incmacro
|
||||
|
||||
#include <polypcore/core.h>
|
||||
#include <polypcore/module.h>
|
||||
#include <pulsecore/core.h>
|
||||
#include <pulsecore/module.h>
|
||||
|
||||
gen_symbol(pa__init)
|
||||
gen_symbol(pa__done)
|
||||
|
|
|
|||
|
|
@ -1,20 +1,20 @@
|
|||
/* $Id$ */
|
||||
|
||||
/***
|
||||
This file is part of polypaudio.
|
||||
This file is part of PulseAudio.
|
||||
|
||||
polypaudio is free software; you can redistribute it and/or modify
|
||||
PulseAudio is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU Lesser General Public License as published
|
||||
by the Free Software Foundation; either version 2 of the License,
|
||||
or (at your option) any later version.
|
||||
|
||||
polypaudio is distributed in the hope that it will be useful, but
|
||||
PulseAudio is distributed in the hope that it will be useful, but
|
||||
WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public License
|
||||
along with polypaudio; if not, write to the Free Software
|
||||
along with PulseAudio; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
USA.
|
||||
***/
|
||||
|
|
@ -33,13 +33,13 @@
|
|||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
|
||||
#include <polyp/xmalloc.h>
|
||||
#include <pulse/xmalloc.h>
|
||||
|
||||
#include <polypcore/core-error.h>
|
||||
#include <polypcore/module.h>
|
||||
#include <polypcore/modargs.h>
|
||||
#include <polypcore/log.h>
|
||||
#include <polypcore/core-util.h>
|
||||
#include <pulsecore/core-error.h>
|
||||
#include <pulsecore/module.h>
|
||||
#include <pulsecore/modargs.h>
|
||||
#include <pulsecore/log.h>
|
||||
#include <pulsecore/core-util.h>
|
||||
|
||||
#include "module-detect-symdef.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -1,20 +1,20 @@
|
|||
/* $Id$ */
|
||||
|
||||
/***
|
||||
This file is part of polypaudio.
|
||||
This file is part of PulseAudio.
|
||||
|
||||
polypaudio is free software; you can redistribute it and/or modify
|
||||
PulseAudio is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU Lesser General Public License as published
|
||||
by the Free Software Foundation; either version 2 of the License,
|
||||
or (at your option) any later version.
|
||||
|
||||
polypaudio is distributed in the hope that it will be useful, but
|
||||
PulseAudio is distributed in the hope that it will be useful, but
|
||||
WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public License
|
||||
along with polypaudio; if not, write to the Free Software
|
||||
along with PulseAudio; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
USA.
|
||||
***/
|
||||
|
|
@ -28,11 +28,11 @@
|
|||
#include <string.h>
|
||||
#include <errno.h>
|
||||
|
||||
#include <polypcore/core-error.h>
|
||||
#include <polypcore/module.h>
|
||||
#include <polypcore/modargs.h>
|
||||
#include <polypcore/core-util.h>
|
||||
#include <polypcore/log.h>
|
||||
#include <pulsecore/core-error.h>
|
||||
#include <pulsecore/module.h>
|
||||
#include <pulsecore/modargs.h>
|
||||
#include <pulsecore/core-util.h>
|
||||
#include <pulsecore/log.h>
|
||||
|
||||
#include "module-esound-compat-spawnfd-symdef.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -1,19 +1,19 @@
|
|||
|
||||
/***
|
||||
This file is part of polypaudio.
|
||||
This file is part of PulseAudio.
|
||||
|
||||
polypaudio is free software; you can redistribute it and/or modify
|
||||
PulseAudio is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU Lesser General Public License as published
|
||||
by the Free Software Foundation; either version 2 of the License,
|
||||
or (at your option) any later version.
|
||||
|
||||
polypaudio is distributed in the hope that it will be useful, but
|
||||
PulseAudio is distributed in the hope that it will be useful, but
|
||||
WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public License
|
||||
along with polypaudio; if not, write to the Free Software
|
||||
along with PulseAudio; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
USA.
|
||||
***/
|
||||
|
|
@ -28,11 +28,11 @@
|
|||
#include <errno.h>
|
||||
#include <signal.h>
|
||||
|
||||
#include <polypcore/core-error.h>
|
||||
#include <polypcore/module.h>
|
||||
#include <polypcore/core-util.h>
|
||||
#include <polypcore/modargs.h>
|
||||
#include <polypcore/log.h>
|
||||
#include <pulsecore/core-error.h>
|
||||
#include <pulsecore/module.h>
|
||||
#include <pulsecore/core-util.h>
|
||||
#include <pulsecore/modargs.h>
|
||||
#include <pulsecore/log.h>
|
||||
|
||||
#include "module-esound-compat-spawnpid-symdef.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -1,20 +1,20 @@
|
|||
/* $Id$ */
|
||||
|
||||
/***
|
||||
This file is part of polypaudio.
|
||||
This file is part of PulseAudio.
|
||||
|
||||
polypaudio is free software; you can redistribute it and/or modify
|
||||
PulseAudio is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU Lesser General Public License as published
|
||||
by the Free Software Foundation; either version 2 of the License,
|
||||
or (at your option) any later version.
|
||||
|
||||
polypaudio is distributed in the hope that it will be useful, but
|
||||
PulseAudio is distributed in the hope that it will be useful, but
|
||||
WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public License
|
||||
along with polypaudio; if not, write to the Free Software
|
||||
along with PulseAudio; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
USA.
|
||||
***/
|
||||
|
|
@ -33,18 +33,18 @@
|
|||
#include <unistd.h>
|
||||
#include <limits.h>
|
||||
|
||||
#include <polyp/xmalloc.h>
|
||||
#include <pulse/xmalloc.h>
|
||||
|
||||
#include <polypcore/core-error.h>
|
||||
#include <polypcore/iochannel.h>
|
||||
#include <polypcore/sink.h>
|
||||
#include <polypcore/module.h>
|
||||
#include <polypcore/core-util.h>
|
||||
#include <polypcore/modargs.h>
|
||||
#include <polypcore/log.h>
|
||||
#include <polypcore/socket-client.h>
|
||||
#include <polypcore/esound.h>
|
||||
#include <polypcore/authkey.h>
|
||||
#include <pulsecore/core-error.h>
|
||||
#include <pulsecore/iochannel.h>
|
||||
#include <pulsecore/sink.h>
|
||||
#include <pulsecore/module.h>
|
||||
#include <pulsecore/core-util.h>
|
||||
#include <pulsecore/modargs.h>
|
||||
#include <pulsecore/log.h>
|
||||
#include <pulsecore/socket-client.h>
|
||||
#include <pulsecore/esound.h>
|
||||
#include <pulsecore/authkey.h>
|
||||
|
||||
#include "module-esound-sink-symdef.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -1,20 +1,20 @@
|
|||
/* $Id$ */
|
||||
|
||||
/***
|
||||
This file is part of polypaudio.
|
||||
This file is part of PulseAudio.
|
||||
|
||||
polypaudio is free software; you can redistribute it and/or modify
|
||||
PulseAudio is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU Lesser General Public License as published
|
||||
by the Free Software Foundation; either version 2 of the License,
|
||||
or (at your option) any later version.
|
||||
|
||||
polypaudio is distributed in the hope that it will be useful, but
|
||||
PulseAudio is distributed in the hope that it will be useful, but
|
||||
WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public License
|
||||
along with polypaudio; if not, write to the Free Software
|
||||
along with PulseAudio; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
USA.
|
||||
***/
|
||||
|
|
@ -36,16 +36,16 @@
|
|||
|
||||
#include <jack/jack.h>
|
||||
|
||||
#include <polyp/xmalloc.h>
|
||||
#include <pulse/xmalloc.h>
|
||||
|
||||
#include <polypcore/core-error.h>
|
||||
#include <polypcore/iochannel.h>
|
||||
#include <polypcore/sink.h>
|
||||
#include <polypcore/module.h>
|
||||
#include <polypcore/core-util.h>
|
||||
#include <polypcore/modargs.h>
|
||||
#include <polypcore/log.h>
|
||||
#include <polyp/mainloop-api.h>
|
||||
#include <pulsecore/core-error.h>
|
||||
#include <pulsecore/iochannel.h>
|
||||
#include <pulsecore/sink.h>
|
||||
#include <pulsecore/module.h>
|
||||
#include <pulsecore/core-util.h>
|
||||
#include <pulsecore/modargs.h>
|
||||
#include <pulsecore/log.h>
|
||||
#include <pulse/mainloop-api.h>
|
||||
|
||||
#include "module-jack-sink-symdef.h"
|
||||
|
||||
|
|
@ -261,7 +261,7 @@ int pa__init(pa_core *c, pa_module*m) {
|
|||
}
|
||||
|
||||
server_name = pa_modargs_get_value(ma, "server_name", NULL);
|
||||
client_name = pa_modargs_get_value(ma, "client_name", "polypaudio");
|
||||
client_name = pa_modargs_get_value(ma, "client_name", "pulseaudio");
|
||||
|
||||
u = pa_xnew0(struct userdata, 1);
|
||||
m->userdata = u;
|
||||
|
|
|
|||
|
|
@ -1,20 +1,20 @@
|
|||
/* $Id$ */
|
||||
|
||||
/***
|
||||
This file is part of polypaudio.
|
||||
This file is part of PulseAudio.
|
||||
|
||||
polypaudio is free software; you can redistribute it and/or modify
|
||||
PulseAudio is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU Lesser General Public License as published
|
||||
by the Free Software Foundation; either version 2 of the License,
|
||||
or (at your option) any later version.
|
||||
|
||||
polypaudio is distributed in the hope that it will be useful, but
|
||||
PulseAudio is distributed in the hope that it will be useful, but
|
||||
WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public License
|
||||
along with polypaudio; if not, write to the Free Software
|
||||
along with PulseAudio; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
USA.
|
||||
***/
|
||||
|
|
@ -36,16 +36,16 @@
|
|||
|
||||
#include <jack/jack.h>
|
||||
|
||||
#include <polyp/xmalloc.h>
|
||||
#include <pulse/xmalloc.h>
|
||||
|
||||
#include <polypcore/core-error.h>
|
||||
#include <polypcore/iochannel.h>
|
||||
#include <polypcore/source.h>
|
||||
#include <polypcore/module.h>
|
||||
#include <polypcore/core-util.h>
|
||||
#include <polypcore/modargs.h>
|
||||
#include <polypcore/log.h>
|
||||
#include <polyp/mainloop-api.h>
|
||||
#include <pulsecore/core-error.h>
|
||||
#include <pulsecore/iochannel.h>
|
||||
#include <pulsecore/source.h>
|
||||
#include <pulsecore/module.h>
|
||||
#include <pulsecore/core-util.h>
|
||||
#include <pulsecore/modargs.h>
|
||||
#include <pulsecore/log.h>
|
||||
#include <pulse/mainloop-api.h>
|
||||
|
||||
#include "module-jack-source-symdef.h"
|
||||
|
||||
|
|
@ -259,7 +259,7 @@ int pa__init(pa_core *c, pa_module*m) {
|
|||
}
|
||||
|
||||
server_name = pa_modargs_get_value(ma, "server_name", NULL);
|
||||
client_name = pa_modargs_get_value(ma, "client_name", "polypaudio");
|
||||
client_name = pa_modargs_get_value(ma, "client_name", "pulseaudio");
|
||||
|
||||
u = pa_xnew0(struct userdata, 1);
|
||||
m->userdata = u;
|
||||
|
|
|
|||
|
|
@ -1,20 +1,20 @@
|
|||
/* $Id$ */
|
||||
|
||||
/***
|
||||
This file is part of polypaudio.
|
||||
This file is part of PulseAudio.
|
||||
|
||||
polypaudio is free software; you can redistribute it and/or modify
|
||||
PulseAudio is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU Lesser General Public License as published
|
||||
by the Free Software Foundation; either version 2 of the License,
|
||||
or (at your option) any later version.
|
||||
|
||||
polypaudio is distributed in the hope that it will be useful, but
|
||||
PulseAudio is distributed in the hope that it will be useful, but
|
||||
WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public License
|
||||
along with polypaudio; if not, write to the Free Software
|
||||
along with PulseAudio; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
USA.
|
||||
***/
|
||||
|
|
@ -30,13 +30,13 @@
|
|||
#include <lirc/lirc_client.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include <polyp/xmalloc.h>
|
||||
#include <pulse/xmalloc.h>
|
||||
|
||||
#include <polypcore/module.h>
|
||||
#include <polypcore/log.h>
|
||||
#include <polypcore/namereg.h>
|
||||
#include <polypcore/sink.h>
|
||||
#include <polypcore/modargs.h>
|
||||
#include <pulsecore/module.h>
|
||||
#include <pulsecore/log.h>
|
||||
#include <pulsecore/namereg.h>
|
||||
#include <pulsecore/sink.h>
|
||||
#include <pulsecore/modargs.h>
|
||||
|
||||
#include "module-lirc-symdef.h"
|
||||
|
||||
|
|
@ -203,7 +203,7 @@ int pa__init(pa_core *c, pa_module*m) {
|
|||
u->lirc_fd = -1;
|
||||
u->mute_toggle_save = 0;
|
||||
|
||||
if ((u->lirc_fd = lirc_init((char*) pa_modargs_get_value(ma, "appname", "polypaudio"), 1)) < 0) {
|
||||
if ((u->lirc_fd = lirc_init((char*) pa_modargs_get_value(ma, "appname", "pulseaudio"), 1)) < 0) {
|
||||
pa_log(__FILE__": lirc_init() failed.");
|
||||
goto fail;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,20 +1,20 @@
|
|||
/* $Id$ */
|
||||
|
||||
/***
|
||||
This file is part of polypaudio.
|
||||
This file is part of PulseAudio.
|
||||
|
||||
polypaudio is free software; you can redistribute it and/or modify
|
||||
PulseAudio is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU Lesser General Public License as published
|
||||
by the Free Software Foundation; either version 2 of the License,
|
||||
or (at your option) any later version.
|
||||
|
||||
polypaudio is distributed in the hope that it will be useful, but
|
||||
PulseAudio is distributed in the hope that it will be useful, but
|
||||
WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public License
|
||||
along with polypaudio; if not, write to the Free Software
|
||||
along with PulseAudio; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
USA.
|
||||
***/
|
||||
|
|
@ -32,16 +32,16 @@
|
|||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include <polyp/xmalloc.h>
|
||||
#include <pulse/xmalloc.h>
|
||||
|
||||
#include <polypcore/core-error.h>
|
||||
#include <polypcore/module.h>
|
||||
#include <polypcore/core-util.h>
|
||||
#include <polypcore/modargs.h>
|
||||
#include <polypcore/log.h>
|
||||
#include <polypcore/core-subscribe.h>
|
||||
#include <polypcore/sink-input.h>
|
||||
#include <polypcore/core-util.h>
|
||||
#include <pulsecore/core-error.h>
|
||||
#include <pulsecore/module.h>
|
||||
#include <pulsecore/core-util.h>
|
||||
#include <pulsecore/modargs.h>
|
||||
#include <pulsecore/log.h>
|
||||
#include <pulsecore/core-subscribe.h>
|
||||
#include <pulsecore/sink-input.h>
|
||||
#include <pulsecore/core-util.h>
|
||||
|
||||
#include "module-match-symdef.h"
|
||||
|
||||
|
|
@ -53,11 +53,11 @@ PA_MODULE_VERSION(PACKAGE_VERSION)
|
|||
#define WHITESPACE "\n\r \t"
|
||||
|
||||
#ifndef DEFAULT_CONFIG_DIR
|
||||
#define DEFAULT_CONFIG_DIR "/etc/polypaudio"
|
||||
#define DEFAULT_CONFIG_DIR "/etc/pulseaudio"
|
||||
#endif
|
||||
|
||||
#define DEFAULT_MATCH_TABLE_FILE DEFAULT_CONFIG_DIR"/match.table"
|
||||
#define DEFAULT_MATCH_TABLE_FILE_USER ".polypaudio/match.table"
|
||||
#define DEFAULT_MATCH_TABLE_FILE_USER ".pulseaudio/match.table"
|
||||
|
||||
static const char* const valid_modargs[] = {
|
||||
"table",
|
||||
|
|
|
|||
|
|
@ -1,20 +1,20 @@
|
|||
/* $Id$ */
|
||||
|
||||
/***
|
||||
This file is part of polypaudio.
|
||||
This file is part of PulseAudio.
|
||||
|
||||
polypaudio is free software; you can redistribute it and/or modify
|
||||
PulseAudio is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU Lesser General Public License as published
|
||||
by the Free Software Foundation; either version 2 of the License,
|
||||
or (at your option) any later version.
|
||||
|
||||
polypaudio is distributed in the hope that it will be useful, but
|
||||
PulseAudio is distributed in the hope that it will be useful, but
|
||||
WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public License
|
||||
along with polypaudio; if not, write to the Free Software
|
||||
along with PulseAudio; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
USA.
|
||||
***/
|
||||
|
|
@ -33,15 +33,15 @@
|
|||
|
||||
#include <linux/input.h>
|
||||
|
||||
#include <polyp/xmalloc.h>
|
||||
#include <pulse/xmalloc.h>
|
||||
|
||||
#include <polypcore/core-error.h>
|
||||
#include <polypcore/module.h>
|
||||
#include <polypcore/log.h>
|
||||
#include <polypcore/namereg.h>
|
||||
#include <polypcore/sink.h>
|
||||
#include <polypcore/modargs.h>
|
||||
#include <polypcore/core-util.h>
|
||||
#include <pulsecore/core-error.h>
|
||||
#include <pulsecore/module.h>
|
||||
#include <pulsecore/log.h>
|
||||
#include <pulsecore/namereg.h>
|
||||
#include <pulsecore/sink.h>
|
||||
#include <pulsecore/modargs.h>
|
||||
#include <pulsecore/core-util.h>
|
||||
|
||||
#include "module-mmkbd-evdev-symdef.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -1,20 +1,20 @@
|
|||
/* $Id$ */
|
||||
|
||||
/***
|
||||
This file is part of polypaudio.
|
||||
This file is part of PulseAudio.
|
||||
|
||||
polypaudio is free software; you can redistribute it and/or modify
|
||||
PulseAudio is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU Lesser General Public License as published
|
||||
by the Free Software Foundation; either version 2 of the License,
|
||||
or (at your option) any later version.
|
||||
|
||||
polypaudio is distributed in the hope that it will be useful, but
|
||||
PulseAudio is distributed in the hope that it will be useful, but
|
||||
WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public License
|
||||
along with polypaudio; if not, write to the Free Software
|
||||
along with PulseAudio; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
USA.
|
||||
***/
|
||||
|
|
@ -27,11 +27,11 @@
|
|||
#include <assert.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include <polypcore/module.h>
|
||||
#include <polypcore/iochannel.h>
|
||||
#include <polypcore/modargs.h>
|
||||
#include <polypcore/protocol-native.h>
|
||||
#include <polypcore/log.h>
|
||||
#include <pulsecore/module.h>
|
||||
#include <pulsecore/iochannel.h>
|
||||
#include <pulsecore/modargs.h>
|
||||
#include <pulsecore/protocol-native.h>
|
||||
#include <pulsecore/log.h>
|
||||
|
||||
#include "module-native-protocol-fd-symdef.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -1,20 +1,20 @@
|
|||
/* $Id$ */
|
||||
|
||||
/***
|
||||
This file is part of polypaudio.
|
||||
This file is part of PulseAudio.
|
||||
|
||||
polypaudio is free software; you can redistribute it and/or modify
|
||||
PulseAudio is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU Lesser General Public License as published
|
||||
by the Free Software Foundation; either version 2 of the License,
|
||||
or (at your option) any later version.
|
||||
|
||||
polypaudio is distributed in the hope that it will be useful, but
|
||||
PulseAudio is distributed in the hope that it will be useful, but
|
||||
WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public License
|
||||
along with polypaudio; if not, write to the Free Software
|
||||
along with PulseAudio; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
USA.
|
||||
***/
|
||||
|
|
@ -33,15 +33,15 @@
|
|||
#include <unistd.h>
|
||||
#include <limits.h>
|
||||
|
||||
#include <polyp/timeval.h>
|
||||
#include <polyp/xmalloc.h>
|
||||
#include <pulse/timeval.h>
|
||||
#include <pulse/xmalloc.h>
|
||||
|
||||
#include <polypcore/iochannel.h>
|
||||
#include <polypcore/sink.h>
|
||||
#include <polypcore/module.h>
|
||||
#include <polypcore/core-util.h>
|
||||
#include <polypcore/modargs.h>
|
||||
#include <polypcore/log.h>
|
||||
#include <pulsecore/iochannel.h>
|
||||
#include <pulsecore/sink.h>
|
||||
#include <pulsecore/module.h>
|
||||
#include <pulsecore/core-util.h>
|
||||
#include <pulsecore/modargs.h>
|
||||
#include <pulsecore/log.h>
|
||||
|
||||
#include "module-null-sink-symdef.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -1,20 +1,20 @@
|
|||
/* $Id$ */
|
||||
|
||||
/***
|
||||
This file is part of polypaudio.
|
||||
This file is part of PulseAudio.
|
||||
|
||||
polypaudio is free software; you can redistribute it and/or modify
|
||||
PulseAudio is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU Lesser General Public License as published
|
||||
by the Free Software Foundation; either version 2 of the License,
|
||||
or (at your option) any later version.
|
||||
|
||||
polypaudio is distributed in the hope that it will be useful, but
|
||||
PulseAudio is distributed in the hope that it will be useful, but
|
||||
WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public License
|
||||
along with polypaudio; if not, write to the Free Software
|
||||
along with PulseAudio; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
USA.
|
||||
***/
|
||||
|
|
@ -36,17 +36,17 @@
|
|||
#include <limits.h>
|
||||
#include <sys/mman.h>
|
||||
|
||||
#include <polyp/xmalloc.h>
|
||||
#include <pulse/xmalloc.h>
|
||||
|
||||
#include <polypcore/core-error.h>
|
||||
#include <polypcore/iochannel.h>
|
||||
#include <polypcore/sink.h>
|
||||
#include <polypcore/source.h>
|
||||
#include <polypcore/module.h>
|
||||
#include <polypcore/sample-util.h>
|
||||
#include <polypcore/core-util.h>
|
||||
#include <polypcore/modargs.h>
|
||||
#include <polypcore/log.h>
|
||||
#include <pulsecore/core-error.h>
|
||||
#include <pulsecore/iochannel.h>
|
||||
#include <pulsecore/sink.h>
|
||||
#include <pulsecore/source.h>
|
||||
#include <pulsecore/module.h>
|
||||
#include <pulsecore/sample-util.h>
|
||||
#include <pulsecore/core-util.h>
|
||||
#include <pulsecore/modargs.h>
|
||||
#include <pulsecore/log.h>
|
||||
|
||||
#include "oss-util.h"
|
||||
#include "module-oss-mmap-symdef.h"
|
||||
|
|
|
|||
|
|
@ -1,20 +1,20 @@
|
|||
/* $Id$ */
|
||||
|
||||
/***
|
||||
This file is part of polypaudio.
|
||||
This file is part of PulseAudio.
|
||||
|
||||
polypaudio is free software; you can redistribute it and/or modify
|
||||
PulseAudio is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU Lesser General Public License as published
|
||||
by the Free Software Foundation; either version 2 of the License,
|
||||
or (at your option) any later version.
|
||||
|
||||
polypaudio is distributed in the hope that it will be useful, but
|
||||
PulseAudio is distributed in the hope that it will be useful, but
|
||||
WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public License
|
||||
along with polypaudio; if not, write to the Free Software
|
||||
along with PulseAudio; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
USA.
|
||||
***/
|
||||
|
|
@ -35,17 +35,17 @@
|
|||
#include <unistd.h>
|
||||
#include <limits.h>
|
||||
|
||||
#include <polyp/xmalloc.h>
|
||||
#include <pulse/xmalloc.h>
|
||||
|
||||
#include <polypcore/core-error.h>
|
||||
#include <polypcore/iochannel.h>
|
||||
#include <polypcore/sink.h>
|
||||
#include <polypcore/source.h>
|
||||
#include <polypcore/module.h>
|
||||
#include <polypcore/sample-util.h>
|
||||
#include <polypcore/core-util.h>
|
||||
#include <polypcore/modargs.h>
|
||||
#include <polypcore/log.h>
|
||||
#include <pulsecore/core-error.h>
|
||||
#include <pulsecore/iochannel.h>
|
||||
#include <pulsecore/sink.h>
|
||||
#include <pulsecore/source.h>
|
||||
#include <pulsecore/module.h>
|
||||
#include <pulsecore/sample-util.h>
|
||||
#include <pulsecore/core-util.h>
|
||||
#include <pulsecore/modargs.h>
|
||||
#include <pulsecore/log.h>
|
||||
|
||||
#include "oss-util.h"
|
||||
#include "module-oss-symdef.h"
|
||||
|
|
|
|||
|
|
@ -1,20 +1,20 @@
|
|||
/* $Id$ */
|
||||
|
||||
/***
|
||||
This file is part of polypaudio.
|
||||
This file is part of PulseAudio.
|
||||
|
||||
polypaudio is free software; you can redistribute it and/or modify
|
||||
PulseAudio is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU Lesser General Public License as published
|
||||
by the Free Software Foundation; either version 2 of the License,
|
||||
or (at your option) any later version.
|
||||
|
||||
polypaudio is distributed in the hope that it will be useful, but
|
||||
PulseAudio is distributed in the hope that it will be useful, but
|
||||
WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public License
|
||||
along with polypaudio; if not, write to the Free Software
|
||||
along with PulseAudio; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
USA.
|
||||
***/
|
||||
|
|
@ -33,15 +33,15 @@
|
|||
#include <unistd.h>
|
||||
#include <limits.h>
|
||||
|
||||
#include <polyp/xmalloc.h>
|
||||
#include <pulse/xmalloc.h>
|
||||
|
||||
#include <polypcore/core-error.h>
|
||||
#include <polypcore/iochannel.h>
|
||||
#include <polypcore/sink.h>
|
||||
#include <polypcore/module.h>
|
||||
#include <polypcore/core-util.h>
|
||||
#include <polypcore/modargs.h>
|
||||
#include <polypcore/log.h>
|
||||
#include <pulsecore/core-error.h>
|
||||
#include <pulsecore/iochannel.h>
|
||||
#include <pulsecore/sink.h>
|
||||
#include <pulsecore/module.h>
|
||||
#include <pulsecore/core-util.h>
|
||||
#include <pulsecore/modargs.h>
|
||||
#include <pulsecore/log.h>
|
||||
|
||||
#include "module-pipe-sink-symdef.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -1,20 +1,20 @@
|
|||
/* $Id$ */
|
||||
|
||||
/***
|
||||
This file is part of polypaudio.
|
||||
This file is part of PulseAudio.
|
||||
|
||||
polypaudio is free software; you can redistribute it and/or modify
|
||||
PulseAudio is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU Lesser General Public License as published
|
||||
by the Free Software Foundation; either version 2 of the License,
|
||||
or (at your option) any later version.
|
||||
|
||||
polypaudio is distributed in the hope that it will be useful, but
|
||||
PulseAudio is distributed in the hope that it will be useful, but
|
||||
WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public License
|
||||
along with polypaudio; if not, write to the Free Software
|
||||
along with PulseAudio; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
USA.
|
||||
***/
|
||||
|
|
@ -33,15 +33,15 @@
|
|||
#include <unistd.h>
|
||||
#include <limits.h>
|
||||
|
||||
#include <polyp/xmalloc.h>
|
||||
#include <pulse/xmalloc.h>
|
||||
|
||||
#include <polypcore/core-error.h>
|
||||
#include <polypcore/iochannel.h>
|
||||
#include <polypcore/source.h>
|
||||
#include <polypcore/module.h>
|
||||
#include <polypcore/core-util.h>
|
||||
#include <polypcore/modargs.h>
|
||||
#include <polypcore/log.h>
|
||||
#include <pulsecore/core-error.h>
|
||||
#include <pulsecore/iochannel.h>
|
||||
#include <pulsecore/source.h>
|
||||
#include <pulsecore/module.h>
|
||||
#include <pulsecore/core-util.h>
|
||||
#include <pulsecore/modargs.h>
|
||||
#include <pulsecore/log.h>
|
||||
|
||||
#include "module-pipe-source-symdef.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -1,20 +1,20 @@
|
|||
/* $Id$ */
|
||||
|
||||
/***
|
||||
This file is part of polypaudio.
|
||||
This file is part of PulseAudio.
|
||||
|
||||
polypaudio is free software; you can redistribute it and/or modify
|
||||
PulseAudio is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU Lesser General Public License as published
|
||||
by the Free Software Foundation; either version 2 of the License,
|
||||
or (at your option) any later version.
|
||||
|
||||
polypaudio is distributed in the hope that it will be useful, but
|
||||
PulseAudio is distributed in the hope that it will be useful, but
|
||||
WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public License
|
||||
along with polypaudio; if not, write to the Free Software
|
||||
along with PulseAudio; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
USA.
|
||||
***/
|
||||
|
|
@ -40,18 +40,18 @@
|
|||
#include <netinet/in.h>
|
||||
#endif
|
||||
|
||||
#include "../polypcore/winsock.h"
|
||||
#include "../pulsecore/winsock.h"
|
||||
|
||||
#include <polyp/xmalloc.h>
|
||||
#include <pulse/xmalloc.h>
|
||||
|
||||
#include <polypcore/core-error.h>
|
||||
#include <polypcore/module.h>
|
||||
#include <polypcore/socket-server.h>
|
||||
#include <polypcore/socket-util.h>
|
||||
#include <polypcore/core-util.h>
|
||||
#include <polypcore/modargs.h>
|
||||
#include <polypcore/log.h>
|
||||
#include <polypcore/native-common.h>
|
||||
#include <pulsecore/core-error.h>
|
||||
#include <pulsecore/module.h>
|
||||
#include <pulsecore/socket-server.h>
|
||||
#include <pulsecore/socket-util.h>
|
||||
#include <pulsecore/core-util.h>
|
||||
#include <pulsecore/modargs.h>
|
||||
#include <pulsecore/log.h>
|
||||
#include <pulsecore/native-common.h>
|
||||
|
||||
#ifdef USE_TCP_SOCKETS
|
||||
#define SOCKET_DESCRIPTION "(TCP sockets)"
|
||||
|
|
@ -62,10 +62,10 @@
|
|||
#endif
|
||||
|
||||
#if defined(USE_PROTOCOL_SIMPLE)
|
||||
#include <polypcore/protocol-simple.h>
|
||||
#include <pulsecore/protocol-simple.h>
|
||||
#define protocol_new pa_protocol_simple_new
|
||||
#define protocol_free pa_protocol_simple_free
|
||||
#define TCPWRAP_SERVICE "polypaudio-simple"
|
||||
#define TCPWRAP_SERVICE "pulseaudio-simple"
|
||||
#define IPV4_PORT 4711
|
||||
#define UNIX_SOCKET "simple"
|
||||
#define MODULE_ARGUMENTS "rate", "format", "channels", "sink", "source", "playback", "record",
|
||||
|
|
@ -77,10 +77,10 @@
|
|||
PA_MODULE_DESCRIPTION("Simple protocol "SOCKET_DESCRIPTION)
|
||||
PA_MODULE_USAGE("rate=<sample rate> format=<sample format> channels=<number of channels> sink=<sink to connect to> source=<source to connect to> playback=<enable playback?> record=<enable record?> "SOCKET_USAGE)
|
||||
#elif defined(USE_PROTOCOL_CLI)
|
||||
#include <polypcore/protocol-cli.h>
|
||||
#include <pulsecore/protocol-cli.h>
|
||||
#define protocol_new pa_protocol_cli_new
|
||||
#define protocol_free pa_protocol_cli_free
|
||||
#define TCPWRAP_SERVICE "polypaudio-cli"
|
||||
#define TCPWRAP_SERVICE "pulseaudio-cli"
|
||||
#define IPV4_PORT 4712
|
||||
#define UNIX_SOCKET "cli"
|
||||
#define MODULE_ARGUMENTS
|
||||
|
|
@ -92,10 +92,10 @@
|
|||
PA_MODULE_DESCRIPTION("Command line interface protocol "SOCKET_DESCRIPTION)
|
||||
PA_MODULE_USAGE(SOCKET_USAGE)
|
||||
#elif defined(USE_PROTOCOL_HTTP)
|
||||
#include <polypcore/protocol-http.h>
|
||||
#include <pulsecore/protocol-http.h>
|
||||
#define protocol_new pa_protocol_http_new
|
||||
#define protocol_free pa_protocol_http_free
|
||||
#define TCPWRAP_SERVICE "polypaudio-http"
|
||||
#define TCPWRAP_SERVICE "pulseaudio-http"
|
||||
#define IPV4_PORT 4714
|
||||
#define UNIX_SOCKET "http"
|
||||
#define MODULE_ARGUMENTS
|
||||
|
|
@ -107,10 +107,10 @@
|
|||
PA_MODULE_DESCRIPTION("HTTP "SOCKET_DESCRIPTION)
|
||||
PA_MODULE_USAGE(SOCKET_USAGE)
|
||||
#elif defined(USE_PROTOCOL_NATIVE)
|
||||
#include <polypcore/protocol-native.h>
|
||||
#include <pulsecore/protocol-native.h>
|
||||
#define protocol_new pa_protocol_native_new
|
||||
#define protocol_free pa_protocol_native_free
|
||||
#define TCPWRAP_SERVICE "polypaudio-native"
|
||||
#define TCPWRAP_SERVICE "pulseaudio-native"
|
||||
#define IPV4_PORT PA_NATIVE_DEFAULT_PORT
|
||||
#define UNIX_SOCKET PA_NATIVE_DEFAULT_UNIX_SOCKET
|
||||
#define MODULE_ARGUMENTS_COMMON "cookie", "auth-anonymous",
|
||||
|
|
@ -131,8 +131,8 @@
|
|||
PA_MODULE_DESCRIPTION("Native protocol "SOCKET_DESCRIPTION)
|
||||
PA_MODULE_USAGE("auth-anonymous=<don't check for cookies?> cookie=<path to cookie file> "AUTH_USAGE SOCKET_USAGE)
|
||||
#elif defined(USE_PROTOCOL_ESOUND)
|
||||
#include <polypcore/protocol-esound.h>
|
||||
#include <polypcore/esound.h>
|
||||
#include <pulsecore/protocol-esound.h>
|
||||
#include <pulsecore/esound.h>
|
||||
#define protocol_new pa_protocol_esound_new
|
||||
#define protocol_free pa_protocol_esound_free
|
||||
#define TCPWRAP_SERVICE "esound"
|
||||
|
|
|
|||
|
|
@ -1,20 +1,20 @@
|
|||
/* $Id$ */
|
||||
|
||||
/***
|
||||
This file is part of polypaudio.
|
||||
This file is part of PulseAudio.
|
||||
|
||||
polypaudio is free software; you can redistribute it and/or modify
|
||||
PulseAudio is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU Lesser General Public License as published
|
||||
by the Free Software Foundation; either version 2 of the License,
|
||||
or (at your option) any later version.
|
||||
|
||||
polypaudio is distributed in the hope that it will be useful, but
|
||||
PulseAudio is distributed in the hope that it will be useful, but
|
||||
WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public License
|
||||
along with polypaudio; if not, write to the Free Software
|
||||
along with PulseAudio; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
USA.
|
||||
***/
|
||||
|
|
@ -27,13 +27,13 @@
|
|||
#include <assert.h>
|
||||
#include <math.h>
|
||||
|
||||
#include <polyp/xmalloc.h>
|
||||
#include <pulse/xmalloc.h>
|
||||
|
||||
#include <polypcore/sink-input.h>
|
||||
#include <polypcore/module.h>
|
||||
#include <polypcore/modargs.h>
|
||||
#include <polypcore/namereg.h>
|
||||
#include <polypcore/log.h>
|
||||
#include <pulsecore/sink-input.h>
|
||||
#include <pulsecore/module.h>
|
||||
#include <pulsecore/modargs.h>
|
||||
#include <pulsecore/namereg.h>
|
||||
#include <pulsecore/log.h>
|
||||
|
||||
#include "module-sine-symdef.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -1,20 +1,20 @@
|
|||
/* $Id$ */
|
||||
|
||||
/***
|
||||
This file is part of polypaudio.
|
||||
This file is part of PulseAudio.
|
||||
|
||||
polypaudio is free software; you can redistribute it and/or modify
|
||||
PulseAudio is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU Lesser General Public License as published
|
||||
by the Free Software Foundation; either version 2 of the License,
|
||||
or (at your option) any later version.
|
||||
|
||||
polypaudio is distributed in the hope that it will be useful, but
|
||||
PulseAudio is distributed in the hope that it will be useful, but
|
||||
WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public License
|
||||
along with polypaudio; if not, write to the Free Software
|
||||
along with PulseAudio; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
USA.
|
||||
***/
|
||||
|
|
@ -40,18 +40,18 @@
|
|||
#include <sys/conf.h>
|
||||
#include <sys/audio.h>
|
||||
|
||||
#include <polyp/error.h>
|
||||
#include <polyp/mainloop-signal.h>
|
||||
#include <polyp/xmalloc.h>
|
||||
#include <pulse/error.h>
|
||||
#include <pulse/mainloop-signal.h>
|
||||
#include <pulse/xmalloc.h>
|
||||
|
||||
#include <polypcore/iochannel.h>
|
||||
#include <polypcore/sink.h>
|
||||
#include <polypcore/source.h>
|
||||
#include <polypcore/module.h>
|
||||
#include <polypcore/sample-util.h>
|
||||
#include <polypcore/core-util.h>
|
||||
#include <polypcore/modargs.h>
|
||||
#include <polypcore/log.h>
|
||||
#include <pulsecore/iochannel.h>
|
||||
#include <pulsecore/sink.h>
|
||||
#include <pulsecore/source.h>
|
||||
#include <pulsecore/module.h>
|
||||
#include <pulsecore/sample-util.h>
|
||||
#include <pulsecore/core-util.h>
|
||||
#include <pulsecore/modargs.h>
|
||||
#include <pulsecore/log.h>
|
||||
|
||||
#include "module-solaris-symdef.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -1,20 +1,20 @@
|
|||
/* $Id$ */
|
||||
|
||||
/***
|
||||
This file is part of polypaudio.
|
||||
This file is part of PulseAudio.
|
||||
|
||||
polypaudio is free software; you can redistribute it and/or modify
|
||||
PulseAudio is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU Lesser General Public License as published
|
||||
by the Free Software Foundation; either version 2 of the License,
|
||||
or (at your option) any later version.
|
||||
|
||||
polypaudio is distributed in the hope that it will be useful, but
|
||||
PulseAudio is distributed in the hope that it will be useful, but
|
||||
WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public License
|
||||
along with polypaudio; if not, write to the Free Software
|
||||
along with PulseAudio; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
USA.
|
||||
***/
|
||||
|
|
@ -31,24 +31,24 @@
|
|||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include <polyp/timeval.h>
|
||||
#include <polyp/util.h>
|
||||
#include <polyp/version.h>
|
||||
#include <polyp/xmalloc.h>
|
||||
#include <pulse/timeval.h>
|
||||
#include <pulse/util.h>
|
||||
#include <pulse/version.h>
|
||||
#include <pulse/xmalloc.h>
|
||||
|
||||
#include <polypcore/module.h>
|
||||
#include <polypcore/core-util.h>
|
||||
#include <polypcore/modargs.h>
|
||||
#include <polypcore/log.h>
|
||||
#include <polypcore/core-subscribe.h>
|
||||
#include <polypcore/sink-input.h>
|
||||
#include <polypcore/pdispatch.h>
|
||||
#include <polypcore/pstream.h>
|
||||
#include <polypcore/pstream-util.h>
|
||||
#include <polypcore/authkey.h>
|
||||
#include <polypcore/socket-client.h>
|
||||
#include <polypcore/socket-util.h>
|
||||
#include <polypcore/authkey-prop.h>
|
||||
#include <pulsecore/module.h>
|
||||
#include <pulsecore/core-util.h>
|
||||
#include <pulsecore/modargs.h>
|
||||
#include <pulsecore/log.h>
|
||||
#include <pulsecore/core-subscribe.h>
|
||||
#include <pulsecore/sink-input.h>
|
||||
#include <pulsecore/pdispatch.h>
|
||||
#include <pulsecore/pstream.h>
|
||||
#include <pulsecore/pstream-util.h>
|
||||
#include <pulsecore/authkey.h>
|
||||
#include <pulsecore/socket-client.h>
|
||||
#include <pulsecore/socket-util.h>
|
||||
#include <pulsecore/authkey-prop.h>
|
||||
|
||||
#ifdef TUNNEL_SINK
|
||||
#include "module-tunnel-sink-symdef.h"
|
||||
|
|
|
|||
|
|
@ -1,20 +1,20 @@
|
|||
/* $Id$ */
|
||||
|
||||
/***
|
||||
This file is part of polypaudio.
|
||||
This file is part of PulseAudio.
|
||||
|
||||
polypaudio is free software; you can redistribute it and/or modify
|
||||
PulseAudio is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU Lesser General Public License as published
|
||||
by the Free Software Foundation; either version 2 of the License,
|
||||
or (at your option) any later version.
|
||||
|
||||
polypaudio is distributed in the hope that it will be useful, but
|
||||
PulseAudio is distributed in the hope that it will be useful, but
|
||||
WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public License
|
||||
along with polypaudio; if not, write to the Free Software
|
||||
along with PulseAudio; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
USA.
|
||||
***/
|
||||
|
|
@ -32,17 +32,17 @@
|
|||
#include <stdlib.h>
|
||||
#include <ctype.h>
|
||||
|
||||
#include <polyp/xmalloc.h>
|
||||
#include <pulse/xmalloc.h>
|
||||
|
||||
#include <polypcore/core-error.h>
|
||||
#include <polypcore/module.h>
|
||||
#include <polypcore/core-util.h>
|
||||
#include <polypcore/modargs.h>
|
||||
#include <polypcore/log.h>
|
||||
#include <polypcore/core-subscribe.h>
|
||||
#include <polypcore/sink-input.h>
|
||||
#include <polypcore/core-util.h>
|
||||
#include <polyp/volume.h>
|
||||
#include <pulsecore/core-error.h>
|
||||
#include <pulsecore/module.h>
|
||||
#include <pulsecore/core-util.h>
|
||||
#include <pulsecore/modargs.h>
|
||||
#include <pulsecore/log.h>
|
||||
#include <pulsecore/core-subscribe.h>
|
||||
#include <pulsecore/sink-input.h>
|
||||
#include <pulsecore/core-util.h>
|
||||
#include <pulse/volume.h>
|
||||
|
||||
#include "module-volume-restore-symdef.h"
|
||||
|
||||
|
|
@ -53,7 +53,7 @@ PA_MODULE_VERSION(PACKAGE_VERSION)
|
|||
|
||||
#define WHITESPACE "\n\r \t"
|
||||
|
||||
#define DEFAULT_VOLUME_TABLE_FILE ".polypaudio/volume.table"
|
||||
#define DEFAULT_VOLUME_TABLE_FILE ".pulseaudio/volume.table"
|
||||
|
||||
static const char* const valid_modargs[] = {
|
||||
"table",
|
||||
|
|
|
|||
|
|
@ -1,20 +1,20 @@
|
|||
/* $Id$ */
|
||||
|
||||
/***
|
||||
This file is part of polypaudio.
|
||||
This file is part of PulseAudio.
|
||||
|
||||
polypaudio is free software; you can redistribute it and/or modify
|
||||
PulseAudio is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU Lesser General Public License as published
|
||||
by the Free Software Foundation; either version 2 of the License,
|
||||
or (at your option) any later version.
|
||||
|
||||
polypaudio is distributed in the hope that it will be useful, but
|
||||
PulseAudio is distributed in the hope that it will be useful, but
|
||||
WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public License
|
||||
along with polypaudio; if not, write to the Free Software
|
||||
along with PulseAudio; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
USA.
|
||||
***/
|
||||
|
|
@ -27,17 +27,17 @@
|
|||
#include <mmsystem.h>
|
||||
#include <assert.h>
|
||||
|
||||
#include <polyp/mainloop-api.h>
|
||||
#include <pulse/mainloop-api.h>
|
||||
|
||||
#include <polyp/xmalloc.h>
|
||||
#include <pulse/xmalloc.h>
|
||||
|
||||
#include <polypcore/sink.h>
|
||||
#include <polypcore/source.h>
|
||||
#include <polypcore/module.h>
|
||||
#include <polypcore/modargs.h>
|
||||
#include <polypcore/sample-util.h>
|
||||
#include <polypcore/core-util.h>
|
||||
#include <polypcore/log.h>
|
||||
#include <pulsecore/sink.h>
|
||||
#include <pulsecore/source.h>
|
||||
#include <pulsecore/module.h>
|
||||
#include <pulsecore/modargs.h>
|
||||
#include <pulsecore/sample-util.h>
|
||||
#include <pulsecore/core-util.h>
|
||||
#include <pulsecore/log.h>
|
||||
|
||||
#include "module-waveout-symdef.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -1,20 +1,20 @@
|
|||
/* $Id$ */
|
||||
|
||||
/***
|
||||
This file is part of polypaudio.
|
||||
This file is part of PulseAudio.
|
||||
|
||||
polypaudio is free software; you can redistribute it and/or modify
|
||||
PulseAudio is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU Lesser General Public License as published
|
||||
by the Free Software Foundation; either version 2 of the License,
|
||||
or (at your option) any later version.
|
||||
|
||||
polypaudio is distributed in the hope that it will be useful, but
|
||||
PulseAudio is distributed in the hope that it will be useful, but
|
||||
WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public License
|
||||
along with polypaudio; if not, write to the Free Software
|
||||
along with PulseAudio; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
USA.
|
||||
***/
|
||||
|
|
@ -31,15 +31,15 @@
|
|||
#include <X11/Xlib.h>
|
||||
#include <X11/XKBlib.h>
|
||||
|
||||
#include <polyp/xmalloc.h>
|
||||
#include <pulse/xmalloc.h>
|
||||
|
||||
#include <polypcore/iochannel.h>
|
||||
#include <polypcore/sink.h>
|
||||
#include <polypcore/core-scache.h>
|
||||
#include <polypcore/modargs.h>
|
||||
#include <polypcore/namereg.h>
|
||||
#include <polypcore/log.h>
|
||||
#include <polypcore/x11wrap.h>
|
||||
#include <pulsecore/iochannel.h>
|
||||
#include <pulsecore/sink.h>
|
||||
#include <pulsecore/core-scache.h>
|
||||
#include <pulsecore/modargs.h>
|
||||
#include <pulsecore/namereg.h>
|
||||
#include <pulsecore/log.h>
|
||||
#include <pulsecore/x11wrap.h>
|
||||
|
||||
#include "module-x11-bell-symdef.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -1,20 +1,20 @@
|
|||
/* $Id$ */
|
||||
|
||||
/***
|
||||
This file is part of polypaudio.
|
||||
This file is part of PulseAudio.
|
||||
|
||||
polypaudio is free software; you can redistribute it and/or modify
|
||||
PulseAudio is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU Lesser General Public License as published
|
||||
by the Free Software Foundation; either version 2 of the License,
|
||||
or (at your option) any later version.
|
||||
|
||||
polypaudio is distributed in the hope that it will be useful, but
|
||||
PulseAudio is distributed in the hope that it will be useful, but
|
||||
WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public License
|
||||
along with polypaudio; if not, write to the Free Software
|
||||
along with PulseAudio; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
USA.
|
||||
***/
|
||||
|
|
@ -32,23 +32,23 @@
|
|||
#include <X11/Xlib.h>
|
||||
#include <X11/Xatom.h>
|
||||
|
||||
#include <polyp/util.h>
|
||||
#include <polyp/xmalloc.h>
|
||||
#include <pulse/util.h>
|
||||
#include <pulse/xmalloc.h>
|
||||
|
||||
#include <polypcore/module.h>
|
||||
#include <polypcore/sink.h>
|
||||
#include <polypcore/core-scache.h>
|
||||
#include <polypcore/modargs.h>
|
||||
#include <polypcore/namereg.h>
|
||||
#include <polypcore/log.h>
|
||||
#include <polypcore/x11wrap.h>
|
||||
#include <polypcore/core-util.h>
|
||||
#include <polypcore/native-common.h>
|
||||
#include <polypcore/authkey-prop.h>
|
||||
#include <polypcore/authkey.h>
|
||||
#include <polypcore/x11prop.h>
|
||||
#include <polypcore/strlist.h>
|
||||
#include <polypcore/props.h>
|
||||
#include <pulsecore/module.h>
|
||||
#include <pulsecore/sink.h>
|
||||
#include <pulsecore/core-scache.h>
|
||||
#include <pulsecore/modargs.h>
|
||||
#include <pulsecore/namereg.h>
|
||||
#include <pulsecore/log.h>
|
||||
#include <pulsecore/x11wrap.h>
|
||||
#include <pulsecore/core-util.h>
|
||||
#include <pulsecore/native-common.h>
|
||||
#include <pulsecore/authkey-prop.h>
|
||||
#include <pulsecore/authkey.h>
|
||||
#include <pulsecore/x11prop.h>
|
||||
#include <pulsecore/strlist.h>
|
||||
#include <pulsecore/props.h>
|
||||
|
||||
#include "module-x11-publish-symdef.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -1,20 +1,20 @@
|
|||
/* $Id$ */
|
||||
|
||||
/***
|
||||
This file is part of polypaudio.
|
||||
This file is part of PulseAudio.
|
||||
|
||||
polypaudio is free software; you can redistribute it and/or modify
|
||||
PulseAudio is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU Lesser General Public License as
|
||||
published by the Free Software Foundation; either version 2 of the
|
||||
License, or (at your option) any later version.
|
||||
|
||||
polypaudio is distributed in the hope that it will be useful, but
|
||||
PulseAudio is distributed in the hope that it will be useful, but
|
||||
WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with polypaudio; if not, write to the Free Software
|
||||
License along with PulseAudio; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
USA.
|
||||
***/
|
||||
|
|
@ -29,20 +29,20 @@
|
|||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include <polyp/xmalloc.h>
|
||||
#include <polyp/util.h>
|
||||
#include <pulse/xmalloc.h>
|
||||
#include <pulse/util.h>
|
||||
|
||||
#include <polypcore/autoload.h>
|
||||
#include <polypcore/sink.h>
|
||||
#include <polypcore/source.h>
|
||||
#include <polypcore/native-common.h>
|
||||
#include <polypcore/core-util.h>
|
||||
#include <polypcore/log.h>
|
||||
#include <polypcore/core-subscribe.h>
|
||||
#include <polypcore/dynarray.h>
|
||||
#include <polypcore/modargs.h>
|
||||
#include <pulsecore/autoload.h>
|
||||
#include <pulsecore/sink.h>
|
||||
#include <pulsecore/source.h>
|
||||
#include <pulsecore/native-common.h>
|
||||
#include <pulsecore/core-util.h>
|
||||
#include <pulsecore/log.h>
|
||||
#include <pulsecore/core-subscribe.h>
|
||||
#include <pulsecore/dynarray.h>
|
||||
#include <pulsecore/modargs.h>
|
||||
|
||||
#include "../polypcore/endianmacros.h"
|
||||
#include "../pulsecore/endianmacros.h"
|
||||
|
||||
#include "howl-wrap.h"
|
||||
|
||||
|
|
@ -53,9 +53,9 @@ PA_MODULE_DESCRIPTION("mDNS/DNS-SD Service Publisher")
|
|||
PA_MODULE_VERSION(PACKAGE_VERSION)
|
||||
PA_MODULE_USAGE("port=<IP port number>")
|
||||
|
||||
#define SERVICE_NAME_SINK "_polypaudio-sink._tcp"
|
||||
#define SERVICE_NAME_SOURCE "_polypaudio-source._tcp"
|
||||
#define SERVICE_NAME_SERVER "_polypaudio-server._tcp"
|
||||
#define SERVICE_NAME_SINK "_pulseaudio-sink._tcp"
|
||||
#define SERVICE_NAME_SOURCE "_pulseaudio-source._tcp"
|
||||
#define SERVICE_NAME_SERVER "_pulseaudio-server._tcp"
|
||||
|
||||
static const char* const valid_modargs[] = {
|
||||
"port",
|
||||
|
|
|
|||
|
|
@ -1,20 +1,20 @@
|
|||
/* $Id$ */
|
||||
|
||||
/***
|
||||
This file is part of polypaudio.
|
||||
This file is part of PulseAudio.
|
||||
|
||||
polypaudio is free software; you can redistribute it and/or modify
|
||||
PulseAudio is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU Lesser General Public License as published
|
||||
by the Free Software Foundation; either version 2 of the License,
|
||||
or (at your option) any later version.
|
||||
|
||||
polypaudio is distributed in the hope that it will be useful, but
|
||||
PulseAudio is distributed in the hope that it will be useful, but
|
||||
WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public License
|
||||
along with polypaudio; if not, write to the Free Software
|
||||
along with PulseAudio; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
USA.
|
||||
***/
|
||||
|
|
@ -34,9 +34,9 @@
|
|||
#include <sys/stat.h>
|
||||
#include <fcntl.h>
|
||||
|
||||
#include <polypcore/core-error.h>
|
||||
#include <polypcore/core-util.h>
|
||||
#include <polypcore/log.h>
|
||||
#include <pulsecore/core-error.h>
|
||||
#include <pulsecore/core-util.h>
|
||||
#include <pulsecore/log.h>
|
||||
|
||||
#include "oss-util.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -4,26 +4,26 @@
|
|||
/* $Id$ */
|
||||
|
||||
/***
|
||||
This file is part of polypaudio.
|
||||
This file is part of PulseAudio.
|
||||
|
||||
polypaudio is free software; you can redistribute it and/or modify
|
||||
PulseAudio is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU Lesser General Public License as published
|
||||
by the Free Software Foundation; either version 2 of the License,
|
||||
or (at your option) any later version.
|
||||
|
||||
polypaudio is distributed in the hope that it will be useful, but
|
||||
PulseAudio is distributed in the hope that it will be useful, but
|
||||
WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public License
|
||||
along with polypaudio; if not, write to the Free Software
|
||||
along with PulseAudio; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
USA.
|
||||
***/
|
||||
|
||||
#include <polyp/sample.h>
|
||||
#include <polyp/volume.h>
|
||||
#include <pulse/sample.h>
|
||||
#include <pulse/volume.h>
|
||||
|
||||
int pa_oss_open(const char *device, int *mode, int* pcaps);
|
||||
int pa_oss_auto_format(int fd, pa_sample_spec *ss);
|
||||
|
|
|
|||
|
|
@ -1,19 +1,19 @@
|
|||
|
||||
/***
|
||||
This file is part of polypaudio.
|
||||
This file is part of PulseAudio.
|
||||
|
||||
polypaudio is free software; you can redistribute it and/or modify
|
||||
PulseAudio is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU Lesser General Public License as published
|
||||
by the Free Software Foundation; either version 2 of the License,
|
||||
or (at your option) any later version.
|
||||
|
||||
polypaudio is distributed in the hope that it will be useful, but
|
||||
PulseAudio is distributed in the hope that it will be useful, but
|
||||
WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public License
|
||||
along with polypaudio; if not, write to the Free Software
|
||||
along with PulseAudio; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
USA.
|
||||
***/
|
||||
|
|
@ -31,20 +31,20 @@
|
|||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include <polyp/timeval.h>
|
||||
#include <polyp/xmalloc.h>
|
||||
#include <pulse/timeval.h>
|
||||
#include <pulse/xmalloc.h>
|
||||
|
||||
#include <polypcore/core-error.h>
|
||||
#include <polypcore/module.h>
|
||||
#include <polypcore/llist.h>
|
||||
#include <polypcore/sink.h>
|
||||
#include <polypcore/sink-input.h>
|
||||
#include <polypcore/memblockq.h>
|
||||
#include <polypcore/log.h>
|
||||
#include <polypcore/core-util.h>
|
||||
#include <polypcore/modargs.h>
|
||||
#include <polypcore/namereg.h>
|
||||
#include <polypcore/sample-util.h>
|
||||
#include <pulsecore/core-error.h>
|
||||
#include <pulsecore/module.h>
|
||||
#include <pulsecore/llist.h>
|
||||
#include <pulsecore/sink.h>
|
||||
#include <pulsecore/sink-input.h>
|
||||
#include <pulsecore/memblockq.h>
|
||||
#include <pulsecore/log.h>
|
||||
#include <pulsecore/core-util.h>
|
||||
#include <pulsecore/modargs.h>
|
||||
#include <pulsecore/namereg.h>
|
||||
#include <pulsecore/sample-util.h>
|
||||
|
||||
#include "module-rtp-recv-symdef.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -1,20 +1,20 @@
|
|||
/* $Id$ */
|
||||
|
||||
/***
|
||||
This file is part of polypaudio.
|
||||
This file is part of PulseAudio.
|
||||
|
||||
polypaudio is free software; you can redistribute it and/or modify
|
||||
PulseAudio is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU Lesser General Public License as published
|
||||
by the Free Software Foundation; either version 2 of the License,
|
||||
or (at your option) any later version.
|
||||
|
||||
polypaudio is distributed in the hope that it will be useful, but
|
||||
PulseAudio is distributed in the hope that it will be useful, but
|
||||
WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public License
|
||||
along with polypaudio; if not, write to the Free Software
|
||||
along with PulseAudio; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
USA.
|
||||
***/
|
||||
|
|
@ -32,20 +32,20 @@
|
|||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include <polyp/timeval.h>
|
||||
#include <polyp/util.h>
|
||||
#include <polyp/xmalloc.h>
|
||||
#include <pulse/timeval.h>
|
||||
#include <pulse/util.h>
|
||||
#include <pulse/xmalloc.h>
|
||||
|
||||
#include <polypcore/core-error.h>
|
||||
#include <polypcore/module.h>
|
||||
#include <polypcore/llist.h>
|
||||
#include <polypcore/source.h>
|
||||
#include <polypcore/source-output.h>
|
||||
#include <polypcore/memblockq.h>
|
||||
#include <polypcore/log.h>
|
||||
#include <polypcore/core-util.h>
|
||||
#include <polypcore/modargs.h>
|
||||
#include <polypcore/namereg.h>
|
||||
#include <pulsecore/core-error.h>
|
||||
#include <pulsecore/module.h>
|
||||
#include <pulsecore/llist.h>
|
||||
#include <pulsecore/source.h>
|
||||
#include <pulsecore/source-output.h>
|
||||
#include <pulsecore/memblockq.h>
|
||||
#include <pulsecore/log.h>
|
||||
#include <pulsecore/core-util.h>
|
||||
#include <pulsecore/modargs.h>
|
||||
#include <pulsecore/namereg.h>
|
||||
|
||||
#include "module-rtp-send-symdef.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -1,20 +1,20 @@
|
|||
/* $Id$ */
|
||||
|
||||
/***
|
||||
This file is part of polypaudio.
|
||||
This file is part of PulseAudio.
|
||||
|
||||
polypaudio is free software; you can redistribute it and/or modify
|
||||
PulseAudio is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU Lesser General Public License as published
|
||||
by the Free Software Foundation; either version 2 of the License,
|
||||
or (at your option) any later version.
|
||||
|
||||
polypaudio is distributed in the hope that it will be useful, but
|
||||
PulseAudio is distributed in the hope that it will be useful, but
|
||||
WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public License
|
||||
along with polypaudio; if not, write to the Free Software
|
||||
along with PulseAudio; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
USA.
|
||||
***/
|
||||
|
|
@ -36,8 +36,8 @@
|
|||
#include <sys/filio.h>
|
||||
#endif
|
||||
|
||||
#include <polypcore/core-error.h>
|
||||
#include <polypcore/log.h>
|
||||
#include <pulsecore/core-error.h>
|
||||
#include <pulsecore/log.h>
|
||||
|
||||
#include "rtp.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -4,20 +4,20 @@
|
|||
/* $Id$ */
|
||||
|
||||
/***
|
||||
This file is part of polypaudio.
|
||||
This file is part of PulseAudio.
|
||||
|
||||
polypaudio is free software; you can redistribute it and/or modify
|
||||
PulseAudio is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU Lesser General Public License as published
|
||||
by the Free Software Foundation; either version 2 of the License,
|
||||
or (at your option) any later version.
|
||||
|
||||
polypaudio is distributed in the hope that it will be useful, but
|
||||
PulseAudio is distributed in the hope that it will be useful, but
|
||||
WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public License
|
||||
along with polypaudio; if not, write to the Free Software
|
||||
along with PulseAudio; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
USA.
|
||||
***/
|
||||
|
|
@ -25,8 +25,8 @@
|
|||
#include <inttypes.h>
|
||||
#include <sys/socket.h>
|
||||
#include <sys/types.h>
|
||||
#include <polypcore/memblockq.h>
|
||||
#include <polypcore/memchunk.h>
|
||||
#include <pulsecore/memblockq.h>
|
||||
#include <pulsecore/memchunk.h>
|
||||
|
||||
typedef struct pa_rtp_context {
|
||||
int fd;
|
||||
|
|
|
|||
|
|
@ -1,20 +1,20 @@
|
|||
/* $Id$ */
|
||||
|
||||
/***
|
||||
This file is part of polypaudio.
|
||||
This file is part of PulseAudio.
|
||||
|
||||
polypaudio is free software; you can redistribute it and/or modify
|
||||
PulseAudio is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU Lesser General Public License as published
|
||||
by the Free Software Foundation; either version 2 of the License,
|
||||
or (at your option) any later version.
|
||||
|
||||
polypaudio is distributed in the hope that it will be useful, but
|
||||
PulseAudio is distributed in the hope that it will be useful, but
|
||||
WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public License
|
||||
along with polypaudio; if not, write to the Free Software
|
||||
along with PulseAudio; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
USA.
|
||||
***/
|
||||
|
|
@ -38,11 +38,11 @@
|
|||
#include <sys/filio.h>
|
||||
#endif
|
||||
|
||||
#include <polyp/xmalloc.h>
|
||||
#include <pulse/xmalloc.h>
|
||||
|
||||
#include <polypcore/core-error.h>
|
||||
#include <polypcore/core-util.h>
|
||||
#include <polypcore/log.h>
|
||||
#include <pulsecore/core-error.h>
|
||||
#include <pulsecore/core-util.h>
|
||||
#include <pulsecore/log.h>
|
||||
|
||||
#include "sap.h"
|
||||
#include "sdp.h"
|
||||
|
|
|
|||
|
|
@ -4,20 +4,20 @@
|
|||
/* $Id$ */
|
||||
|
||||
/***
|
||||
This file is part of polypaudio.
|
||||
This file is part of PulseAudio.
|
||||
|
||||
polypaudio is free software; you can redistribute it and/or modify
|
||||
PulseAudio is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU Lesser General Public License as published
|
||||
by the Free Software Foundation; either version 2 of the License,
|
||||
or (at your option) any later version.
|
||||
|
||||
polypaudio is distributed in the hope that it will be useful, but
|
||||
PulseAudio is distributed in the hope that it will be useful, but
|
||||
WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public License
|
||||
along with polypaudio; if not, write to the Free Software
|
||||
along with PulseAudio; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
USA.
|
||||
***/
|
||||
|
|
@ -25,8 +25,8 @@
|
|||
#include <inttypes.h>
|
||||
#include <sys/socket.h>
|
||||
#include <sys/types.h>
|
||||
#include <polypcore/memblockq.h>
|
||||
#include <polypcore/memchunk.h>
|
||||
#include <pulsecore/memblockq.h>
|
||||
#include <pulsecore/memchunk.h>
|
||||
|
||||
typedef struct pa_sap_context {
|
||||
int fd;
|
||||
|
|
|
|||
|
|
@ -1,20 +1,20 @@
|
|||
/* $Id$ */
|
||||
|
||||
/***
|
||||
This file is part of polypaudio.
|
||||
This file is part of PulseAudio.
|
||||
|
||||
polypaudio is free software; you can redistribute it and/or modify
|
||||
PulseAudio is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU Lesser General Public License as published
|
||||
by the Free Software Foundation; either version 2 of the License,
|
||||
or (at your option) any later version.
|
||||
|
||||
polypaudio is distributed in the hope that it will be useful, but
|
||||
PulseAudio is distributed in the hope that it will be useful, but
|
||||
WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public License
|
||||
along with polypaudio; if not, write to the Free Software
|
||||
along with PulseAudio; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
USA.
|
||||
***/
|
||||
|
|
@ -31,10 +31,10 @@
|
|||
#include <arpa/inet.h>
|
||||
#include <string.h>
|
||||
|
||||
#include <polyp/xmalloc.h>
|
||||
#include <pulse/xmalloc.h>
|
||||
|
||||
#include <polypcore/core-util.h>
|
||||
#include <polypcore/log.h>
|
||||
#include <pulsecore/core-util.h>
|
||||
#include <pulsecore/log.h>
|
||||
|
||||
#include "sdp.h"
|
||||
#include "rtp.h"
|
||||
|
|
|
|||
|
|
@ -4,20 +4,20 @@
|
|||
/* $Id$ */
|
||||
|
||||
/***
|
||||
This file is part of polypaudio.
|
||||
This file is part of PulseAudio.
|
||||
|
||||
polypaudio is free software; you can redistribute it and/or modify
|
||||
PulseAudio is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU Lesser General Public License as published
|
||||
by the Free Software Foundation; either version 2 of the License,
|
||||
or (at your option) any later version.
|
||||
|
||||
polypaudio is distributed in the hope that it will be useful, but
|
||||
PulseAudio is distributed in the hope that it will be useful, but
|
||||
WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public License
|
||||
along with polypaudio; if not, write to the Free Software
|
||||
along with PulseAudio; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
USA.
|
||||
***/
|
||||
|
|
@ -26,7 +26,7 @@
|
|||
#include <sys/socket.h>
|
||||
#include <sys/types.h>
|
||||
|
||||
#include <polyp/sample.h>
|
||||
#include <pulse/sample.h>
|
||||
|
||||
#define PA_SDP_HEADER "v=0\n"
|
||||
|
||||
|
|
|
|||
|
|
@ -1 +0,0 @@
|
|||
../polyp/Makefile
|
||||
|
|
@ -1,20 +1,20 @@
|
|||
/* $Id$ */
|
||||
|
||||
/***
|
||||
This file is part of polypaudio.
|
||||
This file is part of PulseAudio.
|
||||
|
||||
polypaudio is free software; you can redistribute it and/or modify
|
||||
PulseAudio is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU Lesser General Public License as
|
||||
published by the Free Software Foundation; either version 2 of the
|
||||
License, or (at your option) any later version.
|
||||
|
||||
polypaudio is distributed in the hope that it will be useful, but
|
||||
PulseAudio is distributed in the hope that it will be useful, but
|
||||
WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with polypaudio; if not, write to the Free Software
|
||||
License along with PulseAudio; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
USA.
|
||||
***/
|
||||
|
|
@ -22,16 +22,16 @@
|
|||
#include <assert.h>
|
||||
#include <howl.h>
|
||||
|
||||
#include <polyp/xmalloc.h>
|
||||
#include <pulse/xmalloc.h>
|
||||
|
||||
#include <polypcore/log.h>
|
||||
#include <polypcore/core-util.h>
|
||||
#include <pulsecore/log.h>
|
||||
#include <pulsecore/core-util.h>
|
||||
|
||||
#include "browser.h"
|
||||
|
||||
#define SERVICE_NAME_SINK "_polypaudio-sink._tcp."
|
||||
#define SERVICE_NAME_SOURCE "_polypaudio-source._tcp."
|
||||
#define SERVICE_NAME_SERVER "_polypaudio-server._tcp."
|
||||
#define SERVICE_NAME_SINK "_pulseaudio-sink._tcp."
|
||||
#define SERVICE_NAME_SOURCE "_pulseaudio-source._tcp."
|
||||
#define SERVICE_NAME_SERVER "_pulseaudio-server._tcp."
|
||||
|
||||
struct pa_browser {
|
||||
int ref;
|
||||
|
|
@ -4,28 +4,28 @@
|
|||
/* $Id$ */
|
||||
|
||||
/***
|
||||
This file is part of polypaudio.
|
||||
This file is part of PulseAudio.
|
||||
|
||||
polypaudio is free software; you can redistribute it and/or modify
|
||||
PulseAudio is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU Lesser General Public License as
|
||||
published by the Free Software Foundation; either version 2 of the
|
||||
License, or (at your option) any later version.
|
||||
|
||||
polypaudio is distributed in the hope that it will be useful, but
|
||||
PulseAudio is distributed in the hope that it will be useful, but
|
||||
WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with polypaudio; if not, write to the Free Software
|
||||
License along with PulseAudio; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
USA.
|
||||
***/
|
||||
|
||||
#include <polyp/mainloop-api.h>
|
||||
#include <polyp/sample.h>
|
||||
#include <polyp/channelmap.h>
|
||||
#include <polyp/cdecl.h>
|
||||
#include <pulse/mainloop-api.h>
|
||||
#include <pulse/sample.h>
|
||||
#include <pulse/channelmap.h>
|
||||
#include <pulse/cdecl.h>
|
||||
|
||||
PA_C_DECL_BEGIN
|
||||
|
||||
|
|
@ -4,20 +4,20 @@
|
|||
/* $Id$ */
|
||||
|
||||
/***
|
||||
This file is part of polypaudio.
|
||||
This file is part of PulseAudio.
|
||||
|
||||
polypaudio is free software; you can redistribute it and/or modify
|
||||
PulseAudio is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU Lesser General Public License as published
|
||||
by the Free Software Foundation; either version 2 of the License,
|
||||
or (at your option) any later version.
|
||||
|
||||
polypaudio is distributed in the hope that it will be useful, but
|
||||
PulseAudio is distributed in the hope that it will be useful, but
|
||||
WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public License
|
||||
along with polypaudio; if not, write to the Free Software
|
||||
along with PulseAudio; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
USA.
|
||||
***/
|
||||
|
|
@ -1,20 +1,20 @@
|
|||
/* $Id$ */
|
||||
|
||||
/***
|
||||
This file is part of polypaudio.
|
||||
This file is part of PulseAudio.
|
||||
|
||||
polypaudio is free software; you can redistribute it and/or modify
|
||||
PulseAudio is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU Lesser General Public License as published
|
||||
by the Free Software Foundation; either version 2 of the License,
|
||||
or (at your option) any later version.
|
||||
|
||||
polypaudio is distributed in the hope that it will be useful, but
|
||||
PulseAudio is distributed in the hope that it will be useful, but
|
||||
WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public License
|
||||
along with polypaudio; if not, write to the Free Software
|
||||
along with PulseAudio; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
USA.
|
||||
***/
|
||||
|
|
@ -28,8 +28,8 @@
|
|||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
#include <polyp/xmalloc.h>
|
||||
#include <polypcore/core-util.h>
|
||||
#include <pulse/xmalloc.h>
|
||||
#include <pulsecore/core-util.h>
|
||||
|
||||
#include "channelmap.h"
|
||||
|
||||
|
|
@ -4,26 +4,26 @@
|
|||
/* $Id$ */
|
||||
|
||||
/***
|
||||
This file is part of polypaudio.
|
||||
This file is part of PulseAudio.
|
||||
|
||||
polypaudio is free software; you can redistribute it and/or modify
|
||||
PulseAudio is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU Lesser General Public License as published
|
||||
by the Free Software Foundation; either version 2 of the License,
|
||||
or (at your option) any later version.
|
||||
|
||||
polypaudio is distributed in the hope that it will be useful, but
|
||||
PulseAudio is distributed in the hope that it will be useful, but
|
||||
WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public License
|
||||
along with polypaudio; if not, write to the Free Software
|
||||
along with PulseAudio; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
USA.
|
||||
***/
|
||||
|
||||
#include <polyp/sample.h>
|
||||
#include <polyp/cdecl.h>
|
||||
#include <pulse/sample.h>
|
||||
#include <pulse/cdecl.h>
|
||||
|
||||
/** \page channelmap Channel Maps
|
||||
*
|
||||
|
|
@ -1,20 +1,20 @@
|
|||
/* $Id$ */
|
||||
|
||||
/***
|
||||
This file is part of polypaudio.
|
||||
This file is part of PulseAudio.
|
||||
|
||||
polypaudio is free software; you can redistribute it and/or modify
|
||||
PulseAudio is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU Lesser General Public License as published
|
||||
by the Free Software Foundation; either version 2 of the License,
|
||||
or (at your option) any later version.
|
||||
|
||||
polypaudio is distributed in the hope that it will be useful, but
|
||||
PulseAudio is distributed in the hope that it will be useful, but
|
||||
WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public License
|
||||
along with polypaudio; if not, write to the Free Software
|
||||
along with PulseAudio; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-13071
|
||||
USA.
|
||||
***/
|
||||
|
|
@ -29,11 +29,11 @@
|
|||
#include <X11/Xlib.h>
|
||||
#include <X11/Xatom.h>
|
||||
|
||||
#include <polyp/xmalloc.h>
|
||||
#include <pulse/xmalloc.h>
|
||||
|
||||
#include <polypcore/x11prop.h>
|
||||
#include <polypcore/log.h>
|
||||
#include <polypcore/core-util.h>
|
||||
#include <pulsecore/x11prop.h>
|
||||
#include <pulsecore/log.h>
|
||||
#include <pulsecore/core-util.h>
|
||||
|
||||
#include "client-conf-x11.h"
|
||||
|
||||
|
|
@ -4,20 +4,20 @@
|
|||
/* $Id$ */
|
||||
|
||||
/***
|
||||
This file is part of polypaudio.
|
||||
This file is part of PulseAudio.
|
||||
|
||||
polypaudio is free software; you can redistribute it and/or modify
|
||||
PulseAudio is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU Lesser General Public License as published
|
||||
by the Free Software Foundation; either version 2 of the License,
|
||||
or (at your option) any later version.
|
||||
|
||||
polypaudio is distributed in the hope that it will be useful, but
|
||||
PulseAudio is distributed in the hope that it will be useful, but
|
||||
WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public License
|
||||
along with polypaudio; if not, write to the Free Software
|
||||
along with PulseAudio; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
USA.
|
||||
***/
|
||||
|
|
@ -1,20 +1,20 @@
|
|||
/* $Id$ */
|
||||
|
||||
/***
|
||||
This file is part of polypaudio.
|
||||
This file is part of PulseAudio.
|
||||
|
||||
polypaudio is free software; you can redistribute it and/or modify
|
||||
PulseAudio is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU Lesser General Public License as published
|
||||
by the Free Software Foundation; either version 2 of the License,
|
||||
or (at your option) any later version.
|
||||
|
||||
polypaudio is distributed in the hope that it will be useful, but
|
||||
PulseAudio is distributed in the hope that it will be useful, but
|
||||
WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public License
|
||||
along with polypaudio; if not, write to the Free Software
|
||||
along with PulseAudio; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
USA.
|
||||
***/
|
||||
|
|
@ -29,19 +29,19 @@
|
|||
#include <errno.h>
|
||||
#include <string.h>
|
||||
|
||||
#include <polypcore/core-error.h>
|
||||
#include <polyp/xmalloc.h>
|
||||
#include <pulsecore/core-error.h>
|
||||
#include <pulse/xmalloc.h>
|
||||
|
||||
#include <polypcore/log.h>
|
||||
#include <polypcore/conf-parser.h>
|
||||
#include <polypcore/core-util.h>
|
||||
#include <polypcore/authkey.h>
|
||||
#include <pulsecore/log.h>
|
||||
#include <pulsecore/conf-parser.h>
|
||||
#include <pulsecore/core-util.h>
|
||||
#include <pulsecore/authkey.h>
|
||||
|
||||
#include "client-conf.h"
|
||||
|
||||
#ifndef DEFAULT_CONFIG_DIR
|
||||
# ifndef OS_IS_WIN32
|
||||
# define DEFAULT_CONFIG_DIR "/etc/polypaudio"
|
||||
# define DEFAULT_CONFIG_DIR "/etc/pulseaudio"
|
||||
# else
|
||||
# define DEFAULT_CONFIG_DIR "%POLYP_ROOT%"
|
||||
# endif
|
||||
|
|
@ -54,7 +54,7 @@
|
|||
#endif
|
||||
|
||||
#define DEFAULT_CLIENT_CONFIG_FILE DEFAULT_CONFIG_DIR PATH_SEP "client.conf"
|
||||
#define DEFAULT_CLIENT_CONFIG_FILE_USER ".polypaudio" PATH_SEP "client.conf"
|
||||
#define DEFAULT_CLIENT_CONFIG_FILE_USER ".pulseaudio" PATH_SEP "client.conf"
|
||||
|
||||
#define ENV_CLIENT_CONFIG_FILE "POLYP_CLIENTCONFIG"
|
||||
#define ENV_DEFAULT_SINK "POLYP_SINK"
|
||||
|
|
@ -4,27 +4,27 @@
|
|||
/* $Id$ */
|
||||
|
||||
/***
|
||||
This file is part of polypaudio.
|
||||
This file is part of PulseAudio.
|
||||
|
||||
polypaudio is free software; you can redistribute it and/or modify
|
||||
PulseAudio is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU Lesser General Public License as published
|
||||
by the Free Software Foundation; either version 2 of the License,
|
||||
or (at your option) any later version.
|
||||
|
||||
polypaudio is distributed in the hope that it will be useful, but
|
||||
PulseAudio is distributed in the hope that it will be useful, but
|
||||
WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public License
|
||||
along with polypaudio; if not, write to the Free Software
|
||||
along with PulseAudio; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
USA.
|
||||
***/
|
||||
|
||||
#include <polypcore/native-common.h>
|
||||
#include <pulsecore/native-common.h>
|
||||
|
||||
/* A structure containing configuration data for polypaudio clients. */
|
||||
/* A structure containing configuration data for pulseaudio clients. */
|
||||
|
||||
typedef struct pa_client_conf {
|
||||
char *daemon_binary, *extra_arguments, *default_sink, *default_source, *default_server, *cookie_file;
|
||||
|
|
@ -1,29 +1,29 @@
|
|||
# $Id$
|
||||
#
|
||||
# This file is part of polypaudio.
|
||||
# This file is part of PulseAudio.
|
||||
#
|
||||
# polypaudio is free software; you can redistribute it and/or modify
|
||||
# PulseAudio is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Lesser General Public License as published by
|
||||
# the Free Software Foundation; either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# polypaudio is distributed in the hope that it will be useful, but
|
||||
# PulseAudio is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
# General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Lesser General Public License
|
||||
# along with polypaudio; if not, write to the Free Software
|
||||
# along with PulseAudio; if not, write to the Free Software
|
||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
# USA.
|
||||
|
||||
## Configuration file for polypaudio clients. Default values are
|
||||
## Configuration file for pulseaudio clients. Default values are
|
||||
## commented out. Use either ; or # for commenting
|
||||
|
||||
## Path to the polypaudio daemon to run when autospawning.
|
||||
## Path to the pulseaudio daemon to run when autospawning.
|
||||
; daemon-binary = @POLYPAUDIO_BINARY@
|
||||
|
||||
## Extra arguments to pass to the polypaudio daemon
|
||||
## Extra arguments to pass to the pulseaudio daemon
|
||||
; extra-arguments = --log-target=syslog --exit-idle-time=5
|
||||
|
||||
## The default sink to connect to
|
||||
|
|
@ -1,20 +1,20 @@
|
|||
/* $Id$ */
|
||||
|
||||
/***
|
||||
This file is part of polypaudio.
|
||||
This file is part of PulseAudio.
|
||||
|
||||
polypaudio is free software; you can redistribute it and/or modify
|
||||
PulseAudio is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU Lesser General Public License as published
|
||||
by the Free Software Foundation; either version 2 of the License,
|
||||
or (at your option) any later version.
|
||||
|
||||
polypaudio is distributed in the hope that it will be useful, but
|
||||
PulseAudio is distributed in the hope that it will be useful, but
|
||||
WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public License
|
||||
along with polypaudio; if not, write to the Free Software
|
||||
along with PulseAudio; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
USA.
|
||||
***/
|
||||
|
|
@ -45,21 +45,21 @@
|
|||
#include <netdb.h>
|
||||
#endif
|
||||
|
||||
#include "../polypcore/winsock.h"
|
||||
#include "../pulsecore/winsock.h"
|
||||
|
||||
#include <polypcore/core-error.h>
|
||||
#include <polyp/version.h>
|
||||
#include <polyp/xmalloc.h>
|
||||
#include <pulsecore/core-error.h>
|
||||
#include <pulse/version.h>
|
||||
#include <pulse/xmalloc.h>
|
||||
|
||||
#include <polypcore/native-common.h>
|
||||
#include <polypcore/pdispatch.h>
|
||||
#include <polypcore/pstream.h>
|
||||
#include <polypcore/dynarray.h>
|
||||
#include <polypcore/socket-client.h>
|
||||
#include <polypcore/pstream-util.h>
|
||||
#include <polypcore/core-util.h>
|
||||
#include <polypcore/log.h>
|
||||
#include <polypcore/socket-util.h>
|
||||
#include <pulsecore/native-common.h>
|
||||
#include <pulsecore/pdispatch.h>
|
||||
#include <pulsecore/pstream.h>
|
||||
#include <pulsecore/dynarray.h>
|
||||
#include <pulsecore/socket-client.h>
|
||||
#include <pulsecore/pstream-util.h>
|
||||
#include <pulsecore/core-util.h>
|
||||
#include <pulsecore/log.h>
|
||||
#include <pulsecore/socket-util.h>
|
||||
|
||||
#include "internal.h"
|
||||
|
||||
|
|
@ -4,35 +4,35 @@
|
|||
/* $Id$ */
|
||||
|
||||
/***
|
||||
This file is part of polypaudio.
|
||||
This file is part of PulseAudio.
|
||||
|
||||
polypaudio is free software; you can redistribute it and/or modify
|
||||
PulseAudio is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU Lesser General Public License as published
|
||||
by the Free Software Foundation; either version 2 of the License,
|
||||
or (at your option) any later version.
|
||||
|
||||
polypaudio is distributed in the hope that it will be useful, but
|
||||
PulseAudio is distributed in the hope that it will be useful, but
|
||||
WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public License
|
||||
along with polypaudio; if not, write to the Free Software
|
||||
along with PulseAudio; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
USA.
|
||||
***/
|
||||
|
||||
#include <polyp/sample.h>
|
||||
#include <polyp/def.h>
|
||||
#include <polyp/mainloop-api.h>
|
||||
#include <polyp/cdecl.h>
|
||||
#include <polyp/operation.h>
|
||||
#include <pulse/sample.h>
|
||||
#include <pulse/def.h>
|
||||
#include <pulse/mainloop-api.h>
|
||||
#include <pulse/cdecl.h>
|
||||
#include <pulse/operation.h>
|
||||
|
||||
/** \page async Asynchronous API
|
||||
*
|
||||
* \section overv_sec Overview
|
||||
*
|
||||
* The asynchronous API is the native interface to the polypaudio library.
|
||||
* The asynchronous API is the native interface to the pulseaudio library.
|
||||
* It allows full access to all available functions. This also means that
|
||||
* it is rather complex and can take some time to fully master.
|
||||
*
|
||||
|
|
@ -52,10 +52,10 @@
|
|||
*
|
||||
* To actually be able to use these functions, an implementation needs to
|
||||
* be coupled to the abstraction. There are three of these shipped with
|
||||
* polypaudio, but any other can be used with a minimal ammount of work,
|
||||
* pulseaudio, but any other can be used with a minimal ammount of work,
|
||||
* provided it supports the three basic events listed above.
|
||||
*
|
||||
* The implementations shipped with polypaudio are:
|
||||
* The implementations shipped with pulseaudio are:
|
||||
*
|
||||
* \li \subpage mainloop - A minimal but fast implementation based on poll().
|
||||
* \li \subpage threaded_mainloop - A special version of the previous
|
||||
|
|
@ -71,7 +71,7 @@
|
|||
*
|
||||
* \section refcnt_sec Reference Counting
|
||||
*
|
||||
* Almost all objects in polypaudio are reference counted. What that means
|
||||
* Almost all objects in pulseaudio are reference counted. What that means
|
||||
* is that you rarely malloc() or free() any objects. Instead you increase
|
||||
* and decrease their reference counts. Whenever an object's reference
|
||||
* count reaches zero, that object gets destroy and any resources it uses
|
||||
|
|
@ -89,7 +89,7 @@
|
|||
*
|
||||
* \section context_sec Context
|
||||
*
|
||||
* A context is the basic object for a connection to a polypaudio server.
|
||||
* A context is the basic object for a connection to a pulseaudio server.
|
||||
* It multiplexes commands, data streams and events through a single
|
||||
* channel.
|
||||
*
|
||||
|
|
@ -142,7 +142,7 @@
|
|||
|
||||
/** \file
|
||||
* Connection contexts for asynchrononous communication with a
|
||||
* server. A pa_context object wraps a connection to a polypaudio
|
||||
* server. A pa_context object wraps a connection to a pulseaudio
|
||||
* server using its native protocol. */
|
||||
|
||||
/** \example pacat.c
|
||||
|
|
@ -4,20 +4,20 @@
|
|||
/* $Id$ */
|
||||
|
||||
/***
|
||||
This file is part of polypaudio.
|
||||
This file is part of PulseAudio.
|
||||
|
||||
polypaudio is free software; you can redistribute it and/or modify
|
||||
PulseAudio is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU Lesser General Public License as
|
||||
published by the Free Software Foundation; either version 2.1 of the
|
||||
License, or (at your option) any later version.
|
||||
|
||||
polypaudio is distributed in the hope that it will be useful, but
|
||||
PulseAudio is distributed in the hope that it will be useful, but
|
||||
WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
Lesser General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with polypaudio; if not, write to the Free Software
|
||||
License along with PulseAudio; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
USA.
|
||||
***/
|
||||
|
|
@ -26,8 +26,8 @@
|
|||
#include <sys/time.h>
|
||||
#include <time.h>
|
||||
|
||||
#include <polyp/cdecl.h>
|
||||
#include <polyp/sample.h>
|
||||
#include <pulse/cdecl.h>
|
||||
#include <pulse/sample.h>
|
||||
|
||||
/** \file
|
||||
* Global definitions */
|
||||
|
|
@ -66,7 +66,7 @@ typedef enum pa_operation_state {
|
|||
|
||||
/** Some special flags for contexts. \since 0.8 */
|
||||
typedef enum pa_context_flags {
|
||||
PA_CONTEXT_NOAUTOSPAWN = 1 /**< Disabled autospawning of the polypaudio daemon if required */
|
||||
PA_CONTEXT_NOAUTOSPAWN = 1 /**< Disabled autospawning of the pulseaudio daemon if required */
|
||||
} pa_context_flags_t;
|
||||
|
||||
/** The direction of a pa_stream object */
|
||||
|
|
@ -1,20 +1,20 @@
|
|||
/* $Id$ */
|
||||
|
||||
/***
|
||||
This file is part of polypaudio.
|
||||
This file is part of PulseAudio.
|
||||
|
||||
polypaudio is free software; you can redistribute it and/or modify
|
||||
PulseAudio is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU Lesser General Public License as published
|
||||
by the Free Software Foundation; either version 2 of the License,
|
||||
or (at your option) any later version.
|
||||
|
||||
polypaudio is distributed in the hope that it will be useful, but
|
||||
PulseAudio is distributed in the hope that it will be useful, but
|
||||
WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public License
|
||||
along with polypaudio; if not, write to the Free Software
|
||||
along with PulseAudio; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
USA.
|
||||
***/
|
||||
|
|
@ -28,10 +28,10 @@
|
|||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#include <polyp/xmalloc.h>
|
||||
#include <pulse/xmalloc.h>
|
||||
|
||||
#include <polypcore/core-util.h>
|
||||
#include <polypcore/native-common.h>
|
||||
#include <pulsecore/core-util.h>
|
||||
#include <pulsecore/native-common.h>
|
||||
|
||||
#include "error.h"
|
||||
|
||||
|
|
@ -4,26 +4,26 @@
|
|||
/* $Id$ */
|
||||
|
||||
/***
|
||||
This file is part of polypaudio.
|
||||
This file is part of PulseAudio.
|
||||
|
||||
polypaudio is free software; you can redistribute it and/or modify
|
||||
PulseAudio is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU Lesser General Public License as published
|
||||
by the Free Software Foundation; either version 2 of the License,
|
||||
or (at your option) any later version.
|
||||
|
||||
polypaudio is distributed in the hope that it will be useful, but
|
||||
PulseAudio is distributed in the hope that it will be useful, but
|
||||
WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public License
|
||||
along with polypaudio; if not, write to the Free Software
|
||||
along with PulseAudio; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
USA.
|
||||
***/
|
||||
|
||||
#include <inttypes.h>
|
||||
#include <polyp/cdecl.h>
|
||||
#include <pulse/cdecl.h>
|
||||
|
||||
/** \file
|
||||
* Error management */
|
||||
|
|
@ -1,20 +1,20 @@
|
|||
/* $Id$ */
|
||||
|
||||
/***
|
||||
This file is part of polypaudio.
|
||||
This file is part of PulseAudio.
|
||||
|
||||
polypaudio is free software; you can redistribute it and/or modify
|
||||
PulseAudio is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU Lesser General Public License as published
|
||||
by the Free Software Foundation; either version 2 of the License,
|
||||
or (at your option) any later version.
|
||||
|
||||
polypaudio is distributed in the hope that it will be useful, but
|
||||
PulseAudio is distributed in the hope that it will be useful, but
|
||||
WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public License
|
||||
along with polypaudio; if not, write to the Free Software
|
||||
along with PulseAudio; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
USA.
|
||||
***/
|
||||
|
|
@ -25,11 +25,11 @@
|
|||
|
||||
#include <assert.h>
|
||||
|
||||
#include <polyp/xmalloc.h>
|
||||
#include <polyp/timeval.h>
|
||||
#include <pulse/xmalloc.h>
|
||||
#include <pulse/timeval.h>
|
||||
|
||||
#include <polypcore/idxset.h>
|
||||
#include <polypcore/core-util.h>
|
||||
#include <pulsecore/idxset.h>
|
||||
#include <pulsecore/core-util.h>
|
||||
|
||||
#include "glib.h"
|
||||
#include "glib-mainloop.h"
|
||||
|
|
@ -4,28 +4,28 @@
|
|||
/* $Id$ */
|
||||
|
||||
/***
|
||||
This file is part of polypaudio.
|
||||
This file is part of PulseAudio.
|
||||
|
||||
polypaudio is free software; you can redistribute it and/or modify
|
||||
PulseAudio is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU Lesser General Public License as published
|
||||
by the Free Software Foundation; either version 2 of the License,
|
||||
or (at your option) any later version.
|
||||
|
||||
polypaudio is distributed in the hope that it will be useful, but
|
||||
PulseAudio is distributed in the hope that it will be useful, but
|
||||
WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public License
|
||||
along with polypaudio; if not, write to the Free Software
|
||||
along with PulseAudio; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
USA.
|
||||
***/
|
||||
|
||||
#include <glib.h>
|
||||
|
||||
#include <polyp/mainloop-api.h>
|
||||
#include <polyp/cdecl.h>
|
||||
#include <pulse/mainloop-api.h>
|
||||
#include <pulse/cdecl.h>
|
||||
|
||||
/** \page glib-mainloop GLIB Main Loop Bindings
|
||||
*
|
||||
|
|
@ -1,20 +1,20 @@
|
|||
/* $Id$ */
|
||||
|
||||
/***
|
||||
This file is part of polypaudio.
|
||||
This file is part of PulseAudio.
|
||||
|
||||
polypaudio is free software; you can redistribute it and/or modify
|
||||
PulseAudio is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU Lesser General Public License as published
|
||||
by the Free Software Foundation; either version 2 of the License,
|
||||
or (at your option) any later version.
|
||||
|
||||
polypaudio is distributed in the hope that it will be useful, but
|
||||
PulseAudio is distributed in the hope that it will be useful, but
|
||||
WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public License
|
||||
along with polypaudio; if not, write to the Free Software
|
||||
along with PulseAudio; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
USA.
|
||||
***/
|
||||
|
|
@ -25,11 +25,11 @@
|
|||
|
||||
#include <assert.h>
|
||||
|
||||
#include <polyp/timeval.h>
|
||||
#include <polyp/xmalloc.h>
|
||||
#include <pulse/timeval.h>
|
||||
#include <pulse/xmalloc.h>
|
||||
|
||||
#include <polypcore/idxset.h>
|
||||
#include <polypcore/core-util.h>
|
||||
#include <pulsecore/idxset.h>
|
||||
#include <pulsecore/core-util.h>
|
||||
|
||||
#include "glib-mainloop.h"
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue