]> code.delx.au - pulseaudio/commitdiff
adjust file references due to renaming
authorLennart Poettering <lennart@poettering.net>
Fri, 16 Jul 2004 18:58:23 +0000 (18:58 +0000)
committerLennart Poettering <lennart@poettering.net>
Fri, 16 Jul 2004 18:58:23 +0000 (18:58 +0000)
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@80 fefdeb5f-60dc-0310-8127-8f9354f1896f

26 files changed:
src/Makefile.am
src/cli-command.c
src/cli.c
src/clitext.c
src/module-protocol-stub.c
src/native-common.h
src/pacat-simple.c
src/pacat.c
src/pactl.c
src/parec-simple.c
src/pdispatch.c
src/polyplib-def.h
src/polyplib-error.c
src/polyplib-error.h
src/polyplib-simple.c
src/polyplib-simple.h
src/polyplib.c
src/polyplib.h
src/protocol-esound.c
src/protocol-native.c
src/protocol-simple.c
src/pstream-util.c
src/sink-input.c
src/sink.c
src/source-output.c
src/source.c

index 09df6284ed1eecb7213666fb7bed04daba7f8c15..8ca2bfeda388c7221ac124fe13ea5c86fdc683bc 100644 (file)
 
 AM_CFLAGS=-ansi -D_GNU_SOURCE
 
-bin_PROGRAMS = polypaudio pacat pactl pacat-simple parec-simple
+EXTRA_DIST = polypaudio.run
+bin_PROGRAMS = polypaudio pacat pactl
+noinst_PROGRAMS = pacat-simple parec-simple
+noinst_SCRIPTS = depmod.py
 
 pkglib_LTLIBRARIES=libiochannel.la \
                libsocket-server.la \
@@ -54,7 +57,8 @@ pkglib_LTLIBRARIES=libiochannel.la \
                module-native-protocol-unix.la \
                libpolyp.la \
                libpolyp-simple.la \
-               libpolyp-error.la
+               libpolyp-error.la \
+               libpolyp-mainloop.la
 
 polypaudio_SOURCES = idxset.c idxset.h \
                queue.c queue.h \
@@ -67,8 +71,8 @@ polypaudio_SOURCES = idxset.c idxset.h \
                memblockq.c memblockq.h \
                client.c client.h \
                core.c core.h \
-               sourceoutput.c sourceoutput.h \
-               sinkinput.c sinkinput.h \
+               source-output.c source-output.h \
+               sink-input.c sink-input.h \
                source.c source.h \
                sink.c sink.h \
                module.c module.h \
@@ -147,14 +151,14 @@ libprotocol_cli_la_SOURCES = protocol-cli.c protocol-cli.h
 libprotocol_cli_la_LDFLAGS = -avoid-version
 libprotocol_cli_la_LIBADD = libsocket-server.la libiochannel.la libcli.la
 
-libprotocol_native_la_SOURCES = protocol-native.c protocol-native.h
+libprotocol_native_la_SOURCES = protocol-native.c protocol-native.h native-common.h
 libprotocol_native_la_LDFLAGS = -avoid-version
 libprotocol_native_la_LIBADD = libsocket-server.la libpstream.la libpstream-util.la libpdispatch.la libtagstruct.la libauthkey.la
 
 libtagstruct_la_SOURCES = tagstruct.c tagstruct.h
 libtagstruct_la_LDFLAGS = -avoid-version
 
-libprotocol_esound_la_SOURCES = protocol-esound.c protocol-esound.h esound-spec.h
+libprotocol_esound_la_SOURCES = protocol-esound.c protocol-esound.h esound.h
 libprotocol_esound_la_LDFLAGS = -avoid-version
 libprotocol_esound_la_LIBADD = libsocket-server.la libiochannel.la libauthkey.la
 
@@ -230,8 +234,8 @@ module_cli_la_SOURCES = module-cli.c
 module_cli_la_LDFLAGS = -module -avoid-version
 module_cli_la_LIBADD = libcli.la libiochannel.la
 
-libpolyp_la_SOURCES = polyp.c polyp.h \
-               polypdef.h \
+libpolyp_la_SOURCES = polyplib.c polyplib.h \
+               polyplib-def.h \
                tagstruct.c tagstruct.h \
                iochannel.c iochannel.h \
                pstream.c pstream.h \
@@ -239,8 +243,6 @@ libpolyp_la_SOURCES = polyp.c polyp.h \
                pdispatch.c pdispatch.h \
                protocol-native-spec.h \
                mainloop-api.c mainloop-api.h \
-               mainloop.c mainloop.h \
-               mainloop-signal.c mainloop-signal.h \
                idxset.c idxset.h \
                util.c util.h \
                memblock.c memblock.h \
@@ -250,22 +252,28 @@ libpolyp_la_SOURCES = polyp.c polyp.h \
                dynarray.c dynarray.h \
                memchunk.c memchunk.h \
                authkey.c authkey.h \
-               socket-util.c socket-util.h
+               socket-util.c socket-util.h \
+               native-common.h
 libpolyp_la_CFLAGS = $(AM_CFLAGS)
 
-libpolyp_error_la_SOURCES = polyp-error.c polyp-error.h
+libpolyp_mainloop_la_SOURCES = mainloop-api.h mainloop-api.c \
+               mainloop.c mainloop.h \
+               mainloop-signal.c mainloop-signal.h
+libpolyp_mainloop_la_CFLAGS = $(AM_CFLAGS)
+
+libpolyp_error_la_SOURCES = polyplib-error.c polyplib-error.h
 libpolyp_error_la_CFLAGS = $(AM_CFLAGS)
 
-libpolyp_simple_la_SOURCES = simple.c simple.h 
+libpolyp_simple_la_SOURCES = polyplib-simple.c polyplib-simple.h 
 libpolyp_simple_la_CFLAGS = $(AM_CFLAGS)
-libpolyp_simple_la_LIBADD = libpolyp.la
+libpolyp_simple_la_LIBADD = libpolyp.la libpolyp-mainloop.la
 
 pacat_SOURCES = pacat.c #$(libpolyp_la_SOURCES) $(libpolyp_error_la_SOURCES)
-pacat_LDADD = libpolyp.la libpolyp-error.la
+pacat_LDADD = libpolyp.la libpolyp-error.la libpolyp-mainloop.la
 pacat_CFLAGS = $(AM_CFLAGS) 
 
 pactl_SOURCES = pactl.c #$(libpolyp_la_SOURCES) $(libpolyp_error_la_SOURCES)
-pactl_LDADD = libpolyp.la libpolyp-error.la
+pactl_LDADD = libpolyp.la libpolyp-error.la libpolyp-mainloop.la
 pactl_CFLAGS = $(AM_CFLAGS) 
 
 pacat_simple_SOURCES = pacat-simple.c #$(libpolyp_la_SOURCES) $(libpolyp_simple_la_SOURCES) $(libpolyp_error_la_SOURCES)
index 0c754c7e6c718e386ffb35c6973f26aa04cb45b8..469e405e717185e8dd89f68450714fc3825c31b8 100644 (file)
@@ -9,8 +9,8 @@
 #include "sink.h"
 #include "source.h"
 #include "client.h"
-#include "sinkinput.h"
-#include "sourceoutput.h"
+#include "sink-input.h"
+#include "source-output.h"
 #include "tokenizer.h"
 #include "strbuf.h"
 #include "namereg.h"
index b4d6625dba261f7e5545b53c6dacafd9a9be259c..578852d881785d81e21f3763f1c41f152a18efa3 100644 (file)
--- a/src/cli.c
+++ b/src/cli.c
@@ -9,8 +9,8 @@
 #include "sink.h"
 #include "source.h"
 #include "client.h"
-#include "sinkinput.h"
-#include "sourceoutput.h"
+#include "sink-input.h"
+#include "source-output.h"
 #include "tokenizer.h"
 #include "strbuf.h"
 #include "namereg.h"
index 701cf2c050260791bc77b48b381bdb30208368bf..6c3a0b2e635184360d5685ab14cdf0c5d0ec6bd6 100644 (file)
@@ -5,8 +5,8 @@
 #include "client.h"
 #include "sink.h"
 #include "source.h"
-#include "sinkinput.h"
-#include "sourceoutput.h"
+#include "sink-input.h"
+#include "source-output.h"
 #include "strbuf.h"
 #include "sample-util.h"
 
index f9ed62b8e28a48404e1a4bff66664a238865add2..4fbb2258fe0f89dfb4f7c4bd16392159c642d180 100644 (file)
@@ -37,7 +37,7 @@
     #else
       #ifdef USE_PROTOCOL_ESOUND
         #include "protocol-esound.h"
-        #include "esound-spec.h"
+        #include "esound.h"
         #define protocol_new pa_protocol_esound_new
         #define protocol_free pa_protocol_esound_free
         #define IPV4_PORT ESD_DEFAULT_PORT
