Hello community, here is the log from the commit of package alsa checked in at Thu Apr 12 17:01:01 CEST 2007. -------- --- alsa/alsa.changes 2007-03-29 17:23:21.000000000 +0200 +++ /mounts/work_src_done/STABLE/alsa/alsa.changes 2007-04-10 18:56:29.000000000 +0200 @@ -1,0 +2,9 @@ +Tue Apr 10 18:54:59 CEST 2007 - tiwai@suse.de + +- update alsa-lib & utils 20070410 snapshot + * add missing smixer.conf file + * show iec958 status contents via amixer + * symbolic-functions build (not enabled yet) +- add alsa-plugins to Recommends tag for a better rate converter + +------------------------------------------------------------------- New: ---- alsa-utils-hg-fixes.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ alsa.spec ++++++ --- /var/tmp/diff_new_pack.W10055/_old 2007-04-12 17:00:13.000000000 +0200 +++ /var/tmp/diff_new_pack.W10055/_new 2007-04-12 17:00:13.000000000 +0200 @@ -21,7 +21,7 @@ Autoreqprov: on Summary: Advanced Linux Sound Architecture Version: 1.0.13 -Release: 36 +Release: 39 Source1: ftp://ftp.alsa-project.org/pub/lib/alsa-lib-%{package_version}.tar.bz2 # Source2: ftp://ftp.alsa-project.org/pub/util/alsa-utils-%{package_version}.tar.bz2 Source2: ftp://ftp.alsa-project.org/pub/util/alsa-utils-1.0.14rc2.tar.bz2 @@ -42,8 +42,9 @@ Source31: all_notes_off.bin Source32: all_notes_off.mid Patch1: alsa-lib-hg-fixes.diff -# Patch2: alsa-utils-hg-fixes.diff +Patch2: alsa-utils-hg-fixes.diff Patch3: alsa-oss-hg-fixes.diff +Recommends: alsa-plugins URL: http://www.alsa-project.org/ BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -99,9 +100,9 @@ cd alsa-lib*/. %patch1 -p1 cd .. -# cd alsa-utils*/. -# %patch2 -p1 -# cd .. +cd alsa-utils*/. +%patch2 -p1 +cd .. cd alsa-oss*/. %patch3 -p1 cd .. @@ -369,6 +370,12 @@ %doc alsa-lib*/doc/doxygen/html/* %changelog +* Tue Apr 10 2007 - tiwai@suse.de +- update alsa-lib & utils 20070410 snapshot + * add missing smixer.conf file + * show iec958 status contents via amixer + * symbolic-functions build (not enabled yet) +- add alsa-plugins to Recommends tag for a better rate converter * Thu Mar 29 2007 - tiwai@suse.de - add ncurses-devel to BuildRequires - update alsa-lib 2007.03.28 snapshot ++++++ alsa-lib-hg-fixes.diff ++++++ --- /var/tmp/diff_new_pack.W10055/_old 2007-04-12 17:00:13.000000000 +0200 +++ /var/tmp/diff_new_pack.W10055/_new 2007-04-12 17:00:13.000000000 +0200 @@ -12,7 +12,7 @@ endif diff -r 3cfb9808fb42 configure.in --- a/configure.in Mon Feb 26 09:21:12 2007 +0100 -+++ b/configure.in Wed Mar 28 14:01:28 2007 +0200 ++++ b/configure.in Tue Apr 10 13:17:47 2007 +0200 @@ -80,7 +80,8 @@ dnl Check for versioned symbols dnl Check for versioned symbols AC_MSG_CHECKING(for versioned symbols) @@ -23,7 +23,31 @@ versioned="$withval", versioned="yes") if test "$versioned" = "yes"; then # it seems that GNU ld versions since 2.10 are not broken -@@ -120,7 +121,8 @@ dnl Check for debug... +@@ -106,6 +107,23 @@ fi + fi + AM_CONDITIONAL(VERSIONED_SYMBOLS, test x$versioned = xyes) + ++dnl Check for symbolic-functions ++AC_MSG_CHECKING(for symbolic-functions) ++AC_ARG_ENABLE(symbolic-functions, ++ AS_HELP_STRING([--enable-symbolic-functions], ++ [use -Bsymbolic-functions option if available (optmization for size and speed)]), ++ symfuncs="$enableval", symfuncs="no") ++if test "$symfuncs" = "yes"; then ++ if ld --help | grep -q -- '-Bsymbolic-functions'; then ++ AC_MSG_RESULT(yes) ++ else ++ AC_MSG_RESULT(not supported by ld) ++ fi ++else ++ AC_MSG_RESULT(no) ++fi ++AM_CONDITIONAL(SYMBOLIC_FUNCTIONS, test x"$symfuncs" = xyes) ++ + dnl See if toolchain has a custom prefix for symbols ... + AC_MSG_CHECKING(for custom symbol prefixes) + SYMBOL_PREFIX=` \ +@@ -120,7 +138,8 @@ dnl Check for debug... dnl Check for debug... AC_MSG_CHECKING(for debug) AC_ARG_WITH(debug, @@ -33,7 +57,7 @@ debug="$withval", debug="yes") if test "$debug" = "yes"; then AC_MSG_RESULT(yes) -@@ -132,7 +134,8 @@ dnl Temporary directory +@@ -132,7 +151,8 @@ dnl Temporary directory dnl Temporary directory AC_MSG_CHECKING(for tmpdir) AC_ARG_WITH(tmpdir, @@ -43,7 +67,7 @@ tmpdir="$withval", tmpdir="/tmp") AC_MSG_RESULT($tmpdir) AC_DEFINE_UNQUOTED(TMPDIR, "$tmpdir", [directory to put tmp socket files]) -@@ -140,7 +143,8 @@ dnl Check for softfloat... +@@ -140,7 +160,8 @@ dnl Check for softfloat... dnl Check for softfloat... AC_MSG_CHECKING(for softfloat) AC_ARG_WITH(softfloat, @@ -53,7 +77,7 @@ [ AC_DEFINE(HAVE_SOFT_FLOAT, "1", [Avoid calculation in float]) softfloat=yes ],) if test "$softloat" = "yes" ; then -@@ -148,6 +152,44 @@ else +@@ -148,6 +169,44 @@ else else AC_MSG_RESULT(no) fi @@ -98,7 +122,7 @@ dnl Check for architecture AC_MSG_CHECKING(for architecture) -@@ -189,7 +231,7 @@ dnl Check for resmgr support... +@@ -189,7 +248,7 @@ dnl Check for resmgr support... dnl Check for resmgr support... AC_MSG_CHECKING(for resmgr support) AC_ARG_ENABLE(resmgr, @@ -107,7 +131,7 @@ resmgr="$enableval", resmgr="no") AC_MSG_RESULT($resmgr) if test "$resmgr" = "yes"; then -@@ -201,7 +243,7 @@ dnl Check for aload* support... +@@ -201,7 +260,7 @@ dnl Check for aload* support... dnl Check for aload* support... AC_MSG_CHECKING(for aload* support) AC_ARG_ENABLE(aload, @@ -116,7 +140,7 @@ aload="$enableval", aload="yes") AC_MSG_RESULT($aload) if test "$aload" = "yes"; then -@@ -211,7 +253,8 @@ dnl Check for non-standard /dev director +@@ -211,7 +270,8 @@ dnl Check for non-standard /dev director dnl Check for non-standard /dev directory AC_MSG_CHECKING([for ALSA device file directory]) AC_ARG_WITH(alsa-devdir, @@ -126,7 +150,7 @@ [alsa_dev_dir="$withval"], [alsa_dev_dir="/dev/snd"]) dnl make sure it has a trailing slash -@@ -223,7 +266,8 @@ AC_MSG_RESULT([$alsa_dev_dir]) +@@ -223,7 +283,8 @@ AC_MSG_RESULT([$alsa_dev_dir]) AC_MSG_CHECKING([for aload* device file directory]) AC_ARG_WITH(aload-devdir, @@ -136,7 +160,7 @@ [aload_dev_dir="$withval"], [aload_dev_dir="/dev"]) if echo "$aload_dev_dir" | grep -v '/$' > /dev/null; then -@@ -234,25 +278,25 @@ AC_MSG_RESULT([$aload_dev_dir]) +@@ -234,25 +295,25 @@ AC_MSG_RESULT([$aload_dev_dir]) dnl Build conditions AC_ARG_ENABLE(mixer, @@ -169,7 +193,7 @@ [build_alisp="$enableval"], [build_alisp="yes"]) if test "$build_seq" != "yes"; then -@@ -287,7 +331,8 @@ dnl PCM Plugins +@@ -287,7 +348,8 @@ dnl PCM Plugins if test "$build_pcm" = "yes"; then AC_ARG_WITH(pcm-plugins, @@ -179,7 +203,7 @@ [pcm_plugins="$withval"], [pcm_plugins="all"]) else pcm_plugins="" -@@ -318,6 +363,21 @@ fi +@@ -318,6 +380,21 @@ fi if test "$build_pcm_ioplug" = "yes"; then build_pcm_extplug="yes" @@ -201,7 +225,7 @@ fi AM_CONDITIONAL(BUILD_PCM_PLUGIN, test x$build_pcm_plugin = xyes) -@@ -371,9 +431,47 @@ fi +@@ -371,9 +448,47 @@ fi dnl Create PCM plugin symbol list for static library rm -f "$srcdir"/src/pcm/pcm_symbols_list.c @@ -291,16 +315,32 @@ snd_config_t *root, snd_config_t *conf, diff -r 3cfb9808fb42 src/Makefile.am --- a/src/Makefile.am Mon Feb 26 09:21:12 2007 +0100 -+++ b/src/Makefile.am Thu Mar 22 01:43:32 2007 +0200 -@@ -41,7 +41,7 @@ libasound_la_LIBADD += alisp/libalisp.la ++++ b/src/Makefile.am Tue Apr 10 13:03:20 2007 +0200 +@@ -5,6 +5,12 @@ VSYMS = -Wl,--version-script=Versions + VSYMS = -Wl,--version-script=Versions + else + VSYMS = ++endif ++ ++if SYMBOLIC_FUNCTIONS ++SYMFUNCS = -Wl,-Bsymbolic-functions ++else ++SYMFUNCS = + endif + + lib_LTLIBRARIES = libasound.la +@@ -41,9 +47,9 @@ libasound_la_LIBADD += alisp/libalisp.la libasound_la_LIBADD += alisp/libalisp.la endif SUBDIRS += compat conf -libasound_la_LIBADD += compat/libcompat.la -lm -ldl -lpthread +libasound_la_LIBADD += compat/libcompat.la @ALSA_DEPLIBS@ - libasound_la_LDFLAGS = -version-info $(COMPATNUM) $(VSYMS) +-libasound_la_LDFLAGS = -version-info $(COMPATNUM) $(VSYMS) ++libasound_la_LDFLAGS = -version-info $(COMPATNUM) $(VSYMS) $(SYMFUNCS) + control/libcontrol.la: + $(MAKE) -C control libcontrol.la diff -r 3cfb9808fb42 src/async.c --- a/src/async.c Mon Feb 26 09:21:12 2007 +0100 +++ b/src/async.c Thu Mar 22 01:43:32 2007 +0200 @@ -379,6 +419,19 @@ /* FIXME: better to place this in another place... */ snd_dlobj_cache_cleanup(); +diff -r 3cfb9808fb42 src/conf/Makefile.am +--- a/src/conf/Makefile.am Mon Feb 26 09:21:12 2007 +0100 ++++ b/src/conf/Makefile.am Thu Apr 05 17:17:32 2007 +0200 +@@ -4,6 +4,9 @@ if BUILD_ALISP + if BUILD_ALISP + cfg_files += sndo-mixer.alisp + endif ++if BUILD_MODULES ++cfg_files += smixer.conf ++endif + + EXTRA_DIST = $(cfg_files) + diff -r 3cfb9808fb42 src/conf/cards/USB-Audio.conf --- a/src/conf/cards/USB-Audio.conf Mon Feb 26 09:21:12 2007 +0100 +++ b/src/conf/cards/USB-Audio.conf Wed Mar 21 13:03:01 2007 +0200 @@ -1841,3 +1894,18 @@ # -I${includedir}/alsa below is just for backward compatibility # (it was set so mistakely in the older version) Cflags: -I${includedir} -I${includedir}/alsa +--- /dev/null 2007-03-31 18:13:54.000000000 +0200 ++++ alsa-lib/src/conf/smixer.conf 2006-08-25 11:50:00.000000000 +0200 +@@ -0,0 +1,12 @@ ++usb { ++ searchl "USB" ++ lib smixer-usb.so ++} ++ac97 { ++ searchl "AC97a:" ++ lib smixer-ac97.so ++} ++hda { ++ searchl "HDA:" ++ lib smixer-hda.so ++} ++++++ alsa-utils-hg-fixes.diff ++++++ diff -r fe0e2571e09c amixer/amixer.c --- a/amixer/amixer.c Mon Jan 15 14:47:34 2007 +0100 +++ b/amixer/amixer.c Thu Apr 05 17:21:33 2007 +0200 @@ -534,6 +534,7 @@ static int show_control(const char *spac snd_ctl_elem_id_t *id; snd_ctl_elem_info_t *info; snd_ctl_elem_value_t *control; + snd_aes_iec958_t iec958; snd_ctl_elem_id_alloca(&id); snd_ctl_elem_info_alloca(&info); snd_ctl_elem_value_alloca(&control); @@ -604,6 +605,12 @@ static int show_control(const char *spac break; case SND_CTL_ELEM_TYPE_BYTES: printf("0x%02x", snd_ctl_elem_value_get_byte(control, idx)); + break; + case SND_CTL_ELEM_TYPE_IEC958: + snd_ctl_elem_value_get_iec958(control, &iec958); + printf("[AES0=0x%02x AES1=0x%02x AES2=0x%02x AES3=0x%02x]", + iec958.status[0], iec958.status[1], + iec958.status[2], iec958.status[3]); break; default: printf("?"); ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org