mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-06 13:29:56 -05: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
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"
|
||||
|
||||
|
|
@ -4,40 +4,40 @@
|
|||
/* $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 <polyp/context.h>
|
||||
#include <polyp/stream.h>
|
||||
#include <polyp/operation.h>
|
||||
#include <polyp/subscribe.h>
|
||||
#include <pulse/mainloop-api.h>
|
||||
#include <pulse/context.h>
|
||||
#include <pulse/stream.h>
|
||||
#include <pulse/operation.h>
|
||||
#include <pulse/subscribe.h>
|
||||
|
||||
#include <polypcore/socket-client.h>
|
||||
#include <polypcore/pstream.h>
|
||||
#include <polypcore/pdispatch.h>
|
||||
#include <polypcore/dynarray.h>
|
||||
#include <polypcore/llist.h>
|
||||
#include <polypcore/native-common.h>
|
||||
#include <polypcore/strlist.h>
|
||||
#include <polypcore/mcalign.h>
|
||||
#include <polypcore/memblockq.h>
|
||||
#include <polypcore/hashmap.h>
|
||||
#include <pulsecore/socket-client.h>
|
||||
#include <pulsecore/pstream.h>
|
||||
#include <pulsecore/pdispatch.h>
|
||||
#include <pulsecore/dynarray.h>
|
||||
#include <pulsecore/llist.h>
|
||||
#include <pulsecore/native-common.h>
|
||||
#include <pulsecore/strlist.h>
|
||||
#include <pulsecore/mcalign.h>
|
||||
#include <pulsecore/memblockq.h>
|
||||
#include <pulsecore/hashmap.h>
|
||||
|
||||
#include "client-conf.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.
|
||||
***/
|
||||
|
|
@ -25,10 +25,10 @@
|
|||
|
||||
#include <assert.h>
|
||||
|
||||
#include <polyp/context.h>
|
||||
#include <pulse/context.h>
|
||||
|
||||
#include <polypcore/gccmacro.h>
|
||||
#include <polypcore/pstream-util.h>
|
||||
#include <pulsecore/gccmacro.h>
|
||||
#include <pulsecore/pstream-util.h>
|
||||
|
||||
#include "internal.h"
|
||||
|
||||
|
|
@ -4,31 +4,31 @@
|
|||
/* $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/operation.h>
|
||||
#include <polyp/context.h>
|
||||
#include <polyp/cdecl.h>
|
||||
#include <polyp/channelmap.h>
|
||||
#include <polyp/volume.h>
|
||||
#include <pulse/operation.h>
|
||||
#include <pulse/context.h>
|
||||
#include <pulse/cdecl.h>
|
||||
#include <pulse/channelmap.h>
|
||||
#include <pulse/volume.h>
|
||||
|
||||
/** \page introspect Server Query and Control
|
||||
*
|
||||
|
|
@ -266,11 +266,11 @@ typedef struct pa_server_info {
|
|||
const char *user_name; /**< User name of the daemon process */
|
||||
const char *host_name; /**< Host name the daemon is running on */
|
||||
const char *server_version; /**< Version string of the daemon */
|
||||
const char *server_name; /**< Server package name (usually "polypaudio") */
|
||||
const char *server_name; /**< Server package name (usually "pulseaudio") */
|
||||
pa_sample_spec sample_spec; /**< Default sample specification */
|
||||
const char *default_sink_name; /**< Name of default sink. \since 0.4 */
|
||||
const char *default_source_name; /**< Name of default sink. \since 0.4*/
|
||||
uint32_t cookie; /**< A random cookie for identifying this instance of polypaudio. \since 0.8 */
|
||||
uint32_t cookie; /**< A random cookie for identifying this instance of pulseaudio. \since 0.8 */
|
||||
} pa_server_info;
|
||||
|
||||
/** Callback prototype for pa_context_get_server_info() */
|
||||
|
|
@ -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.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,9 +26,9 @@
|
|||
#include <assert.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include <polyp/xmalloc.h>
|
||||
#include <pulse/xmalloc.h>
|
||||
|
||||
#include <polypcore/gccmacro.h>
|
||||
#include <pulsecore/gccmacro.h>
|
||||
|
||||
#include "mainloop-api.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.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.
|
||||
***/
|
||||
|
|
@ -25,17 +25,17 @@
|
|||
#include <sys/time.h>
|
||||
#include <time.h>
|
||||
|
||||
#include <polyp/cdecl.h>
|
||||
#include <pulse/cdecl.h>
|
||||
|
||||
/** \file
|
||||
*
|
||||
* Main loop abstraction layer. Both the polypaudio core and the
|
||||
* polypaudio client library use a main loop abstraction layer. Due to
|
||||
* this it is possible to embed polypaudio into other
|
||||
* Main loop abstraction layer. Both the pulseaudio core and the
|
||||
* pulseaudio client library use a main loop abstraction layer. Due to
|
||||
* this it is possible to embed pulseaudio into other
|
||||
* applications easily. Two main loop implemenations are
|
||||
* currently available:
|
||||
* \li A minimal implementation based on the C library's poll() function (See \ref mainloop.h)
|
||||
* \li A wrapper around the GLIB main loop. Use this to embed polypaudio into your GLIB/GTK+/GNOME programs (See \ref glib-mainloop.h)
|
||||
* \li A wrapper around the GLIB main loop. Use this to embed pulseaudio into your GLIB/GTK+/GNOME programs (See \ref glib-mainloop.h)
|
||||
*
|
||||
* The structure pa_mainloop_api is used as vtable for the main loop abstraction.
|
||||
*
|
||||
|
|
@ -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,12 +36,12 @@
|
|||
#include <windows.h>
|
||||
#endif
|
||||
|
||||
#include <polypcore/core-error.h>
|
||||
#include <polyp/xmalloc.h>
|
||||
#include <pulsecore/core-error.h>
|
||||
#include <pulse/xmalloc.h>
|
||||
|
||||
#include <polypcore/core-util.h>
|
||||
#include <polypcore/log.h>
|
||||
#include <polypcore/gccmacro.h>
|
||||
#include <pulsecore/core-util.h>
|
||||
#include <pulsecore/log.h>
|
||||
#include <pulsecore/gccmacro.h>
|
||||
|
||||
#include "mainloop-signal.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/mainloop-api.h>
|
||||
#include <polyp/cdecl.h>
|
||||
#include <pulse/mainloop-api.h>
|
||||
#include <pulse/cdecl.h>
|
||||
|
||||
PA_C_DECL_BEGIN
|
||||
|
||||
|
|
@ -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,22 +35,22 @@
|
|||
#ifdef HAVE_SYS_POLL_H
|
||||
#include <sys/poll.h>
|
||||
#else
|
||||
#include "../polypcore/poll.h"
|
||||
#include "../pulsecore/poll.h"
|
||||
#endif
|
||||
|
||||
#include "../polypcore/winsock.h"
|
||||
#include "../pulsecore/winsock.h"
|
||||
|
||||
#ifndef HAVE_PIPE
|
||||
#include "../polypcore/pipe.h"
|
||||
#include "../pulsecore/pipe.h"
|
||||
#endif
|
||||
|
||||
#include <polypcore/core-error.h>
|
||||
#include <polyp/timeval.h>
|
||||
#include <polyp/xmalloc.h>
|
||||
#include <pulsecore/core-error.h>
|
||||
#include <pulse/timeval.h>
|
||||
#include <pulse/xmalloc.h>
|
||||
|
||||
#include <polypcore/core-util.h>
|
||||
#include <polypcore/idxset.h>
|
||||
#include <polypcore/log.h>
|
||||
#include <pulsecore/core-util.h>
|
||||
#include <pulsecore/idxset.h>
|
||||
#include <pulsecore/log.h>
|
||||
|
||||
#include "mainloop.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/mainloop-api.h>
|
||||
#include <polyp/cdecl.h>
|
||||
#include <pulse/mainloop-api.h>
|
||||
#include <pulse/cdecl.h>
|
||||
|
||||
PA_C_DECL_BEGIN
|
||||
|
||||
|
|
@ -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,7 +25,7 @@
|
|||
|
||||
#include <assert.h>
|
||||
|
||||
#include <polyp/xmalloc.h>
|
||||
#include <pulse/xmalloc.h>
|
||||
|
||||
#include "internal.h"
|
||||
#include "operation.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/cdecl.h>
|
||||
#include <polyp/def.h>
|
||||
#include <pulse/cdecl.h>
|
||||
#include <pulse/def.h>
|
||||
|
||||
/** \file
|
||||
* Asynchronous operations */
|
||||
|
|
@ -1,50 +1,50 @@
|
|||
#ifndef foopolypaudiohfoo
|
||||
#define foopolypaudiohfoo
|
||||
#ifndef foopulseaudiohfoo
|
||||
#define foopulseaudiohfoo
|
||||
|
||||
/* $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.
|
||||
***/
|
||||
|
||||
#include <polyp/mainloop-api.h>
|
||||
#include <polyp/sample.h>
|
||||
#include <polyp/def.h>
|
||||
#include <polyp/context.h>
|
||||
#include <polyp/stream.h>
|
||||
#include <polyp/introspect.h>
|
||||
#include <polyp/subscribe.h>
|
||||
#include <polyp/scache.h>
|
||||
#include <polyp/version.h>
|
||||
#include <polyp/error.h>
|
||||
#include <polyp/operation.h>
|
||||
#include <polyp/channelmap.h>
|
||||
#include <polyp/volume.h>
|
||||
#include <polyp/xmalloc.h>
|
||||
#include <polyp/utf8.h>
|
||||
#include <polyp/thread-mainloop.h>
|
||||
#include <polyp/mainloop.h>
|
||||
#include <polyp/mainloop-signal.h>
|
||||
#include <polyp/util.h>
|
||||
#include <polyp/timeval.h>
|
||||
#include <pulse/mainloop-api.h>
|
||||
#include <pulse/sample.h>
|
||||
#include <pulse/def.h>
|
||||
#include <pulse/context.h>
|
||||
#include <pulse/stream.h>
|
||||
#include <pulse/introspect.h>
|
||||
#include <pulse/subscribe.h>
|
||||
#include <pulse/scache.h>
|
||||
#include <pulse/version.h>
|
||||
#include <pulse/error.h>
|
||||
#include <pulse/operation.h>
|
||||
#include <pulse/channelmap.h>
|
||||
#include <pulse/volume.h>
|
||||
#include <pulse/xmalloc.h>
|
||||
#include <pulse/utf8.h>
|
||||
#include <pulse/thread-mainloop.h>
|
||||
#include <pulse/mainloop.h>
|
||||
#include <pulse/mainloop-signal.h>
|
||||
#include <pulse/util.h>
|
||||
#include <pulse/timeval.h>
|
||||
|
||||
/** \file
|
||||
* Include all polyplib header files at once. The following
|
||||
* Include all pulselib header files at once. The following
|
||||
* files are included: \ref mainloop-api.h, \ref sample.h, \ref def.h,
|
||||
* \ref context.h, \ref stream.h, \ref introspect.h, \ref subscribe.h,
|
||||
* \ref scache.h, \ref version.h, \ref error.h, \ref channelmap.h,
|
||||
|
|
@ -56,7 +56,7 @@
|
|||
*
|
||||
* \section intro_sec Introduction
|
||||
*
|
||||
* This document describes the client API for the polypaudio sound
|
||||
* This document describes the client API for the pulseaudio sound
|
||||
* server. The API comes in two flavours to accomodate different styles
|
||||
* of applications and different needs in complexity:
|
||||
*
|
||||
|
|
@ -78,7 +78,7 @@
|
|||
*
|
||||
* Use this if you develop your programs in asynchronous, event loop
|
||||
* based style or if you want to use the advanced features of the
|
||||
* polypaudio API. A guide can be found in \subpage async.
|
||||
* pulseaudio API. A guide can be found in \subpage async.
|
||||
*
|
||||
* By using the built-in threaded main loop, it is possible to acheive a
|
||||
* pseudo-synchronous API, which can be useful in synchronous applications
|
||||
|
|
@ -87,7 +87,7 @@
|
|||
*
|
||||
* \section thread_sec Threads
|
||||
*
|
||||
* The polypaudio client libraries are not designed to be used in a
|
||||
* The pulseaudio client libraries are not designed to be used in a
|
||||
* heavily threaded environment. They are however designed to be reentrant
|
||||
* safe.
|
||||
*
|
||||
|
|
@ -102,14 +102,14 @@
|
|||
*
|
||||
* \section pkgconfig pkg-config
|
||||
*
|
||||
* The polypaudio libraries provide pkg-config snippets for the different
|
||||
* The pulseaudio libraries provide pkg-config snippets for the different
|
||||
* modules:
|
||||
*
|
||||
* \li polyplib - The asynchronous API and the internal main loop
|
||||
* \li pulselib - The asynchronous API and the internal main loop
|
||||
* implementation.
|
||||
* \li polyplib-glib12-mainloop - GLIB 1.2 main loop bindings.
|
||||
* \li polyplib-glib-mainloop - GLIB 2.x main loop bindings.
|
||||
* \li polyplib-simple - The simple polypaudio API.
|
||||
* \li pulselib-glib12-mainloop - GLIB 1.2 main loop bindings.
|
||||
* \li pulselib-glib-mainloop - GLIB 2.x main loop bindings.
|
||||
* \li pulselib-simple - The simple pulseaudio API.
|
||||
*/
|
||||
|
||||
#endif
|
||||
|
|
@ -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.
|
||||
***/
|
||||
|
|
@ -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/types.h>
|
||||
#include <math.h>
|
||||
|
||||
#include <polyp/cdecl.h>
|
||||
#include <pulse/cdecl.h>
|
||||
|
||||
/** \page sample Sample Format Specifications
|
||||
*
|
||||
|
|
@ -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,7 +28,7 @@
|
|||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
#include <polypcore/pstream-util.h>
|
||||
#include <pulsecore/pstream-util.h>
|
||||
|
||||
#include "internal.h"
|
||||
|
||||
|
|
@ -4,29 +4,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.
|
||||
***/
|
||||
|
||||
#include <sys/types.h>
|
||||
|
||||
#include <polyp/context.h>
|
||||
#include <polyp/stream.h>
|
||||
#include <polyp/cdecl.h>
|
||||
#include <pulse/context.h>
|
||||
#include <pulse/stream.h>
|
||||
#include <pulse/cdecl.h>
|
||||
|
||||
/** \page scache Sample Cache
|
||||
*
|
||||
|
|
@ -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,12 +28,12 @@
|
|||
#include <assert.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include <polyp/polypaudio.h>
|
||||
#include <polyp/thread-mainloop.h>
|
||||
#include <polyp/xmalloc.h>
|
||||
#include <pulse/pulseaudio.h>
|
||||
#include <pulse/thread-mainloop.h>
|
||||
#include <pulse/xmalloc.h>
|
||||
|
||||
#include <polypcore/native-common.h>
|
||||
#include <polypcore/log.h>
|
||||
#include <pulsecore/native-common.h>
|
||||
#include <pulsecore/log.h>
|
||||
|
||||
#include "simple.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 <sys/types.h>
|
||||
|
||||
#include <polyp/sample.h>
|
||||
#include <polyp/channelmap.h>
|
||||
#include <polyp/def.h>
|
||||
#include <polyp/cdecl.h>
|
||||
#include <pulse/sample.h>
|
||||
#include <pulse/channelmap.h>
|
||||
#include <pulse/def.h>
|
||||
#include <pulse/cdecl.h>
|
||||
|
||||
/** \page simple Simple API
|
||||
*
|
||||
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