mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-07 13:30:03 -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
|
|
@ -1 +1 @@
|
|||
../polyp/Makefile
|
||||
../pulse/Makefile
|
||||
|
|
@ -3,8 +3,8 @@
|
|||
#include <stdio.h>
|
||||
#include <assert.h>
|
||||
|
||||
#include <polyp/channelmap.h>
|
||||
#include <polypcore/gccmacro.h>
|
||||
#include <pulse/channelmap.h>
|
||||
#include <pulsecore/gccmacro.h>
|
||||
|
||||
int main(PA_GCC_UNUSED int argc, PA_GCC_UNUSED char *argv[]) {
|
||||
char cm[PA_CHANNEL_MAP_SNPRINT_MAX];
|
||||
|
|
|
|||
|
|
@ -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,11 +29,11 @@
|
|||
#include <stdio.h>
|
||||
#include <signal.h>
|
||||
|
||||
#include <polyp/mainloop.h>
|
||||
#include <polypcore/gccmacro.h>
|
||||
#include <pulse/mainloop.h>
|
||||
#include <pulsecore/gccmacro.h>
|
||||
|
||||
#ifdef TEST2
|
||||
#include <polyp/mainloop-signal.h>
|
||||
#include <pulse/mainloop-signal.h>
|
||||
#endif
|
||||
|
||||
#include "../daemon/cpulimit.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,8 +34,8 @@
|
|||
#include <math.h>
|
||||
#include <pthread.h>
|
||||
|
||||
#include <polyp/polypaudio.h>
|
||||
#include <polyp/mainloop.h>
|
||||
#include <pulse/pulseaudio.h>
|
||||
#include <pulse/mainloop.h>
|
||||
|
||||
static pa_context *context = NULL;
|
||||
static pa_stream *stream = NULL;
|
||||
|
|
|
|||
|
|
@ -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,15 +28,15 @@
|
|||
#include <sys/time.h>
|
||||
#include <assert.h>
|
||||
|
||||
#include <polyp/timeval.h>
|
||||
#include <pulse/timeval.h>
|
||||
|
||||
#include <polypcore/core-util.h>
|
||||
#include <polypcore/gccmacro.h>
|
||||
#include <pulsecore/core-util.h>
|
||||
#include <pulsecore/gccmacro.h>
|
||||
|
||||
#ifdef GLIB_MAIN_LOOP
|
||||
|
||||
#include <glib.h>
|
||||
#include <polyp/glib-mainloop.h>
|
||||
#include <pulse/glib-mainloop.h>
|
||||
|
||||
static GMainLoop* glib_main_loop = NULL;
|
||||
|
||||
|
|
@ -48,7 +48,7 @@ static GMainLoop* glib_main_loop = NULL;
|
|||
|
||||
|
||||
#else /* GLIB_MAIN_LOOP */
|
||||
#include <polyp/mainloop.h>
|
||||
#include <pulse/mainloop.h>
|
||||
#endif /* GLIB_MAIN_LOOP */
|
||||
|
||||
static pa_defer_event *de;
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
***/
|
||||
|
|
@ -31,9 +31,9 @@
|
|||
#include <stdlib.h>
|
||||
#include <time.h>
|
||||
|
||||
#include <polypcore/core-util.h>
|
||||
#include <polypcore/mcalign.h>
|
||||
#include <polypcore/gccmacro.h>
|
||||
#include <pulsecore/core-util.h>
|
||||
#include <pulsecore/mcalign.h>
|
||||
#include <pulsecore/gccmacro.h>
|
||||
|
||||
/* A simple program for testing pa_mcalign */
|
||||
|
||||
|
|
|
|||
|
|
@ -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,8 +27,8 @@
|
|||
#include <assert.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include <polypcore/memblockq.h>
|
||||
#include <polypcore/log.h>
|
||||
#include <pulsecore/memblockq.h>
|
||||
#include <pulsecore/log.h>
|
||||
|
||||
int main(int argc, char *argv[]) {
|
||||
int ret;
|
||||
|
|
|
|||
|
|
@ -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 <errno.h>
|
||||
#include <fcntl.h>
|
||||
|
||||
#include <polyp/simple.h>
|
||||
#include <polyp/error.h>
|
||||
#include <polypcore/gccmacro.h>
|
||||
#include <pulse/simple.h>
|
||||
#include <pulse/error.h>
|
||||
#include <pulsecore/gccmacro.h>
|
||||
|
||||
#define BUFSIZE 1024
|
||||
|
||||
|
|
|
|||
|
|
@ -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,9 +28,9 @@
|
|||
#include <string.h>
|
||||
#include <errno.h>
|
||||
|
||||
#include <polyp/simple.h>
|
||||
#include <polyp/error.h>
|
||||
#include <polypcore/gccmacro.h>
|
||||
#include <pulse/simple.h>
|
||||
#include <pulse/error.h>
|
||||
#include <pulsecore/gccmacro.h>
|
||||
|
||||
#define BUFSIZE 1024
|
||||
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
#include <stdio.h>
|
||||
|
||||
#include <polyp/xmalloc.h>
|
||||
#include <polypcore/strlist.h>
|
||||
#include <polypcore/gccmacro.h>
|
||||
#include <pulse/xmalloc.h>
|
||||
#include <pulsecore/strlist.h>
|
||||
#include <pulsecore/gccmacro.h>
|
||||
|
||||
int main(PA_GCC_UNUSED int argc, PA_GCC_UNUSED char* argv[]) {
|
||||
char *t, *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.
|
||||
***/
|
||||
|
|
@ -33,8 +33,8 @@
|
|||
#include <getopt.h>
|
||||
#include <math.h>
|
||||
|
||||
#include <polyp/polypaudio.h>
|
||||
#include <polyp/mainloop.h>
|
||||
#include <pulse/pulseaudio.h>
|
||||
#include <pulse/mainloop.h>
|
||||
|
||||
#define NSTREAMS 4
|
||||
#define SINE_HZ 440
|
||||
|
|
|
|||
|
|
@ -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 <unistd.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include <polyp/timeval.h>
|
||||
#include <polyp/util.h>
|
||||
#include <pulse/timeval.h>
|
||||
#include <pulse/util.h>
|
||||
|
||||
#include <polypcore/gccmacro.h>
|
||||
#include <polyp/thread-mainloop.h>
|
||||
#include <pulsecore/gccmacro.h>
|
||||
#include <pulse/thread-mainloop.h>
|
||||
|
||||
static void tcb(pa_mainloop_api*a, pa_time_event *e, const struct timeval *tv, void *userdata) {
|
||||
fprintf(stderr, "TIME EVENT START\n");
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@
|
|||
#include <stdio.h>
|
||||
#include <assert.h>
|
||||
|
||||
#include <polyp/utf8.h>
|
||||
#include <polyp/xmalloc.h>
|
||||
#include <pulse/utf8.h>
|
||||
#include <pulse/xmalloc.h>
|
||||
|
||||
int main(int argc, char *argv[]) {
|
||||
char *c;
|
||||
|
|
|
|||
|
|
@ -2,8 +2,8 @@
|
|||
|
||||
#include <stdio.h>
|
||||
|
||||
#include <polyp/volume.h>
|
||||
#include <polypcore/gccmacro.h>
|
||||
#include <pulse/volume.h>
|
||||
#include <pulsecore/gccmacro.h>
|
||||
|
||||
int main(PA_GCC_UNUSED int argc, PA_GCC_UNUSED char *argv[]) {
|
||||
pa_volume_t v;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue