move alsa-util.[ch], oss-util.[ch] and howl-wrap.[ch] to the modules directory since...
authorLennart Poettering <lennart@poettering.net>
Thu, 16 Feb 2006 22:08:06 +0000 (22:08 +0000)
committerLennart Poettering <lennart@poettering.net>
Thu, 16 Feb 2006 22:08:06 +0000 (22:08 +0000)
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@489 fefdeb5f-60dc-0310-8127-8f9354f1896f

src/Makefile.am
src/modules/alsa-util.c [moved from src/polypcore/alsa-util.c with 98% similarity]
src/modules/alsa-util.h [moved from src/polypcore/alsa-util.h with 100% similarity]
src/modules/howl-wrap.c [moved from src/polypcore/howl-wrap.c with 100% similarity]
src/modules/howl-wrap.h [moved from src/polypcore/howl-wrap.h with 100% similarity]
src/modules/module-alsa-sink.c
src/modules/module-alsa-source.c
src/modules/module-oss-mmap.c
src/modules/module-oss.c
src/modules/oss-util.c [moved from src/polypcore/oss-util.c with 98% similarity]
src/modules/oss-util.h [moved from src/polypcore/oss-util.h with 100% similarity]

index 8131794..7e8e73b 100644 (file)
@@ -138,7 +138,7 @@ if HAVE_HOWL
 bin_PROGRAMS += pabrowse
 endif
 
-bin_SCRIPTS = daemon/esdcompat.sh
+bin_SCRIPTS = esdcompat.sh
 
 pacat_SOURCES = utils/pacat.c
 pacat_LDADD = $(AM_LDADD) libpolyp-@PA_MAJORMINOR@.la libpolyp-error-@PA_MAJORMINOR@.la libpolyp-mainloop-@PA_MAJORMINOR@.la
@@ -651,19 +651,19 @@ libx11prop_la_LIBADD = $(AM_LIBADD) $(X_PRE_LIBS) -lX11 $(X_LIBS) $(X_EXTRA_LIBS
 
 # OSS
 
-liboss_util_la_SOURCES = polypcore/oss-util.c polypcore/oss-util.h
+liboss_util_la_SOURCES = modules/oss-util.c modules/oss-util.h
 liboss_util_la_LDFLAGS = -avoid-version
 
 # ALSA
 
-libalsa_util_la_SOURCES = polypcore/alsa-util.c polypcore/alsa-util.h
+libalsa_util_la_SOURCES = modules/alsa-util.c modules/alsa-util.h
 libalsa_util_la_LDFLAGS = -avoid-version
 libalsa_util_la_LIBADD = $(AM_LIBADD) $(ASOUNDLIB_LIBS)
 libalsa_util_la_CFLAGS = $(AM_CFLAGS) $(ASOUNDLIB_CFLAGS)
 
 # HOWL
 
-libhowl_wrap_la_SOURCES = polypcore/howl-wrap.c polypcore/howl-wrap.h
+libhowl_wrap_la_SOURCES = modules/howl-wrap.c modules/howl-wrap.h
 libhowl_wrap_la_LDFLAGS = -avoid-version
 libhowl_wrap_la_LIBADD = $(AM_LIBADD) $(HOWL_LIBS)
 libhowl_wrap_la_CFLAGS = $(AM_CFLAGS) $(HOWL_CFLAGS)
similarity index 98%
rename from src/polypcore/alsa-util.c
rename to src/modules/alsa-util.c
index 7528ee0..8318f94 100644 (file)
 #include <sys/types.h>
 #include <asoundlib.h>
 
-#include "alsa-util.h"
 #include <polyp/sample.h>
-#include "xmalloc.h"
-#include "log.h"
+#include <polypcore/xmalloc.h>
+#include <polypcore/log.h>
+
+#include "alsa-util.h"
 
 /* Set the hardware parameters of the given ALSA device. Returns the
  * selected fragment settings in *period and *period_size */
index 48e90e9..d3fe71a 100644 (file)
 #include <polypcore/modargs.h>
 #include <polypcore/util.h>
 #include <polypcore/sample-util.h>
-#include <polypcore/alsa-util.h>
 #include <polypcore/xmalloc.h>
 #include <polypcore/log.h>
 
 #include "module-alsa-sink-symdef.h"
+#include "alsa-util.h"
 
 PA_MODULE_AUTHOR("Lennart Poettering")
 PA_MODULE_DESCRIPTION("ALSA Sink")
index f03e51a..9453f84 100644 (file)
 #include <polypcore/modargs.h>
 #include <polypcore/util.h>
 #include <polypcore/sample-util.h>
-#include <polypcore/alsa-util.h>
 #include <polypcore/xmalloc.h>
 #include <polypcore/log.h>
 
 #include "module-alsa-source-symdef.h"
+#include "alsa-util.h"
 
 PA_MODULE_AUTHOR("Lennart Poettering")
 PA_MODULE_DESCRIPTION("ALSA Source")
index 6986b03..80c762f 100644 (file)
 #include <polypcore/sink.h>
 #include <polypcore/source.h>
 #include <polypcore/module.h>
-#include <polypcore/oss-util.h>
 #include <polypcore/sample-util.h>
 #include <polypcore/util.h>
 #include <polypcore/modargs.h>
 #include <polypcore/xmalloc.h>
 #include <polypcore/log.h>
 
+#include "oss-util.h"
 #include "module-oss-mmap-symdef.h"
 
 PA_MODULE_AUTHOR("Lennart Poettering")
index 0445841..264e879 100644 (file)
@@ -39,7 +39,6 @@
 #include <polypcore/sink.h>
 #include <polypcore/source.h>
 #include <polypcore/module.h>
-#include <polypcore/oss-util.h>
 #include <polypcore/sample-util.h>
 #include <polypcore/util.h>
 #include <polypcore/modargs.h>
@@ -47,6 +46,7 @@
 #include <polypcore/log.h>
 
 #include "module-oss-symdef.h"
+#include "oss-util.h"
 
 PA_MODULE_AUTHOR("Lennart Poettering")
 PA_MODULE_DESCRIPTION("OSS Sink/Source")
similarity index 98%
rename from src/polypcore/oss-util.c
rename to src/modules/oss-util.c
index ae6772f..e9a133f 100644 (file)
 #include <sys/stat.h>
 #include <fcntl.h>
 
+#include <polypcore/util.h>
+#include <polypcore/log.h>
+
 #include "oss-util.h"
-#include "util.h"
-#include "log.h"
 
 int pa_oss_open(const char *device, int *mode, int* pcaps) {
     int fd = -1;