diff options
Diffstat (limited to 'alsa-utils/seq/aconnect')
-rw-r--r-- | alsa-utils/seq/aconnect/Makefile.am | 7 | ||||
-rw-r--r-- | alsa-utils/seq/aconnect/Makefile.in | 502 | ||||
-rw-r--r-- | alsa-utils/seq/aconnect/README.aconnect | 46 | ||||
-rw-r--r-- | alsa-utils/seq/aconnect/aconnect.1 | 145 | ||||
-rw-r--r-- | alsa-utils/seq/aconnect/aconnect.c | 411 |
5 files changed, 0 insertions, 1111 deletions
diff --git a/alsa-utils/seq/aconnect/Makefile.am b/alsa-utils/seq/aconnect/Makefile.am deleted file mode 100644 index 507b9fe..0000000 --- a/alsa-utils/seq/aconnect/Makefile.am +++ /dev/null @@ -1,7 +0,0 @@ -INCLUDES = -I$(top_srcdir)/include -EXTRA_DIST = README.aconnect aconnect.1 -LDADD = $(LIBINTL) - -bin_PROGRAMS = aconnect -aconnect_SOURCES = aconnect.c -man_MANS = aconnect.1 diff --git a/alsa-utils/seq/aconnect/Makefile.in b/alsa-utils/seq/aconnect/Makefile.in deleted file mode 100644 index ccf0aeb..0000000 --- a/alsa-utils/seq/aconnect/Makefile.in +++ /dev/null @@ -1,502 +0,0 @@ -# Makefile.in generated by automake 1.9.6 from Makefile.am. -# @configure_input@ - -# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005 Free Software Foundation, Inc. -# This Makefile.in is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A -# PARTICULAR PURPOSE. - -@SET_MAKE@ - -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ -VPATH = @srcdir@ -pkgdatadir = $(datadir)/@PACKAGE@ -pkglibdir = $(libdir)/@PACKAGE@ -pkgincludedir = $(includedir)/@PACKAGE@ -top_builddir = ../.. -am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd -INSTALL = @INSTALL@ -install_sh_DATA = $(install_sh) -c -m 644 -install_sh_PROGRAM = $(install_sh) -c -install_sh_SCRIPT = $(install_sh) -c -INSTALL_HEADER = $(INSTALL_DATA) -transform = $(program_transform_name) -NORMAL_INSTALL = : -PRE_INSTALL = : -POST_INSTALL = : -NORMAL_UNINSTALL = : -PRE_UNINSTALL = : -POST_UNINSTALL = : -build_triplet = @build@ -host_triplet = @host@ -bin_PROGRAMS = aconnect$(EXEEXT) -subdir = seq/aconnect -DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \ - $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/lib-ld.m4 \ - $(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \ - $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/po.m4 \ - $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/acinclude.m4 \ - $(top_srcdir)/configure.in -am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ - $(ACLOCAL_M4) -mkinstalldirs = $(install_sh) -d -CONFIG_HEADER = $(top_builddir)/include/aconfig.h -CONFIG_CLEAN_FILES = -am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)" -binPROGRAMS_INSTALL = $(INSTALL_PROGRAM) -PROGRAMS = $(bin_PROGRAMS) -am_aconnect_OBJECTS = aconnect.$(OBJEXT) -aconnect_OBJECTS = $(am_aconnect_OBJECTS) -aconnect_LDADD = $(LDADD) -am__DEPENDENCIES_1 = -aconnect_DEPENDENCIES = $(am__DEPENDENCIES_1) -DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include -depcomp = $(SHELL) $(top_srcdir)/depcomp -am__depfiles_maybe = depfiles -COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ - $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -CCLD = $(CC) -LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ -SOURCES = $(aconnect_SOURCES) -DIST_SOURCES = $(aconnect_SOURCES) -man1dir = $(mandir)/man1 -NROFF = nroff -MANS = $(man_MANS) -ETAGS = etags -CTAGS = ctags -DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) -ACLOCAL = @ACLOCAL@ -ALSACONF_FALSE = @ALSACONF_FALSE@ -ALSACONF_TRUE = @ALSACONF_TRUE@ -ALSAMIXER_FALSE = @ALSAMIXER_FALSE@ -ALSAMIXER_TRUE = @ALSAMIXER_TRUE@ -ALSA_CFLAGS = @ALSA_CFLAGS@ -ALSA_LIBS = @ALSA_LIBS@ -AMDEP_FALSE = @AMDEP_FALSE@ -AMDEP_TRUE = @AMDEP_TRUE@ -AMTAR = @AMTAR@ -AUTOCONF = @AUTOCONF@ -AUTOHEADER = @AUTOHEADER@ -AUTOMAKE = @AUTOMAKE@ -AWK = @AWK@ -CC = @CC@ -CCDEPMODE = @CCDEPMODE@ -CFLAGS = @CFLAGS@ -CPP = @CPP@ -CPPFLAGS = @CPPFLAGS@ -CURSESINC = @CURSESINC@ -CURSESLIB = @CURSESLIB@ -CURSES_CFLAGS = @CURSES_CFLAGS@ -CYGPATH_W = @CYGPATH_W@ -DEFS = @DEFS@ -DEPDIR = @DEPDIR@ -ECHO_C = @ECHO_C@ -ECHO_N = @ECHO_N@ -ECHO_T = @ECHO_T@ -EGREP = @EGREP@ -EXEEXT = @EXEEXT@ -GMSGFMT = @GMSGFMT@ -GMSGFMT_015 = @GMSGFMT_015@ -GREP = @GREP@ -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ -INTLLIBS = @INTLLIBS@ -INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ -LDFLAGS = @LDFLAGS@ -LIBICONV = @LIBICONV@ -LIBINTL = @LIBINTL@ -LIBOBJS = @LIBOBJS@ -LIBS = @LIBS@ -LN_S = @LN_S@ -LTLIBICONV = @LTLIBICONV@ -LTLIBINTL = @LTLIBINTL@ -LTLIBOBJS = @LTLIBOBJS@ -MAKEINFO = @MAKEINFO@ -MSGFMT = @MSGFMT@ -MSGFMT_015 = @MSGFMT_015@ -MSGMERGE = @MSGMERGE@ -OBJEXT = @OBJEXT@ -PACKAGE = @PACKAGE@ -PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ -PACKAGE_NAME = @PACKAGE_NAME@ -PACKAGE_STRING = @PACKAGE_STRING@ -PACKAGE_TARNAME = @PACKAGE_TARNAME@ -PACKAGE_VERSION = @PACKAGE_VERSION@ -PATH_SEPARATOR = @PATH_SEPARATOR@ -POSUB = @POSUB@ -SET_MAKE = @SET_MAKE@ -SHELL = @SHELL@ -SND_UTIL_MAJOR = @SND_UTIL_MAJOR@ -SND_UTIL_MINOR = @SND_UTIL_MINOR@ -SND_UTIL_SUBMINOR = @SND_UTIL_SUBMINOR@ -SND_UTIL_VERSION = @SND_UTIL_VERSION@ -STRIP = @STRIP@ -TESTSOUND = @TESTSOUND@ -USE_NLS = @USE_NLS@ -USE_XMLTO_FALSE = @USE_XMLTO_FALSE@ -USE_XMLTO_TRUE = @USE_XMLTO_TRUE@ -VERSION = @VERSION@ -XGETTEXT = @XGETTEXT@ -XGETTEXT_015 = @XGETTEXT_015@ -ac_ct_CC = @ac_ct_CC@ -am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ -am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ -am__include = @am__include@ -am__leading_dot = @am__leading_dot@ -am__quote = @am__quote@ -am__tar = @am__tar@ -am__untar = @am__untar@ -bindir = @bindir@ -build = @build@ -build_alias = @build_alias@ -build_cpu = @build_cpu@ -build_os = @build_os@ -build_vendor = @build_vendor@ -datadir = @datadir@ -datarootdir = @datarootdir@ -docdir = @docdir@ -dvidir = @dvidir@ -exec_prefix = @exec_prefix@ -host = @host@ -host_alias = @host_alias@ -host_cpu = @host_cpu@ -host_os = @host_os@ -host_vendor = @host_vendor@ -htmldir = @htmldir@ -includedir = @includedir@ -infodir = @infodir@ -install_sh = @install_sh@ -libdir = @libdir@ -libexecdir = @libexecdir@ -localedir = @localedir@ -localstatedir = @localstatedir@ -mandir = @mandir@ -mkdir_p = @mkdir_p@ -ncurses5_config = @ncurses5_config@ -ncursesw5_config = @ncursesw5_config@ -oldincludedir = @oldincludedir@ -pdfdir = @pdfdir@ -prefix = @prefix@ -program_transform_name = @program_transform_name@ -psdir = @psdir@ -sbindir = @sbindir@ -sharedstatedir = @sharedstatedir@ -sysconfdir = @sysconfdir@ -target_alias = @target_alias@ -xmlto = @xmlto@ -INCLUDES = -I$(top_srcdir)/include -EXTRA_DIST = README.aconnect aconnect.1 -LDADD = $(LIBINTL) -aconnect_SOURCES = aconnect.c -man_MANS = aconnect.1 -all: all-am - -.SUFFIXES: -.SUFFIXES: .c .o .obj -$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) - @for dep in $?; do \ - case '$(am__configure_deps)' in \ - *$$dep*) \ - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ - && exit 0; \ - exit 1;; \ - esac; \ - done; \ - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign seq/aconnect/Makefile'; \ - cd $(top_srcdir) && \ - $(AUTOMAKE) --foreign seq/aconnect/Makefile -.PRECIOUS: Makefile -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - @case '$?' in \ - *config.status*) \ - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ - *) \ - echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ - esac; - -$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh - -$(top_srcdir)/configure: $(am__configure_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -$(ACLOCAL_M4): $(am__aclocal_m4_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -install-binPROGRAMS: $(bin_PROGRAMS) - @$(NORMAL_INSTALL) - test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)" - @list='$(bin_PROGRAMS)'; for p in $$list; do \ - p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ - if test -f $$p \ - ; then \ - f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \ - echo " $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \ - $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \ - else :; fi; \ - done - -uninstall-binPROGRAMS: - @$(NORMAL_UNINSTALL) - @list='$(bin_PROGRAMS)'; for p in $$list; do \ - f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \ - echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \ - rm -f "$(DESTDIR)$(bindir)/$$f"; \ - done - -clean-binPROGRAMS: - -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS) -aconnect$(EXEEXT): $(aconnect_OBJECTS) $(aconnect_DEPENDENCIES) - @rm -f aconnect$(EXEEXT) - $(LINK) $(aconnect_LDFLAGS) $(aconnect_OBJECTS) $(aconnect_LDADD) $(LIBS) - -mostlyclean-compile: - -rm -f *.$(OBJEXT) - -distclean-compile: - -rm -f *.tab.c - -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/aconnect.Po@am__quote@ - -.c.o: -@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ -@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(COMPILE) -c $< - -.c.obj: -@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \ -@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` -uninstall-info-am: -install-man1: $(man1_MANS) $(man_MANS) - @$(NORMAL_INSTALL) - test -z "$(man1dir)" || $(mkdir_p) "$(DESTDIR)$(man1dir)" - @list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \ - l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \ - for i in $$l2; do \ - case "$$i" in \ - *.1*) list="$$list $$i" ;; \ - esac; \ - done; \ - for i in $$list; do \ - if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \ - else file=$$i; fi; \ - ext=`echo $$i | sed -e 's/^.*\\.//'`; \ - case "$$ext" in \ - 1*) ;; \ - *) ext='1' ;; \ - esac; \ - inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \ - inst=`echo $$inst | sed -e 's/^.*\///'`; \ - inst=`echo $$inst | sed '$(transform)'`.$$ext; \ - echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \ - $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst"; \ - done -uninstall-man1: - @$(NORMAL_UNINSTALL) - @list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \ - l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \ - for i in $$l2; do \ - case "$$i" in \ - *.1*) list="$$list $$i" ;; \ - esac; \ - done; \ - for i in $$list; do \ - ext=`echo $$i | sed -e 's/^.*\\.//'`; \ - case "$$ext" in \ - 1*) ;; \ - *) ext='1' ;; \ - esac; \ - inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \ - inst=`echo $$inst | sed -e 's/^.*\///'`; \ - inst=`echo $$inst | sed '$(transform)'`.$$ext; \ - echo " rm -f '$(DESTDIR)$(man1dir)/$$inst'"; \ - rm -f "$(DESTDIR)$(man1dir)/$$inst"; \ - done - -ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) ' { files[$$0] = 1; } \ - END { for (i in files) print i; }'`; \ - mkid -fID $$unique -tags: TAGS - -TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - tags=; \ - here=`pwd`; \ - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) ' { files[$$0] = 1; } \ - END { for (i in files) print i; }'`; \ - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ - test -n "$$unique" || unique=$$empty_fix; \ - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ - $$tags $$unique; \ - fi -ctags: CTAGS -CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - tags=; \ - here=`pwd`; \ - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) ' { files[$$0] = 1; } \ - END { for (i in files) print i; }'`; \ - test -z "$(CTAGS_ARGS)$$tags$$unique" \ - || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ - $$tags $$unique - -GTAGS: - here=`$(am__cd) $(top_builddir) && pwd` \ - && cd $(top_srcdir) \ - && gtags -i $(GTAGS_ARGS) $$here - -distclean-tags: - -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags - -distdir: $(DISTFILES) - @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ - list='$(DISTFILES)'; for file in $$list; do \ - case $$file in \ - $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ - $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ - esac; \ - if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ - dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ - if test "$$dir" != "$$file" && test "$$dir" != "."; then \ - dir="/$$dir"; \ - $(mkdir_p) "$(distdir)$$dir"; \ - else \ - dir=''; \ - fi; \ - if test -d $$d/$$file; then \ - if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ - fi; \ - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ - else \ - test -f $(distdir)/$$file \ - || cp -p $$d/$$file $(distdir)/$$file \ - || exit 1; \ - fi; \ - done -check-am: all-am -check: check-am -all-am: Makefile $(PROGRAMS) $(MANS) -installdirs: - for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)"; do \ - test -z "$$dir" || $(mkdir_p) "$$dir"; \ - done -install: install-am -install-exec: install-exec-am -install-data: install-data-am -uninstall: uninstall-am - -install-am: all-am - @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am - -installcheck: installcheck-am -install-strip: - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - `test -z '$(STRIP)' || \ - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install -mostlyclean-generic: - -clean-generic: - -distclean-generic: - -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) - -maintainer-clean-generic: - @echo "This command is intended for maintainers to use" - @echo "it deletes files that may require special tools to rebuild." -clean: clean-am - -clean-am: clean-binPROGRAMS clean-generic mostlyclean-am - -distclean: distclean-am - -rm -rf ./$(DEPDIR) - -rm -f Makefile -distclean-am: clean-am distclean-compile distclean-generic \ - distclean-tags - -dvi: dvi-am - -dvi-am: - -html: html-am - -info: info-am - -info-am: - -install-data-am: install-man - -install-exec-am: install-binPROGRAMS - -install-info: install-info-am - -install-man: install-man1 - -installcheck-am: - -maintainer-clean: maintainer-clean-am - -rm -rf ./$(DEPDIR) - -rm -f Makefile -maintainer-clean-am: distclean-am maintainer-clean-generic - -mostlyclean: mostlyclean-am - -mostlyclean-am: mostlyclean-compile mostlyclean-generic - -pdf: pdf-am - -pdf-am: - -ps: ps-am - -ps-am: - -uninstall-am: uninstall-binPROGRAMS uninstall-info-am uninstall-man - -uninstall-man: uninstall-man1 - -.PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \ - clean-generic ctags distclean distclean-compile \ - distclean-generic distclean-tags distdir dvi dvi-am html \ - html-am info info-am install install-am install-binPROGRAMS \ - install-data install-data-am install-exec install-exec-am \ - install-info install-info-am install-man install-man1 \ - install-strip installcheck installcheck-am installdirs \ - maintainer-clean maintainer-clean-generic mostlyclean \ - mostlyclean-compile mostlyclean-generic pdf pdf-am ps ps-am \ - tags uninstall uninstall-am uninstall-binPROGRAMS \ - uninstall-info-am uninstall-man uninstall-man1 - -# Tell versions [3.59,3.63) of GNU make to not export all variables. -# Otherwise a system limit (for SysV at least) may be exceeded. -.NOEXPORT: diff --git a/alsa-utils/seq/aconnect/README.aconnect b/alsa-utils/seq/aconnect/README.aconnect deleted file mode 100644 index 1f6237a..0000000 --- a/alsa-utils/seq/aconnect/README.aconnect +++ /dev/null @@ -1,46 +0,0 @@ -================================================================ - aconnect - control subscriptions - ver.0.1.3 - Copyright (C) 1999-2000 Takashi Iwai -================================================================ - -aconnect is a utility to control subscriptions of two ports as the -third "manager" client. - -For example, the following connects two ports, from 64:0 to 65:0. - - % aconnect 64:0 65:0 - -To disconnect the existing subscription, use -d option. - - % aconnect -d 64:0 65:0 - -To see which port is available as input port, run the following -command: - - % aconnect -i - client 0: 'System' [type=kernel] - 0 'Timer ' - 1 'Announce ' - client 64: '0: MIDI Synth' [type=kernel] - 0 'card 0: synth-midi: 0' - -Similary, to see the output ports, use -o flag. - - % aconnect -o - client 64: '0: MIDI Synth' [type=kernel] - 0 'card 0: synth-midi: 0' - client 65: 'AWE Wave Table Synth : 0' [type=kernel] - 0 'Emu8000 port 0 ' - 1 'Emu8000 port 1 ' - 2 'Emu8000 port 2 ' - 3 'Emu8000 port 3 ' - -The option -l together with -i or -o shows subscribers for each port. - -Ports are connected exclusively when the option -e is specified. - -For modifying time-stamp with a queue, use -r or -t option followed by -a queue index which updates the time-stamp. Former uses real-time queue, -while the latter uses tick queue. The queue must be used (not necessarily -owned) by the receiver client. diff --git a/alsa-utils/seq/aconnect/aconnect.1 b/alsa-utils/seq/aconnect/aconnect.1 deleted file mode 100644 index 2050187..0000000 --- a/alsa-utils/seq/aconnect/aconnect.1 +++ /dev/null @@ -1,145 +0,0 @@ -.TH aconnect 1 "August 31, 2000" -.de EX -.nf -.ft CW -.. -.de EE -.ft R -.fi -.. -.SH NAME -aconnect \- ALSA sequencer connection manager - -.SH SYNOPSIS -.B aconnect -[\-d] [\-options] sender receiver -.br -.B aconnect -\-i|\-o [\-options] -.br -.B aconnect -\-x - -.SH DESCRIPTION -.B aconnect -is a utility to connect and disconnect two existing ports on ALSA sequencer -system. -The ports with the arbitrary subscription permission, such as created -by -.B aseqview(1), -can be connected to any (MIDI) device ports using -.B aconnect. -For example, to connect from port 64:0 to 65:0, run as follows: -.IP "" 4 -% aconnect 64:0 65:0 -.PP -The connection is one-way, and the whole data to the sender port (64:0) -is redirected to the receiver port (65:0). When another port (e.g. 65:1) -is attached to the same sender port, the data is sent to both receiver -ports. -For disconnection, use -.B \-d -option. -.sp -.EX -% aconnect \-d 64:0 65:0 -.EE -.PP -The address can be given using the client's name. -.sp -.EX -% aconnect External:0 Emu8000:1 -.EE -.PP -Then the port 0 of the client matching with the string "External" is -connected to the port 1 of the client matching with the "Emu8000". -.PP -Another function of -.B aconnect -is to list the present ports -on the given condition. -The input ports, which may become -.I sender -ports, can be listed with -.B \-i -option. -.sp -.EX -% aconnect \-i -client 0: 'System' [type=kernel] - 0 'Timer ' - 1 'Announce ' -client 64: 'External MIDI\-0' [type=kernel] - 0 'MIDI 0\-0 ' -.EE -.PP -Similarly, to see the output ports, use -.B \-o -flag. -.PP -You can remove all existing exported connections using -.B \-x -option. This function is useful for terminating the ALSA drivers, -because the modules with sequencer connections cannot be unloaded -unless their connections are removed. - -.SH OPTIONS -.SS CONNECTION MANAGEMENT -.TP -.B \-d, \-\-disconnect -Disconnect the given subscription. -.TP -.B \-e, \-\-exclusive -Connect ports with exclusive mode. -Both sender and receiver ports can be no longer connected by any other ports. -.TP -.B \-r, \-\-real queue -Convert time-stamps of event packets to the current value of the given -.I real-time -queue. -This is option is, however, not so useful, since -the receiver port must use (not necessarily own) the specified queue. -.TP -.B \-t, \-\-tick queue -Like -.B \-r -option, but -time-stamps are converted to the current value of the given -.I tick -queue. - -.SS LIST PORTS -.TP -.B \-i, \-\-input -List existing input (readable) ports. -This option is exclusive to -.B \-o. -.TP -.B \-o, \-\-output -List existing output (writable) ports. -This option is exclusive to -.B \-i. -.TP -.B \-l, \-\-list -List the current connection status. The connected and connecting ports -from/to each port are listed together. -The suffix flag -.B [ex] -means the connection is exclusive. -The suffix flag -.B [real:#] -and -.B [tick:#] -mean the connection includes real-time and tick conversion on the listed -queue, respectively. - -.SS REMOVE ALL CONNECTIONS -.TP -.B \-x, \-\-removeall -Remove all exported connections. - -.SH "SEE ALSO" -aseqnet(1), aseqview(1) - -.SH AUTHOR -Takashi Iwai <tiwai@suse.de> diff --git a/alsa-utils/seq/aconnect/aconnect.c b/alsa-utils/seq/aconnect/aconnect.c deleted file mode 100644 index 1a50666..0000000 --- a/alsa-utils/seq/aconnect/aconnect.c +++ /dev/null @@ -1,411 +0,0 @@ -/* - * connect / disconnect two subscriber ports - * ver.0.1.3 - * - * Copyright (C) 1999 Takashi Iwai - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. - * - * This program 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. - * - */ - -#include <stdio.h> -#include <ctype.h> -#include <string.h> -#include <stdlib.h> -#include <errno.h> -#include <fcntl.h> -#include <getopt.h> -#include <stdarg.h> -#include <locale.h> -#include <sys/ioctl.h> -#include <alsa/asoundlib.h> -#include "aconfig.h" -#include "gettext.h" - -static void error_handler(const char *file, int line, const char *function, int err, const char *fmt, ...) -{ - va_list arg; - - if (err == ENOENT) /* Ignore those misleading "warnings" */ - return; - va_start(arg, fmt); - fprintf(stderr, "ALSA lib %s:%i:(%s) ", file, line, function); - vfprintf(stderr, fmt, arg); - if (err) - fprintf(stderr, ": %s", snd_strerror(err)); - putc('\n', stderr); - va_end(arg); -} - -static void usage(void) -{ - printf(_("aconnect - ALSA sequencer connection manager\n")); - printf(_("Copyright (C) 1999-2000 Takashi Iwai\n")); - printf(_("Usage:\n")); - printf(_(" * Connection/disconnection between two ports\n")); - printf(_(" aconnect [-options] sender receiver\n")); - printf(_(" sender, receiver = client:port pair\n")); - printf(_(" -d,--disconnect disconnect\n")); - printf(_(" -e,--exclusive exclusive connection\n")); - printf(_(" -r,--real # convert real-time-stamp on queue\n")); - printf(_(" -t,--tick # convert tick-time-stamp on queue\n")); - printf(_(" * List connected ports (no subscription action)\n")); - printf(_(" aconnect -i|-o [-options]\n")); - printf(_(" -i,--input list input (readable) ports\n")); - printf(_(" -o,--output list output (writable) ports\n")); - printf(_(" -l,--list list current connections of each port\n")); - printf(_(" * Remove all exported connections\n")); - printf(_(" -x, --removeall\n")); -} - -/* - * check permission (capability) of specified port - */ - -#define LIST_INPUT 1 -#define LIST_OUTPUT 2 - -#define perm_ok(pinfo,bits) ((snd_seq_port_info_get_capability(pinfo) & (bits)) == (bits)) - -static int check_permission(snd_seq_port_info_t *pinfo, int perm) -{ - if (perm) { - if (perm & LIST_INPUT) { - if (perm_ok(pinfo, SND_SEQ_PORT_CAP_READ|SND_SEQ_PORT_CAP_SUBS_READ)) - goto __ok; - } - if (perm & LIST_OUTPUT) { - if (perm_ok(pinfo, SND_SEQ_PORT_CAP_WRITE|SND_SEQ_PORT_CAP_SUBS_WRITE)) - goto __ok; - } - return 0; - } - __ok: - if (snd_seq_port_info_get_capability(pinfo) & SND_SEQ_PORT_CAP_NO_EXPORT) - return 0; - return 1; -} - -/* - * list subscribers of specified type - */ -static void list_each_subs(snd_seq_t *seq, snd_seq_query_subscribe_t *subs, int type, const char *msg) -{ - int count = 0; - snd_seq_query_subscribe_set_type(subs, type); - snd_seq_query_subscribe_set_index(subs, 0); - while (snd_seq_query_port_subscribers(seq, subs) >= 0) { - const snd_seq_addr_t *addr; - if (count++ == 0) - printf("\t%s: ", msg); - else - printf(", "); - addr = snd_seq_query_subscribe_get_addr(subs); - printf("%d:%d", addr->client, addr->port); - if (snd_seq_query_subscribe_get_exclusive(subs)) - printf("[ex]"); - if (snd_seq_query_subscribe_get_time_update(subs)) - printf("[%s:%d]", - (snd_seq_query_subscribe_get_time_real(subs) ? "real" : "tick"), - snd_seq_query_subscribe_get_queue(subs)); - snd_seq_query_subscribe_set_index(subs, snd_seq_query_subscribe_get_index(subs) + 1); - } - if (count > 0) - printf("\n"); -} - -/* - * list subscribers - */ -static void list_subscribers(snd_seq_t *seq, const snd_seq_addr_t *addr) -{ - snd_seq_query_subscribe_t *subs; - snd_seq_query_subscribe_alloca(&subs); - snd_seq_query_subscribe_set_root(subs, addr); - list_each_subs(seq, subs, SND_SEQ_QUERY_SUBS_READ, _("Connecting To")); - list_each_subs(seq, subs, SND_SEQ_QUERY_SUBS_WRITE, _("Connected From")); -} - -/* - * search all ports - */ -typedef void (*action_func_t)(snd_seq_t *seq, snd_seq_client_info_t *cinfo, snd_seq_port_info_t *pinfo, int count); - -static void do_search_port(snd_seq_t *seq, int perm, action_func_t do_action) -{ - snd_seq_client_info_t *cinfo; - snd_seq_port_info_t *pinfo; - int count; - - snd_seq_client_info_alloca(&cinfo); - snd_seq_port_info_alloca(&pinfo); - snd_seq_client_info_set_client(cinfo, -1); - while (snd_seq_query_next_client(seq, cinfo) >= 0) { - /* reset query info */ - snd_seq_port_info_set_client(pinfo, snd_seq_client_info_get_client(cinfo)); - snd_seq_port_info_set_port(pinfo, -1); - count = 0; - while (snd_seq_query_next_port(seq, pinfo) >= 0) { - if (check_permission(pinfo, perm)) { - do_action(seq, cinfo, pinfo, count); - count++; - } - } - } -} - - -static void print_port(snd_seq_t *seq, snd_seq_client_info_t *cinfo, - snd_seq_port_info_t *pinfo, int count) -{ - if (! count) { - printf(_("client %d: '%s' [type=%s]\n"), - snd_seq_client_info_get_client(cinfo), - snd_seq_client_info_get_name(cinfo), - (snd_seq_client_info_get_type(cinfo) == SND_SEQ_USER_CLIENT ? - _("user") : _("kernel"))); - } - printf(" %3d '%-16s'\n", - snd_seq_port_info_get_port(pinfo), - snd_seq_port_info_get_name(pinfo)); -} - -static void print_port_and_subs(snd_seq_t *seq, snd_seq_client_info_t *cinfo, - snd_seq_port_info_t *pinfo, int count) -{ - print_port(seq, cinfo, pinfo, count); - list_subscribers(seq, snd_seq_port_info_get_addr(pinfo)); -} - - -/* - * remove all (exported) connections - */ -static void remove_connection(snd_seq_t *seq, snd_seq_client_info_t *cinfo, - snd_seq_port_info_t *pinfo, int count) -{ - snd_seq_query_subscribe_t *query; - - snd_seq_query_subscribe_alloca(&query); - snd_seq_query_subscribe_set_root(query, snd_seq_port_info_get_addr(pinfo)); - - snd_seq_query_subscribe_set_type(query, SND_SEQ_QUERY_SUBS_READ); - snd_seq_query_subscribe_set_index(query, 0); - for (; snd_seq_query_port_subscribers(seq, query) >= 0; - snd_seq_query_subscribe_set_index(query, snd_seq_query_subscribe_get_index(query) + 1)) { - snd_seq_port_info_t *port; - snd_seq_port_subscribe_t *subs; - const snd_seq_addr_t *sender = snd_seq_query_subscribe_get_root(query); - const snd_seq_addr_t *dest = snd_seq_query_subscribe_get_addr(query); - snd_seq_port_info_alloca(&port); - if (snd_seq_get_any_port_info(seq, dest->client, dest->port, port) < 0) - continue; - if (!(snd_seq_port_info_get_capability(port) & SND_SEQ_PORT_CAP_SUBS_WRITE)) - continue; - if (snd_seq_port_info_get_capability(port) & SND_SEQ_PORT_CAP_NO_EXPORT) - continue; - snd_seq_port_subscribe_alloca(&subs); - snd_seq_port_subscribe_set_queue(subs, snd_seq_query_subscribe_get_queue(query)); - snd_seq_port_subscribe_set_sender(subs, sender); - snd_seq_port_subscribe_set_dest(subs, dest); - snd_seq_unsubscribe_port(seq, subs); - } - - snd_seq_query_subscribe_set_type(query, SND_SEQ_QUERY_SUBS_WRITE); - snd_seq_query_subscribe_set_index(query, 0); - for (; snd_seq_query_port_subscribers(seq, query) >= 0; - snd_seq_query_subscribe_set_index(query, snd_seq_query_subscribe_get_index(query) + 1)) { - snd_seq_port_info_t *port; - snd_seq_port_subscribe_t *subs; - const snd_seq_addr_t *dest = snd_seq_query_subscribe_get_root(query); - const snd_seq_addr_t *sender = snd_seq_query_subscribe_get_addr(query); - snd_seq_port_info_alloca(&port); - if (snd_seq_get_any_port_info(seq, sender->client, sender->port, port) < 0) - continue; - if (!(snd_seq_port_info_get_capability(port) & SND_SEQ_PORT_CAP_SUBS_READ)) - continue; - if (snd_seq_port_info_get_capability(port) & SND_SEQ_PORT_CAP_NO_EXPORT) - continue; - snd_seq_port_subscribe_alloca(&subs); - snd_seq_port_subscribe_set_queue(subs, snd_seq_query_subscribe_get_queue(query)); - snd_seq_port_subscribe_set_sender(subs, sender); - snd_seq_port_subscribe_set_dest(subs, dest); - snd_seq_unsubscribe_port(seq, subs); - } -} - -static void remove_all_connections(snd_seq_t *seq) -{ - do_search_port(seq, 0, remove_connection); -} - - -/* - * main.. - */ - -enum { - SUBSCRIBE, UNSUBSCRIBE, LIST, REMOVE_ALL -}; - -static const struct option long_option[] = { - {"disconnect", 0, NULL, 'd'}, - {"input", 0, NULL, 'i'}, - {"output", 0, NULL, 'o'}, - {"real", 1, NULL, 'r'}, - {"tick", 1, NULL, 't'}, - {"exclusive", 0, NULL, 'e'}, - {"list", 0, NULL, 'l'}, - {"removeall", 0, NULL, 'x'}, - {NULL, 0, NULL, 0}, -}; - -int main(int argc, char **argv) -{ - int c; - snd_seq_t *seq; - int queue = 0, convert_time = 0, convert_real = 0, exclusive = 0; - int command = SUBSCRIBE; - int list_perm = 0; - int client; - int list_subs = 0; - snd_seq_port_subscribe_t *subs; - snd_seq_addr_t sender, dest; - -#ifdef ENABLE_NLS - setlocale(LC_ALL, ""); - textdomain(PACKAGE); -#endif - - while ((c = getopt_long(argc, argv, "dior:t:elx", long_option, NULL)) != -1) { - switch (c) { - case 'd': - command = UNSUBSCRIBE; - break; - case 'i': - command = LIST; - list_perm |= LIST_INPUT; - break; - case 'o': - command = LIST; - list_perm |= LIST_OUTPUT; - break; - case 'e': - exclusive = 1; - break; - case 'r': - queue = atoi(optarg); - convert_time = 1; - convert_real = 1; - break; - case 't': - queue = atoi(optarg); - convert_time = 1; - convert_real = 0; - break; - case 'l': - list_subs = 1; - break; - case 'x': - command = REMOVE_ALL; - break; - default: - usage(); - exit(1); - } - } - - if (snd_seq_open(&seq, "default", SND_SEQ_OPEN_DUPLEX, 0) < 0) { - fprintf(stderr, _("can't open sequencer\n")); - return 1; - } - - snd_lib_error_set_handler(error_handler); - - switch (command) { - case LIST: - do_search_port(seq, list_perm, - list_subs ? print_port_and_subs : print_port); - snd_seq_close(seq); - return 0; - case REMOVE_ALL: - remove_all_connections(seq); - snd_seq_close(seq); - return 0; - } - - /* connection or disconnection */ - - if (optind + 2 > argc) { - snd_seq_close(seq); - usage(); - exit(1); - } - - if ((client = snd_seq_client_id(seq)) < 0) { - snd_seq_close(seq); - fprintf(stderr, _("can't get client id\n")); - return 1; - } - - /* set client info */ - if (snd_seq_set_client_name(seq, "ALSA Connector") < 0) { - snd_seq_close(seq); - fprintf(stderr, _("can't set client info\n")); - return 1; - } - - /* set subscription */ - if (snd_seq_parse_address(seq, &sender, argv[optind]) < 0) { - snd_seq_close(seq); - fprintf(stderr, _("invalid sender address %s\n"), argv[optind]); - return 1; - } - if (snd_seq_parse_address(seq, &dest, argv[optind + 1]) < 0) { - snd_seq_close(seq); - fprintf(stderr, _("invalid destination address %s\n"), argv[optind + 1]); - return 1; - } - snd_seq_port_subscribe_alloca(&subs); - snd_seq_port_subscribe_set_sender(subs, &sender); - snd_seq_port_subscribe_set_dest(subs, &dest); - snd_seq_port_subscribe_set_queue(subs, queue); - snd_seq_port_subscribe_set_exclusive(subs, exclusive); - snd_seq_port_subscribe_set_time_update(subs, convert_time); - snd_seq_port_subscribe_set_time_real(subs, convert_real); - - if (command == UNSUBSCRIBE) { - if (snd_seq_get_port_subscription(seq, subs) < 0) { - snd_seq_close(seq); - fprintf(stderr, _("No subscription is found\n")); - return 1; - } - if (snd_seq_unsubscribe_port(seq, subs) < 0) { - snd_seq_close(seq); - fprintf(stderr, _("Disconnection failed (%s)\n"), snd_strerror(errno)); - return 1; - } - } else { - if (snd_seq_get_port_subscription(seq, subs) == 0) { - snd_seq_close(seq); - fprintf(stderr, _("Connection is already subscribed\n")); - return 1; - } - if (snd_seq_subscribe_port(seq, subs) < 0) { - snd_seq_close(seq); - fprintf(stderr, _("Connection failed (%s)\n"), snd_strerror(errno)); - return 1; - } - } - - snd_seq_close(seq); - - return 0; -} |