summaryrefslogtreecommitdiffstats
path: root/alsa-utils/seq/aseqdump
diff options
context:
space:
mode:
Diffstat (limited to 'alsa-utils/seq/aseqdump')
-rw-r--r--alsa-utils/seq/aseqdump/Makefile.am5
-rw-r--r--alsa-utils/seq/aseqdump/Makefile.in498
-rw-r--r--alsa-utils/seq/aseqdump/aseqdump.139
-rw-r--r--alsa-utils/seq/aseqdump/aseqdump.c438
4 files changed, 0 insertions, 980 deletions
diff --git a/alsa-utils/seq/aseqdump/Makefile.am b/alsa-utils/seq/aseqdump/Makefile.am
deleted file mode 100644
index d918d9f..0000000
--- a/alsa-utils/seq/aseqdump/Makefile.am
+++ /dev/null
@@ -1,5 +0,0 @@
-INCLUDES = -I$(top_srcdir)/include
-EXTRA_DIST = aseqdump.1
-
-bin_PROGRAMS = aseqdump
-man_MANS = aseqdump.1
diff --git a/alsa-utils/seq/aseqdump/Makefile.in b/alsa-utils/seq/aseqdump/Makefile.in
deleted file mode 100644
index f2971a5..0000000
--- a/alsa-utils/seq/aseqdump/Makefile.in
+++ /dev/null
@@ -1,498 +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 = aseqdump$(EXEEXT)
-subdir = seq/aseqdump
-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)
-aseqdump_SOURCES = aseqdump.c
-aseqdump_OBJECTS = aseqdump.$(OBJEXT)
-aseqdump_LDADD = $(LDADD)
-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 = aseqdump.c
-DIST_SOURCES = aseqdump.c
-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 = aseqdump.1
-man_MANS = aseqdump.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/aseqdump/Makefile'; \
- cd $(top_srcdir) && \
- $(AUTOMAKE) --foreign seq/aseqdump/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)
-aseqdump$(EXEEXT): $(aseqdump_OBJECTS) $(aseqdump_DEPENDENCIES)
- @rm -f aseqdump$(EXEEXT)
- $(LINK) $(aseqdump_LDFLAGS) $(aseqdump_OBJECTS) $(aseqdump_LDADD) $(LIBS)
-
-mostlyclean-compile:
- -rm -f *.$(OBJEXT)
-
-distclean-compile:
- -rm -f *.tab.c
-
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/aseqdump.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/aseqdump/aseqdump.1 b/alsa-utils/seq/aseqdump/aseqdump.1
deleted file mode 100644
index f6f2aa9..0000000
--- a/alsa-utils/seq/aseqdump/aseqdump.1
+++ /dev/null
@@ -1,39 +0,0 @@
-.TH ASEQDUMP 1 "19 Feb 2005"
-
-.SH NAME
-aseqdump \- show the events received at an ALSA sequencer port
-
-.SH SYNOPSIS
-.B aseqdump
-[\fI\-p client:port,...\fP]
-
-.SH DESCRIPTION
-.B aseqdump
-is a command-line utility that prints the sequencer events it receives as text.
-
-To stop receiving, press Ctrl+C.
-
-.SH OPTIONS
-
-.TP
-.I \-h,\-\-help
-Prints a list of options.
-
-.TP
-.I \-V,\-\-version
-Prints the current version.
-
-.TP
-.I \-l,\-\-list
-Prints a list of possible input ports.
-
-.TP
-.I \-p,\-\-port=client:port,...
-Sets the sequencer port(s) from which events are received.
-
-A client can be specified by its number, its name, or a prefix of its
-name. A port is specified by its number; for port 0 of a client, the
-":0" part of the port specification can be omitted.
-
-.SH AUTHOR
-Clemens Ladisch <clemens@ladisch.de>
diff --git a/alsa-utils/seq/aseqdump/aseqdump.c b/alsa-utils/seq/aseqdump/aseqdump.c
deleted file mode 100644
index 24c5d21..0000000
--- a/alsa-utils/seq/aseqdump/aseqdump.c
+++ /dev/null
@@ -1,438 +0,0 @@
-/*
- * aseqdump.c - show the events received at an ALSA sequencer port
- *
- * Copyright (c) 2005 Clemens Ladisch <clemens@ladisch.de>
- *
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * 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.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
- */
-
-#include <stdio.h>
-#include <stdlib.h>
-#include <stdarg.h>
-#include <string.h>
-#include <signal.h>
-#include <getopt.h>
-#include <sys/poll.h>
-#include <alsa/asoundlib.h>
-#include "aconfig.h"
-#include "version.h"
-
-static snd_seq_t *seq;
-static int port_count;
-static snd_seq_addr_t *ports;
-static volatile sig_atomic_t stop = 0;
-
-
-/* prints an error message to stderr, and dies */
-static void fatal(const char *msg, ...)
-{
- va_list ap;
-
- va_start(ap, msg);
- vfprintf(stderr, msg, ap);
- va_end(ap);
- fputc('\n', stderr);
- exit(EXIT_FAILURE);
-}
-
-/* memory allocation error handling */
-static void check_mem(void *p)
-{
- if (!p)
- fatal("Out of memory");
-}
-
-/* error handling for ALSA functions */
-static void check_snd(const char *operation, int err)
-{
- if (err < 0)
- fatal("Cannot %s - %s", operation, snd_strerror(err));
-}
-
-static void init_seq(void)
-{
- int err;
-
- /* open sequencer */
- err = snd_seq_open(&seq, "default", SND_SEQ_OPEN_DUPLEX, 0);
- check_snd("open sequencer", err);
-
- /* set our client's name */
- err = snd_seq_set_client_name(seq, "aseqdump");
- check_snd("set client name", err);
-}
-
-/* parses one or more port addresses from the string */
-static void parse_ports(const char *arg)
-{
- char *buf, *s, *port_name;
- int err;
-
- /* make a copy of the string because we're going to modify it */
- buf = strdup(arg);
- check_mem(buf);
-
- for (port_name = s = buf; s; port_name = s + 1) {
- /* Assume that ports are separated by commas. We don't use
- * spaces because those are valid in client names. */
- s = strchr(port_name, ',');
- if (s)
- *s = '\0';
-
- ++port_count;
- ports = realloc(ports, port_count * sizeof(snd_seq_addr_t));
- check_mem(ports);
-
- err = snd_seq_parse_address(seq, &ports[port_count - 1], port_name);
- if (err < 0)
- fatal("Invalid port %s - %s", port_name, snd_strerror(err));
- }
-
- free(buf);
-}
-
-static void create_port(void)
-{
- int err;
-
- err = snd_seq_create_simple_port(seq, "aseqdump",
- SND_SEQ_PORT_CAP_WRITE |
- SND_SEQ_PORT_CAP_SUBS_WRITE,
- SND_SEQ_PORT_TYPE_MIDI_GENERIC |
- SND_SEQ_PORT_TYPE_APPLICATION);
- check_snd("create port", err);
-}
-
-static void connect_ports(void)
-{
- int i, err;
-
- for (i = 0; i < port_count; ++i) {
- err = snd_seq_connect_from(seq, 0, ports[i].client, ports[i].port);
- if (err < 0)
- fatal("Cannot connect from port %d:%d - %s",
- ports[i].client, ports[i].port, snd_strerror(err));
- }
-}
-
-static void dump_event(const snd_seq_event_t *ev)
-{
- printf("%3d:%-3d ", ev->source.client, ev->source.port);
- switch (ev->type) {
- case SND_SEQ_EVENT_NOTEON:
- if (ev->data.note.velocity)
- printf("Note on %2d, note %d, velocity %d\n",
- ev->data.note.channel, ev->data.note.note, ev->data.note.velocity);
- else
- printf("Note off %2d, note %d\n",
- ev->data.note.channel, ev->data.note.note);
- break;
- case SND_SEQ_EVENT_NOTEOFF:
- printf("Note off %2d, note %d, velocity %d\n",
- ev->data.note.channel, ev->data.note.note, ev->data.note.velocity);
- break;
- case SND_SEQ_EVENT_KEYPRESS:
- printf("Polyphonic aftertouch %2d, note %d, value %d\n",
- ev->data.note.channel, ev->data.note.note, ev->data.note.velocity);
- break;
- case SND_SEQ_EVENT_CONTROLLER:
- printf("Control change %2d, controller %d, value %d\n",
- ev->data.control.channel, ev->data.control.param, ev->data.control.value);
- break;
- case SND_SEQ_EVENT_PGMCHANGE:
- printf("Program change %2d, program %d\n",
- ev->data.control.channel, ev->data.control.value);
- break;
- case SND_SEQ_EVENT_CHANPRESS:
- printf("Channel aftertouch %2d, value %d\n",
- ev->data.control.channel, ev->data.control.value);
- break;
- case SND_SEQ_EVENT_PITCHBEND:
- printf("Pitch bend %2d, value %d\n",
- ev->data.control.channel, ev->data.control.value);
- break;
- case SND_SEQ_EVENT_CONTROL14:
- printf("Control change %2d, controller %d, value %5d\n",
- ev->data.control.channel, ev->data.control.param, ev->data.control.value);
- break;
- case SND_SEQ_EVENT_NONREGPARAM:
- printf("Non-reg. parameter %2d, parameter %d, value %d\n",
- ev->data.control.channel, ev->data.control.param, ev->data.control.value);
- break;
- case SND_SEQ_EVENT_REGPARAM:
- printf("Reg. parameter %2d, parameter %d, value %d\n",
- ev->data.control.channel, ev->data.control.param, ev->data.control.value);
- break;
- case SND_SEQ_EVENT_SONGPOS:
- printf("Song position pointer value %d\n",
- ev->data.control.value);
- break;
- case SND_SEQ_EVENT_SONGSEL:
- printf("Song select value %d\n",
- ev->data.control.value);
- break;
- case SND_SEQ_EVENT_QFRAME:
- printf("MTC quarter frame %02xh\n",
- ev->data.control.value);
- break;
- case SND_SEQ_EVENT_TIMESIGN:
- // XXX how is this encoded?
- printf("SMF time signature (%#010x)\n",
- ev->data.control.value);
- break;
- case SND_SEQ_EVENT_KEYSIGN:
- // XXX how is this encoded?
- printf("SMF key signature (%#010x)\n",
- ev->data.control.value);
- break;
- case SND_SEQ_EVENT_START:
- if (ev->source.client == SND_SEQ_CLIENT_SYSTEM &&
- ev->source.port == SND_SEQ_PORT_SYSTEM_TIMER)
- printf("Queue start queue %d\n",
- ev->data.queue.queue);
- else
- printf("Start\n");
- break;
- case SND_SEQ_EVENT_CONTINUE:
- if (ev->source.client == SND_SEQ_CLIENT_SYSTEM &&
- ev->source.port == SND_SEQ_PORT_SYSTEM_TIMER)
- printf("Queue continue queue %d\n",
- ev->data.queue.queue);
- else
- printf("Continue\n");
- break;
- case SND_SEQ_EVENT_STOP:
- if (ev->source.client == SND_SEQ_CLIENT_SYSTEM &&
- ev->source.port == SND_SEQ_PORT_SYSTEM_TIMER)
- printf("Queue stop queue %d\n",
- ev->data.queue.queue);
- else
- printf("Stop\n");
- break;
- case SND_SEQ_EVENT_SETPOS_TICK:
- printf("Set tick queue pos. queue %d\n", ev->data.queue.queue);
- break;
- case SND_SEQ_EVENT_SETPOS_TIME:
- printf("Set rt queue pos. queue %d\n", ev->data.queue.queue);
- break;
- case SND_SEQ_EVENT_TEMPO:
- printf("Set queue tempo queue %d\n", ev->data.queue.queue);
- break;
- case SND_SEQ_EVENT_CLOCK:
- printf("Clock\n");
- break;
- case SND_SEQ_EVENT_TICK:
- printf("Tick\n");
- break;
- case SND_SEQ_EVENT_QUEUE_SKEW:
- printf("Queue timer skew queue %d\n", ev->data.queue.queue);
- break;
- case SND_SEQ_EVENT_TUNE_REQUEST:
- printf("Tune request\n");
- break;
- case SND_SEQ_EVENT_RESET:
- printf("Reset\n");
- break;
- case SND_SEQ_EVENT_SENSING:
- printf("Active Sensing\n");
- break;
- case SND_SEQ_EVENT_CLIENT_START:
- printf("Client start client %d\n",
- ev->data.addr.client);
- break;
- case SND_SEQ_EVENT_CLIENT_EXIT:
- printf("Client exit client %d\n",
- ev->data.addr.client);
- break;
- case SND_SEQ_EVENT_CLIENT_CHANGE:
- printf("Client changed client %d\n",
- ev->data.addr.client);
- break;
- case SND_SEQ_EVENT_PORT_START:
- printf("Port start %d:%d\n",
- ev->data.addr.client, ev->data.addr.port);
- break;
- case SND_SEQ_EVENT_PORT_EXIT:
- printf("Port exit %d:%d\n",
- ev->data.addr.client, ev->data.addr.port);
- break;
- case SND_SEQ_EVENT_PORT_CHANGE:
- printf("Port changed %d:%d\n",
- ev->data.addr.client, ev->data.addr.port);
- break;
- case SND_SEQ_EVENT_PORT_SUBSCRIBED:
- printf("Port subscribed %d:%d -> %d:%d\n",
- ev->data.connect.sender.client, ev->data.connect.sender.port,
- ev->data.connect.dest.client, ev->data.connect.dest.port);
- break;
- case SND_SEQ_EVENT_PORT_UNSUBSCRIBED:
- printf("Port unsubscribed %d:%d -> %d:%d\n",
- ev->data.connect.sender.client, ev->data.connect.sender.port,
- ev->data.connect.dest.client, ev->data.connect.dest.port);
- break;
- case SND_SEQ_EVENT_SYSEX:
- {
- unsigned int i;
- printf("System exclusive ");
- for (i = 0; i < ev->data.ext.len; ++i)
- printf(" %02X", ((unsigned char*)ev->data.ext.ptr)[i]);
- printf("\n");
- }
- break;
- default:
- printf("Event type %d\n", ev->type);
- }
-}
-
-static void list_ports(void)
-{
- snd_seq_client_info_t *cinfo;
- snd_seq_port_info_t *pinfo;
-
- snd_seq_client_info_alloca(&cinfo);
- snd_seq_port_info_alloca(&pinfo);
-
- puts(" Port Client name Port name");
-
- snd_seq_client_info_set_client(cinfo, -1);
- while (snd_seq_query_next_client(seq, cinfo) >= 0) {
- int client = snd_seq_client_info_get_client(cinfo);
-
- snd_seq_port_info_set_client(pinfo, client);
- snd_seq_port_info_set_port(pinfo, -1);
- while (snd_seq_query_next_port(seq, pinfo) >= 0) {
- /* we need both READ and SUBS_READ */
- if ((snd_seq_port_info_get_capability(pinfo)
- & (SND_SEQ_PORT_CAP_READ | SND_SEQ_PORT_CAP_SUBS_READ))
- != (SND_SEQ_PORT_CAP_READ | SND_SEQ_PORT_CAP_SUBS_READ))
- continue;
- printf("%3d:%-3d %-32.32s %s\n",
- snd_seq_port_info_get_client(pinfo),
- snd_seq_port_info_get_port(pinfo),
- snd_seq_client_info_get_name(cinfo),
- snd_seq_port_info_get_name(pinfo));
- }
- }
-}
-
-static void help(const char *argv0)
-{
- printf("Usage: %s [options]\n"
- "\nAvailable options:\n"
- " -h,--help this help\n"
- " -V,--version show version\n"
- " -l,--list list input ports\n"
- " -p,--port=client:port,... source port(s)\n",
- argv0);
-}
-
-static void version(void)
-{
- puts("aseqdump version " SND_UTIL_VERSION_STR);
-}
-
-static void sighandler(int sig)
-{
- stop = 1;
-}
-
-int main(int argc, char *argv[])
-{
- static const char short_options[] = "hVlp:";
- static const struct option long_options[] = {
- {"help", 0, NULL, 'h'},
- {"version", 0, NULL, 'V'},
- {"list", 0, NULL, 'l'},
- {"port", 1, NULL, 'p'},
- { }
- };
-
- int do_list = 0;
- struct pollfd *pfds;
- int npfds;
- int c, err;
-
- init_seq();
-
- while ((c = getopt_long(argc, argv, short_options,
- long_options, NULL)) != -1) {
- switch (c) {
- case 'h':
- help(argv[0]);
- return 0;
- case 'V':
- version();
- return 0;
- case 'l':
- do_list = 1;
- break;
- case 'p':
- parse_ports(optarg);
- break;
- default:
- help(argv[0]);
- return 1;
- }
- }
- if (optind < argc) {
- help(argv[0]);
- return 1;
- }
-
- if (do_list) {
- list_ports();
- return 0;
- }
-
- create_port();
- connect_ports();
-
- err = snd_seq_nonblock(seq, 1);
- check_snd("set nonblock mode", err);
-
- if (port_count > 0)
- printf("Waiting for data.");
- else
- printf("Waiting for data at port %d:0.",
- snd_seq_client_id(seq));
- printf(" Press Ctrl+C to end.\n");
- printf("Source Event Ch Data\n");
-
- signal(SIGINT, sighandler);
- signal(SIGTERM, sighandler);
-
- npfds = snd_seq_poll_descriptors_count(seq, POLLIN);
- pfds = alloca(sizeof(*pfds) * npfds);
- for (;;) {
- snd_seq_poll_descriptors(seq, pfds, npfds, POLLIN);
- if (poll(pfds, npfds, -1) < 0)
- break;
- do {
- snd_seq_event_t *event;
- err = snd_seq_event_input(seq, &event);
- if (err < 0)
- break;
- if (event)
- dump_event(event);
- } while (err > 0);
- fflush(stdout);
- if (stop)
- break;
- }
-
- snd_seq_close(seq);
- return 0;
-}