index e1db6f642b8ed7d0877fbf00cccc0834c48ea74c..75fe483e23ed810afabc4a4a15c34678f9bc9c45 100644 (file)
@@ -1,5 +1,5 @@
-#ifndef fooprotocolnativespech
-#define fooprotocolnativespech
+#ifndef foonativecommonhfoo
+#define foonativecommonhfoo
 
 enum {
     PA_COMMAND_ERROR,
index 896df814c7c88a03db9382814cd8f0aa10089446..be24c4fc346ba510fcff95066700f7247c0e8dc5 100644 (file)
@@ -3,8 +3,8 @@
 #include <string.h>
 #include <errno.h>
 
-#include "simple.h"
-#include "polyp-error.h"
+#include "polyplib-simple.h"
+#include "polyplib-error.h"
 
 #define BUFSIZE 1024
 
index 2c5198fb1aeff82725cae5bba7cef6226a162de8..ca11b3e9e12776622809d7b0f73cd2a5287d415f 100644 (file)
@@ -6,8 +6,8 @@
 #include <stdio.h>
 #include <stdlib.h>
 
-#include "polyp.h"
-#include "polyp-error.h"
+#include "polyplib.h"
+#include "polyplib-error.h"
 #include "mainloop.h"
 #include "mainloop-signal.h"
 
index 688e1104bdf79fb92937e09ab5f03ff8443fbd93..2f1959070eb42d510534f7710e62534887baf4ca 100644 (file)
@@ -6,8 +6,8 @@
 #include <stdio.h>
 #include <stdlib.h>
 
-#include "polyp.h"
-#include "polyp-error.h"
+#include "polyplib.h"
+#include "polyplib-error.h"
 #include "mainloop.h"
 #include "mainloop-signal.h"
 
index a2841bebc976cbed265e053ffb3d4fd91067c419..83c4ea2f028b6ec1815739f9b0f69ccbb928c4ee 100644 (file)
@@ -3,8 +3,8 @@
 #include <string.h>
 #include <errno.h>
 
-#include "simple.h"
-#include "polyp-error.h"
+#include "polyplib-simple.h"
+#include "polyplib-error.h"
 
 #define BUFSIZE 1024
 
index 32753963e239df6e565ee56ce6167354a7934ffb..51f317255a233b3ba1c6f1011e7a85df9bc05f92 100644 (file)
@@ -1,8 +1,9 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <assert.h>
+
 #include "pdispatch.h"
-#include "protocol-native-spec.h"
+#include "native-common.h"
 
 #ifdef DEBUG_OPCODES
 
index 6cfafc972b5b18325f5c078aedfd31facf338e6f..85920d2bd9c74049717b727a4cd89f4405d52227 100644 (file)
@@ -1,5 +1,5 @@
-#ifndef foopolypdefhfoo
-#define foopolypdefhfoo
+#ifndef foopolyplibdefhfoo
+#define foopolyplibdefhfoo
 
 #include <inttypes.h>
 
@@ -16,5 +16,4 @@ struct pa_buffer_attr {
     uint32_t fragsize;
 };
 
-
 #endif
index 86166b0c8b674fd2429c73befe0be1f90df4dccd..87c9d8fa38caebee067ed963bffd51354def0603 100644 (file)
@@ -1,8 +1,8 @@
 #include <stdio.h>
 #include <stdlib.h>
 
-#include "polyp-error.h"
-#include "protocol-native-spec.h"
+#include "polyplib-error.h"
+#include "native-common.h"
 
 static const char* const errortab[PA_ERROR_MAX] = {
     [PA_ERROR_OK] = "OK",
index 7407f34ccdd07ee316e636477d0990ed5aef2bb0..7d31ec5a83ad2a0bf8360bdb609fc6cbdc72de91 100644 (file)
@@ -1,10 +1,8 @@
-#ifndef foopolyperrhfoo
-#define foopolyperrhfoo
+#ifndef foopolypliberrorhfoo
+#define foopolypliberrorhfoo
 
 #include <inttypes.h>
 
-#include "protocol-native-spec.h"
-
 const char* pa_strerror(uint32_t error);
 
 #endif
index 5f86c5bf60b1cc993816aa26417e267a36c0cfb7..6015b77d39e5d73630d3e91201871109fca0b8c1 100644 (file)
@@ -3,10 +3,11 @@
 #include <assert.h>
 #include <stdlib.h>
 
-#include "simple.h"
-#include "polyp.h"
+#include "polyplib-simple.h"
+#include "polyplib.h"
 #include "mainloop.h"
-#include "polyp-error.h"
+#include "native-common.h"
+/*#include "polyp-error.h"*/
 
 struct pa_simple {
     struct pa_mainloop *mainloop;
index f5f872eeecb422e6cbea7a7f0d0aecf7db3e5799..8286811dc7bf926c83a6d957e72cdb0b38d3d74d 100644 (file)
@@ -1,10 +1,10 @@
-#ifndef foosimplehfoo
-#define foosimplehfoo
+#ifndef foopolyplibsimplehfoo
+#define foopolyplibsimplehfoo
 
 #include <sys/types.h>
 
 #include "sample.h"
-#include "polypdef.h"
+#include "polyplib-def.h"
 
 struct pa_simple;
 
index d6d0f90890938d285e5cdb9d06b260ffb0d8cdac..f60d9a2a138b3ad416cd61acb8fbd7f7d0de0542 100644 (file)
@@ -6,8 +6,8 @@
 #include <sys/socket.h>
 #include <netdb.h>
 
-#include "polyp.h"
-#include "protocol-native-spec.h"
+#include "polyplib.h"
+#include "native-common.h"
 #include "pdispatch.h"
 #include "pstream.h"
 #include "dynarray.h"
index 008494459799a660c0c51e75b196bfd9c58ecedb..56d1ba66ad9bba8323aa519286561b293d32e552 100644 (file)
@@ -1,10 +1,10 @@
-#ifndef foopolyphfoo
-#define foopolyphfoo
+#ifndef foopolyplibhfoo
+#define foopolyplibhfoo
 
 #include <sys/types.h>
 
 #include "sample.h"
-#include "polypdef.h"
+#include "polyplib-def.h"
 #include "mainloop-api.h"
 
 struct pa_context;
index d6d7e177a608a827639f52c7e75ac8beeb505adb..db57dfc797ca7e3dd0b8d20dac3b81ff3706ee24 100644 (file)
@@ -6,12 +6,12 @@
 #include <limits.h>
 
 #include "protocol-esound.h"
-#include "esound-spec.h"
+#include "esound.h"
 #include "memblock.h"
 #include "client.h"
-#include "sinkinput.h"
+#include "sink-input.h"
 #include "sink.h"
-#include "sourceoutput.h"
+#include "source-output.h"
 #include "source.h"
 #include "sample.h"
 
index 094c66306d195d6bb6b379a2c6f41958dc828a9d..5165d671df317f666ed8ca633b59ced30aab7890 100644 (file)
@@ -4,11 +4,11 @@
 #include <stdlib.h>
 
 #include "protocol-native.h"
-#include "protocol-native-spec.h"
+#include "native-common.h"
 #include "packet.h"
 #include "client.h"
-#include "sourceoutput.h"
-#include "sinkinput.h"
+#include "source-output.h"
+#include "sink-input.h"
 #include "pstream.h"
 #include "tagstruct.h"
 #include "pdispatch.h"
index 4b52a2463204245c27097afaaaa4e8d915082c0c..6d27a284aa2276d404d54ee874e4790a6f2db717 100644 (file)
@@ -5,8 +5,8 @@
 #include <errno.h>
 #include <string.h>
 
-#include "sinkinput.h"
-#include "sourceoutput.h"
+#include "sink-input.h"
+#include "source-output.h"
 #include "protocol-simple.h"
 #include "client.h"
 #include "sample-util.h"
index cdcde5faa61211c4ba8a9c1d0cfb3b15f36a3d48..4f545ab42ea93cebd83dee8c487c8aa81f350306 100644 (file)
@@ -1,6 +1,6 @@
 #include <assert.h>
 
-#include "protocol-native-spec.h"
+#include "native-common.h"
 #include "pstream-util.h"
 
 void pa_pstream_send_tagstruct(struct pa_pstream *p, struct pa_tagstruct *t) {
index 54778a81e1be27d1eab8a6ca976d1bbbc3991a14..b31455ddf9dcc78d712f945d8dd513f092b91ca9 100644 (file)
@@ -3,7 +3,7 @@
 #include <stdlib.h>
 #include <string.h>
 
-#include "sinkinput.h"
+#include "sink-input.h"
 #include "sample-util.h"
 
 #define CONVERT_BUFFER_LENGTH 4096
index 9ba79e39e79f1ddb9f93009327def3b9a918a23b..4677e9fd515447240e393dd2dab27bf4f177b4e0 100644 (file)
@@ -4,7 +4,7 @@
 #include <stdio.h>
 
 #include "sink.h"
-#include "sinkinput.h"
+#include "sink-input.h"
 #include "namereg.h"
 #include "util.h"
 #include "sample-util.h"
index 25c661a98c7bda978415caca1649ad8ed74894e1..eefc4f997a4757eb0bc130927c0d09d96e6e6328 100644 (file)
@@ -2,7 +2,7 @@
 #include <stdlib.h>
 #include <string.h>
 
-#include "sourceoutput.h"
+#include "source-output.h"
 
 struct pa_source_output* pa_source_output_new(struct pa_source *s, const char *name, const struct pa_sample_spec *spec) {
     struct pa_source_output *o;
index c0eec3ead045b7dc960255551c40542c6a5747d2..08ce46b7e8716ef801d1764d26a51b0068c7245c 100644 (file)
@@ -4,7 +4,7 @@
 #include <string.h>
 
 #include "source.h"
-#include "sourceoutput.h"
+#include "source-output.h"
 #include "namereg.h"
 
 struct pa_source* pa_source_new(struct pa_core *core, const char *name, int fail, const struct pa_sample_spec *spec) {