mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-03 09:01:50 -05:00
move alsa-util.[ch], oss-util.[ch] and howl-wrap.[ch] to the modules directory since they are just helper source used exclusively by the modules
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@489 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
b56b9e50e0
commit
c75972f54a
11 changed files with 15 additions and 13 deletions
|
|
@ -138,7 +138,7 @@ if HAVE_HOWL
|
||||||
bin_PROGRAMS += pabrowse
|
bin_PROGRAMS += pabrowse
|
||||||
endif
|
endif
|
||||||
|
|
||||||
bin_SCRIPTS = daemon/esdcompat.sh
|
bin_SCRIPTS = esdcompat.sh
|
||||||
|
|
||||||
pacat_SOURCES = utils/pacat.c
|
pacat_SOURCES = utils/pacat.c
|
||||||
pacat_LDADD = $(AM_LDADD) libpolyp-@PA_MAJORMINOR@.la libpolyp-error-@PA_MAJORMINOR@.la libpolyp-mainloop-@PA_MAJORMINOR@.la
|
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
|
# 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
|
liboss_util_la_LDFLAGS = -avoid-version
|
||||||
|
|
||||||
# ALSA
|
# 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_LDFLAGS = -avoid-version
|
||||||
libalsa_util_la_LIBADD = $(AM_LIBADD) $(ASOUNDLIB_LIBS)
|
libalsa_util_la_LIBADD = $(AM_LIBADD) $(ASOUNDLIB_LIBS)
|
||||||
libalsa_util_la_CFLAGS = $(AM_CFLAGS) $(ASOUNDLIB_CFLAGS)
|
libalsa_util_la_CFLAGS = $(AM_CFLAGS) $(ASOUNDLIB_CFLAGS)
|
||||||
|
|
||||||
# HOWL
|
# 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_LDFLAGS = -avoid-version
|
||||||
libhowl_wrap_la_LIBADD = $(AM_LIBADD) $(HOWL_LIBS)
|
libhowl_wrap_la_LIBADD = $(AM_LIBADD) $(HOWL_LIBS)
|
||||||
libhowl_wrap_la_CFLAGS = $(AM_CFLAGS) $(HOWL_CFLAGS)
|
libhowl_wrap_la_CFLAGS = $(AM_CFLAGS) $(HOWL_CFLAGS)
|
||||||
|
|
|
||||||
|
|
@ -26,10 +26,11 @@
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <asoundlib.h>
|
#include <asoundlib.h>
|
||||||
|
|
||||||
#include "alsa-util.h"
|
|
||||||
#include <polyp/sample.h>
|
#include <polyp/sample.h>
|
||||||
#include "xmalloc.h"
|
#include <polypcore/xmalloc.h>
|
||||||
#include "log.h"
|
#include <polypcore/log.h>
|
||||||
|
|
||||||
|
#include "alsa-util.h"
|
||||||
|
|
||||||
/* Set the hardware parameters of the given ALSA device. Returns the
|
/* Set the hardware parameters of the given ALSA device. Returns the
|
||||||
* selected fragment settings in *period and *period_size */
|
* selected fragment settings in *period and *period_size */
|
||||||
|
|
@ -41,11 +41,11 @@
|
||||||
#include <polypcore/modargs.h>
|
#include <polypcore/modargs.h>
|
||||||
#include <polypcore/util.h>
|
#include <polypcore/util.h>
|
||||||
#include <polypcore/sample-util.h>
|
#include <polypcore/sample-util.h>
|
||||||
#include <polypcore/alsa-util.h>
|
|
||||||
#include <polypcore/xmalloc.h>
|
#include <polypcore/xmalloc.h>
|
||||||
#include <polypcore/log.h>
|
#include <polypcore/log.h>
|
||||||
|
|
||||||
#include "module-alsa-sink-symdef.h"
|
#include "module-alsa-sink-symdef.h"
|
||||||
|
#include "alsa-util.h"
|
||||||
|
|
||||||
PA_MODULE_AUTHOR("Lennart Poettering")
|
PA_MODULE_AUTHOR("Lennart Poettering")
|
||||||
PA_MODULE_DESCRIPTION("ALSA Sink")
|
PA_MODULE_DESCRIPTION("ALSA Sink")
|
||||||
|
|
|
||||||
|
|
@ -41,11 +41,11 @@
|
||||||
#include <polypcore/modargs.h>
|
#include <polypcore/modargs.h>
|
||||||
#include <polypcore/util.h>
|
#include <polypcore/util.h>
|
||||||
#include <polypcore/sample-util.h>
|
#include <polypcore/sample-util.h>
|
||||||
#include <polypcore/alsa-util.h>
|
|
||||||
#include <polypcore/xmalloc.h>
|
#include <polypcore/xmalloc.h>
|
||||||
#include <polypcore/log.h>
|
#include <polypcore/log.h>
|
||||||
|
|
||||||
#include "module-alsa-source-symdef.h"
|
#include "module-alsa-source-symdef.h"
|
||||||
|
#include "alsa-util.h"
|
||||||
|
|
||||||
PA_MODULE_AUTHOR("Lennart Poettering")
|
PA_MODULE_AUTHOR("Lennart Poettering")
|
||||||
PA_MODULE_DESCRIPTION("ALSA Source")
|
PA_MODULE_DESCRIPTION("ALSA Source")
|
||||||
|
|
|
||||||
|
|
@ -40,13 +40,13 @@
|
||||||
#include <polypcore/sink.h>
|
#include <polypcore/sink.h>
|
||||||
#include <polypcore/source.h>
|
#include <polypcore/source.h>
|
||||||
#include <polypcore/module.h>
|
#include <polypcore/module.h>
|
||||||
#include <polypcore/oss-util.h>
|
|
||||||
#include <polypcore/sample-util.h>
|
#include <polypcore/sample-util.h>
|
||||||
#include <polypcore/util.h>
|
#include <polypcore/util.h>
|
||||||
#include <polypcore/modargs.h>
|
#include <polypcore/modargs.h>
|
||||||
#include <polypcore/xmalloc.h>
|
#include <polypcore/xmalloc.h>
|
||||||
#include <polypcore/log.h>
|
#include <polypcore/log.h>
|
||||||
|
|
||||||
|
#include "oss-util.h"
|
||||||
#include "module-oss-mmap-symdef.h"
|
#include "module-oss-mmap-symdef.h"
|
||||||
|
|
||||||
PA_MODULE_AUTHOR("Lennart Poettering")
|
PA_MODULE_AUTHOR("Lennart Poettering")
|
||||||
|
|
|
||||||
|
|
@ -39,7 +39,6 @@
|
||||||
#include <polypcore/sink.h>
|
#include <polypcore/sink.h>
|
||||||
#include <polypcore/source.h>
|
#include <polypcore/source.h>
|
||||||
#include <polypcore/module.h>
|
#include <polypcore/module.h>
|
||||||
#include <polypcore/oss-util.h>
|
|
||||||
#include <polypcore/sample-util.h>
|
#include <polypcore/sample-util.h>
|
||||||
#include <polypcore/util.h>
|
#include <polypcore/util.h>
|
||||||
#include <polypcore/modargs.h>
|
#include <polypcore/modargs.h>
|
||||||
|
|
@ -47,6 +46,7 @@
|
||||||
#include <polypcore/log.h>
|
#include <polypcore/log.h>
|
||||||
|
|
||||||
#include "module-oss-symdef.h"
|
#include "module-oss-symdef.h"
|
||||||
|
#include "oss-util.h"
|
||||||
|
|
||||||
PA_MODULE_AUTHOR("Lennart Poettering")
|
PA_MODULE_AUTHOR("Lennart Poettering")
|
||||||
PA_MODULE_DESCRIPTION("OSS Sink/Source")
|
PA_MODULE_DESCRIPTION("OSS Sink/Source")
|
||||||
|
|
|
||||||
|
|
@ -34,9 +34,10 @@
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
|
|
||||||
|
#include <polypcore/util.h>
|
||||||
|
#include <polypcore/log.h>
|
||||||
|
|
||||||
#include "oss-util.h"
|
#include "oss-util.h"
|
||||||
#include "util.h"
|
|
||||||
#include "log.h"
|
|
||||||
|
|
||||||
int pa_oss_open(const char *device, int *mode, int* pcaps) {
|
int pa_oss_open(const char *device, int *mode, int* pcaps) {
|
||||||
int fd = -1;
|
int fd = -1;
|
||||||
Loading…
Add table
Add a link
Reference in a new issue