commit alsa for openSUSE:Factory

2020-10-24 Thread root
Hello community,

here is the log from the commit of package alsa for openSUSE:Factory checked in 
at 2020-10-24 15:15:45

Comparing /work/SRC/openSUSE:Factory/alsa (Old)
 and  /work/SRC/openSUSE:Factory/.alsa.new.3463 (New)


Package is "alsa"

Sat Oct 24 15:15:45 2020 rev:206 rq:843202 version:1.2.4

Changes:

--- /work/SRC/openSUSE:Factory/alsa/alsa.changes2020-10-08 
13:10:10.523063312 +0200
+++ /work/SRC/openSUSE:Factory/.alsa.new.3463/alsa.changes  2020-10-24 
15:15:50.808131041 +0200
@@ -1,0 +2,44 @@
+Wed Oct 21 12:42:25 CEST 2020 - ti...@suse.de
+
+- Update to alsa-lib 1.2.4:
+  Major updates, including previous patches.
+  Documentation updates, PCM optional lockless, meter and iec958
+  plugin updates, UCM updates, topology API updates, LTO fixes, etc.
+  See the details in
+https://www.alsa-project.org/wiki/Changes_v1.2.3.2_v1.2.4
+- Drop the superfluous udev rules for HD-audio;
+  it's already handled in the kernel properly
+- Drop obsoleted patches:
+  0001-ucm-substitution-remove-duplicate-allow_empty-assign.patch
+  0002-ucm-fix-parse_get_safe_name-safe-name-must-be-checke.patch
+  0003-ucm-substitute-the-merged-tree-completely.patch
+  0004-ctl-improve-documentation-for-identifier-of-control-.patch
+  0005-pcm-dmix-make-lockless-operation-optional.patch
+  0006-pcm-dmix-Fix-semaphore-usage-with-lockless-operation.patch
+  0007-pcm-iec958-implement-HDMI-HBR-audio-formatting.patch
+  0008-pcm-iec958-set-channel-status-bits-according-to-rate.patch
+  0009-conf-pcm-USB-Added-S-PDIF-fix-for-Asus-Xonar-SE.patch
+  0010-control-ctlparse-fix-enum-values-in-or.patch
+  0011-conf-USB-Audio-Disable-IEC958-on-Lenovo-ThinkStation.patch
+  0012-pcm-dmix-fix-access-to-sum-buffer-in-non-interleaved.patch
+  0014-control-Add-documentation-for-snd_ctl_elem_list_.patch
+  0015-conf-quote-also-strings-with-and-characters-in-strin.patch
+  0016-topology-decode-Fix-channel-map-memory-allocation.patch
+  0017-topology-decode-Fix-infinite-loop-in-decoding-enum-c.patch
+  0018-topology-decode-Remove-decoding-values-for-enum-cont.patch
+  0019-topology-decode-Add-enum-control-texts-as-separate-e.patch
+  0020-topology-decode-Fix-printing-texts-section.patch
+  0021-topology-decode-Change-declaration-of-enum-decoding-.patch
+  0022-topology-decode-Fix-decoding-PCM-formats-and-rates.patch
+  0023-topology-decode-Print-sig_bits-field-in-PCM-capabili.patch
+  0024-topology-decode-Add-DAI-name-printing.patch
+  0025-topology-Make-buffer-for-saving-dynamic-size.patch
+  0026-topology-return-correct-value-in-tplg_save_printf.patch
+  0027-topology-fix-some-gcc10-warnings-labs-signess.patch
+  0028-topology-fix-sort_config.patch
+  0029-topology-fix-the-unaligned-access.patch
+  0030-topology-improve-the-printf-buffer-management.patch
+  0031-control-Improve-general-control-interface-documentat.patch
+  0032-control-Add-documentation-for-snd_ctl_elem_value_.patch
+
+---

Old:

  0001-ucm-substitution-remove-duplicate-allow_empty-assign.patch
  0002-ucm-fix-parse_get_safe_name-safe-name-must-be-checke.patch
  0003-ucm-substitute-the-merged-tree-completely.patch
  0004-ctl-improve-documentation-for-identifier-of-control-.patch
  0005-pcm-dmix-make-lockless-operation-optional.patch
  0006-pcm-dmix-Fix-semaphore-usage-with-lockless-operation.patch
  0007-pcm-iec958-implement-HDMI-HBR-audio-formatting.patch
  0008-pcm-iec958-set-channel-status-bits-according-to-rate.patch
  0009-conf-pcm-USB-Added-S-PDIF-fix-for-Asus-Xonar-SE.patch
  0010-control-ctlparse-fix-enum-values-in-or.patch
  0011-conf-USB-Audio-Disable-IEC958-on-Lenovo-ThinkStation.patch
  0012-pcm-dmix-fix-access-to-sum-buffer-in-non-interleaved.patch
  0014-control-Add-documentation-for-snd_ctl_elem_list_.patch
  0015-conf-quote-also-strings-with-and-characters-in-strin.patch
  0016-topology-decode-Fix-channel-map-memory-allocation.patch
  0017-topology-decode-Fix-infinite-loop-in-decoding-enum-c.patch
  0018-topology-decode-Remove-decoding-values-for-enum-cont.patch
  0019-topology-decode-Add-enum-control-texts-as-separate-e.patch
  0020-topology-decode-Fix-printing-texts-section.patch
  0021-topology-decode-Change-declaration-of-enum-decoding-.patch
  0022-topology-decode-Fix-decoding-PCM-formats-and-rates.patch
  0023-topology-decode-Print-sig_bits-field-in-PCM-capabili.patch
  0024-topology-decode-Add-DAI-name-printing.patch
  0025-topology-Make-buffer-for-saving-dynamic-size.patch
  0026-topology-return-correct-value-in-tplg_save_printf.patch
  0027-topology-fix-some-gcc10-warnings-labs-signess.patch
  0028-topology-fix-sort_config.patch
  0029-topology-fix-the-unaligned-access.patch
  0030-topology-improve-the-printf-buffer-management.patch
  0031-control-Improve-general-control-interface-documentat.patch
  

commit alsa for openSUSE:Factory

2020-10-08 Thread root
Hello community,

here is the log from the commit of package alsa for openSUSE:Factory checked in 
at 2020-10-08 13:09:21

Comparing /work/SRC/openSUSE:Factory/alsa (Old)
 and  /work/SRC/openSUSE:Factory/.alsa.new.4249 (New)


Package is "alsa"

Thu Oct  8 13:09:21 2020 rev:205 rq:839640 version:1.2.3.2

Changes:

--- /work/SRC/openSUSE:Factory/alsa/alsa.changes2020-10-03 
18:57:29.885614906 +0200
+++ /work/SRC/openSUSE:Factory/.alsa.new.4249/alsa.changes  2020-10-08 
13:10:10.523063312 +0200
@@ -1,0 +2,11 @@
+Mon Oct  5 19:07:46 CEST 2020 - ti...@suse.de
+
+- Placeholder for SLE15-SP3 sync (bsc#1171246):
+  the actual fix is found in alsa-ucm-conf updates
+
+---
+Sun Oct  4 09:53:09 UTC 2020 - Andreas Schwab 
+
+- Enable topology support for riscv64
+
+---



Other differences:
--
++ alsa.spec ++
--- /var/tmp/diff_new_pack.p7qxTz/_old  2020-10-08 13:10:11.507064202 +0200
+++ /var/tmp/diff_new_pack.p7qxTz/_new  2020-10-08 13:10:11.511064206 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package alsa
 #
-# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -25,7 +25,7 @@
 %define _udevrulesdir /lib/udev/rules.d/
 %endif
 
-%ifarch %ix86 x86_64 %arm aarch64 ppc64le
+%ifarch %ix86 x86_64 %arm aarch64 ppc64le riscv64
 %define enable_topology1
 %else
 %define enable_topology0
@@ -37,7 +37,7 @@
 Summary:Advanced Linux Sound Architecture
 License:LGPL-2.1-or-later
 Group:  System/Libraries
-Url:http://www.alsa-project.org/
+URL:http://www.alsa-project.org/
 Source: ftp://ftp.alsa-project.org/pub/lib/alsa-lib-%{version}.tar.bz2
 Source2:baselibs.conf
 Source8:40-alsa.rules







commit alsa for openSUSE:Factory

2020-10-03 Thread root
Hello community,

here is the log from the commit of package alsa for openSUSE:Factory checked in 
at 2020-10-03 18:56:27

Comparing /work/SRC/openSUSE:Factory/alsa (Old)
 and  /work/SRC/openSUSE:Factory/.alsa.new.4249 (New)


Package is "alsa"

Sat Oct  3 18:56:27 2020 rev:204 rq:838541 version:1.2.3.2

Changes:

--- /work/SRC/openSUSE:Factory/alsa/alsa.changes2020-07-13 
09:04:48.635984570 +0200
+++ /work/SRC/openSUSE:Factory/.alsa.new.4249/alsa.changes  2020-10-03 
18:57:29.885614906 +0200
@@ -1,0 +2,43 @@
+Tue Sep 29 08:57:00 UTC 2020 - Guillaume GARDET 
+
+- Enable topology support for aarch64
+
+---
+Wed Sep 23 16:49:23 CEST 2020 - ti...@suse.de
+
+- Backport upstream fixes:
+  0001-ucm-substitution-remove-duplicate-allow_empty-assign.patch
+  0002-ucm-fix-parse_get_safe_name-safe-name-must-be-checke.patch
+  0003-ucm-substitute-the-merged-tree-completely.patch
+  0004-ctl-improve-documentation-for-identifier-of-control-.patch
+  0005-pcm-dmix-make-lockless-operation-optional.patch
+  0006-pcm-dmix-Fix-semaphore-usage-with-lockless-operation.patch
+  0007-pcm-iec958-implement-HDMI-HBR-audio-formatting.patch
+  0008-pcm-iec958-set-channel-status-bits-according-to-rate.patch
+  0009-conf-pcm-USB-Added-S-PDIF-fix-for-Asus-Xonar-SE.patch
+  0010-control-ctlparse-fix-enum-values-in-or.patch
+  0011-conf-USB-Audio-Disable-IEC958-on-Lenovo-ThinkStation.patch
+  0012-pcm-dmix-fix-access-to-sum-buffer-in-non-interleaved.patch
+  0014-control-Add-documentation-for-snd_ctl_elem_list_.patch
+  0015-conf-quote-also-strings-with-and-characters-in-strin.patch
+  0016-topology-decode-Fix-channel-map-memory-allocation.patch
+  0017-topology-decode-Fix-infinite-loop-in-decoding-enum-c.patch
+  0018-topology-decode-Remove-decoding-values-for-enum-cont.patch
+  0019-topology-decode-Add-enum-control-texts-as-separate-e.patch
+  0020-topology-decode-Fix-printing-texts-section.patch
+  0021-topology-decode-Change-declaration-of-enum-decoding-.patch
+  0022-topology-decode-Fix-decoding-PCM-formats-and-rates.patch
+  0023-topology-decode-Print-sig_bits-field-in-PCM-capabili.patch
+  0024-topology-decode-Add-DAI-name-printing.patch
+  0025-topology-Make-buffer-for-saving-dynamic-size.patch
+  0026-topology-return-correct-value-in-tplg_save_printf.patch
+  0027-topology-fix-some-gcc10-warnings-labs-signess.patch
+  0028-topology-fix-sort_config.patch
+  0029-topology-fix-the-unaligned-access.patch
+  0030-topology-improve-the-printf-buffer-management.patch
+  0031-control-Improve-general-control-interface-documentat.patch
+  0032-control-Add-documentation-for-snd_ctl_elem_value_.patch
+- Build topology library conditionally;
+  currently it's supported only for little-endian
+
+---

New:

  0001-ucm-substitution-remove-duplicate-allow_empty-assign.patch
  0002-ucm-fix-parse_get_safe_name-safe-name-must-be-checke.patch
  0003-ucm-substitute-the-merged-tree-completely.patch
  0004-ctl-improve-documentation-for-identifier-of-control-.patch
  0005-pcm-dmix-make-lockless-operation-optional.patch
  0006-pcm-dmix-Fix-semaphore-usage-with-lockless-operation.patch
  0007-pcm-iec958-implement-HDMI-HBR-audio-formatting.patch
  0008-pcm-iec958-set-channel-status-bits-according-to-rate.patch
  0009-conf-pcm-USB-Added-S-PDIF-fix-for-Asus-Xonar-SE.patch
  0010-control-ctlparse-fix-enum-values-in-or.patch
  0011-conf-USB-Audio-Disable-IEC958-on-Lenovo-ThinkStation.patch
  0012-pcm-dmix-fix-access-to-sum-buffer-in-non-interleaved.patch
  0014-control-Add-documentation-for-snd_ctl_elem_list_.patch
  0015-conf-quote-also-strings-with-and-characters-in-strin.patch
  0016-topology-decode-Fix-channel-map-memory-allocation.patch
  0017-topology-decode-Fix-infinite-loop-in-decoding-enum-c.patch
  0018-topology-decode-Remove-decoding-values-for-enum-cont.patch
  0019-topology-decode-Add-enum-control-texts-as-separate-e.patch
  0020-topology-decode-Fix-printing-texts-section.patch
  0021-topology-decode-Change-declaration-of-enum-decoding-.patch
  0022-topology-decode-Fix-decoding-PCM-formats-and-rates.patch
  0023-topology-decode-Print-sig_bits-field-in-PCM-capabili.patch
  0024-topology-decode-Add-DAI-name-printing.patch
  0025-topology-Make-buffer-for-saving-dynamic-size.patch
  0026-topology-return-correct-value-in-tplg_save_printf.patch
  0027-topology-fix-some-gcc10-warnings-labs-signess.patch
  0028-topology-fix-sort_config.patch
  0029-topology-fix-the-unaligned-access.patch
  0030-topology-improve-the-printf-buffer-management.patch
  0031-control-Improve-general-control-interface-documentat.patch
  0032-control-Add-documentation-for-snd_ctl_elem_value_.patch



Other 

commit alsa for openSUSE:Factory

2020-07-13 Thread root
Hello community,

here is the log from the commit of package alsa for openSUSE:Factory checked in 
at 2020-07-13 09:04:29

Comparing /work/SRC/openSUSE:Factory/alsa (Old)
 and  /work/SRC/openSUSE:Factory/.alsa.new.3060 (New)


Package is "alsa"

Mon Jul 13 09:04:29 2020 rev:203 rq:819813 version:1.2.3.2

Changes:

--- /work/SRC/openSUSE:Factory/alsa/alsa.changes2020-06-27 
23:20:24.085392471 +0200
+++ /work/SRC/openSUSE:Factory/.alsa.new.3060/alsa.changes  2020-07-13 
09:04:48.635984570 +0200
@@ -1,0 +2,8 @@
+Thu Jul  9 16:01:13 CEST 2020 - ti...@suse.de
+
+- Update to alsa-lib 1.2.3.2:
+  another bug fix release: control namehint fixes, PCM dnsoop fixes,
+  UCM regression fixes, etc.  See the details in
+https://www.alsa-project.org/wiki/Changes_v1.2.3.1_v1.2.3.2
+
+---

Old:

  alsa-lib-1.2.3.1.tar.bz2

New:

  alsa-lib-1.2.3.2.tar.bz2



Other differences:
--
++ alsa.spec ++
--- /var/tmp/diff_new_pack.43MwnN/_old  2020-07-13 09:04:49.643987104 +0200
+++ /var/tmp/diff_new_pack.43MwnN/_new  2020-07-13 09:04:49.647987114 +0200
@@ -26,7 +26,7 @@
 %endif
 
 Name:   alsa
-Version:1.2.3.1
+Version:1.2.3.2
 Release:0
 Summary:Advanced Linux Sound Architecture
 License:LGPL-2.1-or-later



++ alsa-lib-1.2.3.1.tar.bz2 -> alsa-lib-1.2.3.2.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/alsa-lib-1.2.3.1/configure 
new/alsa-lib-1.2.3.2/configure
--- old/alsa-lib-1.2.3.1/configure  2020-06-18 19:25:45.0 +0200
+++ new/alsa-lib-1.2.3.2/configure  2020-06-29 12:55:40.0 +0200
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for alsa-lib 1.2.3.1.
+# Generated by GNU Autoconf 2.69 for alsa-lib 1.2.3.2.
 #
 #
 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
@@ -587,8 +587,8 @@
 # Identity of this package.
 PACKAGE_NAME='alsa-lib'
 PACKAGE_TARNAME='alsa-lib'
-PACKAGE_VERSION='1.2.3.1'
-PACKAGE_STRING='alsa-lib 1.2.3.1'
+PACKAGE_VERSION='1.2.3.2'
+PACKAGE_STRING='alsa-lib 1.2.3.2'
 PACKAGE_BUGREPORT=''
 PACKAGE_URL=''
 
@@ -1457,7 +1457,7 @@
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF
-\`configure' configures alsa-lib 1.2.3.1 to adapt to many kinds of systems.
+\`configure' configures alsa-lib 1.2.3.2 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1527,7 +1527,7 @@
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
- short | recursive ) echo "Configuration of alsa-lib 1.2.3.1:";;
+ short | recursive ) echo "Configuration of alsa-lib 1.2.3.2:";;
esac
   cat <<\_ACEOF
 
@@ -1688,7 +1688,7 @@
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-alsa-lib configure 1.2.3.1
+alsa-lib configure 1.2.3.2
 generated by GNU Autoconf 2.69
 
 Copyright (C) 2012 Free Software Foundation, Inc.
@@ -2099,7 +2099,7 @@
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by alsa-lib $as_me 1.2.3.1, which was
+It was created by alsa-lib $as_me 1.2.3.2, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   $ $0 $@
@@ -3037,7 +3037,7 @@
 
 # Define the identity of the package.
  PACKAGE='alsa-lib'
- VERSION='1.2.3.1'
+ VERSION='1.2.3.2'
 
 
 cat >>confdefs.h <<_ACEOF
@@ -14887,7 +14887,7 @@
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by alsa-lib $as_me 1.2.3.1, which was
+This file was extended by alsa-lib $as_me 1.2.3.2, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   CONFIG_FILES= $CONFIG_FILES
@@ -14953,7 +14953,7 @@
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; 
s/[\\""\`\$]/&/g'`"
 ac_cs_version="\\
-alsa-lib config.status 1.2.3.1
+alsa-lib config.status 1.2.3.2
 configured by $0, generated by GNU Autoconf 2.69,
   with options \\"\$ac_cs_config\\"
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/alsa-lib-1.2.3.1/configure.ac 
new/alsa-lib-1.2.3.2/configure.ac
--- old/alsa-lib-1.2.3.1/configure.ac   2020-06-18 19:24:32.0 +0200
+++ new/alsa-lib-1.2.3.2/configure.ac   2020-06-29 12:51:08.0 +0200
@@ -1,6 +1,6 @@
 dnl Process this file with autoconf to produce a configure script.
 AC_PREREQ(2.59)

commit alsa for openSUSE:Factory

2020-06-27 Thread root
Hello community,

here is the log from the commit of package alsa for openSUSE:Factory checked in 
at 2020-06-27 23:20:22

Comparing /work/SRC/openSUSE:Factory/alsa (Old)
 and  /work/SRC/openSUSE:Factory/.alsa.new.3060 (New)


Package is "alsa"

Sat Jun 27 23:20:22 2020 rev:202 rq:816057 version:1.2.3.1

Changes:

--- /work/SRC/openSUSE:Factory/alsa/alsa.changes2020-06-11 
14:46:19.181665260 +0200
+++ /work/SRC/openSUSE:Factory/.alsa.new.3060/alsa.changes  2020-06-27 
23:20:24.085392471 +0200
@@ -1,0 +2,7 @@
+Fri Jun 19 16:06:40 CEST 2020 - ti...@suse.de
+
+- Update to alsa-lib 1.2.3.1:
+  a bug fix release, see the detailed changes at:
+  https://www.alsa-project.org/wiki/Changes_v1.2.3_v1.2.3.1
+
+---

Old:

  alsa-lib-1.2.3.tar.bz2

New:

  alsa-lib-1.2.3.1.tar.bz2



Other differences:
--
++ alsa.spec ++
--- /var/tmp/diff_new_pack.19Agy8/_old  2020-06-27 23:20:26.677400993 +0200
+++ /var/tmp/diff_new_pack.19Agy8/_new  2020-06-27 23:20:26.677400993 +0200
@@ -26,7 +26,7 @@
 %endif
 
 Name:   alsa
-Version:1.2.3
+Version:1.2.3.1
 Release:0
 Summary:Advanced Linux Sound Architecture
 License:LGPL-2.1-or-later



++ alsa-lib-1.2.3.tar.bz2 -> alsa-lib-1.2.3.1.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/alsa-lib-1.2.3/configure 
new/alsa-lib-1.2.3.1/configure
--- old/alsa-lib-1.2.3/configure2020-06-08 15:07:13.0 +0200
+++ new/alsa-lib-1.2.3.1/configure  2020-06-18 19:25:45.0 +0200
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for alsa-lib 1.2.3.
+# Generated by GNU Autoconf 2.69 for alsa-lib 1.2.3.1.
 #
 #
 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
@@ -587,8 +587,8 @@
 # Identity of this package.
 PACKAGE_NAME='alsa-lib'
 PACKAGE_TARNAME='alsa-lib'
-PACKAGE_VERSION='1.2.3'
-PACKAGE_STRING='alsa-lib 1.2.3'
+PACKAGE_VERSION='1.2.3.1'
+PACKAGE_STRING='alsa-lib 1.2.3.1'
 PACKAGE_BUGREPORT=''
 PACKAGE_URL=''
 
@@ -1457,7 +1457,7 @@
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF
-\`configure' configures alsa-lib 1.2.3 to adapt to many kinds of systems.
+\`configure' configures alsa-lib 1.2.3.1 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1527,7 +1527,7 @@
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
- short | recursive ) echo "Configuration of alsa-lib 1.2.3:";;
+ short | recursive ) echo "Configuration of alsa-lib 1.2.3.1:";;
esac
   cat <<\_ACEOF
 
@@ -1688,7 +1688,7 @@
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-alsa-lib configure 1.2.3
+alsa-lib configure 1.2.3.1
 generated by GNU Autoconf 2.69
 
 Copyright (C) 2012 Free Software Foundation, Inc.
@@ -2099,7 +2099,7 @@
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by alsa-lib $as_me 1.2.3, which was
+It was created by alsa-lib $as_me 1.2.3.1, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   $ $0 $@
@@ -3037,7 +3037,7 @@
 
 # Define the identity of the package.
  PACKAGE='alsa-lib'
- VERSION='1.2.3'
+ VERSION='1.2.3.1'
 
 
 cat >>confdefs.h <<_ACEOF
@@ -14887,7 +14887,7 @@
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by alsa-lib $as_me 1.2.3, which was
+This file was extended by alsa-lib $as_me 1.2.3.1, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   CONFIG_FILES= $CONFIG_FILES
@@ -14953,7 +14953,7 @@
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; 
s/[\\""\`\$]/&/g'`"
 ac_cs_version="\\
-alsa-lib config.status 1.2.3
+alsa-lib config.status 1.2.3.1
 configured by $0, generated by GNU Autoconf 2.69,
   with options \\"\$ac_cs_config\\"
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/alsa-lib-1.2.3/configure.ac 
new/alsa-lib-1.2.3.1/configure.ac
--- old/alsa-lib-1.2.3/configure.ac 2020-06-08 13:42:38.0 +0200
+++ new/alsa-lib-1.2.3.1/configure.ac   2020-06-18 19:24:32.0 +0200
@@ -1,6 +1,6 @@
 dnl Process this file with autoconf to produce a configure script.
 AC_PREREQ(2.59)
-AC_INIT(alsa-lib, 1.2.3)
+AC_INIT(alsa-lib, 1.2.3.1)
 
 AC_CONFIG_SRCDIR([src/control/control.c])
 

commit alsa for openSUSE:Factory

2020-06-11 Thread root
Hello community,

here is the log from the commit of package alsa for openSUSE:Factory checked in 
at 2020-06-11 14:45:50

Comparing /work/SRC/openSUSE:Factory/alsa (Old)
 and  /work/SRC/openSUSE:Factory/.alsa.new.3606 (New)


Package is "alsa"

Thu Jun 11 14:45:50 2020 rev:201 rq:812897 version:1.2.3

Changes:

--- /work/SRC/openSUSE:Factory/alsa/alsa.changes2020-05-09 
19:52:03.516799785 +0200
+++ /work/SRC/openSUSE:Factory/.alsa.new.3606/alsa.changes  2020-06-11 
14:46:19.181665260 +0200
@@ -1,0 +2,29 @@
+Tue Jun  9 11:15:28 CEST 2020 - ti...@suse.de
+
+- Update to alsa-lib 1.2.3:
+  including previous fixes, see the detailed changes at:
+  https://www.alsa-project.org/wiki/Detailed_changes_v1.2.2_v1.2.3
+- Drop obsoleted patches:
+  0001-conf-change-the-order-of-PCM-devices-in-alsa.conf.patch
+  0002-conf-namehint-add-omit_noargs-to-the-hint-section.patch
+  0003-Change-PCM-device-number-of-Asus-Xonar-U5.patch
+  0004-configure-add-embed-for-python3-config-python-3.8.patch
+  0005-conf-USB-Audio-Add-C-Media-USB-Headphone-Set-to-the-.patch
+  0006-topology-add-back-asrc-to-widget_map-in-dapm.c.patch
+  0007-ucm-clarify-the-index-syntax-for-the-device-names.patch
+  0008-ucm-fix-uc_mgr_scan_master_configs.patch
+  0009-namehint-remember-the-direction-from-the-upper-level.patch
+  0010-conf-fix-namehint-for-pcm.front-and-pcm.iec958.patch
+  0011-pcm-add-chmap-option-to-route-plugin.patch
+  0012-usecase-allow-indexes-also-for-modifier-names.patch
+  0013-ucm-fix-the-device-remove-operation.patch
+  0014-ucm-fix-copy-n-paste-typo-RemoveDevice-list.patch
+  0015-pcm-dmix-fix-sw_params-handling-of-timestamp-types-i.patch
+  0016-conf-USB-Audio-Fix-S-PDIF-output-of-ASUS-Xonar-AE.patch
+  0017-pcm-rate-fix-the-remaining-size-calculation-in-snd_p.patch
+  0018-use-case.h-add-USB-as-allowed-device-name.patch
+  0019-topology-Use-bool-parser-to-parse-boolean-value.patch
+  0020-fix-infinite-draining-of-the-rate-plugin-in-SND_PCM_.patch
+  0021-test-pcm_min-add-snd_pcm_drain-call-and-indentation-.patch
+
+---

Old:

  0001-conf-change-the-order-of-PCM-devices-in-alsa.conf.patch
  0002-conf-namehint-add-omit_noargs-to-the-hint-section.patch
  0003-Change-PCM-device-number-of-Asus-Xonar-U5.patch
  0004-configure-add-embed-for-python3-config-python-3.8.patch
  0005-conf-USB-Audio-Add-C-Media-USB-Headphone-Set-to-the-.patch
  0006-topology-add-back-asrc-to-widget_map-in-dapm.c.patch
  0007-ucm-clarify-the-index-syntax-for-the-device-names.patch
  0008-ucm-fix-uc_mgr_scan_master_configs.patch
  0009-namehint-remember-the-direction-from-the-upper-level.patch
  0010-conf-fix-namehint-for-pcm.front-and-pcm.iec958.patch
  0011-pcm-add-chmap-option-to-route-plugin.patch
  0012-usecase-allow-indexes-also-for-modifier-names.patch
  0013-ucm-fix-the-device-remove-operation.patch
  0014-ucm-fix-copy-n-paste-typo-RemoveDevice-list.patch
  0015-pcm-dmix-fix-sw_params-handling-of-timestamp-types-i.patch
  0016-conf-USB-Audio-Fix-S-PDIF-output-of-ASUS-Xonar-AE.patch
  0017-pcm-rate-fix-the-remaining-size-calculation-in-snd_p.patch
  0018-use-case.h-add-USB-as-allowed-device-name.patch
  0019-topology-Use-bool-parser-to-parse-boolean-value.patch
  0020-fix-infinite-draining-of-the-rate-plugin-in-SND_PCM_.patch
  0021-test-pcm_min-add-snd_pcm_drain-call-and-indentation-.patch
  alsa-lib-1.2.2.tar.bz2

New:

  alsa-lib-1.2.3.tar.bz2



Other differences:
--
++ alsa.spec ++
--- /var/tmp/diff_new_pack.4P7Sta/_old  2020-06-11 14:46:20.789669944 +0200
+++ /var/tmp/diff_new_pack.4P7Sta/_new  2020-06-11 14:46:20.789669944 +0200
@@ -26,7 +26,7 @@
 %endif
 
 Name:   alsa
-Version:1.2.2
+Version:1.2.3
 Release:0
 Summary:Advanced Linux Sound Architecture
 License:LGPL-2.1-or-later
@@ -47,28 +47,6 @@
 Source31:   all_notes_off.bin
 Source32:   all_notes_off.mid
 Source34:   alsa-init.sh
-# upstream fixes
-Patch1: 0001-conf-change-the-order-of-PCM-devices-in-alsa.conf.patch
-Patch2: 0002-conf-namehint-add-omit_noargs-to-the-hint-section.patch
-Patch3: 0003-Change-PCM-device-number-of-Asus-Xonar-U5.patch
-Patch4: 0004-configure-add-embed-for-python3-config-python-3.8.patch
-Patch5: 0005-conf-USB-Audio-Add-C-Media-USB-Headphone-Set-to-the-.patch
-Patch6: 0006-topology-add-back-asrc-to-widget_map-in-dapm.c.patch
-Patch7: 0007-ucm-clarify-the-index-syntax-for-the-device-names.patch
-Patch8: 0008-ucm-fix-uc_mgr_scan_master_configs.patch
-Patch9: 0009-namehint-remember-the-direction-from-the-upper-level.patch
-Patch10:0010-conf-fix-namehint-for-pcm.front-and-pcm.iec958.patch

commit alsa for openSUSE:Factory

2020-05-09 Thread root
Hello community,

here is the log from the commit of package alsa for openSUSE:Factory checked in 
at 2020-05-09 19:51:51

Comparing /work/SRC/openSUSE:Factory/alsa (Old)
 and  /work/SRC/openSUSE:Factory/.alsa.new.2738 (New)


Package is "alsa"

Sat May  9 19:51:51 2020 rev:200 rq:800956 version:1.2.2

Changes:

--- /work/SRC/openSUSE:Factory/alsa/alsa.changes2020-04-27 
23:30:15.646572556 +0200
+++ /work/SRC/openSUSE:Factory/.alsa.new.2738/alsa.changes  2020-05-09 
19:52:03.516799785 +0200
@@ -1,0 +2,17 @@
+Wed May  6 16:01:32 CEST 2020 - ti...@suse.de
+
+- Revert a problematic namehint change (boo#1171044)
+
+---
+Wed May  6 12:16:00 CEST 2020 - ti...@suse.de
+
+- Backport upstream fixes:
+  fixes for PCM rate plugin, draining fix, topology parameter parser
+  fix, USB device name for UCM:
+  0017-pcm-rate-fix-the-remaining-size-calculation-in-snd_p.patch
+  0018-use-case.h-add-USB-as-allowed-device-name.patch
+  0019-topology-Use-bool-parser-to-parse-boolean-value.patch
+  0020-fix-infinite-draining-of-the-rate-plugin-in-SND_PCM_.patch
+  0021-test-pcm_min-add-snd_pcm_drain-call-and-indentation-.patch
+
+---

New:

  0017-pcm-rate-fix-the-remaining-size-calculation-in-snd_p.patch
  0018-use-case.h-add-USB-as-allowed-device-name.patch
  0019-topology-Use-bool-parser-to-parse-boolean-value.patch
  0020-fix-infinite-draining-of-the-rate-plugin-in-SND_PCM_.patch
  0021-test-pcm_min-add-snd_pcm_drain-call-and-indentation-.patch



Other differences:
--
++ alsa.spec ++
--- /var/tmp/diff_new_pack.EnbMo6/_old  2020-05-09 19:52:04.688802300 +0200
+++ /var/tmp/diff_new_pack.EnbMo6/_new  2020-05-09 19:52:04.692802309 +0200
@@ -64,6 +64,11 @@
 Patch14:0014-ucm-fix-copy-n-paste-typo-RemoveDevice-list.patch
 Patch15:0015-pcm-dmix-fix-sw_params-handling-of-timestamp-types-i.patch
 Patch16:0016-conf-USB-Audio-Fix-S-PDIF-output-of-ASUS-Xonar-AE.patch
+Patch17:0017-pcm-rate-fix-the-remaining-size-calculation-in-snd_p.patch
+Patch18:0018-use-case.h-add-USB-as-allowed-device-name.patch
+Patch19:0019-topology-Use-bool-parser-to-parse-boolean-value.patch
+Patch20:0020-fix-infinite-draining-of-the-rate-plugin-in-SND_PCM_.patch
+Patch21:0021-test-pcm_min-add-snd_pcm_drain-call-and-indentation-.patch
 # rest suse fixes
 Patch101:   alsa-lib-ignore-non-accessible-ALSA_CONFIG_PATH.patch
 BuildRequires:  doxygen
@@ -157,13 +162,21 @@
 %patch7 -p1
 %patch8 -p1
 %patch9 -p1
+# causing a regression for capture streams on some apps (boo#1171044)
+%if 0
 %patch10 -p1
+%endif
 %patch11 -p1
 %patch12 -p1
 %patch13 -p1
 %patch14 -p1
 %patch15 -p1
 %patch16 -p1
+%patch17 -p1
+%patch18 -p1
+%patch19 -p1
+%patch20 -p1
+%patch21 -p1
 %patch101 -p1
 
 %build

++ 0017-pcm-rate-fix-the-remaining-size-calculation-in-snd_p.patch ++
>From a43074ba17dd46878c7be447a50f9c4b5311929b Mon Sep 17 00:00:00 2001
From: Jaroslav Kysela 
Date: Thu, 23 Apr 2020 13:43:32 +0200
Subject: [PATCH 17/21] pcm: rate - fix the remaining size calculation in
 snd_pcm_rate_drain()

Signed-off-by: Jaroslav Kysela 
---
 src/pcm/pcm_rate.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/pcm/pcm_rate.c b/src/pcm/pcm_rate.c
index fdcaa8de7382..21611f62c370 100644
--- a/src/pcm/pcm_rate.c
+++ b/src/pcm/pcm_rate.c
@@ -1060,6 +1060,8 @@ static int snd_pcm_rate_drain(snd_pcm_t *pcm)
snd_pcm_sw_params(rate->gen.slave, _params);
 
size = rate->appl_ptr - rate->last_commit_ptr;
+   if (size > pcm->boundary)
+   size -= pcm->boundary;
ofs = rate->last_commit_ptr % pcm->buffer_size;
while (size > 0) {
snd_pcm_uframes_t psize, spsize;
-- 
2.16.4

++ 0018-use-case.h-add-USB-as-allowed-device-name.patch ++
>From 4327660c7154344a0c6075d5a665a4e5b89fc78d Mon Sep 17 00:00:00 2001
From: Jaroslav Kysela 
Date: Tue, 28 Apr 2020 12:58:41 +0200
Subject: [PATCH 18/21] use-case.h: add USB as allowed device name

Some USB devices are really generic where the
PCM stream can be routed to different paths.

Signed-off-by: Jaroslav Kysela 
---
 include/use-case.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/use-case.h b/include/use-case.h
index c2ba79a9fdb1..21df1de472d6 100644
--- a/include/use-case.h
+++ b/include/use-case.h
@@ -140,6 +140,7 @@ extern "C" {
 #define SND_USE_CASE_DEV_EARPIECE  "Earpiece"  /**< Earpiece Device */
 #define SND_USE_CASE_DEV_SPDIF "SPDIF" /**< SPDIF Device */
 #define SND_USE_CASE_DEV_HDMI  "HDMI"  /**< HDMI Device */

commit alsa for openSUSE:Factory

2020-04-27 Thread root
Hello community,

here is the log from the commit of package alsa for openSUSE:Factory checked in 
at 2020-04-27 23:30:09

Comparing /work/SRC/openSUSE:Factory/alsa (Old)
 and  /work/SRC/openSUSE:Factory/.alsa.new.2738 (New)


Package is "alsa"

Mon Apr 27 23:30:09 2020 rev:199 rq:796547 version:1.2.2

Changes:

--- /work/SRC/openSUSE:Factory/alsa/alsa.changes2020-03-16 
10:16:58.179553787 +0100
+++ /work/SRC/openSUSE:Factory/.alsa.new.2738/alsa.changes  2020-04-27 
23:30:15.646572556 +0200
@@ -1,0 +2,18 @@
+Mon Apr 20 17:55:24 CEST 2020 - ti...@suse.de
+
+- Backport recent upstream fixes:
+  topology API fix, UCM fixes/improvements, config fixes, chmap
+  support in route plugin, timestamp type fix for dmix:
+  0006-topology-add-back-asrc-to-widget_map-in-dapm.c.patch
+  0007-ucm-clarify-the-index-syntax-for-the-device-names.patch
+  0008-ucm-fix-uc_mgr_scan_master_configs.patch
+  0009-namehint-remember-the-direction-from-the-upper-level.patch
+  0010-conf-fix-namehint-for-pcm.front-and-pcm.iec958.patch
+  0011-pcm-add-chmap-option-to-route-plugin.patch
+  0012-usecase-allow-indexes-also-for-modifier-names.patch
+  0013-ucm-fix-the-device-remove-operation.patch
+  0014-ucm-fix-copy-n-paste-typo-RemoveDevice-list.patch
+  0015-pcm-dmix-fix-sw_params-handling-of-timestamp-types-i.patch
+  0016-conf-USB-Audio-Fix-S-PDIF-output-of-ASUS-Xonar-AE.patch
+
+---

New:

  0006-topology-add-back-asrc-to-widget_map-in-dapm.c.patch
  0007-ucm-clarify-the-index-syntax-for-the-device-names.patch
  0008-ucm-fix-uc_mgr_scan_master_configs.patch
  0009-namehint-remember-the-direction-from-the-upper-level.patch
  0010-conf-fix-namehint-for-pcm.front-and-pcm.iec958.patch
  0011-pcm-add-chmap-option-to-route-plugin.patch
  0012-usecase-allow-indexes-also-for-modifier-names.patch
  0013-ucm-fix-the-device-remove-operation.patch
  0014-ucm-fix-copy-n-paste-typo-RemoveDevice-list.patch
  0015-pcm-dmix-fix-sw_params-handling-of-timestamp-types-i.patch
  0016-conf-USB-Audio-Fix-S-PDIF-output-of-ASUS-Xonar-AE.patch



Other differences:
--
++ alsa.spec ++
--- /var/tmp/diff_new_pack.vvSFzF/_old  2020-04-27 23:30:17.122575438 +0200
+++ /var/tmp/diff_new_pack.vvSFzF/_new  2020-04-27 23:30:17.122575438 +0200
@@ -53,6 +53,17 @@
 Patch3: 0003-Change-PCM-device-number-of-Asus-Xonar-U5.patch
 Patch4: 0004-configure-add-embed-for-python3-config-python-3.8.patch
 Patch5: 0005-conf-USB-Audio-Add-C-Media-USB-Headphone-Set-to-the-.patch
+Patch6: 0006-topology-add-back-asrc-to-widget_map-in-dapm.c.patch
+Patch7: 0007-ucm-clarify-the-index-syntax-for-the-device-names.patch
+Patch8: 0008-ucm-fix-uc_mgr_scan_master_configs.patch
+Patch9: 0009-namehint-remember-the-direction-from-the-upper-level.patch
+Patch10:0010-conf-fix-namehint-for-pcm.front-and-pcm.iec958.patch
+Patch11:0011-pcm-add-chmap-option-to-route-plugin.patch
+Patch12:0012-usecase-allow-indexes-also-for-modifier-names.patch
+Patch13:0013-ucm-fix-the-device-remove-operation.patch
+Patch14:0014-ucm-fix-copy-n-paste-typo-RemoveDevice-list.patch
+Patch15:0015-pcm-dmix-fix-sw_params-handling-of-timestamp-types-i.patch
+Patch16:0016-conf-USB-Audio-Fix-S-PDIF-output-of-ASUS-Xonar-AE.patch
 # rest suse fixes
 Patch101:   alsa-lib-ignore-non-accessible-ALSA_CONFIG_PATH.patch
 BuildRequires:  doxygen
@@ -142,6 +153,17 @@
 %patch3 -p1
 %patch4 -p1
 %patch5 -p1
+%patch6 -p1
+%patch7 -p1
+%patch8 -p1
+%patch9 -p1
+%patch10 -p1
+%patch11 -p1
+%patch12 -p1
+%patch13 -p1
+%patch14 -p1
+%patch15 -p1
+%patch16 -p1
 %patch101 -p1
 
 %build

++ 0006-topology-add-back-asrc-to-widget_map-in-dapm.c.patch ++
>From caf77a93cef5bda729bc33e0100cc0e769767389 Mon Sep 17 00:00:00 2001
From: Jaroslav Kysela 
Date: Fri, 13 Mar 2020 17:05:14 +0100
Subject: [PATCH 06/16] topology: add back asrc to widget_map in dapm.c

Fixes: aa1bac2d04bd ("topology: add snd_tplg_save()")
BugLink: https://github.com/thesofproject/sof/issues/2543

Signed-off-by: Jaroslav Kysela 
---
 src/topology/dapm.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/topology/dapm.c b/src/topology/dapm.c
index cb85e66734f6..70645126d0bc 100644
--- a/src/topology/dapm.c
+++ b/src/topology/dapm.c
@@ -43,6 +43,7 @@ static const struct map_elem widget_map[] = {
{"effect", SND_SOC_TPLG_DAPM_EFFECT},
{"siggen", SND_SOC_TPLG_DAPM_SIGGEN},
{"src", SND_SOC_TPLG_DAPM_SRC},
+   {"asrc", SND_SOC_TPLG_DAPM_ASRC},
{"encoder", SND_SOC_TPLG_DAPM_ENCODER},
{"decoder", SND_SOC_TPLG_DAPM_DECODER},
 };
-- 
2.16.4

++ 

commit alsa for openSUSE:Factory

2020-03-16 Thread root
Hello community,

here is the log from the commit of package alsa for openSUSE:Factory checked in 
at 2020-03-16 10:16:22

Comparing /work/SRC/openSUSE:Factory/alsa (Old)
 and  /work/SRC/openSUSE:Factory/.alsa.new.3160 (New)


Package is "alsa"

Mon Mar 16 10:16:22 2020 rev:198 rq:784667 version:1.2.2

Changes:

--- /work/SRC/openSUSE:Factory/alsa/alsa.changes2020-02-21 
16:40:55.229860711 +0100
+++ /work/SRC/openSUSE:Factory/.alsa.new.3160/alsa.changes  2020-03-16 
10:16:58.179553787 +0100
@@ -1,0 +2,88 @@
+Fri Mar 13 14:37:03 CET 2020 - ti...@suse.de
+
+- Update to alsa-lib 1.2.2:
+  including previous fixes
+- Backport recent upstream fixes:
+  conf updates, PCM ordering fix, configure fix;
+  0001-conf-change-the-order-of-PCM-devices-in-alsa.conf.patch
+  0002-conf-namehint-add-omit_noargs-to-the-hint-section.patch
+  0003-Change-PCM-device-number-of-Asus-Xonar-U5.patch
+  0004-configure-add-embed-for-python3-config-python-3.8.patch
+  0005-conf-USB-Audio-Add-C-Media-USB-Headphone-Set-to-the-.patch
+- Drop obsoleted patches:
+  0001-ucm-Use-strncmp-to-avoid-access-out-of-boundary.patch
+  0002-ucm-return-always-at-least-NULL-if-no-list-is-availa.patch
+  0003-ucm-add-_identifiers-list.patch
+  0004-namehint-correct-the-args-check.patch
+  0005-namehint-improve-the-previous-patch-check-the-return.patch
+  0006-ucm-docs-allow-spaces-in-device-names-for-JackHWMute.patch
+  0007-use-case-docs-add-PlaybackMixerCopy-and-CaptureMixer.patch
+  0008-ucm-docs-add-JackCTL-rearrange-JackControl-and-JackD.patch
+  0009-ucm-Do-not-fail-to-parse-configs-on-cards-with-an-em.patch
+  0010-src-ucm-main.c-fix-build-without-mixer.patch
+  0011-alsa.m4-another-try-to-fix-the-libatopology-detectio.patch
+  0012-ucm-docs-add-Mic-DigitalMic-and-multiple-devices-com.patch
+  0013-ucm-docs-remove-DigitalMic-it-does-not-have-sense.patch
+  0014-ucm-docs-change-the-Mic-description-to-simple-Microp.patch
+  0015-ucm-docs-add-note-about-the-sequences-and-device-spl.patch
+  0016-ucm-docs-remove-MixerCopy-values-add-Priority-for-ve.patch
+  0017-ucm-setup-conf_format-after-getting-ALSA_CONFIG_UCM_.patch
+  0018-alsa-lib-fix-the-array-parser-unique-compound-keys.patch
+  0019-topology-remove-vendor_fd-name-from-snd_tplg-structu.patch
+  0020-topology-file-position-and-size-cleanups.patch
+  0021-topology-use-an-array-describing-blocks-for-the-main.patch
+  0022-topology-use-size_t-for-calc_block_size.patch
+  0023-topology-merge-write_block-to-tplg_write_data.patch
+  0024-topology-make-vebose-output-more-nice.patch
+  0025-topology-use-list_insert-macro-in-tplg_elem_insert.patch
+  0026-topology-dapm-coding-fixes.patch
+  0027-topology-dapm-merge-identical-index-blocks-like-for-.patch
+  0028-topology-more-coding-fixes.patch
+  0029-Fix-alsa-sound-.h-for-external-programs.patch
+  0030-type_compat-Add-missing-__s64-and-__u64-definitions-.patch
+  0031-uapi-Move-typedefs-from-uapi-to-sound.patch
+  0032-Update-the-attributes.m4-macro-file-from-xine.patch
+  0033-topology-avoid-to-use-the-atoi-directly-when-expecte.patch
+  0034-topology-use-snd_config_get_bool-instead-own-impleme.patch
+  0035-topology-fix-tplg_get_integer-handle-errno-ERANGE.patch
+  0036-topology-add-tplg_get_unsigned-function.patch
+  0037-topology-convert-builder-to-use-the-mallocated-memor.patch
+  0038-topology-add-binary-output-from-the-builder.patch
+  0039-topology-parser-recode-tplg_parse_config.patch
+  0040-topology-add-snd_tplg_load-remove-snd_tplg_build_bin.patch
+  0041-topology-move-the-topology-element-table-from-builde.patch
+  0042-topology-add-parser-to-the-tplg_table.patch
+  0043-topology-add-snd_tplg_save.patch
+  0044-topology-add-snd_tplg_create-with-flags.patch
+  0045-topology-add-snd_tplg_version-function.patch
+  0046-topology-cleanup-the-SNDERR-calls.patch
+  0047-topology-dapm-fix-the-SNDERR-Undefined.patch
+  0048-topology-fix-the-unitialized-tuples.patch
+  0049-topology-implement-shorter-hexa-uuid-00-00-parser.patch
+  0050-topology-fix-the-TPLG_DEBUG-compilation.patch
+  0051-topology-fix-the-ops-parser-accept-integer-hexa-valu.patch
+  0052-topology-fix-the-wrong-memory-access-object-realloc.patch
+  0053-topology-implement-snd_tplg_decode.patch
+  0054-topology-move-the-elem-list-delete-to-tplg_elem_free.patch
+  0055-topology-unify-the-log-mechanism.patch
+  0056-topology-tplg_dbg-cleanups.patch
+  0057-topology-cosmetic-changes-functions.patch
+  0058-mixer-Fix-memory-leak-for-more-than-16-file-descript.patch
+  0059-Quote-strings-containing-or-when-saving-an-alsa-conf.patch
+  0060-ucm-fix-the-configuration-directory-longname-for-ucm.patch
+  0061-ucm-split-conf_file_name-and-conf_dir_name.patch
+  0062-ucm-remove-MAX_FILE-definition-and-use-correct-PATH_.patch
+  0063-topology-remove-MAX_FILE-definition-and-use-correct-.patch
+  

commit alsa for openSUSE:Factory

2020-02-21 Thread root
Hello community,

here is the log from the commit of package alsa for openSUSE:Factory checked in 
at 2020-02-21 16:40:24

Comparing /work/SRC/openSUSE:Factory/alsa (Old)
 and  /work/SRC/openSUSE:Factory/.alsa.new.26092 (New)


Package is "alsa"

Fri Feb 21 16:40:24 2020 rev:197 rq:774843 version:1.2.1.2

Changes:

--- /work/SRC/openSUSE:Factory/alsa/alsa.changes2020-01-24 
13:08:14.125362534 +0100
+++ /work/SRC/openSUSE:Factory/.alsa.new.26092/alsa.changes 2020-02-21 
16:40:55.229860711 +0100
@@ -1,0 +2,18 @@
+Wed Feb 12 20:36:56 CET 2020 - ti...@suse.de
+
+- Backport upstream fixes:
+  ucm-parser fixes and enhancements, configure script cleanup,
+  fixes of 5.6 kernel ABI, O_CLOEXEC flag fix:
+  0064-ucm-parser-cosmetic-fixes-in-the-comments.patch
+  0065-configure.ac-remove-an-unnecessary-libtool-fix.patch
+  0066-ucm-parser-use-correct-filename-in-parser_master_fil.patch
+  0067-ucm-the-ucm2-subdirectory-is-driver-name-based.patch
+  0068-ucm-implement-RenameDevice-and-RemoveDevice-verb-man.patch
+  0069-ucm-fill-missing-device-entries-conflicting-supporte.patch
+  0070-control-Remove-access-to-the-deprecated-dimen-fields.patch
+  0071-topology-Drop-SNDRV_CTL_ELEM_ACCESS_TIMESTAMP-access.patch
+  0072-uapi-Sync-with-5.6-kernel-ABI.patch
+  0073-ucm-parser-add-error-message-to-verb_dev_list_add.patch
+  0074-do-not-set-close-on-exec-flag-on-descriptor-if-it-wa.patch
+
+---

New:

  0064-ucm-parser-cosmetic-fixes-in-the-comments.patch
  0065-configure.ac-remove-an-unnecessary-libtool-fix.patch
  0066-ucm-parser-use-correct-filename-in-parser_master_fil.patch
  0067-ucm-the-ucm2-subdirectory-is-driver-name-based.patch
  0068-ucm-implement-RenameDevice-and-RemoveDevice-verb-man.patch
  0069-ucm-fill-missing-device-entries-conflicting-supporte.patch
  0070-control-Remove-access-to-the-deprecated-dimen-fields.patch
  0071-topology-Drop-SNDRV_CTL_ELEM_ACCESS_TIMESTAMP-access.patch
  0072-uapi-Sync-with-5.6-kernel-ABI.patch
  0073-ucm-parser-add-error-message-to-verb_dev_list_add.patch
  0074-do-not-set-close-on-exec-flag-on-descriptor-if-it-wa.patch



Other differences:
--
++ alsa.spec ++
--- /var/tmp/diff_new_pack.P399Up/_old  2020-02-21 16:40:59.025868296 +0100
+++ /var/tmp/diff_new_pack.P399Up/_new  2020-02-21 16:40:59.029868304 +0100
@@ -111,6 +111,17 @@
 Patch61:0061-ucm-split-conf_file_name-and-conf_dir_name.patch
 Patch62:0062-ucm-remove-MAX_FILE-definition-and-use-correct-PATH_.patch
 Patch63:0063-topology-remove-MAX_FILE-definition-and-use-correct-.patch
+Patch64:0064-ucm-parser-cosmetic-fixes-in-the-comments.patch
+Patch65:0065-configure.ac-remove-an-unnecessary-libtool-fix.patch
+Patch66:0066-ucm-parser-use-correct-filename-in-parser_master_fil.patch
+Patch67:0067-ucm-the-ucm2-subdirectory-is-driver-name-based.patch
+Patch68:0068-ucm-implement-RenameDevice-and-RemoveDevice-verb-man.patch
+Patch69:0069-ucm-fill-missing-device-entries-conflicting-supporte.patch
+Patch70:0070-control-Remove-access-to-the-deprecated-dimen-fields.patch
+Patch71:0071-topology-Drop-SNDRV_CTL_ELEM_ACCESS_TIMESTAMP-access.patch
+Patch72:0072-uapi-Sync-with-5.6-kernel-ABI.patch
+Patch73:0073-ucm-parser-add-error-message-to-verb_dev_list_add.patch
+Patch74:0074-do-not-set-close-on-exec-flag-on-descriptor-if-it-wa.patch
 # rest suse fixes
 Patch101:   alsa-lib-ignore-non-accessible-ALSA_CONFIG_PATH.patch
 BuildRequires:  doxygen
@@ -258,6 +269,17 @@
 %patch61 -p1
 %patch62 -p1
 %patch63 -p1
+%patch64 -p1
+%patch65 -p1
+%patch66 -p1
+%patch67 -p1
+%patch68 -p1
+%patch69 -p1
+%patch70 -p1
+%patch71 -p1
+%patch72 -p1
+%patch73 -p1
+%patch74 -p1
 %patch101 -p1
 
 %build

++ 0064-ucm-parser-cosmetic-fixes-in-the-comments.patch ++
>From 7d3fec6ac68de0244621ae0aca7474d159336639 Mon Sep 17 00:00:00 2001
From: Jaroslav Kysela 
Date: Fri, 17 Jan 2020 18:21:08 +0100
Subject: [PATCH 64/74] ucm: parser - cosmetic fixes in the comments

Signed-off-by: Jaroslav Kysela 
---
 src/ucm/parser.c | 63 
 1 file changed, 31 insertions(+), 32 deletions(-)

diff --git a/src/ucm/parser.c b/src/ucm/parser.c
index 6c13fafdabbf..6c5d29026e5e 100644
--- a/src/ucm/parser.c
+++ b/src/ucm/parser.c
@@ -676,42 +676,41 @@ static int parse_value(snd_use_case_mgr_t *uc_mgr 
ATTRIBUTE_UNUSED,
 /*
  * Parse Modifier Use cases
  *
- * # Each modifier is described in new section. N modifiers are allowed
- * SectionModifier."Capture Voice" {
+ * # Each modifier is described in new section. N modifiers are allowed
+ * SectionModifier."Capture Voice" {
  *
- 

commit alsa for openSUSE:Factory

2020-01-24 Thread root
Hello community,

here is the log from the commit of package alsa for openSUSE:Factory checked in 
at 2020-01-24 13:05:33

Comparing /work/SRC/openSUSE:Factory/alsa (Old)
 and  /work/SRC/openSUSE:Factory/.alsa.new.26092 (New)


Package is "alsa"

Fri Jan 24 13:05:33 2020 rev:196 rq:766334 version:1.2.1.2

Changes:

--- /work/SRC/openSUSE:Factory/alsa/alsa.changes2020-01-02 
14:40:18.252887202 +0100
+++ /work/SRC/openSUSE:Factory/.alsa.new.26092/alsa.changes 2020-01-24 
13:08:14.125362534 +0100
@@ -1,0 +2,40 @@
+Tue Jan 21 15:49:49 CET 2020 - ti...@suse.de
+
+- Backport upstream fixes:
+  more topology fixes, a memory leak fix in mixer API, alsactl
+  string handling fix, UCM config fixes:
+  0032-Update-the-attributes.m4-macro-file-from-xine.patch
+  0033-topology-avoid-to-use-the-atoi-directly-when-expecte.patch
+  0034-topology-use-snd_config_get_bool-instead-own-impleme.patch
+  0035-topology-fix-tplg_get_integer-handle-errno-ERANGE.patch
+  0036-topology-add-tplg_get_unsigned-function.patch
+  0037-topology-convert-builder-to-use-the-mallocated-memor.patch
+  0038-topology-add-binary-output-from-the-builder.patch
+  0039-topology-parser-recode-tplg_parse_config.patch
+  0040-topology-add-snd_tplg_load-remove-snd_tplg_build_bin.patch
+  0041-topology-move-the-topology-element-table-from-builde.patch
+  0042-topology-add-parser-to-the-tplg_table.patch
+  0043-topology-add-snd_tplg_save.patch
+  0044-topology-add-snd_tplg_create-with-flags.patch
+  0045-topology-add-snd_tplg_version-function.patch
+  0046-topology-cleanup-the-SNDERR-calls.patch
+  0047-topology-dapm-fix-the-SNDERR-Undefined.patch
+  0048-topology-fix-the-unitialized-tuples.patch
+  0049-topology-implement-shorter-hexa-uuid-00-00-parser.patch
+  0050-topology-fix-the-TPLG_DEBUG-compilation.patch
+  0051-topology-fix-the-ops-parser-accept-integer-hexa-valu.patch
+  0052-topology-fix-the-wrong-memory-access-object-realloc.patch
+  0053-topology-implement-snd_tplg_decode.patch
+  0054-topology-move-the-elem-list-delete-to-tplg_elem_free.patch
+  0055-topology-unify-the-log-mechanism.patch
+  0056-topology-tplg_dbg-cleanups.patch
+  0057-topology-cosmetic-changes-functions.patch
+  0058-mixer-Fix-memory-leak-for-more-than-16-file-descript.patch
+  0059-Quote-strings-containing-or-when-saving-an-alsa-conf.patch
+  0060-ucm-fix-the-configuration-directory-longname-for-ucm.patch
+  0061-ucm-split-conf_file_name-and-conf_dir_name.patch
+  0062-ucm-remove-MAX_FILE-definition-and-use-correct-PATH_.patch
+  0063-topology-remove-MAX_FILE-definition-and-use-correct-.patch
+- Remove INSTALL document, add NOTES instead
+
+---

New:

  0032-Update-the-attributes.m4-macro-file-from-xine.patch
  0033-topology-avoid-to-use-the-atoi-directly-when-expecte.patch
  0034-topology-use-snd_config_get_bool-instead-own-impleme.patch
  0035-topology-fix-tplg_get_integer-handle-errno-ERANGE.patch
  0036-topology-add-tplg_get_unsigned-function.patch
  0037-topology-convert-builder-to-use-the-mallocated-memor.patch
  0038-topology-add-binary-output-from-the-builder.patch
  0039-topology-parser-recode-tplg_parse_config.patch
  0040-topology-add-snd_tplg_load-remove-snd_tplg_build_bin.patch
  0041-topology-move-the-topology-element-table-from-builde.patch
  0042-topology-add-parser-to-the-tplg_table.patch
  0043-topology-add-snd_tplg_save.patch
  0044-topology-add-snd_tplg_create-with-flags.patch
  0045-topology-add-snd_tplg_version-function.patch
  0046-topology-cleanup-the-SNDERR-calls.patch
  0047-topology-dapm-fix-the-SNDERR-Undefined.patch
  0048-topology-fix-the-unitialized-tuples.patch
  0049-topology-implement-shorter-hexa-uuid-00-00-parser.patch
  0050-topology-fix-the-TPLG_DEBUG-compilation.patch
  0051-topology-fix-the-ops-parser-accept-integer-hexa-valu.patch
  0052-topology-fix-the-wrong-memory-access-object-realloc.patch
  0053-topology-implement-snd_tplg_decode.patch
  0054-topology-move-the-elem-list-delete-to-tplg_elem_free.patch
  0055-topology-unify-the-log-mechanism.patch
  0056-topology-tplg_dbg-cleanups.patch
  0057-topology-cosmetic-changes-functions.patch
  0058-mixer-Fix-memory-leak-for-more-than-16-file-descript.patch
  0059-Quote-strings-containing-or-when-saving-an-alsa-conf.patch
  0060-ucm-fix-the-configuration-directory-longname-for-ucm.patch
  0061-ucm-split-conf_file_name-and-conf_dir_name.patch
  0062-ucm-remove-MAX_FILE-definition-and-use-correct-PATH_.patch
  0063-topology-remove-MAX_FILE-definition-and-use-correct-.patch



Other differences:
--
++ alsa.spec ++
--- /var/tmp/diff_new_pack.Gim5RP/_old  2020-01-24 13:08:17.037363704 +0100
+++ /var/tmp/diff_new_pack.Gim5RP/_new  2020-01-24 13:08:17.037363704 +0100

commit alsa for openSUSE:Factory

2020-01-02 Thread root
Hello community,

here is the log from the commit of package alsa for openSUSE:Factory checked in 
at 2020-01-02 14:40:05

Comparing /work/SRC/openSUSE:Factory/alsa (Old)
 and  /work/SRC/openSUSE:Factory/.alsa.new.6675 (New)


Package is "alsa"

Thu Jan  2 14:40:05 2020 rev:195 rq:758568 version:1.2.1.2

Changes:

--- /work/SRC/openSUSE:Factory/alsa/alsa.changes2019-12-02 
11:34:46.954462026 +0100
+++ /work/SRC/openSUSE:Factory/.alsa.new.6675/alsa.changes  2020-01-02 
14:40:18.252887202 +0100
@@ -1,0 +2,45 @@
+Fri Dec 20 16:54:25 CET 2019 - ti...@suse.de
+
+- Upstream fixes, including the alsa-tools build breakage:
+  0001-ucm-Use-strncmp-to-avoid-access-out-of-boundary.patch
+  0002-ucm-return-always-at-least-NULL-if-no-list-is-availa.patch
+  0003-ucm-add-_identifiers-list.patch
+  0004-namehint-correct-the-args-check.patch
+  0005-namehint-improve-the-previous-patch-check-the-return.patch
+  0006-ucm-docs-allow-spaces-in-device-names-for-JackHWMute.patch
+  0007-use-case-docs-add-PlaybackMixerCopy-and-CaptureMixer.patch
+  0008-ucm-docs-add-JackCTL-rearrange-JackControl-and-JackD.patch
+  0009-ucm-Do-not-fail-to-parse-configs-on-cards-with-an-em.patch
+  0010-src-ucm-main.c-fix-build-without-mixer.patch
+  0011-alsa.m4-another-try-to-fix-the-libatopology-detectio.patch
+  0012-ucm-docs-add-Mic-DigitalMic-and-multiple-devices-com.patch
+  0013-ucm-docs-remove-DigitalMic-it-does-not-have-sense.patch
+  0014-ucm-docs-change-the-Mic-description-to-simple-Microp.patch
+  0015-ucm-docs-add-note-about-the-sequences-and-device-spl.patch
+  0016-ucm-docs-remove-MixerCopy-values-add-Priority-for-ve.patch
+  0017-ucm-setup-conf_format-after-getting-ALSA_CONFIG_UCM_.patch
+  0018-alsa-lib-fix-the-array-parser-unique-compound-keys.patch
+  0019-topology-remove-vendor_fd-name-from-snd_tplg-structu.patch
+  0020-topology-file-position-and-size-cleanups.patch
+  0021-topology-use-an-array-describing-blocks-for-the-main.patch
+  0022-topology-use-size_t-for-calc_block_size.patch
+  0023-topology-merge-write_block-to-tplg_write_data.patch
+  0024-topology-make-vebose-output-more-nice.patch
+  0025-topology-use-list_insert-macro-in-tplg_elem_insert.patch
+  0026-topology-dapm-coding-fixes.patch
+  0027-topology-dapm-merge-identical-index-blocks-like-for-.patch
+  0028-topology-more-coding-fixes.patch
+  0029-Fix-alsa-sound-.h-for-external-programs.patch
+  0030-type_compat-Add-missing-__s64-and-__u64-definitions-.patch
+  0031-uapi-Move-typedefs-from-uapi-to-sound.patch
+
+---
+Fri Nov 29 20:41:29 CET 2019 - ti...@suse.de
+
+- Update to alsa-lib 1.2.1.2:
+  More UCM and UCMv2 fixes / enhancements, details are found in
+https://www.alsa-project.org/wiki/Changes_v1.2.1.1_v1.2.1.2
+- Obsoleted patch:
+  0001-alsa.m4-Fix-the-detection-of-topology-library-availa.patch 
+
+---

Old:

  0001-alsa.m4-Fix-the-detection-of-topology-library-availa.patch
  alsa-lib-1.2.1.1.tar.bz2

New:

  0001-ucm-Use-strncmp-to-avoid-access-out-of-boundary.patch
  0002-ucm-return-always-at-least-NULL-if-no-list-is-availa.patch
  0003-ucm-add-_identifiers-list.patch
  0004-namehint-correct-the-args-check.patch
  0005-namehint-improve-the-previous-patch-check-the-return.patch
  0006-ucm-docs-allow-spaces-in-device-names-for-JackHWMute.patch
  0007-use-case-docs-add-PlaybackMixerCopy-and-CaptureMixer.patch
  0008-ucm-docs-add-JackCTL-rearrange-JackControl-and-JackD.patch
  0009-ucm-Do-not-fail-to-parse-configs-on-cards-with-an-em.patch
  0010-src-ucm-main.c-fix-build-without-mixer.patch
  0011-alsa.m4-another-try-to-fix-the-libatopology-detectio.patch
  0012-ucm-docs-add-Mic-DigitalMic-and-multiple-devices-com.patch
  0013-ucm-docs-remove-DigitalMic-it-does-not-have-sense.patch
  0014-ucm-docs-change-the-Mic-description-to-simple-Microp.patch
  0015-ucm-docs-add-note-about-the-sequences-and-device-spl.patch
  0016-ucm-docs-remove-MixerCopy-values-add-Priority-for-ve.patch
  0017-ucm-setup-conf_format-after-getting-ALSA_CONFIG_UCM_.patch
  0018-alsa-lib-fix-the-array-parser-unique-compound-keys.patch
  0019-topology-remove-vendor_fd-name-from-snd_tplg-structu.patch
  0020-topology-file-position-and-size-cleanups.patch
  0021-topology-use-an-array-describing-blocks-for-the-main.patch
  0022-topology-use-size_t-for-calc_block_size.patch
  0023-topology-merge-write_block-to-tplg_write_data.patch
  0024-topology-make-vebose-output-more-nice.patch
  0025-topology-use-list_insert-macro-in-tplg_elem_insert.patch
  0026-topology-dapm-coding-fixes.patch
  0027-topology-dapm-merge-identical-index-blocks-like-for-.patch
  0028-topology-more-coding-fixes.patch
  0029-Fix-alsa-sound-.h-for-external-programs.patch
  

commit alsa for openSUSE:Factory

2019-12-02 Thread root
Hello community,

here is the log from the commit of package alsa for openSUSE:Factory checked in 
at 2019-12-02 11:30:38

Comparing /work/SRC/openSUSE:Factory/alsa (Old)
 and  /work/SRC/openSUSE:Factory/.alsa.new.4691 (New)


Package is "alsa"

Mon Dec  2 11:30:38 2019 rev:194 rq:751231 version:1.2.1.1

Changes:

--- /work/SRC/openSUSE:Factory/alsa/alsa.changes2019-09-11 
10:22:45.647493137 +0200
+++ /work/SRC/openSUSE:Factory/.alsa.new.4691/alsa.changes  2019-12-02 
11:34:46.954462026 +0100
@@ -1,0 +2,55 @@
+Wed Nov 27 10:21:23 CET 2019 - ti...@suse.de
+
+- Fix the detection of topology library in alsa.m4:
+  0001-alsa.m4-Fix-the-detection-of-topology-library-availa.patch
+
+---
+Tue Nov 19 16:44:43 CET 2019 - ti...@suse.de
+
+- Update to alsa-lib 1.2.1.1:
+  * Minor fixes spotted by coverity
+  * Fixes for UCM parser regressions
+
+---
+Fri Nov 15 17:26:23 CET 2019 - ti...@suse.de
+
+- Update to alsa-lib 1.2.1: including previous fixes
+  for the detailed changes, see the following:
+https://www.alsa-project.org/wiki/Changes_v1.1.9_v1.2.1
+
+  The topology-related code is split into subpackages,
+  libatopology2 and alsa-topology-devel.  The topology config is
+  also moved into another package, alsa-topology-conf, which is
+  required by alsa-topology-devel package.
+
+  Also, the UCM profiles are moved into an individual package,
+  alsa-ucm-conf, too, which is now required by alsa package.
+
+- Drop obsoleted upstream patches:
+  0001-pcm-direct-Add-generic-hw_ptr_alignment-function-for.patch
+  0002-pcm-dshare-Added-hw_ptr_alignment-option-in-configur.patch
+  0003-pcm-dsnoop-Added-hw_ptr_alignment-option-in-configur.patch
+  0004-pcm-file-add-support-for-infile-reading-in-non-inter.patch
+  0005-pcm-file-use-snd_pcm_file_areas_read_infile-for-read.patch
+  0006-pcm-file-add-missing-unlock-on-early-return.patch
+  0007-ucm-Add-UCM-profile-for-CX2072X-codec-on-Baytrail-Ch.patch
+  0008-pcm-add-mmap_begin-callback-to-snd_pcm_fast_ops_t-ap.patch
+  0009-pcm-file-add-infile-read-support-for-mmap-mode.patch
+  0010-aserver-fix-resource-leak-coverity.patch
+  0011-src-conf.c-add-missing-va_end-call-coverity.patch
+  0012-config-parse_string-fix-the-dynamic-buffer-allocatio.patch
+  0013-control_shm-remove-duplicate-code-coverity.patch
+  0014-control_shm-add-missing-socket-close-to-the-error-pa.patch
+  0015-pcm-fix-memory-leak-in-_snd_pcm_parse_config_chmaps-.patch
+  0016-pcm_file-call-pclose-correctly-for-popen-coverity.patch
+  0017-pcm_hw-close-file-descriptor-in-the-error-path-in-sn.patch
+  0018-rawmidi-use-snd_dlobj_cache_get2-in-rawmidi-open-cov.patch
+  0019-rawmidi_hw-add-sanity-check-for-the-invalid-stream-a.patch
+  0020-topology-various-coverity-fixes.patch
+  0021-ucm-coverity-fixes.patch
+  0022-pcm_file-coverity-fixes-including-double-locking.patch
+  0023-topology-next-round-of-coverity-fixes.patch
+  0024-pcm_file-another-locking-fix-coverity.patch
+  0025-ucm-another-coverity-fix-in-uc_mgr_config_load.patch
+
+---

Old:

  0001-pcm-direct-Add-generic-hw_ptr_alignment-function-for.patch
  0002-pcm-dshare-Added-hw_ptr_alignment-option-in-configur.patch
  0003-pcm-dsnoop-Added-hw_ptr_alignment-option-in-configur.patch
  0004-pcm-file-add-support-for-infile-reading-in-non-inter.patch
  0005-pcm-file-use-snd_pcm_file_areas_read_infile-for-read.patch
  0006-pcm-file-add-missing-unlock-on-early-return.patch
  0007-ucm-Add-UCM-profile-for-CX2072X-codec-on-Baytrail-Ch.patch
  0008-pcm-add-mmap_begin-callback-to-snd_pcm_fast_ops_t-ap.patch
  0009-pcm-file-add-infile-read-support-for-mmap-mode.patch
  0010-aserver-fix-resource-leak-coverity.patch
  0011-src-conf.c-add-missing-va_end-call-coverity.patch
  0012-config-parse_string-fix-the-dynamic-buffer-allocatio.patch
  0013-control_shm-remove-duplicate-code-coverity.patch
  0014-control_shm-add-missing-socket-close-to-the-error-pa.patch
  0015-pcm-fix-memory-leak-in-_snd_pcm_parse_config_chmaps-.patch
  0016-pcm_file-call-pclose-correctly-for-popen-coverity.patch
  0017-pcm_hw-close-file-descriptor-in-the-error-path-in-sn.patch
  0018-rawmidi-use-snd_dlobj_cache_get2-in-rawmidi-open-cov.patch
  0019-rawmidi_hw-add-sanity-check-for-the-invalid-stream-a.patch
  0020-topology-various-coverity-fixes.patch
  0021-ucm-coverity-fixes.patch
  0022-pcm_file-coverity-fixes-including-double-locking.patch
  0023-topology-next-round-of-coverity-fixes.patch
  0024-pcm_file-another-locking-fix-coverity.patch
  0025-ucm-another-coverity-fix-in-uc_mgr_config_load.patch
  alsa-lib-1.1.9.tar.bz2

New:

  0001-alsa.m4-Fix-the-detection-of-topology-library-availa.patch
  alsa-lib-1.2.1.1.tar.bz2


commit alsa for openSUSE:Factory

2019-09-11 Thread root
Hello community,

here is the log from the commit of package alsa for openSUSE:Factory checked in 
at 2019-09-11 10:22:43

Comparing /work/SRC/openSUSE:Factory/alsa (Old)
 and  /work/SRC/openSUSE:Factory/.alsa.new.7948 (New)


Package is "alsa"

Wed Sep 11 10:22:43 2019 rev:193 rq:728556 version:1.1.9

Changes:

--- /work/SRC/openSUSE:Factory/alsa/alsa.changes2019-06-12 
13:02:00.533291204 +0200
+++ /work/SRC/openSUSE:Factory/.alsa.new.7948/alsa.changes  2019-09-11 
10:22:45.647493137 +0200
@@ -1,0 +2,7 @@
+Thu Sep  5 16:41:17 CEST 2019 - ti...@suse.de
+
+- Disable LTO completely (boo#1149612);
+  the versioned symbols in alsa-lib doesn't seem work properly on
+  some apps
+
+---



Other differences:
--
++ alsa.spec ++
--- /var/tmp/diff_new_pack.bytlI5/_old  2019-09-11 10:22:46.635493015 +0200
+++ /var/tmp/diff_new_pack.bytlI5/_new  2019-09-11 10:22:46.635493015 +0200
@@ -165,8 +165,8 @@
 %patch101 -p1
 
 %build
-# need the extra option for some workround (bsc#1133086)
-%global _lto_cflags %{_lto_cflags} -flto-partition=none
+# disable LTO; otherwise some apps confused with versioned symbols 
(boo#1149461)
+%define _lto_cflags %{nil}
 export AUTOMAKE_JOBS="%{?_smp_mflags}"
 # build alsa-lib
 autoreconf -fi







commit alsa for openSUSE:Factory

2019-06-12 Thread root
Hello community,

here is the log from the commit of package alsa for openSUSE:Factory checked in 
at 2019-06-12 13:01:56

Comparing /work/SRC/openSUSE:Factory/alsa (Old)
 and  /work/SRC/openSUSE:Factory/.alsa.new.4811 (New)


Package is "alsa"

Wed Jun 12 13:01:56 2019 rev:192 rq:706124 version:1.1.9

Changes:

--- /work/SRC/openSUSE:Factory/alsa/alsa.changes2019-05-14 
13:13:14.916777650 +0200
+++ /work/SRC/openSUSE:Factory/.alsa.new.4811/alsa.changes  2019-06-12 
13:02:00.533291204 +0200
@@ -1,0 +2,37 @@
+Tue May 28 12:32:16 CEST 2019 - ti...@suse.de
+
+- Remove hackish modprobe install scripts for auto-loading OSS and
+  sequencer modules (bsc#1136562);
+  it's invoked from systemd unit file included in alsa-utils now
+
+- Backport upstream fixes:
+  0001-pcm-direct-Add-generic-hw_ptr_alignment-function-for.patch
+  0002-pcm-dshare-Added-hw_ptr_alignment-option-in-configur.patch
+  0003-pcm-dsnoop-Added-hw_ptr_alignment-option-in-configur.patch
+  0004-pcm-file-add-support-for-infile-reading-in-non-inter.patch
+  0005-pcm-file-use-snd_pcm_file_areas_read_infile-for-read.patch
+  0006-pcm-file-add-missing-unlock-on-early-return.patch
+  0007-ucm-Add-UCM-profile-for-CX2072X-codec-on-Baytrail-Ch.patch
+  0008-pcm-add-mmap_begin-callback-to-snd_pcm_fast_ops_t-ap.patch
+  0009-pcm-file-add-infile-read-support-for-mmap-mode.patch
+  0010-aserver-fix-resource-leak-coverity.patch
+  0011-src-conf.c-add-missing-va_end-call-coverity.patch
+  0012-config-parse_string-fix-the-dynamic-buffer-allocatio.patch
+  0013-control_shm-remove-duplicate-code-coverity.patch
+  0014-control_shm-add-missing-socket-close-to-the-error-pa.patch
+  0015-pcm-fix-memory-leak-in-_snd_pcm_parse_config_chmaps-.patch
+  0016-pcm_file-call-pclose-correctly-for-popen-coverity.patch
+  0017-pcm_hw-close-file-descriptor-in-the-error-path-in-sn.patch
+  0018-rawmidi-use-snd_dlobj_cache_get2-in-rawmidi-open-cov.patch
+  0019-rawmidi_hw-add-sanity-check-for-the-invalid-stream-a.patch
+  0020-topology-various-coverity-fixes.patch
+  0021-ucm-coverity-fixes.patch
+  0022-pcm_file-coverity-fixes-including-double-locking.patch
+  0023-topology-next-round-of-coverity-fixes.patch
+  0024-pcm_file-another-locking-fix-coverity.patch
+  0025-ucm-another-coverity-fix-in-uc_mgr_config_load.patch
+
+- Drop the downstream CX2072X UCM profile, which is replaced with
+  upstream patches above
+
+---

Old:

  50-alsa.conf
  chtcx2072x-HiFi.conf
  chtcx2072x.conf
  install-snd-module

New:

  0001-pcm-direct-Add-generic-hw_ptr_alignment-function-for.patch
  0002-pcm-dshare-Added-hw_ptr_alignment-option-in-configur.patch
  0003-pcm-dsnoop-Added-hw_ptr_alignment-option-in-configur.patch
  0004-pcm-file-add-support-for-infile-reading-in-non-inter.patch
  0005-pcm-file-use-snd_pcm_file_areas_read_infile-for-read.patch
  0006-pcm-file-add-missing-unlock-on-early-return.patch
  0007-ucm-Add-UCM-profile-for-CX2072X-codec-on-Baytrail-Ch.patch
  0008-pcm-add-mmap_begin-callback-to-snd_pcm_fast_ops_t-ap.patch
  0009-pcm-file-add-infile-read-support-for-mmap-mode.patch
  0010-aserver-fix-resource-leak-coverity.patch
  0011-src-conf.c-add-missing-va_end-call-coverity.patch
  0012-config-parse_string-fix-the-dynamic-buffer-allocatio.patch
  0013-control_shm-remove-duplicate-code-coverity.patch
  0014-control_shm-add-missing-socket-close-to-the-error-pa.patch
  0015-pcm-fix-memory-leak-in-_snd_pcm_parse_config_chmaps-.patch
  0016-pcm_file-call-pclose-correctly-for-popen-coverity.patch
  0017-pcm_hw-close-file-descriptor-in-the-error-path-in-sn.patch
  0018-rawmidi-use-snd_dlobj_cache_get2-in-rawmidi-open-cov.patch
  0019-rawmidi_hw-add-sanity-check-for-the-invalid-stream-a.patch
  0020-topology-various-coverity-fixes.patch
  0021-ucm-coverity-fixes.patch
  0022-pcm_file-coverity-fixes-including-double-locking.patch
  0023-topology-next-round-of-coverity-fixes.patch
  0024-pcm_file-another-locking-fix-coverity.patch
  0025-ucm-another-coverity-fix-in-uc_mgr_config_load.patch



Other differences:
--
++ alsa.spec ++
--- /var/tmp/diff_new_pack.m2wx3g/_old  2019-06-12 13:02:01.317291030 +0200
+++ /var/tmp/diff_new_pack.m2wx3g/_new  2019-06-12 13:02:01.321291029 +0200
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -47,13 +47,34 @@
 Source31:   all_notes_off.bin
 Source32:   all_notes_off.mid
 Source34:   alsa-init.sh
-Source40:   50-alsa.conf
-Source41:   install-snd-module
 # upstream fixes
+Patch1: 

commit alsa for openSUSE:Factory

2019-05-14 Thread root
Hello community,

here is the log from the commit of package alsa for openSUSE:Factory checked in 
at 2019-05-14 13:13:13

Comparing /work/SRC/openSUSE:Factory/alsa (Old)
 and  /work/SRC/openSUSE:Factory/.alsa.new.5148 (New)


Package is "alsa"

Tue May 14 13:13:13 2019 rev:191 rq:701995 version:1.1.9

Changes:

--- /work/SRC/openSUSE:Factory/alsa/alsa.changes2019-04-26 
22:43:30.597672363 +0200
+++ /work/SRC/openSUSE:Factory/.alsa.new.5148/alsa.changes  2019-05-14 
13:13:14.916777650 +0200
@@ -1,0 +2,26 @@
+Fri May 10 13:00:38 CEST 2019 - ti...@suse.de
+
+- Re-enable LTO (bsc#1133086);
+  we need to pass -flto-partition=none as a workaround
+
+---
+Fri May 10 11:42:23 CEST 2019 - ti...@suse.de
+
+- Update to version 1.1.9: including previous fixes
+  See https://www.alsa-project.org/wiki/Changes_v1.1.8_v1.1.9
+  for detailed changes
+- Dropped obsoleted patches:
+  0001-pcm-Preserve-period_event-in-snd_pcm_hw_sw_params-ca.patch
+  0004-ucm-Add-ucm-files-for-DB820c-board.patch
+  0005-ucm-bytcr-PlatformEnableSeq.conf-update-some-comment.patch
+  0006-pcm-dshare-Fix-overflow-when-slave_hw_ptr-rolls-over.patch
+  0007-test-latency-use-frame-bytes-correctly-in-writebuf.patch
+  0008-conf-pcm-dmix-add-CHANNELS-argument.patch
+  0009-Android-avoid-using-versionsort.patch
+  0010-pcm-add-the-missing-strings.h-include.patch
+  0011-alisp-add-the-missing-include.patch
+  0012-add-snd_strlcpy-and-use-it-everywhere.patch
+  0013-pcm-rate-plugin-fix-signess-in-snd_pcm_rate_avail_up.patch
+  0014-Drop-I-includedir-alsa-from-alsa.pc.patch
+
+---

Old:

  0001-pcm-Preserve-period_event-in-snd_pcm_hw_sw_params-ca.patch
  0004-ucm-Add-ucm-files-for-DB820c-board.patch
  0005-ucm-bytcr-PlatformEnableSeq.conf-update-some-comment.patch
  0006-pcm-dshare-Fix-overflow-when-slave_hw_ptr-rolls-over.patch
  0007-test-latency-use-frame-bytes-correctly-in-writebuf.patch
  0008-conf-pcm-dmix-add-CHANNELS-argument.patch
  0009-Android-avoid-using-versionsort.patch
  0010-pcm-add-the-missing-strings.h-include.patch
  0011-alisp-add-the-missing-include.patch
  0012-add-snd_strlcpy-and-use-it-everywhere.patch
  0013-pcm-rate-plugin-fix-signess-in-snd_pcm_rate_avail_up.patch
  0014-Drop-I-includedir-alsa-from-alsa.pc.patch
  alsa-lib-1.1.8.tar.bz2

New:

  alsa-lib-1.1.9.tar.bz2



Other differences:
--
++ alsa.spec ++
--- /var/tmp/diff_new_pack.orp54b/_old  2019-05-14 13:13:15.848779990 +0200
+++ /var/tmp/diff_new_pack.orp54b/_new  2019-05-14 13:13:15.868780041 +0200
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via https://bugs.opensuse.org/
+# Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
 
@@ -24,8 +24,9 @@
 %if 0%{?suse_version} < 1200
 %define _udevrulesdir /lib/udev/rules.d/
 %endif
+
 Name:   alsa
-Version:1.1.8
+Version:1.1.9
 Release:0
 Summary:Advanced Linux Sound Architecture
 License:LGPL-2.1-or-later
@@ -49,18 +50,6 @@
 Source40:   50-alsa.conf
 Source41:   install-snd-module
 # upstream fixes
-Patch1: 0001-pcm-Preserve-period_event-in-snd_pcm_hw_sw_params-ca.patch
-Patch4: 0004-ucm-Add-ucm-files-for-DB820c-board.patch
-Patch5: 0005-ucm-bytcr-PlatformEnableSeq.conf-update-some-comment.patch
-Patch6: 0006-pcm-dshare-Fix-overflow-when-slave_hw_ptr-rolls-over.patch
-Patch7: 0007-test-latency-use-frame-bytes-correctly-in-writebuf.patch
-Patch8: 0008-conf-pcm-dmix-add-CHANNELS-argument.patch
-Patch9: 0009-Android-avoid-using-versionsort.patch
-Patch10:0010-pcm-add-the-missing-strings.h-include.patch
-Patch11:0011-alisp-add-the-missing-include.patch
-Patch12:0012-add-snd_strlcpy-and-use-it-everywhere.patch
-Patch13:0013-pcm-rate-plugin-fix-signess-in-snd_pcm_rate_avail_up.patch
-Patch14:0014-Drop-I-includedir-alsa-from-alsa.pc.patch
 # rest suse fixes
 Patch101:   alsa-lib-ignore-non-accessible-ALSA_CONFIG_PATH.patch
 Source101:  chtcx2072x.conf
@@ -127,22 +116,11 @@
 
 %prep
 %setup -q -n alsa-lib-%{version}
-%patch1 -p1
-%patch4 -p1
-%patch5 -p1
-%patch6 -p1
-%patch7 -p1
-%patch8 -p1
-%patch9 -p1
-%patch10 -p1
-%patch11 -p1
-%patch12 -p1
-%patch13 -p1
-%patch14 -p1
 %patch101 -p1
 
 %build
-%define _lto_cflags %{nil}
+# need the extra option for some workround (bsc#1133086)
+%global _lto_cflags %{_lto_cflags} -flto-partition=none
 export AUTOMAKE_JOBS="%{?_smp_mflags}"
 # build alsa-lib
 autoreconf -fi



++ 

commit alsa for openSUSE:Factory

2019-04-26 Thread root
Hello community,

here is the log from the commit of package alsa for openSUSE:Factory checked in 
at 2019-04-26 22:43:29

Comparing /work/SRC/openSUSE:Factory/alsa (Old)
 and  /work/SRC/openSUSE:Factory/.alsa.new.5536 (New)


Package is "alsa"

Fri Apr 26 22:43:29 2019 rev:190 rq:697439 version:1.1.8

Changes:

--- /work/SRC/openSUSE:Factory/alsa/alsa.changes2019-03-29 
20:32:55.838603132 +0100
+++ /work/SRC/openSUSE:Factory/.alsa.new.5536/alsa.changes  2019-04-26 
22:43:30.597672363 +0200
@@ -1,0 +2,10 @@
+Wed Apr 24 08:55:02 UTC 2019 - Martin Liška 
+
+- Move definition of _lto_cflags into %build.
+
+---
+Tue Apr 23 11:30:25 UTC 2019 - Martin Liška 
+
+- Disable LTO (boo#1133086).
+
+---



Other differences:
--
++ alsa.spec ++
--- /var/tmp/diff_new_pack.1iFPHV/_old  2019-04-26 22:43:31.365671970 +0200
+++ /var/tmp/diff_new_pack.1iFPHV/_new  2019-04-26 22:43:31.369671969 +0200
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -142,6 +142,7 @@
 %patch101 -p1
 
 %build
+%define _lto_cflags %{nil}
 export AUTOMAKE_JOBS="%{?_smp_mflags}"
 # build alsa-lib
 autoreconf -fi







commit alsa for openSUSE:Factory

2019-03-29 Thread root
Hello community,

here is the log from the commit of package alsa for openSUSE:Factory checked in 
at 2019-03-29 20:32:53

Comparing /work/SRC/openSUSE:Factory/alsa (Old)
 and  /work/SRC/openSUSE:Factory/.alsa.new.25356 (New)


Package is "alsa"

Fri Mar 29 20:32:53 2019 rev:189 rq:689242 version:1.1.8

Changes:

--- /work/SRC/openSUSE:Factory/alsa/alsa.changes2019-03-25 
09:47:17.580013700 +0100
+++ /work/SRC/openSUSE:Factory/.alsa.new.25356/alsa.changes 2019-03-29 
20:32:55.838603132 +0100
@@ -1,0 +2,19 @@
+Thu Mar 28 07:53:14 CET 2019 - ti...@suse.de
+
+- Backport upstream fixes: PCM sw_params behavior fix, UCM additions and
+  corrections, dshare position overflow fix, build fixes for Android:
+  0001-pcm-Preserve-period_event-in-snd_pcm_hw_sw_params-ca.patch
+  0004-ucm-Add-ucm-files-for-DB820c-board.patch
+  0005-ucm-bytcr-PlatformEnableSeq.conf-update-some-comment.patch
+  0006-pcm-dshare-Fix-overflow-when-slave_hw_ptr-rolls-over.patch
+  0007-test-latency-use-frame-bytes-correctly-in-writebuf.patch
+  0008-conf-pcm-dmix-add-CHANNELS-argument.patch
+  0009-Android-avoid-using-versionsort.patch
+  0010-pcm-add-the-missing-strings.h-include.patch
+  0011-alisp-add-the-missing-include.patch
+  0012-add-snd_strlcpy-and-use-it-everywhere.patch
+  0013-pcm-rate-plugin-fix-signess-in-snd_pcm_rate_avail_up.patch
+- Drop -Iinclude/alsa from alsa.pc (bsc#1130333)
+  0014-Drop-I-includedir-alsa-from-alsa.pc.patch
+
+---

New:

  0001-pcm-Preserve-period_event-in-snd_pcm_hw_sw_params-ca.patch
  0004-ucm-Add-ucm-files-for-DB820c-board.patch
  0005-ucm-bytcr-PlatformEnableSeq.conf-update-some-comment.patch
  0006-pcm-dshare-Fix-overflow-when-slave_hw_ptr-rolls-over.patch
  0007-test-latency-use-frame-bytes-correctly-in-writebuf.patch
  0008-conf-pcm-dmix-add-CHANNELS-argument.patch
  0009-Android-avoid-using-versionsort.patch
  0010-pcm-add-the-missing-strings.h-include.patch
  0011-alisp-add-the-missing-include.patch
  0012-add-snd_strlcpy-and-use-it-everywhere.patch
  0013-pcm-rate-plugin-fix-signess-in-snd_pcm_rate_avail_up.patch
  0014-Drop-I-includedir-alsa-from-alsa.pc.patch



Other differences:
--
++ alsa.spec ++
--- /var/tmp/diff_new_pack.gfnPFq/_old  2019-03-29 20:32:56.754603672 +0100
+++ /var/tmp/diff_new_pack.gfnPFq/_new  2019-03-29 20:32:56.770603682 +0100
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via https://bugs.opensuse.org/
+# Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
 
@@ -48,6 +48,19 @@
 Source34:   alsa-init.sh
 Source40:   50-alsa.conf
 Source41:   install-snd-module
+# upstream fixes
+Patch1: 0001-pcm-Preserve-period_event-in-snd_pcm_hw_sw_params-ca.patch
+Patch4: 0004-ucm-Add-ucm-files-for-DB820c-board.patch
+Patch5: 0005-ucm-bytcr-PlatformEnableSeq.conf-update-some-comment.patch
+Patch6: 0006-pcm-dshare-Fix-overflow-when-slave_hw_ptr-rolls-over.patch
+Patch7: 0007-test-latency-use-frame-bytes-correctly-in-writebuf.patch
+Patch8: 0008-conf-pcm-dmix-add-CHANNELS-argument.patch
+Patch9: 0009-Android-avoid-using-versionsort.patch
+Patch10:0010-pcm-add-the-missing-strings.h-include.patch
+Patch11:0011-alisp-add-the-missing-include.patch
+Patch12:0012-add-snd_strlcpy-and-use-it-everywhere.patch
+Patch13:0013-pcm-rate-plugin-fix-signess-in-snd_pcm_rate_avail_up.patch
+Patch14:0014-Drop-I-includedir-alsa-from-alsa.pc.patch
 # rest suse fixes
 Patch101:   alsa-lib-ignore-non-accessible-ALSA_CONFIG_PATH.patch
 Source101:  chtcx2072x.conf
@@ -114,6 +127,18 @@
 
 %prep
 %setup -q -n alsa-lib-%{version}
+%patch1 -p1
+%patch4 -p1
+%patch5 -p1
+%patch6 -p1
+%patch7 -p1
+%patch8 -p1
+%patch9 -p1
+%patch10 -p1
+%patch11 -p1
+%patch12 -p1
+%patch13 -p1
+%patch14 -p1
 %patch101 -p1
 
 %build
@@ -261,6 +286,7 @@
 %{_libdir}/libasound.so
 %{_includedir}/sys/*
 %{_includedir}/alsa
+%{_includedir}/asoundlib.h
 %{_datadir}/aclocal/*.m4
 %{_libdir}/pkgconfig/*.pc
 

++ 0001-pcm-Preserve-period_event-in-snd_pcm_hw_sw_params-ca.patch ++
>From 9c1439a76cea33d2cec65a42d499230d2f9a5205 Mon Sep 17 00:00:00 2001
From: Takashi Iwai 
Date: Wed, 9 Jan 2019 12:02:56 +0100
Subject: [PATCH 01/14] pcm: Preserve period_event in snd_pcm_hw_sw_params()
 call

snd_pcm_hw_sw_params() in pcm_hw.c tries to abuse the reserved bits
for passing period_Event flag.  In this hackish way, we clear the
reserved bits at beginning, and restore before returning.  However,
the code paths that return earlier don't restore the value, hence when

commit alsa for openSUSE:Factory

2019-03-25 Thread root
Hello community,

here is the log from the commit of package alsa for openSUSE:Factory checked in 
at 2019-03-25 09:47:16

Comparing /work/SRC/openSUSE:Factory/alsa (Old)
 and  /work/SRC/openSUSE:Factory/.alsa.new.25356 (New)


Package is "alsa"

Mon Mar 25 09:47:16 2019 rev:188 rq:686495 version:1.1.8

Changes:

--- /work/SRC/openSUSE:Factory/alsa/alsa.changes2019-01-15 
13:15:04.252419260 +0100
+++ /work/SRC/openSUSE:Factory/.alsa.new.25356/alsa.changes 2019-03-25 
09:47:17.580013700 +0100
@@ -1,0 +2,6 @@
+Sun Mar 17 18:27:59 UTC 2019 - Jan Engelhardt 
+
+- Replace unspecific historic boilerplate summaries,
+  and replace $RPM_* shell vars.
+
+---



Other differences:
--
++ alsa.spec ++
--- /var/tmp/diff_new_pack.MMyj8w/_old  2019-03-25 09:47:20.192013323 +0100
+++ /var/tmp/diff_new_pack.MMyj8w/_new  2019-03-25 09:47:20.240013316 +0100
@@ -77,7 +77,7 @@
 on your Linux box.  To set it up, run yast2 or alsaconf.
 
 %package devel
-Summary:Include Files and Libraries mandatory for Development
+Summary:Header files for ALSA development
 License:LGPL-2.1-or-later
 Group:  Development/Libraries/C and C++
 Requires:   glibc-devel
@@ -88,10 +88,10 @@
 
 %description devel
 This package contains all necessary include files and libraries needed
-to develop applications that require these.
+to develop applications that require ALSA.
 
 %package docs
-Summary:Additional Package Documentation
+Summary:Additional Package Documentation for ALSA
 License:GPL-2.0-or-later
 Group:  Documentation/Other
 %if 0%{?suse_version} > 1110
@@ -197,15 +197,15 @@
 #
 mkdir -p -m 755 %{buildroot}%{_fillupdir}
 mkdir -p -m 755 %{buildroot}%{_sysconfdir}/sysconfig
-install -m 644 $RPM_SOURCE_DIR/sysconfig.sound %{buildroot}%{_fillupdir}
+install -m 644 %{_sourcedir}/sysconfig.sound %{buildroot}%{_fillupdir}
 %if 0%{?suse_version} <= 1310
-install -m 644 $RPM_SOURCE_DIR/sysconfig.joystick %{buildroot}%{_fillupdir}
+install -m 644 %{_sourcedir}/sysconfig.joystick %{buildroot}%{_fillupdir}
 %endif
 #
 # documents
 #
 mkdir -p %{buildroot}%{_docdir}/%{name}
-cp $RPM_SOURCE_DIR/README* %{buildroot}%{_docdir}/%{name}
+cp %{_sourcedir}/README* %{buildroot}%{_docdir}/%{name}
 %if 0%{?suse_version} < 1200
 cp COPYING %{buildroot}%{_docdir}/%{name}
 %endif







commit alsa for openSUSE:Factory

2019-01-15 Thread root
Hello community,

here is the log from the commit of package alsa for openSUSE:Factory checked in 
at 2019-01-15 13:15:02

Comparing /work/SRC/openSUSE:Factory/alsa (Old)
 and  /work/SRC/openSUSE:Factory/.alsa.new.28833 (New)


Package is "alsa"

Tue Jan 15 13:15:02 2019 rev:187 rq:663643 version:1.1.8

Changes:

--- /work/SRC/openSUSE:Factory/alsa/alsa.changes2018-11-26 
10:17:22.865938269 +0100
+++ /work/SRC/openSUSE:Factory/.alsa.new.28833/alsa.changes 2019-01-15 
13:15:04.252419260 +0100
@@ -1,0 +2,67 @@
+Mon Jan  7 15:32:13 CET 2019 - ti...@suse.de
+
+- Update to alsa-lib 1.1.8
+  * Core:
+conf: rename snd_conf_load1() to _snd_config_load_with_include() 
+conf/ucm: bytcht-es8316: Add long-name UCM profiles 
+conf/ucm: Add UCM profile for bytcht-es8316 boards 
+Create shared {En,Dis}ableSeq.conf components for rt5645 variants 
+conf/ucm: bytcr-rt5651: Add bytcr-rt5651-stereo-spk-dmic-mic config 
+conf/ucm: kblrt5660: Add ucm setting for Dell Edge IoT platform 
+conf/ucm: chtrt5650: Add UCM config for chtrt5650 
+ucm: Set default include path 
+conf: Move UCM profile snippets into components subdirectory 
+initial version of .travis.yml file 
+  * Control API:
+control: fix the assert() in snd_ctl_elem_set_bytes 
+  * PCM API:
+pcm: ioplug: Fix the regression of pulse plugin drain 
+pcm: extplug: Keep format and channels the same if requested 
+pcm: dshare: Fix segfault when not binding channel 0 
+pcm: dmix: Add option to allow alignment of slave pointers 
+pcm: interval: Interpret (x x+1] correctly and return x+1 
+  * Use Case Manager API:
+conf: rename snd_conf_load1() to _snd_config_load_with_include() 
+ucm: Set default include path 
+conf: Move UCM profile snippets into components subdirectory 
+  * Configuration:
+conf: rename snd_conf_load1() to _snd_config_load_with_include() 
+conf/ucm: bytcht-es8316: Add long-name UCM profiles 
+conf/ucm: Add UCM profile for bytcht-es8316 boards 
+Create device component for rt5645 Internal Analog Mic UCM 
+Factor out rt5645 variants Headset+Digital Mic UCM shared {en,dis}able 
sequences 
+Factor out rt5645 variants Speaker+Headphones shared UCM enable sequences 
+Create shared {En,Dis}ableSeq.conf components for rt5645 variants 
+Update chtrt5645 ucm variants to use bytcr/PlatformEnableSeq.conf 
component 
+conf/ucm: bytcr-rt5651: Document mono speaker wiring 
+conf/ucm: bytcr-rt5651: Add bytcr-rt5651-stereo-spk-dmic-mic config 
+conf/ucm: bytcr-rt5651: Add digital mic support 
+conf/ucm: bytcr-rt5651: Add support for a headset-mic on IN2 
+conf/ucm: bytcr-rt5651: Enable Stereo? ADC MIXL ADC? switches when 
enabling inputs 
+conf/ucm: kblrt5660: Add ucm setting for Dell Edge IoT platform 
+conf/ucm: chtrt5650: Add UCM config for chtrt5650 
+ucm: Set default include path 
+conf: Move UCM profile snippets into components subdirectory 
+conf: USB-Audio: Add Dell WD19 Dock in the IEC958 blacklist 
+conf/ucm/Dell-WD15-Dock: Fix incorrect device names 
+  * Documentation:
+README.md: add link to www.alsa-project.org 
+initial version of README.md for github 
+  * External PCM Filter Plugin SDK:
+pcm: extplug: Keep format and channels the same if requested 
+  * Test/Example code:
+test/audio_time: remove unused variables 
+test: rename code to more approriate mixtest 
+test/code: make it work again 
+test/latecy: fix typo in tstamp compare 
+  * Utils:
+utils/alsa.m4: conditionally enable libdl in AM_PATH_ALSA m4 macro 
+- Drop obsoleted patches:
+  0001-conf-ucm-Dell-WD15-Dock-Fix-incorrect-device-names.patch
+  0002-pcm-interval-Interpret-x-x-1-correctly-and-return-x-.patch
+- Remove obsoleted UCM profile for rt5640
+- Don't treat the non-existing $ALSA_CONFIG_PATH too severely
+  (bsc#1120893):
+  alsa-lib-ignore-non-accessible-ALSA_CONFIG_PATH.patch
+
+---

Old:

  0001-conf-ucm-Dell-WD15-Dock-Fix-incorrect-device-names.patch
  0002-pcm-interval-Interpret-x-x-1-correctly-and-return-x-.patch
  alsa-lib-1.1.7.tar.bz2
  bytcr-rt5640-HiFi.conf
  bytcr-rt5640.conf

New:

  alsa-lib-1.1.8.tar.bz2
  alsa-lib-ignore-non-accessible-ALSA_CONFIG_PATH.patch



Other differences:
--
++ alsa.spec ++
--- /var/tmp/diff_new_pack.WhtvJ8/_old  2019-01-15 13:15:04.828418807 +0100
+++ /var/tmp/diff_new_pack.WhtvJ8/_new  2019-01-15 13:15:04.832418805 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package alsa
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the 

commit alsa for openSUSE:Factory

2018-11-26 Thread root
Hello community,

here is the log from the commit of package alsa for openSUSE:Factory checked in 
at 2018-11-26 10:17:17

Comparing /work/SRC/openSUSE:Factory/alsa (Old)
 and  /work/SRC/openSUSE:Factory/.alsa.new.19453 (New)


Package is "alsa"

Mon Nov 26 10:17:17 2018 rev:186 rq:649311 version:1.1.7

Changes:

--- /work/SRC/openSUSE:Factory/alsa/alsa.changes2018-10-23 
20:35:54.640865426 +0200
+++ /work/SRC/openSUSE:Factory/.alsa.new.19453/alsa.changes 2018-11-26 
10:17:22.865938269 +0100
@@ -1,0 +2,7 @@
+Thu Nov 15 15:10:45 CET 2018 - ti...@suse.de
+
+- Backport upstream fix for a PCM regression for audacity
+  (bsc#1116153):
+  0002-pcm-interval-Interpret-x-x-1-correctly-and-return-x-.patch
+
+---

New:

  0002-pcm-interval-Interpret-x-x-1-correctly-and-return-x-.patch



Other differences:
--
++ alsa.spec ++
--- /var/tmp/diff_new_pack.Bwslqz/_old  2018-11-26 10:17:23.481937549 +0100
+++ /var/tmp/diff_new_pack.Bwslqz/_new  2018-11-26 10:17:23.485937544 +0100
@@ -51,6 +51,7 @@
 Source41:   install-snd-module
 # upstream fixes
 Patch1: 0001-conf-ucm-Dell-WD15-Dock-Fix-incorrect-device-names.patch
+Patch2: 0002-pcm-interval-Interpret-x-x-1-correctly-and-return-x-.patch
 # rest suse fixes
 Source101:  chtcx2072x.conf
 Source102:  chtcx2072x-HiFi.conf
@@ -119,6 +120,7 @@
 %prep
 %setup -q -n alsa-lib-%{package_version}
 %patch1 -p1
+%patch2 -p1
 
 %build
 export AUTOMAKE_JOBS="%{?_smp_mflags}"

++ 0002-pcm-interval-Interpret-x-x-1-correctly-and-return-x-.patch ++
>From b420056604f06117c967b65d43d01536c5ffcbc9 Mon Sep 17 00:00:00 2001
From: Timo Wischer 
Date: Thu, 18 Oct 2018 13:33:24 +0200
Subject: [PATCH] pcm: interval: Interpret (x x+1] correctly and return x+1

Without this change an interval of (x x+1] will be interpreted as an
empty interval but the right value would be x+1.
This leads to a failing snd_pcm_hw_params() call which returns -EINVAL.

An example issue log is given in the following:
snd_pcm_hw_params failed with err -22 (Invalid argument)
ACCESS: MMAP_NONINTERLEAVED
FORMAT: S16_LE
SUBFORMAT: STD
SAMPLE_BITS: 16
FRAME_BITS: 16
CHANNELS: 1
RATE: 16000
PERIOD_TIME: (15999 16000]
PERIOD_SIZE: (255 256]
PERIOD_BYTES: (510 512]
PERIODS: [2 3)
BUFFER_TIME: 32000
BUFFER_SIZE: 512
BUFFER_BYTES: 1024

In case of (x x+1) we have to interpret it anyway as a single value of x to
compensate rounding issues.
For example the period size will result in an interval of (352 353) when
the period time is 16ms and the sample rate 22050 Hz
(16ms * 22,05 kHz = 352,8 frames). But 352 has to be chosen to allow a
buffer size of 705 (32ms * 22,05 kHz = 705,6 frames) which has to be >= 2x
period size to avoid Xruns. The buffer size will not end up with an
interval of (705 706) simular to the period size because
snd_pcm_rate_hw_refine_cchange() calls snd_interval_floor() for the buffer
size. Therefore this value will be interpreted as an integer interval
instead of a real interval further on.

This issue seems to exist since the change of 9bb985c38 ("pcm:
snd_interval_refine_first/last: exclude value only if also excluded
before")

Signed-off-by: Timo Wischer 
Signed-off-by: Jaroslav Kysela 
---
 src/pcm/interval_inline.h | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/pcm/interval_inline.h b/src/pcm/interval_inline.h
index a68e292b2279..d9a30b2a8646 100644
--- a/src/pcm/interval_inline.h
+++ b/src/pcm/interval_inline.h
@@ -51,12 +51,14 @@ INTERVAL_INLINE int snd_interval_single(const 
snd_interval_t *i)
 {
assert(!snd_interval_empty(i));
return (i->min == i->max || 
-   (i->min + 1 == i->max && i->openmax));
+   (i->min + 1 == i->max && (i->openmin || i->openmax)));
 }
 
 INTERVAL_INLINE int snd_interval_value(const snd_interval_t *i)
 {
assert(snd_interval_single(i));
+   if (i->openmin && !i->openmax)
+   return i->max;
return i->min;
 }
 
-- 
2.19.1







commit alsa for openSUSE:Factory

2018-10-23 Thread root
Hello community,

here is the log from the commit of package alsa for openSUSE:Factory checked in 
at 2018-10-23 20:35:50

Comparing /work/SRC/openSUSE:Factory/alsa (Old)
 and  /work/SRC/openSUSE:Factory/.alsa.new (New)


Package is "alsa"

Tue Oct 23 20:35:50 2018 rev:185 rq:642939 version:1.1.7

Changes:

--- /work/SRC/openSUSE:Factory/alsa/alsa.changes2018-05-07 
14:52:50.411609352 +0200
+++ /work/SRC/openSUSE:Factory/.alsa.new/alsa.changes   2018-10-23 
20:35:54.640865426 +0200
@@ -1,0 +2,44 @@
+Thu Oct 18 14:26:32 CEST 2018 - ti...@suse.de
+
+- Fix the incorrect UCM profile for Dell WD15 dock (bsc#1112292):
+  0001-conf-ucm-Dell-WD15-Dock-Fix-incorrect-device-names.patch
+
+---
+Wed Oct 17 10:22:37 CEST 2018 - ti...@suse.de
+
+- Updated to alsa-lib 1.1.7:
+  * change the location for add-on configs to /etc/alsa/conf.d
+  * topology: Fix bclk and fsync inversion in set_link_hw_format()
+  * topology: Add missing clock gating parameter when parsing hw_configs
+  * topology: Add definitions for mclk_direction values
+  * topology: Add alias conf parameter names for hw_configs
+  * softvol: Allow up to 90 dB of gain
+  * ucm: adding the folder of card_long_name when finding verb conf file
+  * TLV macro cleanup and fixes
+  * conf: USB-audio: Fix for Xonar U7 SPDIF device
+  * pcm: add missing flags initialization for the fallback control data
+  * pcm ioplug: fix some coverity issues
+  * pcm: dmix: Fix hwptr updates at status call
+  * New UCM files: bytcr-rt5640, chtnau8824, Dell WD-dock
+  * UCM fixes: VEYRON-I2S, bytcr-rt5645, bytcr-rt5651, bytcr-rt5640,
+chtrt5645
+  * Comment fixes
+  * pcm: Define refine mask bits for DSD
+  * pcm: snd_interval_refine_first/last fix
+  * pcm: ioplug: Provide avail helper function for plugins
+  * pcm: rate: Add error check for snd_pcm_avail_update()
+  * pcm: Fix header guard in pcm_plugin.h
+  * pcm: ioplug: Transfer all available data
+  * control_hw: Fix issue when applying seccomp policy
+  * seq: Fix signedness in MIDI encoder/decoder
+- Remove obsoleted patches:
+  0001-ucm-adding-the-folder-of-card_long_name-when-finding.patch
+  0002-conf-ucm-increase-the-input-volume-for-LineIn.patch
+  0003-conf-ucm-chtrt5645-Cleanup-and-playback-fixes.patch
+  0004-conf-ucm-chtrt5645-Microphone-recording-fixes.patch
+  0005-conf-ucm-chtrt5645-Fix-recording-from-internal-analo.patch
+  0006-conf-ucm-chtrt5645-At-config-for-the-Asus-T100HA.patch
+  0007-conf-ucm-chtrt5645-At-config-for-the-Lenovo-Ideapad-.patch
+  0008-conf-ucm-Add-a-UCM-profile-for-Dell-WD15-Dock-USB-au.patch
+
+---

Old:

  0001-ucm-adding-the-folder-of-card_long_name-when-finding.patch
  0002-conf-ucm-increase-the-input-volume-for-LineIn.patch
  0003-conf-ucm-chtrt5645-Cleanup-and-playback-fixes.patch
  0004-conf-ucm-chtrt5645-Microphone-recording-fixes.patch
  0005-conf-ucm-chtrt5645-Fix-recording-from-internal-analo.patch
  0006-conf-ucm-chtrt5645-At-config-for-the-Asus-T100HA.patch
  0007-conf-ucm-chtrt5645-At-config-for-the-Lenovo-Ideapad-.patch
  0008-conf-ucm-Add-a-UCM-profile-for-Dell-WD15-Dock-USB-au.patch
  alsa-lib-1.1.6.tar.bz2

New:

  0001-conf-ucm-Dell-WD15-Dock-Fix-incorrect-device-names.patch
  alsa-lib-1.1.7.tar.bz2



Other differences:
--
++ alsa.spec ++
--- /var/tmp/diff_new_pack.ae5xSq/_old  2018-10-23 20:35:55.968863839 +0200
+++ /var/tmp/diff_new_pack.ae5xSq/_new  2018-10-23 20:35:55.972863835 +0200
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -21,12 +21,12 @@
   %define _fillupdir /var/adm/fillup-templates
 %endif
 
-%define package_version1.1.6
+%define package_version1.1.7
 %if 0%{?suse_version} < 1200
 %define _udevrulesdir /lib/udev/rules.d/
 %endif
 Name:   alsa
-Version:1.1.6
+Version:1.1.7
 Release:0
 Summary:Advanced Linux Sound Architecture
 License:LGPL-2.1-or-later
@@ -50,14 +50,7 @@
 Source40:   50-alsa.conf
 Source41:   install-snd-module
 # upstream fixes
-Patch1: 0001-ucm-adding-the-folder-of-card_long_name-when-finding.patch
-Patch2: 0002-conf-ucm-increase-the-input-volume-for-LineIn.patch
-Patch3: 0003-conf-ucm-chtrt5645-Cleanup-and-playback-fixes.patch
-Patch4: 0004-conf-ucm-chtrt5645-Microphone-recording-fixes.patch
-Patch5: 0005-conf-ucm-chtrt5645-Fix-recording-from-internal-analo.patch
-Patch6: 

commit alsa for openSUSE:Factory

2018-05-07 Thread root
Hello community,

here is the log from the commit of package alsa for openSUSE:Factory checked in 
at 2018-05-07 14:52:42

Comparing /work/SRC/openSUSE:Factory/alsa (Old)
 and  /work/SRC/openSUSE:Factory/.alsa.new (New)


Package is "alsa"

Mon May  7 14:52:42 2018 rev:184 rq:603200 version:1.1.6

Changes:

--- /work/SRC/openSUSE:Factory/alsa/alsa.changes2018-04-10 
09:51:12.374996259 +0200
+++ /work/SRC/openSUSE:Factory/.alsa.new/alsa.changes   2018-05-07 
14:52:50.411609352 +0200
@@ -1,0 +2,13 @@
+Wed May  2 17:11:29 CEST 2018 - ti...@suse.de
+
+- Backport UCM fix and new profiles from upstream (bsc#1091678):
+  0001-ucm-adding-the-folder-of-card_long_name-when-finding.patch
+  0002-conf-ucm-increase-the-input-volume-for-LineIn.patch
+  0003-conf-ucm-chtrt5645-Cleanup-and-playback-fixes.patch
+  0004-conf-ucm-chtrt5645-Microphone-recording-fixes.patch
+  0005-conf-ucm-chtrt5645-Fix-recording-from-internal-analo.patch
+  0006-conf-ucm-chtrt5645-At-config-for-the-Asus-T100HA.patch
+  0007-conf-ucm-chtrt5645-At-config-for-the-Lenovo-Ideapad-.patch
+  0008-conf-ucm-Add-a-UCM-profile-for-Dell-WD15-Dock-USB-au.patch
+
+---

New:

  0001-ucm-adding-the-folder-of-card_long_name-when-finding.patch
  0002-conf-ucm-increase-the-input-volume-for-LineIn.patch
  0003-conf-ucm-chtrt5645-Cleanup-and-playback-fixes.patch
  0004-conf-ucm-chtrt5645-Microphone-recording-fixes.patch
  0005-conf-ucm-chtrt5645-Fix-recording-from-internal-analo.patch
  0006-conf-ucm-chtrt5645-At-config-for-the-Asus-T100HA.patch
  0007-conf-ucm-chtrt5645-At-config-for-the-Lenovo-Ideapad-.patch
  0008-conf-ucm-Add-a-UCM-profile-for-Dell-WD15-Dock-USB-au.patch



Other differences:
--
++ alsa.spec ++
--- /var/tmp/diff_new_pack.nR4tEN/_old  2018-05-07 14:52:51.627571402 +0200
+++ /var/tmp/diff_new_pack.nR4tEN/_new  2018-05-07 14:52:51.627571402 +0200
@@ -50,6 +50,14 @@
 Source40:   50-alsa.conf
 Source41:   install-snd-module
 # upstream fixes
+Patch1: 0001-ucm-adding-the-folder-of-card_long_name-when-finding.patch
+Patch2: 0002-conf-ucm-increase-the-input-volume-for-LineIn.patch
+Patch3: 0003-conf-ucm-chtrt5645-Cleanup-and-playback-fixes.patch
+Patch4: 0004-conf-ucm-chtrt5645-Microphone-recording-fixes.patch
+Patch5: 0005-conf-ucm-chtrt5645-Fix-recording-from-internal-analo.patch
+Patch6: 0006-conf-ucm-chtrt5645-At-config-for-the-Asus-T100HA.patch
+Patch7: 0007-conf-ucm-chtrt5645-At-config-for-the-Lenovo-Ideapad-.patch
+Patch8: 0008-conf-ucm-Add-a-UCM-profile-for-Dell-WD15-Dock-USB-au.patch
 # rest suse fixes
 Source101:  chtcx2072x.conf
 Source102:  chtcx2072x-HiFi.conf
@@ -117,6 +125,14 @@
 
 %prep
 %setup -q -n alsa-lib-%{package_version}
+%patch1 -p1
+%patch2 -p1
+%patch3 -p1
+%patch4 -p1
+%patch5 -p1
+%patch6 -p1
+%patch7 -p1
+%patch8 -p1
 
 %build
 export AUTOMAKE_JOBS="%{?_smp_mflags}"

++ 0001-ucm-adding-the-folder-of-card_long_name-when-finding.patch ++
>From 181f8e251bc05832f9c9401544e680ea0572a2e3 Mon Sep 17 00:00:00 2001
From: Hui Wang 
Date: Wed, 2 May 2018 14:08:05 +0800
Subject: [PATCH] ucm: adding the folder of card_long_name when finding verb
 conf file

The board configuration file and verb conf file are allowed to be
in the folder named of card_long_name, so when finding the verb conf
file, we need to check if it is in the folder of card_long_name or
card_name.

Signed-off-by: Hui Wang 
Signed-off-by: Jaroslav Kysela 
---
 src/ucm/parser.c | 10 --
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/src/ucm/parser.c b/src/ucm/parser.c
index 2d76152ff6e1..219edb9691a6 100644
--- a/src/ucm/parser.c
+++ b/src/ucm/parser.c
@@ -1056,6 +1056,7 @@ static int parse_verb_file(snd_use_case_mgr_t *uc_mgr,
char filename[MAX_FILE];
char *env = getenv(ALSA_CONFIG_UCM_VAR);
int err;
+   char *folder_name;
 
/* allocate verb */
verb = calloc(1, sizeof(struct use_case_verb));
@@ -1082,12 +1083,17 @@ static int parse_verb_file(snd_use_case_mgr_t *uc_mgr,
}
 
/* open Verb file for reading */
+   if (!strncmp(uc_mgr->conf_file_name, uc_mgr->card_long_name, 
MAX_CARD_LONG_NAME))
+   folder_name = uc_mgr->card_long_name;
+   else
+   folder_name = uc_mgr->card_name;
+
if (env)
snprintf(filename, sizeof(filename), "%s/%s/%s",
-env, uc_mgr->card_name, file);
+env, folder_name, file);
else
snprintf(filename, sizeof(filename), "%s/ucm/%s/%s",
-

commit alsa for openSUSE:Factory

2018-04-10 Thread root
Hello community,

here is the log from the commit of package alsa for openSUSE:Factory checked in 
at 2018-04-10 09:51:07

Comparing /work/SRC/openSUSE:Factory/alsa (Old)
 and  /work/SRC/openSUSE:Factory/.alsa.new (New)


Package is "alsa"

Tue Apr 10 09:51:07 2018 rev:183 rq:594638 version:1.1.6

Changes:

--- /work/SRC/openSUSE:Factory/alsa/alsa.changes2018-03-04 
11:53:07.389021773 +0100
+++ /work/SRC/openSUSE:Factory/.alsa.new/alsa.changes   2018-04-10 
09:51:12.374996259 +0200
@@ -1,0 +2,57 @@
+Wed Apr  4 14:14:10 CEST 2018 - ti...@suse.de
+
+- Avoid the use of license tag for old distros for fixing build
+
+---
+Wed Apr  4 08:28:28 CEST 2018 - ti...@suse.de
+
+- Updated to alsa-lib 1.1.6:
+  * Change FSF address (Franklin Street)
+  * pcm: route: Fix use_getput flag computation for 3 byte formats
+  * test: correct emulation for channel-map TLV
+  * Change snd_dlopen() function to return the error string
+  * configure.ac: build extra mixer modules conditionally
+  * configure.ac: do not enable alisp code by default
+  * conf/ucm: Rearrange Makefile.am
+  * conf/ucm: Add dual HD-audio codecs config for Lenovo
+  * conf/ucm: Add Gigabyte mobo UCM profile with dual HD-audio codecs
+  * asound.h: add SNDRV_PCM_FORMAT_{S, U}20
+  * pcm: add and describe SND_PCM_FORMAT_{S, U}20
+  * pcm: linear, route: handle linear formats with 20-bit sample on 4 bytes
+  * pcm: plug: add SND_PCM_FORMAT_{S, U}20 to linear_preferred_formats
+  * pcm: remove unused macros of COPY_LABELS/COPY_END
+  * pcm: remove unused macros of GETU_LABELS/GETU_END
+  * pcm: remove unused macros of NORMS_LABELS/NORMS_END
+  * pcm: fix wrong comments for some cases of linear interpolation of PCM 
samples
+  * topology: Fix to skip writing of header for compound elements
+  * control: Proper reference of internal versioned functions
+  * timer: Proper reference of internal versioned symbols
+  * core: Proper reference of internal snd_dlopen()
+  * conf/ucm: Add chtrt5645-mono-speaker-analog-mic configuration
+  * pcm: Return the consistent error code for unexpected PCM states
+  * pcm: Fix two bugs in snd_pcm_area_silence()
+  * pcm: fix a bug to copy silent samples aligned to 64
+  * pcm: another fix for the snd_pcm_area_silence() fast path
+  * pcm: ioplug: Use boundary for wrap around
+  * pcm: Do not access lock_enabled if thread safe API
+  * pcm: ioplug: Provide hw_avail helper function for plugins
+  * pcm: Provide areas_copy function which handles buffer wrap around
+  * pcm: ioplug: update prepare and draining state correctly
+  * topology: Fix parsing config with multiple hw_configs
+  * pcm: hw: Keep control data from kernel when SND_PCM_APPEND
+  * control ext: fix the default .rawmidi_next_device callback
+  * modules: smixer_python - add support for python3
+  * a set of fixes to reduce gcc warnings
+  * pcm: Skip avail_min check during draining
+  * pcm: ioplug: Implement proper drain behavior
+  * conf: USB-Audio: Add second S/PDIF device on Phiree U2SX
+- Remove obsoleted patches:
+  0001-pcm-route-Fix-use_getput-flag-computation-for-3-byte.patch
+  0002-conf-ucm-Rearrange-Makefile.am.patch
+  0003-conf-ucm-Add-dual-HD-audio-codecs-config-for-Lenovo.patch
+  0004-conf-ucm-Add-Gigabyte-mobo-UCM-profile-with-dual-HD-.patch
+  0005-conf-ucm-Add-chtrt5645-mono-speaker-analog-mic-confi.patch
+  0006-pcm-Return-the-consistent-error-code-for-unexpected-.patch
+- Use %license file tag
+
+---

Old:

  0001-pcm-route-Fix-use_getput-flag-computation-for-3-byte.patch
  0002-conf-ucm-Rearrange-Makefile.am.patch
  0003-conf-ucm-Add-dual-HD-audio-codecs-config-for-Lenovo.patch
  0004-conf-ucm-Add-Gigabyte-mobo-UCM-profile-with-dual-HD-.patch
  0005-conf-ucm-Add-chtrt5645-mono-speaker-analog-mic-confi.patch
  0006-pcm-Return-the-consistent-error-code-for-unexpected-.patch
  alsa-lib-1.1.5.tar.bz2

New:

  alsa-lib-1.1.6.tar.bz2



Other differences:
--
++ alsa.spec ++
--- /var/tmp/diff_new_pack.6xVxyY/_old  2018-04-10 09:51:15.614878864 +0200
+++ /var/tmp/diff_new_pack.6xVxyY/_new  2018-04-10 09:51:15.618878719 +0200
@@ -21,12 +21,12 @@
   %define _fillupdir /var/adm/fillup-templates
 %endif
 
-%define package_version1.1.5
+%define package_version1.1.6
 %if 0%{?suse_version} < 1200
 %define _udevrulesdir /lib/udev/rules.d/
 %endif
 Name:   alsa
-Version:1.1.5
+Version:1.1.6
 Release:0
 Summary:Advanced Linux Sound Architecture
 License:LGPL-2.1-or-later
@@ -50,12 +50,6 @@
 Source40:   50-alsa.conf
 Source41:   install-snd-module
 # upstream fixes
-Patch1: 

commit alsa for openSUSE:Factory

2018-03-04 Thread root
Hello community,

here is the log from the commit of package alsa for openSUSE:Factory checked in 
at 2018-03-04 11:53:04

Comparing /work/SRC/openSUSE:Factory/alsa (Old)
 and  /work/SRC/openSUSE:Factory/.alsa.new (New)


Package is "alsa"

Sun Mar  4 11:53:04 2018 rev:182 rq:581357 version:1.1.5

Changes:

--- /work/SRC/openSUSE:Factory/alsa/alsa.changes2018-01-21 
15:46:42.952265430 +0100
+++ /work/SRC/openSUSE:Factory/.alsa.new/alsa.changes   2018-03-04 
11:53:07.389021773 +0100
@@ -1,0 +2,5 @@
+Wed Feb 28 22:33:05 CET 2018 - ti...@suse.de
+
+- Add UCM profile for Baytrail CR with RT5460 (bsc#1083195)
+
+---

New:

  bytcr-rt5640-HiFi.conf
  bytcr-rt5640.conf



Other differences:
--
++ alsa.spec ++
--- /var/tmp/diff_new_pack.dOi11u/_old  2018-03-04 11:53:08.384985923 +0100
+++ /var/tmp/diff_new_pack.dOi11u/_new  2018-03-04 11:53:08.384985923 +0100
@@ -29,7 +29,7 @@
 Version:1.1.5
 Release:0
 Summary:Advanced Linux Sound Architecture
-License:LGPL-2.1+
+License:LGPL-2.1-or-later
 Group:  System/Libraries
 Url:http://www.alsa-project.org/
 Source: 
ftp://ftp.alsa-project.org/pub/lib/alsa-lib-%{package_version}.tar.bz2
@@ -59,6 +59,8 @@
 # rest suse fixes
 Source101:  chtcx2072x.conf
 Source102:  chtcx2072x-HiFi.conf
+Source103:  bytcr-rt5640.conf
+Source104:  bytcr-rt5640-HiFi.conf
 BuildRequires:  doxygen
 BuildRequires:  libtool
 BuildRequires:  pkgconfig
@@ -85,7 +87,7 @@
 
 %package devel
 Summary:Include Files and Libraries mandatory for Development
-License:LGPL-2.1+
+License:LGPL-2.1-or-later
 Group:  Development/Libraries/C and C++
 Requires:   glibc-devel
 Requires:   libasound2 = %{version}
@@ -99,7 +101,7 @@
 
 %package docs
 Summary:Additional Package Documentation
-License:GPL-2.0+
+License:GPL-2.0-or-later
 Group:  Documentation/Other
 %if 0%{?suse_version} > 1110
 BuildArch:  noarch
@@ -111,7 +113,7 @@
 
 %package -n libasound2
 Summary:Advanced Linux Sound Architecture Library
-License:LGPL-2.1+
+License:LGPL-2.1-or-later
 Group:  System/Libraries
 Provides:   alsa-lib
 
@@ -149,6 +151,9 @@
 mkdir -p %{buildroot}%{_datadir}/alsa/ucm/chtcx2072x
 install -c -m 0644 %{S:101} 
%{buildroot}%{_datadir}/alsa/ucm/chtcx2072x/chtcx2072x.conf
 install -c -m 0644 %{S:102} 
%{buildroot}%{_datadir}/alsa/ucm/chtcx2072x/HiFi.conf
+mkdir -p %{buildroot}%{_datadir}/alsa/ucm/bytcr-rt5640
+install -c -m 0644 %{S:103} 
%{buildroot}%{_datadir}/alsa/ucm/bytcr-rt5640/bytcr-rt5640.conf
+install -c -m 0644 %{S:104} 
%{buildroot}%{_datadir}/alsa/ucm/bytcr-rt5640/HiFi.conf
 # clean up unneeded files
 rm -f %{buildroot}%{_libdir}/*.*a
 # rm -f %{buildroot}%{_libdir}/alsa-lib/smixer/*.*a



++ bytcr-rt5640-HiFi.conf ++
# Use case Configuration for bytcr-rt5640

SectionVerb {

EnableSequence [
cdev "hw:bytcrrt5640"

# media mixer settings
#   compress
cset "name='media0_in Gain 0 Switch' on"
cset "name='media0_in Gain 0 Volume' 0"

#   normal
cset "name='media1_in Gain 0 Switch' on"
cset "name='media1_in Gain 0 Volume' 0"
#   swm loopback
cset "name='media2_in Gain 0 Switch' off"
cset "name='media2_in Gain 0 Volume' 0%"
#   deep buffer
cset "name='media3_in Gain 0 Switch' on"
cset "name='media3_in Gain 0 Volume' 0"

cset "name='media0_out mix 0 media0_in Switch' on"
cset "name='media0_out mix 0 media1_in Switch' on"
cset "name='media0_out mix 0 media2_in Switch' off"
cset "name='media0_out mix 0 media3_in Switch' on"

cset "name='media1_out mix 0 media0_in Switch' off"
cset "name='media1_out mix 0 media1_in Switch' off"
cset "name='media1_out mix 0 media2_in Switch' off"
cset "name='media1_out mix 0 media3_in Switch' off"

cset "name='pcm0_in Gain 0 Switch' on"
cset "name='pcm0_in Gain 0 Volume' 0"

cset "name='pcm1_in Gain 0 Switch' off"
cset "name='pcm1_in Gain 0 Volume' 0%"

# codec0_out settings (used if ssp2 is connected to aif1)
cset "name='codec_out0 mix 0 codec_in0 Switch' off"
cset "name='codec_out0 mix 0 codec_in1 Switch' off"
cset "name='codec_out0 mix 0 media_loop1_in Switch' off"
cset 

commit alsa for openSUSE:Factory

2018-01-21 Thread root
Hello community,

here is the log from the commit of package alsa for openSUSE:Factory checked in 
at 2018-01-21 15:46:39

Comparing /work/SRC/openSUSE:Factory/alsa (Old)
 and  /work/SRC/openSUSE:Factory/.alsa.new (New)


Package is "alsa"

Sun Jan 21 15:46:39 2018 rev:181 rq:567485 version:1.1.5

Changes:

--- /work/SRC/openSUSE:Factory/alsa/alsa.changes2017-12-23 
12:18:57.053149943 +0100
+++ /work/SRC/openSUSE:Factory/.alsa.new/alsa.changes   2018-01-21 
15:46:42.952265430 +0100
@@ -1,0 +2,9 @@
+Thu Jan 18 12:26:08 CET 2018 - ti...@suse.de
+
+- Upstream fixes:
+  * Add the new ucm for Cherrytrail devices (bsc#1068546):
+0005-conf-ucm-Add-chtrt5645-mono-speaker-analog-mic-confi.patch
+  * Fix for error code from PCM API functions at unexpected states:
+0006-pcm-Return-the-consistent-error-code-for-unexpected-.patch
+
+---

New:

  0005-conf-ucm-Add-chtrt5645-mono-speaker-analog-mic-confi.patch
  0006-pcm-Return-the-consistent-error-code-for-unexpected-.patch



Other differences:
--
++ alsa.spec ++
--- /var/tmp/diff_new_pack.LfnxCd/_old  2018-01-21 15:46:43.876222073 +0100
+++ /var/tmp/diff_new_pack.LfnxCd/_new  2018-01-21 15:46:43.884221698 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package alsa
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -54,6 +54,8 @@
 Patch2: 0002-conf-ucm-Rearrange-Makefile.am.patch
 Patch3: 0003-conf-ucm-Add-dual-HD-audio-codecs-config-for-Lenovo.patch
 Patch4: 0004-conf-ucm-Add-Gigabyte-mobo-UCM-profile-with-dual-HD-.patch
+Patch5: 0005-conf-ucm-Add-chtrt5645-mono-speaker-analog-mic-confi.patch
+Patch6: 0006-pcm-Return-the-consistent-error-code-for-unexpected-.patch
 # rest suse fixes
 Source101:  chtcx2072x.conf
 Source102:  chtcx2072x-HiFi.conf
@@ -123,6 +125,8 @@
 %patch2 -p1
 %patch3 -p1
 %patch4 -p1
+%patch5 -p1
+%patch6 -p1
 
 %build
 export AUTOMAKE_JOBS="%{?_smp_mflags}"

++ 0005-conf-ucm-Add-chtrt5645-mono-speaker-analog-mic-confi.patch ++
>From 60ed28999a272e1a3d737a90719b98efd447 Mon Sep 17 00:00:00 2001
From: Hans de Goede 
Date: Sat, 6 Jan 2018 23:03:20 +0100
Subject: [PATCH] conf/ucm: Add chtrt5645-mono-speaker-analog-mic configuration

Add a configuration for Cherry Trail boards which use a rt5645 codec
connected to a mono speaker and with an analog mic on IN2N + IN2P.

The chtrt5645-mono-speaker-analog-mic/HiFi.conf for this is based on the
latest version from https://github.com/plbossart/UCM/tree/master/chtrt5645
with all the unused input options removed and some changes made to make
the analog mic work.

This commit also adds 2 ucm dirs with the longname of 2 boards known to use
this setup, which simply contain a symlink to the generic
chtrt5645-mono-speaker-analog-mic entry.

Signed-off-by: Hans de Goede 
Signed-off-by: Takashi Iwai 
---
 configure.ac   |   3 +
 src/conf/ucm/Makefile.am   |   3 +
 .../Makefile.am|   4 +
 ...TECLAST-X80Pro-Defaultstring-CherryTrailCR.conf |   1 +
 .../chtrt5645-mono-speaker-analog-mic/HiFi.conf| 361 +
 .../chtrt5645-mono-speaker-analog-mic/Makefile.am  |   4 +
 .../chtrt5645-mono-speaker-analog-mic.conf |   5 +
 src/conf/ucm/gpd-win-pocket-rt5645/Makefile.am |   4 +
 .../gpd-win-pocket-rt5645.conf |   1 +
 9 files changed, 386 insertions(+)
 create mode 100644 
src/conf/ucm/TECLAST-X80Pro-Defaultstring-CherryTrailCR/Makefile.am
 create mode 12 
src/conf/ucm/TECLAST-X80Pro-Defaultstring-CherryTrailCR/TECLAST-X80Pro-Defaultstring-CherryTrailCR.conf
 create mode 100644 src/conf/ucm/chtrt5645-mono-speaker-analog-mic/HiFi.conf
 create mode 100644 src/conf/ucm/chtrt5645-mono-speaker-analog-mic/Makefile.am
 create mode 100644 
src/conf/ucm/chtrt5645-mono-speaker-analog-mic/chtrt5645-mono-speaker-analog-mic.conf
 create mode 100644 src/conf/ucm/gpd-win-pocket-rt5645/Makefile.am
 create mode 12 
src/conf/ucm/gpd-win-pocket-rt5645/gpd-win-pocket-rt5645.conf

diff --git a/configure.ac b/configure.ac
index 47c50fcf89b4..2c51ce7a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -713,9 +713,11 @@ AC_OUTPUT(Makefile doc/Makefile doc/pictures/Makefile 
doc/doxygen.cfg \
  src/conf/ucm/broxton-rt298/Makefile \
  src/conf/ucm/bytcr-rt5651/Makefile \
  src/conf/ucm/chtrt5645/Makefile \
+  

commit alsa for openSUSE:Factory

2017-12-23 Thread root
Hello community,

here is the log from the commit of package alsa for openSUSE:Factory checked in 
at 2017-12-23 12:18:55

Comparing /work/SRC/openSUSE:Factory/alsa (Old)
 and  /work/SRC/openSUSE:Factory/.alsa.new (New)


Package is "alsa"

Sat Dec 23 12:18:55 2017 rev:180 rq:558308 version:1.1.5

Changes:

--- /work/SRC/openSUSE:Factory/alsa/alsa.changes2017-11-30 
12:35:44.978952769 +0100
+++ /work/SRC/openSUSE:Factory/.alsa.new/alsa.changes   2017-12-23 
12:18:57.053149943 +0100
@@ -1,0 +2,16 @@
+Tue Dec 19 08:12:02 CET 2017 - ti...@suse.de
+
+- Recover udev 42-hd-audio-pm.rules for TW that was dropped
+  mistakenly at the previous change 
+
+---
+Mon Dec 18 15:59:05 CET 2017 - ti...@suse.de
+
+- Backport fix patches from upstream:
+  0001-pcm-route-Fix-use_getput-flag-computation-for-3-byte.patch
+  0002-conf-ucm-Rearrange-Makefile.am.patch
+  0003-conf-ucm-Add-dual-HD-audio-codecs-config-for-Lenovo.patch
+  0004-conf-ucm-Add-Gigabyte-mobo-UCM-profile-with-dual-HD-.patch
+- Add missing UCM profile for chtcx2072x (bsc#1068546)
+
+---

New:

  0001-pcm-route-Fix-use_getput-flag-computation-for-3-byte.patch
  0002-conf-ucm-Rearrange-Makefile.am.patch
  0003-conf-ucm-Add-dual-HD-audio-codecs-config-for-Lenovo.patch
  0004-conf-ucm-Add-Gigabyte-mobo-UCM-profile-with-dual-HD-.patch
  chtcx2072x-HiFi.conf
  chtcx2072x.conf



Other differences:
--
++ alsa.spec ++
--- /var/tmp/diff_new_pack.QKtgMa/_old  2017-12-23 12:18:57.84933 +0100
+++ /var/tmp/diff_new_pack.QKtgMa/_new  2017-12-23 12:18:57.84933 +0100
@@ -50,7 +50,13 @@
 Source40:   50-alsa.conf
 Source41:   install-snd-module
 # upstream fixes
-# rest suse patches
+Patch1: 0001-pcm-route-Fix-use_getput-flag-computation-for-3-byte.patch
+Patch2: 0002-conf-ucm-Rearrange-Makefile.am.patch
+Patch3: 0003-conf-ucm-Add-dual-HD-audio-codecs-config-for-Lenovo.patch
+Patch4: 0004-conf-ucm-Add-Gigabyte-mobo-UCM-profile-with-dual-HD-.patch
+# rest suse fixes
+Source101:  chtcx2072x.conf
+Source102:  chtcx2072x-HiFi.conf
 BuildRequires:  doxygen
 BuildRequires:  libtool
 BuildRequires:  pkgconfig
@@ -113,6 +119,10 @@
 
 %prep
 %setup -q -n alsa-lib-%{package_version}
+%patch1 -p1
+%patch2 -p1
+%patch3 -p1
+%patch4 -p1
 
 %build
 export AUTOMAKE_JOBS="%{?_smp_mflags}"
@@ -131,6 +141,10 @@
 %install
 # install shared library
 %make_install
+# additional UCM profiles
+mkdir -p %{buildroot}%{_datadir}/alsa/ucm/chtcx2072x
+install -c -m 0644 %{S:101} 
%{buildroot}%{_datadir}/alsa/ucm/chtcx2072x/chtcx2072x.conf
+install -c -m 0644 %{S:102} 
%{buildroot}%{_datadir}/alsa/ucm/chtcx2072x/HiFi.conf
 # clean up unneeded files
 rm -f %{buildroot}%{_libdir}/*.*a
 # rm -f %{buildroot}%{_libdir}/alsa-lib/smixer/*.*a
@@ -169,7 +183,7 @@
 ln -s ../..%{_initddir}/joystick %{buildroot}%{_sbindir}/rcjoystick
 %endif
 #
-# udev rules (only for non-systemd)
+# udev rules
 #
 mkdir -p %{buildroot}%{_udevrulesdir}
 %if 0%{?suse_version} < 1140

++ 0001-pcm-route-Fix-use_getput-flag-computation-for-3-byte.patch ++
>From 6f52b3d643fc68bf1b6a2839696385f0b2b3f327 Mon Sep 17 00:00:00 2001
From: "Maciej S. Szmigiero" 
Date: Mon, 20 Nov 2017 13:12:32 +0100
Subject: [PATCH] pcm: route: Fix use_getput flag computation for 3 byte
 formats

Commit de63b942acf520 ("pcm: route: Use get/put labels for all 3 byte formats")
wanted to make the route plugin use get / put labels not only for 24-bit
physical width formats but also for 18 and 20-bit ones.
There was, however, a typo in that commit so a check for these widths
didn't really work.

Let's fix it now.

Signed-off-by: Maciej S. Szmigiero 
Signed-off-by: Takashi Iwai 
---
 src/pcm/pcm_route.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/pcm/pcm_route.c b/src/pcm/pcm_route.c
index 999a2eed3a25..1f485a8e79f9 100644
--- a/src/pcm/pcm_route.c
+++ b/src/pcm/pcm_route.c
@@ -567,8 +567,8 @@ static int snd_pcm_route_hw_params(snd_pcm_t *pcm, 
snd_pcm_hw_params_t * params)
return err;
/* 3 bytes formats? */
route->params.use_getput =
-   (snd_pcm_format_physical_width(src_format) + 7) / 3 == 3 ||
-   (snd_pcm_format_physical_width(dst_format) + 7) / 3 == 3;
+   (snd_pcm_format_physical_width(src_format) + 7) / 8 == 3 ||
+   (snd_pcm_format_physical_width(dst_format) + 7) / 8 == 3;
route->params.get_idx = snd_pcm_linear_get_index(src_format, 
SND_PCM_FORMAT_S32);
route->params.put_idx = 

commit alsa for openSUSE:Factory

2017-11-30 Thread root
Hello community,

here is the log from the commit of package alsa for openSUSE:Factory checked in 
at 2017-11-30 12:35:37

Comparing /work/SRC/openSUSE:Factory/alsa (Old)
 and  /work/SRC/openSUSE:Factory/.alsa.new (New)


Package is "alsa"

Thu Nov 30 12:35:37 2017 rev:179 rq:544735 version:1.1.5

Changes:

--- /work/SRC/openSUSE:Factory/alsa/alsa.changes2017-11-16 
13:59:00.613982797 +0100
+++ /work/SRC/openSUSE:Factory/.alsa.new/alsa.changes   2017-11-30 
12:35:44.978952769 +0100
@@ -1,0 +2,6 @@
+Thu Nov 23 13:42:45 UTC 2017 - rbr...@suse.com
+
+- Replace references to /var/adm/fillup-templates with new 
+  %_fillupdir macro (boo#1069468)
+
+---



Other differences:
--
++ alsa.spec ++
--- /var/tmp/diff_new_pack.4hF9cq/_old  2017-11-30 12:35:47.258869870 +0100
+++ /var/tmp/diff_new_pack.4hF9cq/_new  2017-11-30 12:35:47.262869725 +0100
@@ -16,6 +16,11 @@
 #
 
 
+#Compat macro for new _fillupdir macro introduced in Nov 2017
+%if ! %{defined _fillupdir}
+  %define _fillupdir /var/adm/fillup-templates
+%endif
+
 %define package_version1.1.5
 %if 0%{?suse_version} < 1200
 %define _udevrulesdir /lib/udev/rules.d/
@@ -184,11 +189,11 @@
 # install template to update rc.config and sysconfig files:
 # (updating the actual files is done in the %post-script)
 #
-mkdir -p -m 755 %{buildroot}%{_localstatedir}/adm/fillup-templates
+mkdir -p -m 755 %{buildroot}%{_fillupdir}
 mkdir -p -m 755 %{buildroot}%{_sysconfdir}/sysconfig
-install -m 644 $RPM_SOURCE_DIR/sysconfig.sound 
%{buildroot}%{_localstatedir}/adm/fillup-templates
+install -m 644 $RPM_SOURCE_DIR/sysconfig.sound %{buildroot}%{_fillupdir}
 %if 0%{?suse_version} <= 1310
-install -m 644 $RPM_SOURCE_DIR/sysconfig.joystick 
%{buildroot}%{_localstatedir}/adm/fillup-templates
+install -m 644 $RPM_SOURCE_DIR/sysconfig.joystick %{buildroot}%{_fillupdir}
 %endif
 #
 # documents
@@ -236,7 +241,7 @@
 %{_bindir}/*
 %{_prefix}/lib/all_notes_off.*
 %{_datadir}/sounds/alsa
-%{_localstatedir}/adm/fillup-templates/*
+%{_fillupdir}/*
 %{_udevrulesdir}*
 
 %files devel







commit alsa for openSUSE:Factory

2017-11-16 Thread root
Hello community,

here is the log from the commit of package alsa for openSUSE:Factory checked in 
at 2017-11-16 13:59:00

Comparing /work/SRC/openSUSE:Factory/alsa (Old)
 and  /work/SRC/openSUSE:Factory/.alsa.new (New)


Package is "alsa"

Thu Nov 16 13:59:00 2017 rev:178 rq:541844 version:1.1.5

Changes:

--- /work/SRC/openSUSE:Factory/alsa/alsa.changes2017-06-04 
01:48:52.237093571 +0200
+++ /work/SRC/openSUSE:Factory/.alsa.new/alsa.changes   2017-11-16 
13:59:00.613982797 +0100
@@ -1,0 +2,30 @@
+Tue Nov 14 12:49:25 CET 2017 - ti...@suse.de
+
+- Update to alsa-lib 1.1.5:
+  * snd_user_file: avoid use wordexp 
+  * cleanup: fix poll.h includes 
+  * ctl: deprecate APIs of dimensional information 
+  * ctl: ext: error at undefined read_event() callback
+  * pcm: softvol: add support for S24_LE 
+  * cleanup: Use uint*_t instead of u_int*_t everythwere 
+  * cleanup: fix poll.h includes 
+  * pcm: hw: Call USER_PVERSION ioctl at open 
+  * pcm: hw: proper mmap and set_appl_ptr handling
+  * pcm: code cleanup and refactoring
+  * pcm: obsolete 'mmap_emulation' parameter of snd_pcm_hw_open_fd() 
+  * pcm: dmix: Fix the inconsistent PCM state 
+  * pcm: dshare: Call snd_pcm_dshare_state() directly 
+  * pcm: dmix: Workaround for binary incompatibility 
+  * conf: Check the availability of PTHREAD_MUTEX_RECURSIVE 
+  * build: Define __USE_UNIX98 for old glibc 
+  * rawmidi: symbols: use rawmidi_virt only when available 
+  * seq: fix snd_seq_set_queue_tempo() usage example in the documentation 
+  * topology: a few fixes
+  * conf/ucm: rt565 support
+  * conf: HdmiLpeAudio: add support for 3 devices 
+  * conf: HdmiLpeAudio: remove the "front" pcm definition 
+  * conf/ucm: DB410c-HiFi: add CIC selection 
+  * conf: USB-Audio: allow custom definitions for "default" devices 
+  * conf: USB-Audio: fix dsnoop args for Audiophile USB card 
+
+---

Old:

  alsa-lib-1.1.4.1.tar.bz2

New:

  alsa-lib-1.1.5.tar.bz2



Other differences:
--
++ alsa.spec ++
--- /var/tmp/diff_new_pack.ujedWo/_old  2017-11-16 13:59:01.349956130 +0100
+++ /var/tmp/diff_new_pack.ujedWo/_new  2017-11-16 13:59:01.353955985 +0100
@@ -16,12 +16,12 @@
 #
 
 
-%define package_version1.1.4.1
+%define package_version1.1.5
 %if 0%{?suse_version} < 1200
 %define _udevrulesdir /lib/udev/rules.d/
 %endif
 Name:   alsa
-Version:1.1.4.1
+Version:1.1.5
 Release:0
 Summary:Advanced Linux Sound Architecture
 License:LGPL-2.1+



++ alsa-lib-1.1.4.1.tar.bz2 -> alsa-lib-1.1.5.tar.bz2 ++
 3979 lines of diff (skipped)





commit alsa for openSUSE:Factory

2017-06-03 Thread root
Hello community,

here is the log from the commit of package alsa for openSUSE:Factory checked in 
at 2017-06-04 01:48:49

Comparing /work/SRC/openSUSE:Factory/alsa (Old)
 and  /work/SRC/openSUSE:Factory/.alsa.new (New)


Package is "alsa"

Sun Jun  4 01:48:49 2017 rev:177 rq:500331 version:1.1.4.1

Changes:

--- /work/SRC/openSUSE:Factory/alsa/alsa.changes2017-05-20 
14:31:48.515488556 +0200
+++ /work/SRC/openSUSE:Factory/.alsa.new/alsa.changes   2017-06-04 
01:48:52.237093571 +0200
@@ -1,0 +2,16 @@
+Thu Jun  1 09:58:27 CEST 2017 - ti...@suse.de
+
+- Update to alsa-lib 1.1.4.1: it's a bug-fix release, including
+  all previous patches:
+  * pcm: dmix: Fix the inconsistent PCM state
+  * pcm: dshare: Call snd_pcm_dshare_state() directly
+  * pcm: dmix: Workaround for binary incompatibility
+  * test: add a test for list operation to user-defined element sets
+  * conf: Check the availability of PTHREAD_MUTEX_RECURSIVE
+  * build: Define __USE_UNIX98 for old glibc
+
+- Obsoleted patches:
+  0001-build-Define-__USE_UNIX98-for-old-glibc.patch
+  0098-dmix-Workaround-for-binary-incompatibility.patch
+
+---

Old:

  0001-build-Define-__USE_UNIX98-for-old-glibc.patch
  0098-dmix-Workaround-for-binary-incompatibility.patch
  alsa-lib-1.1.4.tar.bz2

New:

  alsa-lib-1.1.4.1.tar.bz2



Other differences:
--
++ alsa.spec ++
--- /var/tmp/diff_new_pack.9p6zhE/_old  2017-06-04 01:48:53.376932522 +0200
+++ /var/tmp/diff_new_pack.9p6zhE/_new  2017-06-04 01:48:53.380931957 +0200
@@ -16,12 +16,12 @@
 #
 
 
-%define package_version1.1.4
+%define package_version1.1.4.1
 %if 0%{?suse_version} < 1200
 %define _udevrulesdir /lib/udev/rules.d/
 %endif
 Name:   alsa
-Version:1.1.4
+Version:1.1.4.1
 Release:0
 Summary:Advanced Linux Sound Architecture
 License:LGPL-2.1+
@@ -45,9 +45,7 @@
 Source40:   50-alsa.conf
 Source41:   install-snd-module
 # upstream fixes
-Patch1: 0001-build-Define-__USE_UNIX98-for-old-glibc.patch
 # rest suse patches
-Patch98:0098-dmix-Workaround-for-binary-incompatibility.patch
 BuildRequires:  doxygen
 BuildRequires:  libtool
 BuildRequires:  pkgconfig
@@ -110,8 +108,6 @@
 
 %prep
 %setup -q -n alsa-lib-%{package_version}
-%patch1 -p1
-%patch98 -p1
 
 %build
 export AUTOMAKE_JOBS="%{?_smp_mflags}"



++ alsa-lib-1.1.4.tar.bz2 -> alsa-lib-1.1.4.1.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/alsa-lib-1.1.4/configure 
new/alsa-lib-1.1.4.1/configure
--- old/alsa-lib-1.1.4/configure2017-05-12 10:05:16.0 +0200
+++ new/alsa-lib-1.1.4.1/configure  2017-06-01 08:28:25.0 +0200
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for alsa-lib 1.1.4.
+# Generated by GNU Autoconf 2.69 for alsa-lib 1.1.4.1.
 #
 #
 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
@@ -587,8 +587,8 @@
 # Identity of this package.
 PACKAGE_NAME='alsa-lib'
 PACKAGE_TARNAME='alsa-lib'
-PACKAGE_VERSION='1.1.4'
-PACKAGE_STRING='alsa-lib 1.1.4'
+PACKAGE_VERSION='1.1.4.1'
+PACKAGE_STRING='alsa-lib 1.1.4.1'
 PACKAGE_BUGREPORT=''
 PACKAGE_URL=''
 
@@ -1447,7 +1447,7 @@
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF
-\`configure' configures alsa-lib 1.1.4 to adapt to many kinds of systems.
+\`configure' configures alsa-lib 1.1.4.1 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1517,7 +1517,7 @@
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
- short | recursive ) echo "Configuration of alsa-lib 1.1.4:";;
+ short | recursive ) echo "Configuration of alsa-lib 1.1.4.1:";;
esac
   cat <<\_ACEOF
 
@@ -1669,7 +1669,7 @@
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-alsa-lib configure 1.1.4
+alsa-lib configure 1.1.4.1
 generated by GNU Autoconf 2.69
 
 Copyright (C) 2012 Free Software Foundation, Inc.
@@ -2030,11 +2030,57 @@
   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
 } # ac_fn_c_check_func
+
+# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
+# -
+# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
+# accordingly.
+ac_fn_c_check_decl ()
+{
+  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+  as_decl_name=`echo $2|sed 's/ *(.*//'`
+  as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
+  { $as_echo 

commit alsa for openSUSE:Factory

2017-05-20 Thread root
Hello community,

here is the log from the commit of package alsa for openSUSE:Factory checked in 
at 2017-05-20 14:31:47

Comparing /work/SRC/openSUSE:Factory/alsa (Old)
 and  /work/SRC/openSUSE:Factory/.alsa.new (New)


Package is "alsa"

Sat May 20 14:31:47 2017 rev:176 rq:495558 version:1.1.4

Changes:

--- /work/SRC/openSUSE:Factory/alsa/alsa.changes2017-05-06 
18:25:02.426265571 +0200
+++ /work/SRC/openSUSE:Factory/.alsa.new/alsa.changes   2017-05-20 
14:31:48.515488556 +0200
@@ -1,0 +2,54 @@
+Tue May 16 15:32:13 CEST 2017 - ti...@suse.de
+
+- Update to alsa-lib 1.1.4: including most of previous fixes,
+  in addition to topology API updates
+- Upstream fix for building with old glibc:
+  0001-build-Define-__USE_UNIX98-for-old-glibc.patch
+- Obsoleted patches:
+  0001-ucm-Add-ATTRIBUTE_UNUSED-for-unused-parameters-of-ex.patch
+  0002-ucm-parser-needs-limits.h.patch
+  0003-pcm-direct-allow-users-to-configure-different-period.patch
+  0004-pcm-dshare-enable-silence.patch
+  0005-pcm-rate-fix-the-hw_ptr-update-until-the-boundary-av.patch
+  0006-plugin-dynamically-update-avail_min-on-slave.patch
+  0007-rate-dynamic-update-avail_min-on-slave.patch
+  0008-topology-fix-unused-const-variable-warning.patch
+  0009-seq-improve-documentation-about-new-get-pid-card-fun.patch
+  0010-pcm-direct-returning-semop-error-code-for-semaphore-.patch
+  0011-pcm-direct-Fix-for-sync-issue-on-xrun-recover.patch
+  0012-pcm-direct-check-state-before-enter-poll-on-timer.patch
+  0013-pcm-direct-don-t-return-bogus-buffer-levels-in-xrun-.patch
+  0014-conf-ucm-broxton-add-broxton-rt298-conf-files.patch
+  0015-pcm-direct-Fix-deadlock-in-poll_descriptors.patch
+  0016-ucm-Assure-the-user-input-card-name-not-to-exceed-ma.patch
+  0017-ucm-Load-device-specific-configuration-file-based-on.patch
+  0018-ucm-Add-command-get-_file-to-get-the-config-file-nam.patch
+  0019-topology-Fix-incorrect-license-in-source-comments.patch
+  0020-conf-cards-add-support-for-pistachio-card.patch
+  0021-pcm-multi-Drop-the-fixed-slave_map-in-snd_pcm_multi_.patch
+  0022-conf-Add-card-config-for-Intel-HDMI-DP-LPE-audio.patch
+  0023-pcm-Avoid-lock-for-snd_pcm_nonblock.patch
+  0024-pcm-Disable-locking-in-async-mode.patch
+  0025-pcm-dmix-Allow-disabling-x86-optimizations.patch
+  0026-pcm-dmix_rewind-corrupts-application-pointer-fix.patch
+  0027-pcm-direct-fix-race-on-clearing-timer-events.patch
+  0028-pcm-file-Enable-file-writing-for-capture-path.patch
+  0029-pcm-status-dump-fix-timestamp-formatting.patch
+  0030-pcm-extplug-refinement-of-masks-in-extplug.patch
+  0031-pcm-rate-Add-capability-to-pass-configuration-node-t.patch
+  0032-Drop-ppc64-specific-workaround-for-versioned-symbols.patch
+  0033-pcm_plugin-unify-the-snd_pcm_mmap_begin-result-value.patch
+  0034-always-handle-return-value-from-snd_config_get_id-co.patch
+  0035-pcm-file-plugin-handle-snd_pcm_mmap_begin-error-path.patch
+  0036-topology-coverity-remove-dead-code.patch
+  0037-ucm-parser-fix-possible-string-overflow-in-uc_mgr_im.patch
+  0038-dmix-plugin-fix-drain-for-nonblock-mode.patch
+  0039-dmix-plugin-drain-quickfix-for-the-previous-patch.patch
+  0040-rawmidi-virtual-fix-reading-into-a-small-buffer.patch
+  0041-conf-cards-add-VC4-HDMI-card.patch
+  0042-pcm-plug-save-converter-config.patch
+  0043-pcm-file-delegate-htimestamping-to-slave-instead-of-.patch
+  0096-conf-Remove-dmix.direct_memory_access-setup.patch
+  0097-pcm-dmix-Disable-var_periodsize-as-default.patch
+
+---

Old:

  0001-ucm-Add-ATTRIBUTE_UNUSED-for-unused-parameters-of-ex.patch
  0002-ucm-parser-needs-limits.h.patch
  0003-pcm-direct-allow-users-to-configure-different-period.patch
  0004-pcm-dshare-enable-silence.patch
  0005-pcm-rate-fix-the-hw_ptr-update-until-the-boundary-av.patch
  0006-plugin-dynamically-update-avail_min-on-slave.patch
  0007-rate-dynamic-update-avail_min-on-slave.patch
  0008-topology-fix-unused-const-variable-warning.patch
  0009-seq-improve-documentation-about-new-get-pid-card-fun.patch
  0010-pcm-direct-returning-semop-error-code-for-semaphore-.patch
  0011-pcm-direct-Fix-for-sync-issue-on-xrun-recover.patch
  0012-pcm-direct-check-state-before-enter-poll-on-timer.patch
  0013-pcm-direct-don-t-return-bogus-buffer-levels-in-xrun-.patch
  0014-conf-ucm-broxton-add-broxton-rt298-conf-files.patch
  0015-pcm-direct-Fix-deadlock-in-poll_descriptors.patch
  0016-ucm-Assure-the-user-input-card-name-not-to-exceed-ma.patch
  0017-ucm-Load-device-specific-configuration-file-based-on.patch
  0018-ucm-Add-command-get-_file-to-get-the-config-file-nam.patch
  0019-topology-Fix-incorrect-license-in-source-comments.patch
  0020-conf-cards-add-support-for-pistachio-card.patch
  0021-pcm-multi-Drop-the-fixed-slave_map-in-snd_pcm_multi_.patch
  

commit alsa for openSUSE:Factory

2017-05-06 Thread root
Hello community,

here is the log from the commit of package alsa for openSUSE:Factory checked in 
at 2017-05-06 18:25:00

Comparing /work/SRC/openSUSE:Factory/alsa (Old)
 and  /work/SRC/openSUSE:Factory/.alsa.new (New)


Package is "alsa"

Sat May  6 18:25:00 2017 rev:175 rq:492619 version:1.1.3

Changes:

--- /work/SRC/openSUSE:Factory/alsa/alsa.changes2017-04-17 
10:22:34.106017794 +0200
+++ /work/SRC/openSUSE:Factory/.alsa.new/alsa.changes   2017-05-06 
18:25:02.426265571 +0200
@@ -1,0 +2,7 @@
+Wed May  3 10:07:17 CEST 2017 - ti...@suse.de
+
+- Remove direct_memory_access flag from dmix definition again for
+  fixing a regression used with old alsa-lib binary (boo#1037021):
+  0096-conf-Remove-dmix.direct_memory_access-setup.patch
+
+---

New:

  0096-conf-Remove-dmix.direct_memory_access-setup.patch



Other differences:
--
++ alsa.spec ++
--- /var/tmp/diff_new_pack.RPlnZy/_old  2017-05-06 18:25:04.437981709 +0200
+++ /var/tmp/diff_new_pack.RPlnZy/_new  2017-05-06 18:25:04.441981144 +0200
@@ -88,6 +88,7 @@
 Patch41:0041-conf-cards-add-VC4-HDMI-card.patch
 Patch42:0042-pcm-plug-save-converter-config.patch
 Patch43:0043-pcm-file-delegate-htimestamping-to-slave-instead-of-.patch
+Patch96:0096-conf-Remove-dmix.direct_memory_access-setup.patch
 Patch97:0097-pcm-dmix-Disable-var_periodsize-as-default.patch
 # rest suse patches
 Patch98:0098-dmix-Workaround-for-binary-incompatibility.patch
@@ -196,6 +197,7 @@
 %patch41 -p1
 %patch42 -p1
 %patch43 -p1
+%patch96 -p1
 %patch97 -p1
 %patch98 -p1
 

++ 0096-conf-Remove-dmix.direct_memory_access-setup.patch ++
>From f3d2f4046e8492013044a99fd4324a21dbb82938 Mon Sep 17 00:00:00 2001
From: Takashi Iwai 
Date: Wed, 3 May 2017 09:42:02 +0200
Subject: [PATCH 1/2] conf: Remove dmix.direct_memory_access setup

The commit [22eca6468b4a: pcm: dmix: Allow disabling x86
optimizations] introduced the new flag for dmix & co,
direct_memory_access.  However, it turned out that such an addition of
the new flag in the default pcm definition causes an error when it's
used with old alsa-lib codes.  Although the code added here is
correct, per se, and it works as expected, it's not wise to break the
configuration with old stuff -- even if the usage is somehow incorrect
and should be avoided.

Since the usage of the new flag is only for HDMI LPE audio, and the
usage of dmix itself should be limited with that hardware, this patch
removes the setup so that it works with the old alsa-lib again.  We
may introduce the dmix behavior change in a smarter way, e.g. passing
some flag from the hardware driver so that it works more generically
without the manual fiddling of config files.

Bugzilla: http://bugzilla.opensuse.org/show_bug.cgi?id=1037021
Signed-off-by: Takashi Iwai 
---
 src/conf/cards/HdmiLpeAudio.conf | 23 ---
 src/conf/pcm/dmix.conf   | 15 ---
 2 files changed, 38 deletions(-)

diff --git a/src/conf/cards/HdmiLpeAudio.conf b/src/conf/cards/HdmiLpeAudio.conf
index 61bdfeae2917..dae71facac6d 100644
--- a/src/conf/cards/HdmiLpeAudio.conf
+++ b/src/conf/cards/HdmiLpeAudio.conf
@@ -20,29 +20,6 @@ HdmiLpeAudio.pcm.front.0 {
}
 }
 
-# uncached memory reads have a high penalty
-HdmiLpeAudio.dmix.direct_memory_access false
-
-# default with dmix+softvol
-HdmiLpeAudio.pcm.default {
-   @args [ CARD ]
-   @args.CARD {
-   type string
-   }
-   type plug
-   slave.pcm {
-   type softvol
-   slave.pcm {
-   @func concat
-   strings [ "dmix:" $CARD ]
-   }
-   control {
-   name "PCM Playback Volume"
-   card $CARD
-   }
-   }
-}
-
 
 
 
diff --git a/src/conf/pcm/dmix.conf b/src/conf/pcm/dmix.conf
index 2d3b329e533a..7d0aa0158c42 100644
--- a/src/conf/pcm/dmix.conf
+++ b/src/conf/pcm/dmix.conf
@@ -49,21 +49,6 @@ pcm.!dmix {
@func refer
name defaults.pcm.ipc_perm
}
-   direct_memory_access {
-   @func refer
-   name {
-   @func concat
-   strings [
-   "cards."
-   {
-   @func card_driver
-   card $CARD
-   }
-   ".dmix.direct_memory_access"
-   ]
-   }
-   default true
-   }
slave {
pcm {

commit alsa for openSUSE:Factory

2017-02-16 Thread root
Hello community,

here is the log from the commit of package alsa for openSUSE:Factory checked in 
at 2017-02-16 16:44:10

Comparing /work/SRC/openSUSE:Factory/alsa (Old)
 and  /work/SRC/openSUSE:Factory/.alsa.new (New)


Package is "alsa"

Changes:

--- /work/SRC/openSUSE:Factory/alsa/alsa.changes2017-01-04 
19:28:30.519680160 +0100
+++ /work/SRC/openSUSE:Factory/.alsa.new/alsa.changes   2017-02-16 
16:44:11.957229180 +0100
@@ -1,0 +2,15 @@
+Mon Feb 13 10:28:23 UTC 2017 - tchva...@suse.com
+
+- Drop alsa-lib-doxygen-avoid-crash-for-11.3.diff as it was applied
+  only in case of 11.3 and never else
+- Use Requires(phase) instead of prereq string
+- Use official %udevrulesdir macro instead of handbrew udevdir
+- Version provides/obsoletes in devel pkg to avoid warning
+- Remove hack that allowed build on SLE10
+
+---
+Wed Feb  8 08:39:05 CET 2017 - ku...@suse.de
+
+- Don't require insserv if we don't need it.
+
+---

Old:

  alsa-lib-doxygen-avoid-crash-for-11.3.diff



Other differences:
--
++ alsa.spec ++
--- /var/tmp/diff_new_pack.GEByTC/_old  2017-02-16 16:44:13.109065607 +0100
+++ /var/tmp/diff_new_pack.GEByTC/_new  2017-02-16 16:44:13.113065040 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package alsa
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,10 +17,8 @@
 
 
 %define package_version1.1.3
-%if 0%{?suse_version} > 1200
-%define _udevdir %(pkg-config --variable=udevdir udev)
-%else
-%define _udevdir /lib/udev
+%if 0%{?suse_version} < 1200
+%define _udevrulesdir /lib/udev/rules.d/
 %endif
 Name:   alsa
 Version:1.1.3
@@ -46,29 +44,24 @@
 Source34:   alsa-init.sh
 Source40:   50-alsa.conf
 Source41:   install-snd-module
-# Patch:  alsa-lib-git-fixes.diff
 # upstream fixes
 # rest suse patches
-Patch99:alsa-lib-doxygen-avoid-crash-for-11.3.diff
 BuildRequires:  doxygen
 BuildRequires:  libtool
-BuildRequires:  pkg-config
+BuildRequires:  pkgconfig
 Requires:   alsa-utils
-# FIXME: use proper Requires(pre/post/preun/...)
-PreReq: %fillup_prereq
-PreReq: %insserv_prereq
+Requires(post): %fillup_prereq
 Recommends: alsa-oss
 Recommends: alsa-plugins
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
+%if 0%{?suse_version} <= 1310
+Requires(post): %insserv_prereq
+%endif
 %if 0%{?suse_version} > 1200
 BuildRequires:  pkgconfig(udev)
 %else
 BuildRequires:  udev
 %endif
-# bug437293
-%ifarch ppc64
-Obsoletes:  alsa-64bit
-%endif
 
 %description
 ALSA stands for Advanced Linux Sound Architecture.  It supports many
@@ -83,9 +76,9 @@
 Group:  Development/Libraries/C and C++
 Requires:   glibc-devel
 Requires:   libasound2 = %{version}
-Obsoletes:  alsadev
-Provides:   alsa-lib-devel
-Provides:   alsadev
+Obsoletes:  alsadev < %{version}
+Provides:   alsa-lib-devel = %{version}
+Provides:   alsadev = %{version}
 
 %description devel
 This package contains all necessary include files and libraries needed
@@ -115,18 +108,6 @@
 
 %prep
 %setup -q -n alsa-lib-%{package_version}
-# %patch -p1
-# build fixes
-%if 0%{?suse_version} == 1130
-%patch99 -p1
-%endif
-# hack to fix build on older distros
-%if 0%{?suse_version} < 1100
-%ifarch %{ix86}
-test -f $RPM_SOURCE_DIR/baselibs.conf && \
-sed -i -e'/recommends.*alsa-oss/d' $RPM_SOURCE_DIR/baselibs.conf
-%endif
-%endif
 
 %build
 export AUTOMAKE_JOBS="%{?_smp_mflags}"
@@ -144,7 +125,7 @@
 
 %install
 # install shared library
-make DESTDIR=%{buildroot} install %{?_smp_mflags}
+%make_install
 # clean up unneeded files
 rm -f %{buildroot}%{_libdir}/*.*a
 # rm -f %{buildroot}%{_libdir}/alsa-lib/smixer/*.*a
@@ -185,11 +166,11 @@
 #
 # udev rules (only for non-systemd)
 #
-mkdir -p %{buildroot}%{_udevdir}/rules.d
+mkdir -p %{buildroot}%{_udevrulesdir}
 %if 0%{?suse_version} < 1140
-install -c -m 0644 %{SOURCE8} %{buildroot}%{_udevdir}/rules.d
+install -c -m 0644 %{SOURCE8} %{buildroot}%{_udevrulesdir}
 %endif
-install -c -m 0644 %{SOURCE9} %{buildroot}%{_udevdir}/rules.d
+install -c -m 0644 %{SOURCE9} %{buildroot}%{_udevrulesdir}
 #
 # modprobe config and the module install script for loading OSS-emulation
 # and sequencer modules automatically
@@ -228,7 +209,6 @@
 exit 0
 
 %if 0%{?suse_version} <= 1310
-
 %preun
 %stop_on_removal alsasound joystick
 exit 0
@@ -240,7 +220,6 @@
 %endif
 
 %post -n libasound2 -p /sbin/ldconfig
-
 %postun 

commit alsa for openSUSE:Factory

2016-08-06 Thread h_root
Hello community,

here is the log from the commit of package alsa for openSUSE:Factory checked in 
at 2016-08-06 20:35:07

Comparing /work/SRC/openSUSE:Factory/alsa (Old)
 and  /work/SRC/openSUSE:Factory/.alsa.new (New)


Package is "alsa"

Changes:

--- /work/SRC/openSUSE:Factory/alsa/alsa.changes2016-06-12 
18:51:38.0 +0200
+++ /work/SRC/openSUSE:Factory/.alsa.new/alsa.changes   2016-08-06 
20:35:08.0 +0200
@@ -1,0 +2,36 @@
+Wed Aug  3 11:22:16 CEST 2016 - ti...@suse.de
+
+- Update to alsa-lib v1.1.2:
+  * topology API updates
+  * support of stacked async handlers
+  * new UCM configs: rockchip-i2s, skylake-i2s, chtrt5645,
+  * add cset-tlv ucm support
+  * fix conversion of TLVs min_db and max_dB value in softvol
+  * fix appl pointer in the error path of PCM plugin
+  * PCM code cleanup
+  * fix suspend/resume of PCM dmix, dsnoop and dshare plugins
+  * fix doubly enumerated items via namehint
+  * make PCM codes thread-safe
+  * API documentation enhancements
+  * element-set ctl API
+  * Optimization by replacing alloca() usages
+
+- Drop obsoleted patches:
+  0001-pcm_plugin-fix-appl-pointer-not-correct-when-mmap_co.patch
+  0002-pcm-Clean-up-error-paths-in-snd_pcm_plugin_-helpers.patch
+  0003-pcm-Fallback-open-as-the-first-instance-for-dmix-co.patch
+  0004-pcm-softvol-fix-conversion-of-TLVs-min_db-and-max_dB.patch
+  0005-pcm-Fix-suspend-resume-regression-with-dmix-co.patch
+  0006-pcm-dmix-Fix-doubly-resume-of-slave-PCM.patch
+  0007-namehint-Don-t-enumerate-as-duplex-if-only-a-single-.patch
+  0008-pcm-Define-namehint-for-single-directional-PCM-types.patch
+  0009-conf-Add-thread-safe-global-tree-reference.patch
+  0010-pcm-Remove-resume-support-from-dmix-co.patch
+  0011-pcm-Fix-secondary-retry-in-dsnoop-and-dshare.patch
+  0012-pcm-dmix-resume-workaround-for-buggy-driver.patch
+  0013-pcm-dmix-Prepare-slave-when-it-s-in-SETUP-too.patch
+  0014-pcm-dmix-Return-error-when-slave-is-in-OPEN-or-DISCO.patch
+  0015-async-Handle-previously-installed-signal-handler.patch
+  alsa-docs-suppress-timestamp.patch
+
+---

Old:

  0001-pcm_plugin-fix-appl-pointer-not-correct-when-mmap_co.patch
  0002-pcm-Clean-up-error-paths-in-snd_pcm_plugin_-helpers.patch
  0003-pcm-Fallback-open-as-the-first-instance-for-dmix-co.patch
  0004-pcm-softvol-fix-conversion-of-TLVs-min_db-and-max_dB.patch
  0005-pcm-Fix-suspend-resume-regression-with-dmix-co.patch
  0006-pcm-dmix-Fix-doubly-resume-of-slave-PCM.patch
  0007-namehint-Don-t-enumerate-as-duplex-if-only-a-single-.patch
  0008-pcm-Define-namehint-for-single-directional-PCM-types.patch
  0009-conf-Add-thread-safe-global-tree-reference.patch
  0010-pcm-Remove-resume-support-from-dmix-co.patch
  0011-pcm-Fix-secondary-retry-in-dsnoop-and-dshare.patch
  0012-pcm-dmix-resume-workaround-for-buggy-driver.patch
  0013-pcm-dmix-Prepare-slave-when-it-s-in-SETUP-too.patch
  0014-pcm-dmix-Return-error-when-slave-is-in-OPEN-or-DISCO.patch
  0015-async-Handle-previously-installed-signal-handler.patch
  alsa-docs-suppress-timestamp.patch
  alsa-lib-1.1.1.tar.bz2

New:

  alsa-lib-1.1.2.tar.bz2



Other differences:
--
++ alsa.spec ++
--- /var/tmp/diff_new_pack.clJGzL/_old  2016-08-06 20:35:09.0 +0200
+++ /var/tmp/diff_new_pack.clJGzL/_new  2016-08-06 20:35:09.0 +0200
@@ -16,16 +16,15 @@
 #
 
 
-%define package_version1.1.1
+%define package_version1.1.2
 %if 0%{?suse_version} > 1200
 %define _udevdir %(pkg-config --variable=udevdir udev)
 %else
 %define _udevdir /lib/udev
 %endif
 Name:   alsa
-Version:1.1.1
+Version:1.1.2
 Release:0
-#
 Summary:Advanced Linux Sound Architecture
 License:LGPL-2.1+
 Group:  System/Libraries
@@ -49,25 +48,8 @@
 Source41:   install-snd-module
 # Patch:  alsa-lib-git-fixes.diff
 # upstream fixes
-Patch1: 0001-pcm_plugin-fix-appl-pointer-not-correct-when-mmap_co.patch
-Patch2: 0002-pcm-Clean-up-error-paths-in-snd_pcm_plugin_-helpers.patch
-Patch3: 0003-pcm-Fallback-open-as-the-first-instance-for-dmix-co.patch
-Patch4: 0004-pcm-softvol-fix-conversion-of-TLVs-min_db-and-max_dB.patch
-Patch5: 0005-pcm-Fix-suspend-resume-regression-with-dmix-co.patch
-Patch6: 0006-pcm-dmix-Fix-doubly-resume-of-slave-PCM.patch
-Patch7: 0007-namehint-Don-t-enumerate-as-duplex-if-only-a-single-.patch
-Patch8: 0008-pcm-Define-namehint-for-single-directional-PCM-types.patch
-Patch9: 0009-conf-Add-thread-safe-global-tree-reference.patch
-Patch10:0010-pcm-Remove-resume-support-from-dmix-co.patch
-Patch11:

commit alsa for openSUSE:Factory

2016-06-12 Thread h_root
Hello community,

here is the log from the commit of package alsa for openSUSE:Factory checked in 
at 2016-06-12 18:51:37

Comparing /work/SRC/openSUSE:Factory/alsa (Old)
 and  /work/SRC/openSUSE:Factory/.alsa.new (New)


Package is "alsa"

Changes:

--- /work/SRC/openSUSE:Factory/alsa/alsa.changes2016-05-19 
12:03:36.0 +0200
+++ /work/SRC/openSUSE:Factory/.alsa.new/alsa.changes   2016-06-12 
18:51:38.0 +0200
@@ -1,0 +2,15 @@
+Wed Jun  8 10:30:29 CEST 2016 - ti...@suse.de
+
+- Backport upstream fixes: fixing PCM dmix & co suspend/resume,
+  namehint parser fixes, stackable async handler:
+  0007-namehint-Don-t-enumerate-as-duplex-if-only-a-single-.patch
+  0008-pcm-Define-namehint-for-single-directional-PCM-types.patch
+  0009-conf-Add-thread-safe-global-tree-reference.patch
+  0010-pcm-Remove-resume-support-from-dmix-co.patch
+  0011-pcm-Fix-secondary-retry-in-dsnoop-and-dshare.patch
+  0012-pcm-dmix-resume-workaround-for-buggy-driver.patch
+  0013-pcm-dmix-Prepare-slave-when-it-s-in-SETUP-too.patch
+  0014-pcm-dmix-Return-error-when-slave-is-in-OPEN-or-DISCO.patch
+  0015-async-Handle-previously-installed-signal-handler.patch
+
+---

New:

  0007-namehint-Don-t-enumerate-as-duplex-if-only-a-single-.patch
  0008-pcm-Define-namehint-for-single-directional-PCM-types.patch
  0009-conf-Add-thread-safe-global-tree-reference.patch
  0010-pcm-Remove-resume-support-from-dmix-co.patch
  0011-pcm-Fix-secondary-retry-in-dsnoop-and-dshare.patch
  0012-pcm-dmix-resume-workaround-for-buggy-driver.patch
  0013-pcm-dmix-Prepare-slave-when-it-s-in-SETUP-too.patch
  0014-pcm-dmix-Return-error-when-slave-is-in-OPEN-or-DISCO.patch
  0015-async-Handle-previously-installed-signal-handler.patch



Other differences:
--
++ alsa.spec ++
--- /var/tmp/diff_new_pack.3bnLQM/_old  2016-06-12 18:51:39.0 +0200
+++ /var/tmp/diff_new_pack.3bnLQM/_new  2016-06-12 18:51:39.0 +0200
@@ -55,6 +55,15 @@
 Patch4: 0004-pcm-softvol-fix-conversion-of-TLVs-min_db-and-max_dB.patch
 Patch5: 0005-pcm-Fix-suspend-resume-regression-with-dmix-co.patch
 Patch6: 0006-pcm-dmix-Fix-doubly-resume-of-slave-PCM.patch
+Patch7: 0007-namehint-Don-t-enumerate-as-duplex-if-only-a-single-.patch
+Patch8: 0008-pcm-Define-namehint-for-single-directional-PCM-types.patch
+Patch9: 0009-conf-Add-thread-safe-global-tree-reference.patch
+Patch10:0010-pcm-Remove-resume-support-from-dmix-co.patch
+Patch11:0011-pcm-Fix-secondary-retry-in-dsnoop-and-dshare.patch
+Patch12:0012-pcm-dmix-resume-workaround-for-buggy-driver.patch
+Patch13:0013-pcm-dmix-Prepare-slave-when-it-s-in-SETUP-too.patch
+Patch14:0014-pcm-dmix-Return-error-when-slave-is-in-OPEN-or-DISCO.patch
+Patch15:0015-async-Handle-previously-installed-signal-handler.patch
 # rest suse patches
 Patch99:alsa-lib-doxygen-avoid-crash-for-11.3.diff
 # suppress timestamp in documents
@@ -131,6 +140,15 @@
 %patch4 -p1
 %patch5 -p1
 %patch6 -p1
+%patch7 -p1
+%patch8 -p1
+%patch9 -p1
+%patch10 -p1
+%patch11 -p1
+%patch12 -p1
+%patch13 -p1
+%patch14 -p1
+%patch15 -p1
 %if 0%{?suse_version} == 1130
 %patch99 -p1
 %endif

++ 0007-namehint-Don-t-enumerate-as-duplex-if-only-a-single-.patch ++
>From 8cdbdae73109c901aec4984f6ba65e5b25722f13 Mon Sep 17 00:00:00 2001
From: Takashi Iwai 
Date: Thu, 12 May 2016 16:30:44 +0200
Subject: [PATCH 07/15] namehint: Don't enumerate as duplex if only a single
 direction is defined

When a hint description has only either device_input or device_output,
we shouldn't handle it as a full duplex but rather a single
direction.  In that way, we can avoid to list up a playback stream
like dmix or surround51 as a capture stream in the namehint.

Reported-by: Trent Reed 
Signed-off-by: Takashi Iwai 
---
 src/control/namehint.c | 10 --
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/src/control/namehint.c b/src/control/namehint.c
index 856957c76d74..ad8dda37a637 100644
--- a/src/control/namehint.c
+++ b/src/control/namehint.c
@@ -28,6 +28,7 @@
 #include "local.h"
 
 #ifndef DOC_HIDDEN
+#define DEV_SKIP    /* some non-existing device number */
 struct hint_list {
char **list;
unsigned int count;
@@ -90,7 +91,7 @@ static int get_dev_name1(struct hint_list *list, char **res, 
int device,
 int stream)
 {
*res = NULL;
-   if (device < 0)
+   if (device < 0 || device == DEV_SKIP)
return 0;
switch (list->iface) {
 #ifdef BUILD_HWDEP
@@ -317,7 +318,9 @@ static int try_config(snd_config_t *config,
  

commit alsa for openSUSE:Factory

2016-05-19 Thread h_root
Hello community,

here is the log from the commit of package alsa for openSUSE:Factory checked in 
at 2016-05-19 12:03:34

Comparing /work/SRC/openSUSE:Factory/alsa (Old)
 and  /work/SRC/openSUSE:Factory/.alsa.new (New)


Package is "alsa"

Changes:

--- /work/SRC/openSUSE:Factory/alsa/alsa.changes2016-04-05 
10:41:45.0 +0200
+++ /work/SRC/openSUSE:Factory/.alsa.new/alsa.changes   2016-05-19 
12:03:36.0 +0200
@@ -1,0 +2,11 @@
+Thu May 12 14:44:48 CEST 2016 - ti...@suse.de
+
+- Backport various upstream fixes for PCM (bnc#979702):
+  0001-pcm_plugin-fix-appl-pointer-not-correct-when-mmap_co.patch
+  0002-pcm-Clean-up-error-paths-in-snd_pcm_plugin_-helpers.patch
+  0003-pcm-Fallback-open-as-the-first-instance-for-dmix-co.patch
+  0004-pcm-softvol-fix-conversion-of-TLVs-min_db-and-max_dB.patch
+  0005-pcm-Fix-suspend-resume-regression-with-dmix-co.patch
+  0006-pcm-dmix-Fix-doubly-resume-of-slave-PCM.patch
+
+---

New:

  0001-pcm_plugin-fix-appl-pointer-not-correct-when-mmap_co.patch
  0002-pcm-Clean-up-error-paths-in-snd_pcm_plugin_-helpers.patch
  0003-pcm-Fallback-open-as-the-first-instance-for-dmix-co.patch
  0004-pcm-softvol-fix-conversion-of-TLVs-min_db-and-max_dB.patch
  0005-pcm-Fix-suspend-resume-regression-with-dmix-co.patch
  0006-pcm-dmix-Fix-doubly-resume-of-slave-PCM.patch



Other differences:
--
++ alsa.spec ++
--- /var/tmp/diff_new_pack.R39uZC/_old  2016-05-19 12:03:38.0 +0200
+++ /var/tmp/diff_new_pack.R39uZC/_new  2016-05-19 12:03:38.0 +0200
@@ -49,6 +49,12 @@
 Source41:   install-snd-module
 # Patch:  alsa-lib-git-fixes.diff
 # upstream fixes
+Patch1: 0001-pcm_plugin-fix-appl-pointer-not-correct-when-mmap_co.patch
+Patch2: 0002-pcm-Clean-up-error-paths-in-snd_pcm_plugin_-helpers.patch
+Patch3: 0003-pcm-Fallback-open-as-the-first-instance-for-dmix-co.patch
+Patch4: 0004-pcm-softvol-fix-conversion-of-TLVs-min_db-and-max_dB.patch
+Patch5: 0005-pcm-Fix-suspend-resume-regression-with-dmix-co.patch
+Patch6: 0006-pcm-dmix-Fix-doubly-resume-of-slave-PCM.patch
 # rest suse patches
 Patch99:alsa-lib-doxygen-avoid-crash-for-11.3.diff
 # suppress timestamp in documents
@@ -119,6 +125,12 @@
 %prep
 %setup -q -n alsa-lib-%{package_version}
 # %patch -p1
+%patch1 -p1
+%patch2 -p1
+%patch3 -p1
+%patch4 -p1
+%patch5 -p1
+%patch6 -p1
 %if 0%{?suse_version} == 1130
 %patch99 -p1
 %endif

++ 0001-pcm_plugin-fix-appl-pointer-not-correct-when-mmap_co.patch ++
>From 7c424edd116e76eee6218a1e9a6ff6c4daaf2a4d Mon Sep 17 00:00:00 2001
From: Shengjiu Wang 
Date: Wed, 6 Apr 2016 19:02:12 +0800
Subject: [PATCH] pcm_plugin: fix appl pointer not correct when mmap_commit()
 return error

When snd_pcm_mmap_commit() return error, the appl pointer is also updated.
which cause the avail_update()'s result wrong.
This patch move the snd_pcm_mmap_appl_forward() to the place when
snd_pcm_mmap_commit() is successfully returned.

Signed-off-by: Shengjiu Wang 
Signed-off-by: Takashi Iwai 
---
 src/pcm/pcm_plugin.c | 48 
 1 file changed, 32 insertions(+), 16 deletions(-)

diff --git a/src/pcm/pcm_plugin.c b/src/pcm/pcm_plugin.c
index d007e8c8bd4a..940491dbc84b 100644
--- a/src/pcm/pcm_plugin.c
+++ b/src/pcm/pcm_plugin.c
@@ -279,18 +279,22 @@ static snd_pcm_sframes_t 
snd_pcm_plugin_write_areas(snd_pcm_t *pcm,
return -EPIPE;
}
snd_atomic_write_begin(>watom);
-   snd_pcm_mmap_appl_forward(pcm, frames);
result = snd_pcm_mmap_commit(slave, slave_offset, slave_frames);
if (result > 0 && (snd_pcm_uframes_t)result != slave_frames) {
snd_pcm_sframes_t res;
res = plugin->undo_write(pcm, slave_areas, slave_offset 
+ result, slave_frames, slave_frames - result);
-   if (res < 0)
+   if (res < 0) {
+   snd_atomic_write_end(>watom);
return xfer > 0 ? (snd_pcm_sframes_t)xfer : res;
+   }
frames -= res;
}
-   snd_atomic_write_end(>watom);
-   if (result <= 0)
+   if (result <= 0) {
+   snd_atomic_write_end(>watom);
return xfer > 0 ? (snd_pcm_sframes_t)xfer : result;
+   }
+   snd_pcm_mmap_appl_forward(pcm, frames);
+   snd_atomic_write_end(>watom);
offset += frames;
   

commit alsa for openSUSE:Factory

2016-04-05 Thread h_root
Hello community,

here is the log from the commit of package alsa for openSUSE:Factory checked in 
at 2016-04-05 10:41:44

Comparing /work/SRC/openSUSE:Factory/alsa (Old)
 and  /work/SRC/openSUSE:Factory/.alsa.new (New)


Package is "alsa"

Changes:

--- /work/SRC/openSUSE:Factory/alsa/alsa.changes2016-02-09 
16:48:36.0 +0100
+++ /work/SRC/openSUSE:Factory/.alsa.new/alsa.changes   2016-04-05 
10:41:45.0 +0200
@@ -1,0 +2,26 @@
+Thu Mar 31 15:19:33 CEST 2016 - ti...@suse.de
+
+- Update to alsa-lib 1.1.1:
+  * including previous fixes
+  * a few more fixes/cleanup of control API
+  * BSD compatibility changes
+  * sync with 4.6 kernel ABI
+  * provide API for sequencer sound card number / pid
+  * fix races at dmix/dsnoop plugin 
+  * a few topology API updates
+- Drop the obsoleted patches:
+  0001-topology-Add-missing-include-sys-stat.h.patch
+  0002-pcm-simple-Fix-asserts.patch
+  0003-topology-open-topology-files-with-O_TRUNC.patch
+  0004-topology-Remove-unused-function-write_data_block.patch
+  0005-topology-Remove-unused-variables.patch
+  0006-topology-Fix-comparison-of-unsigned-expression-0.patch
+  0007-topology-Not-compare-a-for-loop-iterator-with-ABI-__.patch
+  0008-topology-Quit-and-show-error-message-on-big-endian-m.patch
+  0009-config-files-do-not-include-ucm-topology-configurati.patch
+  0010-control-add-missing-asserts-to-ctl_elem_set-function.patch
+  0011-pcm_hw-fix-possible-memory-leak-coverity.patch
+  0012-coverity-fixes.patch
+  0013-topology-fix-debug-output-to-print-correct-max-value.patch
+
+---

Old:

  0001-topology-Add-missing-include-sys-stat.h.patch
  0002-pcm-simple-Fix-asserts.patch
  0003-topology-open-topology-files-with-O_TRUNC.patch
  0004-topology-Remove-unused-function-write_data_block.patch
  0005-topology-Remove-unused-variables.patch
  0006-topology-Fix-comparison-of-unsigned-expression-0.patch
  0007-topology-Not-compare-a-for-loop-iterator-with-ABI-__.patch
  0008-topology-Quit-and-show-error-message-on-big-endian-m.patch
  0009-config-files-do-not-include-ucm-topology-configurati.patch
  0010-control-add-missing-asserts-to-ctl_elem_set-function.patch
  0011-pcm_hw-fix-possible-memory-leak-coverity.patch
  0012-coverity-fixes.patch
  0013-topology-fix-debug-output-to-print-correct-max-value.patch
  alsa-lib-1.1.0.tar.bz2

New:

  alsa-lib-1.1.1.tar.bz2



Other differences:
--
++ alsa.spec ++
--- /var/tmp/diff_new_pack.TWP9XZ/_old  2016-04-05 10:41:46.0 +0200
+++ /var/tmp/diff_new_pack.TWP9XZ/_new  2016-04-05 10:41:46.0 +0200
@@ -16,14 +16,14 @@
 #
 
 
-%define package_version1.1.0
+%define package_version1.1.1
 %if 0%{?suse_version} > 1200
 %define _udevdir %(pkg-config --variable=udevdir udev)
 %else
 %define _udevdir /lib/udev
 %endif
 Name:   alsa
-Version:1.1.0
+Version:1.1.1
 Release:0
 #
 Summary:Advanced Linux Sound Architecture
@@ -49,19 +49,6 @@
 Source41:   install-snd-module
 # Patch:  alsa-lib-git-fixes.diff
 # upstream fixes
-Patch1: 0001-topology-Add-missing-include-sys-stat.h.patch
-Patch2: 0002-pcm-simple-Fix-asserts.patch
-Patch3: 0003-topology-open-topology-files-with-O_TRUNC.patch
-Patch4: 0004-topology-Remove-unused-function-write_data_block.patch
-Patch5: 0005-topology-Remove-unused-variables.patch
-Patch6: 0006-topology-Fix-comparison-of-unsigned-expression-0.patch
-Patch7: 0007-topology-Not-compare-a-for-loop-iterator-with-ABI-__.patch
-Patch8: 0008-topology-Quit-and-show-error-message-on-big-endian-m.patch
-Patch9: 0009-config-files-do-not-include-ucm-topology-configurati.patch
-Patch10:0010-control-add-missing-asserts-to-ctl_elem_set-function.patch
-Patch11:0011-pcm_hw-fix-possible-memory-leak-coverity.patch
-Patch12:0012-coverity-fixes.patch
-Patch13:0013-topology-fix-debug-output-to-print-correct-max-value.patch
 # rest suse patches
 Patch99:alsa-lib-doxygen-avoid-crash-for-11.3.diff
 # suppress timestamp in documents
@@ -132,19 +119,6 @@
 %prep
 %setup -q -n alsa-lib-%{package_version}
 # %patch -p1
-%patch1 -p1
-%patch2 -p1
-%patch3 -p1
-%patch4 -p1
-%patch5 -p1
-%patch6 -p1
-%patch7 -p1
-%patch8 -p1
-%patch9 -p1
-%patch10 -p1
-%patch11 -p1
-%patch12 -p1
-%patch13 -p1
 %if 0%{?suse_version} == 1130
 %patch99 -p1
 %endif



++ alsa-lib-1.1.0.tar.bz2 -> alsa-lib-1.1.1.tar.bz2 ++
 1706 lines of diff (skipped)
retrying with extended exclude list
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 

commit alsa for openSUSE:Factory

2016-02-09 Thread h_root
Hello community,

here is the log from the commit of package alsa for openSUSE:Factory checked in 
at 2016-02-09 16:48:35

Comparing /work/SRC/openSUSE:Factory/alsa (Old)
 and  /work/SRC/openSUSE:Factory/.alsa.new (New)


Package is "alsa"

Changes:

--- /work/SRC/openSUSE:Factory/alsa/alsa.changes2015-11-12 
19:37:53.0 +0100
+++ /work/SRC/openSUSE:Factory/.alsa.new/alsa.changes   2016-02-09 
16:48:36.0 +0100
@@ -1,0 +2,18 @@
+Wed Feb  3 17:56:41 CET 2016 - ti...@suse.de
+
+- Backports from upstream: minor PCM fixes, topology API updates,
+  and a few build cleanup:
+  0002-pcm-simple-Fix-asserts.patch
+  0003-topology-open-topology-files-with-O_TRUNC.patch
+  0004-topology-Remove-unused-function-write_data_block.patch
+  0005-topology-Remove-unused-variables.patch
+  0006-topology-Fix-comparison-of-unsigned-expression-0.patch
+  0007-topology-Not-compare-a-for-loop-iterator-with-ABI-__.patch
+  0008-topology-Quit-and-show-error-message-on-big-endian-m.patch
+  0009-config-files-do-not-include-ucm-topology-configurati.patch
+  0010-control-add-missing-asserts-to-ctl_elem_set-function.patch
+  0011-pcm_hw-fix-possible-memory-leak-coverity.patch
+  0012-coverity-fixes.patch
+  0013-topology-fix-debug-output-to-print-correct-max-value.patch
+
+---

New:

  0002-pcm-simple-Fix-asserts.patch
  0003-topology-open-topology-files-with-O_TRUNC.patch
  0004-topology-Remove-unused-function-write_data_block.patch
  0005-topology-Remove-unused-variables.patch
  0006-topology-Fix-comparison-of-unsigned-expression-0.patch
  0007-topology-Not-compare-a-for-loop-iterator-with-ABI-__.patch
  0008-topology-Quit-and-show-error-message-on-big-endian-m.patch
  0009-config-files-do-not-include-ucm-topology-configurati.patch
  0010-control-add-missing-asserts-to-ctl_elem_set-function.patch
  0011-pcm_hw-fix-possible-memory-leak-coverity.patch
  0012-coverity-fixes.patch
  0013-topology-fix-debug-output-to-print-correct-max-value.patch



Other differences:
--
++ alsa.spec ++
--- /var/tmp/diff_new_pack.FVrDKD/_old  2016-02-09 16:48:37.0 +0100
+++ /var/tmp/diff_new_pack.FVrDKD/_new  2016-02-09 16:48:37.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package alsa
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -50,6 +50,18 @@
 # Patch:  alsa-lib-git-fixes.diff
 # upstream fixes
 Patch1: 0001-topology-Add-missing-include-sys-stat.h.patch
+Patch2: 0002-pcm-simple-Fix-asserts.patch
+Patch3: 0003-topology-open-topology-files-with-O_TRUNC.patch
+Patch4: 0004-topology-Remove-unused-function-write_data_block.patch
+Patch5: 0005-topology-Remove-unused-variables.patch
+Patch6: 0006-topology-Fix-comparison-of-unsigned-expression-0.patch
+Patch7: 0007-topology-Not-compare-a-for-loop-iterator-with-ABI-__.patch
+Patch8: 0008-topology-Quit-and-show-error-message-on-big-endian-m.patch
+Patch9: 0009-config-files-do-not-include-ucm-topology-configurati.patch
+Patch10:0010-control-add-missing-asserts-to-ctl_elem_set-function.patch
+Patch11:0011-pcm_hw-fix-possible-memory-leak-coverity.patch
+Patch12:0012-coverity-fixes.patch
+Patch13:0013-topology-fix-debug-output-to-print-correct-max-value.patch
 # rest suse patches
 Patch99:alsa-lib-doxygen-avoid-crash-for-11.3.diff
 # suppress timestamp in documents
@@ -121,6 +133,18 @@
 %setup -q -n alsa-lib-%{package_version}
 # %patch -p1
 %patch1 -p1
+%patch2 -p1
+%patch3 -p1
+%patch4 -p1
+%patch5 -p1
+%patch6 -p1
+%patch7 -p1
+%patch8 -p1
+%patch9 -p1
+%patch10 -p1
+%patch11 -p1
+%patch12 -p1
+%patch13 -p1
 %if 0%{?suse_version} == 1130
 %patch99 -p1
 %endif

++ 0002-pcm-simple-Fix-asserts.patch ++
>From 57ae61ce274964c100f8df372f2d3b4c68ac17b8 Mon Sep 17 00:00:00 2001
From: Peter Rosin 
Date: Wed, 11 Nov 2015 16:11:10 +0100
Subject: [PATCH] pcm: simple: Fix asserts

Do not error out on the boundaries.

Signed-off-by: Peter Rosin 
Signed-off-by: Jaroslav Kysela 
---
 src/pcm/pcm_simple.c | 8 
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/pcm/pcm_simple.c b/src/pcm/pcm_simple.c
index f943ec09b396..ce110833922e 100644
--- a/src/pcm/pcm_simple.c
+++ b/src/pcm/pcm_simple.c
@@ -173,8 +173,8 @@ int snd_spcm_init(snd_pcm_t *pcm,
snd_pcm_sw_params_alloca(_params);
 
assert(pcm);
-   assert(rate > 5000 && rate < 192000);

commit alsa for openSUSE:Factory

2015-11-12 Thread h_root
Hello community,

here is the log from the commit of package alsa for openSUSE:Factory checked in 
at 2015-11-12 19:37:51

Comparing /work/SRC/openSUSE:Factory/alsa (Old)
 and  /work/SRC/openSUSE:Factory/.alsa.new (New)


Package is "alsa"

Changes:

--- /work/SRC/openSUSE:Factory/alsa/alsa.changes2015-10-14 
16:41:01.0 +0200
+++ /work/SRC/openSUSE:Factory/.alsa.new/alsa.changes   2015-11-12 
19:37:53.0 +0100
@@ -1,0 +2,82 @@
+Mon Nov  9 11:32:40 CET 2015 - ti...@suse.de
+
+- Update to alsa-lib 1.1.0:
+  including all previous fixes, with more updates for topology API,
+  a fix for dmix/dsnoop slave PCM xrun, some build fixes /
+  improvements.
+- Fix the build with old gcc on SLE11:
+  0001-topology-Add-missing-include-sys-stat.h.patch
+- Dropped patches:
+  0001-ucm-document-some-standard-values.patch
+  0002-conf-ucm-broadwell-rt286-add-ucm-config.patch
+  0003-conf-ucm-Add-Makefile.am-for-broadwell-rt286-ucm-con.patch
+  0004-ucm-reformat-snd_use_case_get-doc.patch
+  0005-ucm-improve-jack-configuration-documentation.patch
+  0006-USB-audio-Sound-Blaster-HD-iec958-is-on-device-1.patch
+  0007-Sync-include-sound-asound.h-with-4.1-kernel.patch
+  0008-conf-ucm-broadwell-rt286-change-to-use-the-correct-j.patch
+  0009-namehint-Fix-invalid-list-access-in-snd_device_name_.patch
+  0010-namehint-Fix-the-listing-without-device-number.patch
+  0011-namehint-Fix-bad-free-with-invalid-iface-name.patch
+  0012-Allow-hint-for-ctl-hwdep-timer-and-seq.patch
+  0013-conf-Add-hint-descriptions-to-ctl-hwdep-seq-and-time.patch
+  0014-conf-ucm-broadwell-rt286-change-to-set-capture-volum.patch
+  0015-ucm-allow-multiple-devices-in-JackHWMute.patch
+  0016-pcm-Remove-assert-from-snd_pcm_hw_params_slave.patch
+  0017-test-pcm-Fix-generated-values-with-float-PCM-format.patch
+  0018-test-pcm_min-Fix-error-messages.patch
+  0019-pcm-Don-t-assert-in-_snd_pcm_hw_params_internal.patch
+  0020-pcm-Fix-snd_pcm_status-for-dmix-co.patch
+  0021-control-Allow-cset-ing-specific-values-in-the-multi-.patch
+  0022-PCM-snd_pcm__drain-maybe-blocked-after-suspend-a.patch
+  0023-surround41-50.conf-Use-chmap-syntax-for-better-flexi.patch
+  0024-ucm-docs-fix-doxygen-exclude-patch-for-UCM-local-hea.patch
+  0025-ucm-docs-Fix-doxygen-formatting-for-UCM-main-page.patch
+  0026-docs-Add-UCM-link-to-main-doxygen-page.patch
+  0027-Replace-unsafe-characters-with-_-in-card-name.patch
+  0028-pcm-add-helper-functions-to-query-timestamping-capab.patch
+  0029-pcm-add-support-for-get-set_audio_htstamp_config.patch
+  0030-pcm-add-support-for-new-STATUS_EXT-ioctl.patch
+  0031-test-fix-audio_time-with-new-get-set-audio_tstamp_co.patch
+  0032-test-audio_time-show-report-validity-and-accuracy.patch
+  0033-pcm-restore-hw-params-on-set-latency-failed.patch
+  0034-Replace-list.h-with-its-own-version.patch
+  0035-topology-uapi-Add-UAPI-headers-for-topology-ABI.patch
+  0036-topology-Add-topology-core-parser.patch
+  0037-topology-Add-text-section-parser.patch
+  0038-topology-Add-PCM-parser.patch
+  0039-topology-Add-operations-parser.patch
+  0040-topology-Add-private-data-parser.patch
+  0041-topology-Add-DAPM-object-parser.patch
+  0042-topology-Add-CTL-parser.patch
+  0043-topology-Add-Channel-map-parser.patch
+  0044-topology-Add-binary-file-builder.patch
+  0045-topology-autotools-Add-build-support-for-topology-co.patch
+  0046-topology-doxygen-Add-doxygen-support-for-topology-co.patch
+  0047-conf-topology-Add-topology-file-for-broadwell-audio-.patch
+  0048-topology-Fix-missing-inclusion-of-ctype.h.patch
+  0049-topology-Fix-typos.patch
+  0050-topology-fix-element-object-type-is-switch.patch
+  0051-topology-Add-element-ID-so-we-can-look-up-references.patch
+  0052-topology-Add-support-for-writing-manifest-private-da.patch
+  0053-topology-update-ABI-to-improve-support-for-different.patch
+  0054-topology-Add-ops-support-to-byte-control-objects.patch
+  0055-topology-treat-all-DAPM-controls-types-the-same-when.patch
+  0056-topology-print-error-prefix-on-error-message.patch
+  0057-topology-rename-OBJECT_TYPE_-to-SND_TPLG_TYPE_.patch
+  0058-core-add-convenience-macros-to-local.h.patch
+  0059-topology-Add-C-templates-structure-for-building-topo.patch
+  0060-topology-A-API-calls-to-directly-build-topology-data.patch
+  0061-pcm-Fix-doxygen-for-two-enums.patch
+  0062-pcm-ioplug-extplug-Fix-logic-errors-in-type-checks.patch
+  0063-pcm-route-Remove-bogus-in-snd_config_get_id-checks.patch
+  0064-topology-builder-Fix-possibly-uninitialized-variable.patch
+  0065-topology-ctl-Fix-access-type-checks.patch
+  0066-topology-data-Fix-wrong-size-check-in-tplg_parse_dat.patch
+  0067-topology-parser-Add-missing-return-value-to-snd_tplg.patch
+  0068-topology-pcm-Remove-unused-variables.patch
+  0069-build-Do-not-try-to-detect-cross-compiler.patch
+  

commit alsa for openSUSE:Factory

2015-10-14 Thread h_root
Hello community,

here is the log from the commit of package alsa for openSUSE:Factory checked in 
at 2015-10-14 16:40:59

Comparing /work/SRC/openSUSE:Factory/alsa (Old)
 and  /work/SRC/openSUSE:Factory/.alsa.new (New)


Package is "alsa"

Changes:

--- /work/SRC/openSUSE:Factory/alsa/alsa.changes2015-08-21 
07:37:19.0 +0200
+++ /work/SRC/openSUSE:Factory/.alsa.new/alsa.changes   2015-10-14 
16:41:01.0 +0200
@@ -1,0 +2,29 @@
+Fri Oct  2 12:11:24 CEST 2015 - ti...@suse.de
+
+- Backport upsteram fixes: more topology API updates/fixes, misc
+  documentation fixes, some logical error fixes in PCM plugins,
+  LADSPA plugin segfault fix:
+  0050-topology-fix-element-object-type-is-switch.patch
+  0051-topology-Add-element-ID-so-we-can-look-up-references.patch
+  0052-topology-Add-support-for-writing-manifest-private-da.patch
+  0053-topology-update-ABI-to-improve-support-for-different.patch
+  0054-topology-Add-ops-support-to-byte-control-objects.patch
+  0055-topology-treat-all-DAPM-controls-types-the-same-when.patch
+  0056-topology-print-error-prefix-on-error-message.patch
+  0057-topology-rename-OBJECT_TYPE_-to-SND_TPLG_TYPE_.patch
+  0058-core-add-convenience-macros-to-local.h.patch
+  0059-topology-Add-C-templates-structure-for-building-topo.patch
+  0060-topology-A-API-calls-to-directly-build-topology-data.patch
+  0061-pcm-Fix-doxygen-for-two-enums.patch
+  0062-pcm-ioplug-extplug-Fix-logic-errors-in-type-checks.patch
+  0063-pcm-route-Remove-bogus-in-snd_config_get_id-checks.patch
+  0064-topology-builder-Fix-possibly-uninitialized-variable.patch
+  0065-topology-ctl-Fix-access-type-checks.patch
+  0066-topology-data-Fix-wrong-size-check-in-tplg_parse_dat.patch
+  0067-topology-parser-Add-missing-return-value-to-snd_tplg.patch
+  0068-topology-pcm-Remove-unused-variables.patch
+  0069-build-Do-not-try-to-detect-cross-compiler.patch
+  0070-topology-Add-API-to-set-a-vendor-specific-version-nu.patch
+  0071-pcm-ladspa-Fix-segfault-due-to-a-wrong-channel-refer.patch
+
+---

New:

  0050-topology-fix-element-object-type-is-switch.patch
  0051-topology-Add-element-ID-so-we-can-look-up-references.patch
  0052-topology-Add-support-for-writing-manifest-private-da.patch
  0053-topology-update-ABI-to-improve-support-for-different.patch
  0054-topology-Add-ops-support-to-byte-control-objects.patch
  0055-topology-treat-all-DAPM-controls-types-the-same-when.patch
  0056-topology-print-error-prefix-on-error-message.patch
  0057-topology-rename-OBJECT_TYPE_-to-SND_TPLG_TYPE_.patch
  0058-core-add-convenience-macros-to-local.h.patch
  0059-topology-Add-C-templates-structure-for-building-topo.patch
  0060-topology-A-API-calls-to-directly-build-topology-data.patch
  0061-pcm-Fix-doxygen-for-two-enums.patch
  0062-pcm-ioplug-extplug-Fix-logic-errors-in-type-checks.patch
  0063-pcm-route-Remove-bogus-in-snd_config_get_id-checks.patch
  0064-topology-builder-Fix-possibly-uninitialized-variable.patch
  0065-topology-ctl-Fix-access-type-checks.patch
  0066-topology-data-Fix-wrong-size-check-in-tplg_parse_dat.patch
  0067-topology-parser-Add-missing-return-value-to-snd_tplg.patch
  0068-topology-pcm-Remove-unused-variables.patch
  0069-build-Do-not-try-to-detect-cross-compiler.patch
  0070-topology-Add-API-to-set-a-vendor-specific-version-nu.patch
  0071-pcm-ladspa-Fix-segfault-due-to-a-wrong-channel-refer.patch



Other differences:
--
++ alsa.spec ++
--- /var/tmp/diff_new_pack.5ipw1a/_old  2015-10-14 16:41:03.0 +0200
+++ /var/tmp/diff_new_pack.5ipw1a/_new  2015-10-14 16:41:03.0 +0200
@@ -98,6 +98,28 @@
 Patch47:0047-conf-topology-Add-topology-file-for-broadwell-audio-.patch
 Patch48:0048-topology-Fix-missing-inclusion-of-ctype.h.patch
 Patch49:0049-topology-Fix-typos.patch
+Patch50:0050-topology-fix-element-object-type-is-switch.patch
+Patch51:0051-topology-Add-element-ID-so-we-can-look-up-references.patch
+Patch52:0052-topology-Add-support-for-writing-manifest-private-da.patch
+Patch53:0053-topology-update-ABI-to-improve-support-for-different.patch
+Patch54:0054-topology-Add-ops-support-to-byte-control-objects.patch
+Patch55:0055-topology-treat-all-DAPM-controls-types-the-same-when.patch
+Patch56:0056-topology-print-error-prefix-on-error-message.patch
+Patch57:0057-topology-rename-OBJECT_TYPE_-to-SND_TPLG_TYPE_.patch
+Patch58:0058-core-add-convenience-macros-to-local.h.patch
+Patch59:0059-topology-Add-C-templates-structure-for-building-topo.patch
+Patch60:0060-topology-A-API-calls-to-directly-build-topology-data.patch
+Patch61:

commit alsa for openSUSE:Factory

2015-08-20 Thread h_root
Hello community,

here is the log from the commit of package alsa for openSUSE:Factory checked in 
at 2015-08-21 07:37:17

Comparing /work/SRC/openSUSE:Factory/alsa (Old)
 and  /work/SRC/openSUSE:Factory/.alsa.new (New)


Package is alsa

Changes:

--- /work/SRC/openSUSE:Factory/alsa/alsa.changes2015-07-05 
18:00:30.0 +0200
+++ /work/SRC/openSUSE:Factory/.alsa.new/alsa.changes   2015-08-21 
07:37:19.0 +0200
@@ -1,0 +2,43 @@
+Tue Aug  4 17:41:39 CEST 2015 - ti...@suse.de
+
+- Backport upstream fixes: surround41/50 chmap fix, UCM documents,
+  config string fix, PCM timestamp query API, replacement of list.h
+  with LGPL:
+  0023-surround41-50.conf-Use-chmap-syntax-for-better-flexi.patch
+  0024-ucm-docs-fix-doxygen-exclude-patch-for-UCM-local-hea.patch
+  0025-ucm-docs-Fix-doxygen-formatting-for-UCM-main-page.patch
+  0026-docs-Add-UCM-link-to-main-doxygen-page.patch
+  0027-Replace-unsafe-characters-with-_-in-card-name.patch
+  0028-pcm-add-helper-functions-to-query-timestamping-capab.patch
+  0029-pcm-add-support-for-get-set_audio_htstamp_config.patch
+  0030-pcm-add-support-for-new-STATUS_EXT-ioctl.patch
+  0031-test-fix-audio_time-with-new-get-set-audio_tstamp_co.patch
+  0032-test-audio_time-show-report-validity-and-accuracy.patch
+  0033-pcm-restore-hw-params-on-set-latency-failed.patch
+  0034-Replace-list.h-with-its-own-version.patch
+- Backport topology API addition patches:
+  0035-topology-uapi-Add-UAPI-headers-for-topology-ABI.patch
+  0036-topology-Add-topology-core-parser.patch
+  0037-topology-Add-text-section-parser.patch
+  0038-topology-Add-PCM-parser.patch
+  0039-topology-Add-operations-parser.patch
+  0040-topology-Add-private-data-parser.patch
+  0041-topology-Add-DAPM-object-parser.patch
+  0042-topology-Add-CTL-parser.patch
+  0043-topology-Add-Channel-map-parser.patch
+  0044-topology-Add-binary-file-builder.patch
+  0045-topology-autotools-Add-build-support-for-topology-co.patch
+  0046-topology-doxygen-Add-doxygen-support-for-topology-co.patch
+  0047-conf-topology-Add-topology-file-for-broadwell-audio-.patch
+  0048-topology-Fix-missing-inclusion-of-ctype.h.patch
+  0049-topology-Fix-typos.patch
+- Enable autoreconf call to regenerate after patching
+
+---
+Fri Jul 31 07:35:12 UTC 2015 - dims...@opensuse.org
+
+- Change libudev-devel BuildRequires to pkgconfig(udev): makes us
+  less prone to packaging changes, and in the end udev.pc is
+  exactly what we need to define _udevdir.
+
+---

New:

  0023-surround41-50.conf-Use-chmap-syntax-for-better-flexi.patch
  0024-ucm-docs-fix-doxygen-exclude-patch-for-UCM-local-hea.patch
  0025-ucm-docs-Fix-doxygen-formatting-for-UCM-main-page.patch
  0026-docs-Add-UCM-link-to-main-doxygen-page.patch
  0027-Replace-unsafe-characters-with-_-in-card-name.patch
  0028-pcm-add-helper-functions-to-query-timestamping-capab.patch
  0029-pcm-add-support-for-get-set_audio_htstamp_config.patch
  0030-pcm-add-support-for-new-STATUS_EXT-ioctl.patch
  0031-test-fix-audio_time-with-new-get-set-audio_tstamp_co.patch
  0032-test-audio_time-show-report-validity-and-accuracy.patch
  0033-pcm-restore-hw-params-on-set-latency-failed.patch
  0034-Replace-list.h-with-its-own-version.patch
  0035-topology-uapi-Add-UAPI-headers-for-topology-ABI.patch
  0036-topology-Add-topology-core-parser.patch
  0037-topology-Add-text-section-parser.patch
  0038-topology-Add-PCM-parser.patch
  0039-topology-Add-operations-parser.patch
  0040-topology-Add-private-data-parser.patch
  0041-topology-Add-DAPM-object-parser.patch
  0042-topology-Add-CTL-parser.patch
  0043-topology-Add-Channel-map-parser.patch
  0044-topology-Add-binary-file-builder.patch
  0045-topology-autotools-Add-build-support-for-topology-co.patch
  0046-topology-doxygen-Add-doxygen-support-for-topology-co.patch
  0047-conf-topology-Add-topology-file-for-broadwell-audio-.patch
  0048-topology-Fix-missing-inclusion-of-ctype.h.patch
  0049-topology-Fix-typos.patch



Other differences:
--
++ alsa.spec ++
--- /var/tmp/diff_new_pack.WnaeCZ/_old  2015-08-21 07:37:21.0 +0200
+++ /var/tmp/diff_new_pack.WnaeCZ/_new  2015-08-21 07:37:21.0 +0200
@@ -71,6 +71,33 @@
 Patch20:0020-pcm-Fix-snd_pcm_status-for-dmix-co.patch
 Patch21:0021-control-Allow-cset-ing-specific-values-in-the-multi-.patch
 Patch22:0022-PCM-snd_pcm__drain-maybe-blocked-after-suspend-a.patch
+Patch23:0023-surround41-50.conf-Use-chmap-syntax-for-better-flexi.patch
+Patch24:0024-ucm-docs-fix-doxygen-exclude-patch-for-UCM-local-hea.patch
+Patch25:

commit alsa for openSUSE:Factory

2015-07-05 Thread h_root
Hello community,

here is the log from the commit of package alsa for openSUSE:Factory checked in 
at 2015-07-05 18:00:29

Comparing /work/SRC/openSUSE:Factory/alsa (Old)
 and  /work/SRC/openSUSE:Factory/.alsa.new (New)


Package is alsa

Changes:

--- /work/SRC/openSUSE:Factory/alsa/alsa.changes2015-05-23 
12:53:16.0 +0200
+++ /work/SRC/openSUSE:Factory/.alsa.new/alsa.changes   2015-07-05 
18:00:30.0 +0200
@@ -1,0 +2,12 @@
+Thu Jun 18 09:32:07 CEST 2015 - ti...@suse.de
+
+- Backport upstream fixes: fix bogus assert() in hw_params, a few
+  PCM dmix/dshare/dsnoop fixes, enhacement of amixer, etc:
+  0017-test-pcm-Fix-generated-values-with-float-PCM-format.patch
+  0018-test-pcm_min-Fix-error-messages.patch
+  0019-pcm-Don-t-assert-in-_snd_pcm_hw_params_internal.patch
+  0020-pcm-Fix-snd_pcm_status-for-dmix-co.patch
+  0021-control-Allow-cset-ing-specific-values-in-the-multi-.patch
+  0022-PCM-snd_pcm__drain-maybe-blocked-after-suspend-a.patch
+
+---

New:

  0017-test-pcm-Fix-generated-values-with-float-PCM-format.patch
  0018-test-pcm_min-Fix-error-messages.patch
  0019-pcm-Don-t-assert-in-_snd_pcm_hw_params_internal.patch
  0020-pcm-Fix-snd_pcm_status-for-dmix-co.patch
  0021-control-Allow-cset-ing-specific-values-in-the-multi-.patch
  0022-PCM-snd_pcm__drain-maybe-blocked-after-suspend-a.patch



Other differences:
--
++ alsa.spec ++
--- /var/tmp/diff_new_pack.1yN1RW/_old  2015-07-05 18:00:32.0 +0200
+++ /var/tmp/diff_new_pack.1yN1RW/_new  2015-07-05 18:00:32.0 +0200
@@ -65,6 +65,12 @@
 Patch14:0014-conf-ucm-broadwell-rt286-change-to-set-capture-volum.patch
 Patch15:0015-ucm-allow-multiple-devices-in-JackHWMute.patch
 Patch16:0016-pcm-Remove-assert-from-snd_pcm_hw_params_slave.patch
+Patch17:0017-test-pcm-Fix-generated-values-with-float-PCM-format.patch
+Patch18:0018-test-pcm_min-Fix-error-messages.patch
+Patch19:0019-pcm-Don-t-assert-in-_snd_pcm_hw_params_internal.patch
+Patch20:0020-pcm-Fix-snd_pcm_status-for-dmix-co.patch
+Patch21:0021-control-Allow-cset-ing-specific-values-in-the-multi-.patch
+Patch22:0022-PCM-snd_pcm__drain-maybe-blocked-after-suspend-a.patch
 # rest suse patches
 Patch99:alsa-lib-doxygen-avoid-crash-for-11.3.diff
 # suppress timestamp in documents
@@ -151,6 +157,12 @@
 %patch14 -p1
 %patch15 -p1
 %patch16 -p1
+%patch17 -p1
+%patch18 -p1
+%patch19 -p1
+%patch20 -p1
+%patch21 -p1
+%patch22 -p1
 %if 0%{?suse_version} == 1130
 %patch99 -p1
 %endif

++ 0017-test-pcm-Fix-generated-values-with-float-PCM-format.patch ++
From 9120f2de8608f49ee1cd4501b9eee39a1c71778f Mon Sep 17 00:00:00 2001
From: Christophe Lohr christophe.l...@cegetel.net
Date: Mon, 1 Jun 2015 13:41:49 +0200
Subject: [PATCH] test/pcm: Fix generated values with float PCM format

The float format should be generated [-1.0..1.0].

Signed-off-by: Takashi Iwai ti...@suse.de
---
 test/pcm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/pcm.c b/test/pcm.c
index abb83e4c3014..18b61762b236 100644
--- a/test/pcm.c
+++ b/test/pcm.c
@@ -68,7 +68,7 @@ static void generate_sine(const snd_pcm_channel_area_t *areas,
} fval;
int res, i;
if (is_float) {
-   fval.f = sin(phase) * maxval;
+   fval.f = sin(phase);
res = fval.i;
} else
res = sin(phase) * maxval;
-- 
2.4.3

++ 0018-test-pcm_min-Fix-error-messages.patch ++
From 8551fe258791c165892583006b0aa5142f41b621 Mon Sep 17 00:00:00 2001
From: Christophe Lohr christophe.l...@cegetel.net
Date: Mon, 1 Jun 2015 13:43:36 +0200
Subject: [PATCH] test/pcm_min: Fix error messages

Fix the wrongly referred error code for error messages from
snd_pcm_writei() and other calls.

Signed-off-by: Takashi Iwai ti...@suse.de
---
 test/pcm_min.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/pcm_min.c b/test/pcm_min.c
index e971405ee64f..7462a45fef33 100644
--- a/test/pcm_min.c
+++ b/test/pcm_min.c
@@ -39,7 +39,7 @@ int main(void)
 if (frames  0)
 frames = snd_pcm_recover(handle, frames, 0);
 if (frames  0) {
-printf(snd_pcm_writei failed: %s\n, 
snd_strerror(err));
+printf(snd_pcm_writei failed: %s\n, 
snd_strerror(frames));
 break;
 }
 if (frames  0  frames  (long)sizeof(buffer))
-- 
2.4.3

++ 0019-pcm-Don-t-assert-in-_snd_pcm_hw_params_internal.patch ++
From 

commit alsa for openSUSE:Factory

2015-05-23 Thread h_root
Hello community,

here is the log from the commit of package alsa for openSUSE:Factory checked in 
at 2015-05-23 12:53:15

Comparing /work/SRC/openSUSE:Factory/alsa (Old)
 and  /work/SRC/openSUSE:Factory/.alsa.new (New)


Package is alsa

Changes:

--- /work/SRC/openSUSE:Factory/alsa/alsa.changes2015-03-05 
18:15:38.0 +0100
+++ /work/SRC/openSUSE:Factory/.alsa.new/alsa.changes   2015-05-23 
12:53:16.0 +0200
@@ -1,0 +2,22 @@
+Fri May 22 14:16:26 CEST 2015 - ti...@suse.de
+
+- Backport upstream fixes: UCM updates, Broadwell UCM support,
+  namehint fixes, fix faulty assert in PCM plugins, etc:
+  0001-ucm-document-some-standard-values.patch
+  0002-conf-ucm-broadwell-rt286-add-ucm-config.patch
+  0003-conf-ucm-Add-Makefile.am-for-broadwell-rt286-ucm-con.patch
+  0004-ucm-reformat-snd_use_case_get-doc.patch
+  0005-ucm-improve-jack-configuration-documentation.patch
+  0006-USB-audio-Sound-Blaster-HD-iec958-is-on-device-1.patch
+  0007-Sync-include-sound-asound.h-with-4.1-kernel.patch
+  0008-conf-ucm-broadwell-rt286-change-to-use-the-correct-j.patch
+  0009-namehint-Fix-invalid-list-access-in-snd_device_name_.patch
+  0010-namehint-Fix-the-listing-without-device-number.patch
+  0011-namehint-Fix-bad-free-with-invalid-iface-name.patch
+  0012-Allow-hint-for-ctl-hwdep-timer-and-seq.patch
+  0013-conf-Add-hint-descriptions-to-ctl-hwdep-seq-and-time.patch
+  0014-conf-ucm-broadwell-rt286-change-to-set-capture-volum.patch
+  0015-ucm-allow-multiple-devices-in-JackHWMute.patch
+  0016-pcm-Remove-assert-from-snd_pcm_hw_params_slave.patch
+
+---

New:

  0001-ucm-document-some-standard-values.patch
  0002-conf-ucm-broadwell-rt286-add-ucm-config.patch
  0003-conf-ucm-Add-Makefile.am-for-broadwell-rt286-ucm-con.patch
  0004-ucm-reformat-snd_use_case_get-doc.patch
  0005-ucm-improve-jack-configuration-documentation.patch
  0006-USB-audio-Sound-Blaster-HD-iec958-is-on-device-1.patch
  0007-Sync-include-sound-asound.h-with-4.1-kernel.patch
  0008-conf-ucm-broadwell-rt286-change-to-use-the-correct-j.patch
  0009-namehint-Fix-invalid-list-access-in-snd_device_name_.patch
  0010-namehint-Fix-the-listing-without-device-number.patch
  0011-namehint-Fix-bad-free-with-invalid-iface-name.patch
  0012-Allow-hint-for-ctl-hwdep-timer-and-seq.patch
  0013-conf-Add-hint-descriptions-to-ctl-hwdep-seq-and-time.patch
  0014-conf-ucm-broadwell-rt286-change-to-set-capture-volum.patch
  0015-ucm-allow-multiple-devices-in-JackHWMute.patch
  0016-pcm-Remove-assert-from-snd_pcm_hw_params_slave.patch



Other differences:
--
++ alsa.spec ++
--- /var/tmp/diff_new_pack.CJkT40/_old  2015-05-23 12:53:18.0 +0200
+++ /var/tmp/diff_new_pack.CJkT40/_new  2015-05-23 12:53:18.0 +0200
@@ -49,6 +49,22 @@
 Source41:   install-snd-module
 # Patch:  alsa-lib-git-fixes.diff
 # upstream fixes
+Patch1: 0001-ucm-document-some-standard-values.patch
+Patch2: 0002-conf-ucm-broadwell-rt286-add-ucm-config.patch
+Patch3: 0003-conf-ucm-Add-Makefile.am-for-broadwell-rt286-ucm-con.patch
+Patch4: 0004-ucm-reformat-snd_use_case_get-doc.patch
+Patch5: 0005-ucm-improve-jack-configuration-documentation.patch
+Patch6: 0006-USB-audio-Sound-Blaster-HD-iec958-is-on-device-1.patch
+Patch7: 0007-Sync-include-sound-asound.h-with-4.1-kernel.patch
+Patch8: 0008-conf-ucm-broadwell-rt286-change-to-use-the-correct-j.patch
+Patch9: 0009-namehint-Fix-invalid-list-access-in-snd_device_name_.patch
+Patch10:0010-namehint-Fix-the-listing-without-device-number.patch
+Patch11:0011-namehint-Fix-bad-free-with-invalid-iface-name.patch
+Patch12:0012-Allow-hint-for-ctl-hwdep-timer-and-seq.patch
+Patch13:0013-conf-Add-hint-descriptions-to-ctl-hwdep-seq-and-time.patch
+Patch14:0014-conf-ucm-broadwell-rt286-change-to-set-capture-volum.patch
+Patch15:0015-ucm-allow-multiple-devices-in-JackHWMute.patch
+Patch16:0016-pcm-Remove-assert-from-snd_pcm_hw_params_slave.patch
 # rest suse patches
 Patch99:alsa-lib-doxygen-avoid-crash-for-11.3.diff
 # suppress timestamp in documents
@@ -119,6 +135,22 @@
 %prep
 %setup -q -n alsa-lib-%{package_version}
 # %patch -p1
+%patch1 -p1
+%patch2 -p1
+%patch3 -p1
+%patch4 -p1
+%patch5 -p1
+%patch6 -p1
+%patch7 -p1
+%patch8 -p1
+%patch9 -p1
+%patch10 -p1
+%patch11 -p1
+%patch12 -p1
+%patch13 -p1
+%patch14 -p1
+%patch15 -p1
+%patch16 -p1
 %if 0%{?suse_version} == 1130
 %patch99 -p1
 %endif

++ 0001-ucm-document-some-standard-values.patch ++
From c56064e13556322e868c5014a7fb3d0933a97a4f Mon Sep 17 00:00:00 2001
From: Lu, Han han...@intel.com
Date: Thu, 5 Mar 2015 

commit alsa for openSUSE:Factory

2015-03-05 Thread h_root
Hello community,

here is the log from the commit of package alsa for openSUSE:Factory checked in 
at 2015-03-05 15:35:49

Comparing /work/SRC/openSUSE:Factory/alsa (Old)
 and  /work/SRC/openSUSE:Factory/.alsa.new (New)


Package is alsa

Changes:

--- /work/SRC/openSUSE:Factory/alsa/alsa.changes2015-01-30 
11:00:25.0 +0100
+++ /work/SRC/openSUSE:Factory/.alsa.new/alsa.changes   2015-03-05 
18:15:38.0 +0100
@@ -1,0 +2,73 @@
+Thu Feb 26 17:24:22 CET 2015 - ti...@suse.de
+
+- Updated to alsa-lib 1.0.29:
+  Just a version bump including previous fixes
+- Drop the obsoleted patches:
+  0001-ucm-Document-PlaybackPCMIsDummy-and-CapturePCMIsDumm.patch
+  0002-ICE1712-add-surround71-pcm-definition.patch
+  0003-USB-Audio-Add-second-S-PDIF-device-on-Phiree-U2.patch
+  0004-pcm-rate-fix-hw_ptr-exceed-the-boundary.patch
+  0005-pcm-Provide-a-CLOCK_MONOTONIC_RAW-timestamp-type.patch
+  0006-Add-timestamp-type-to-sw_params-internal-only.patch
+  0007-pcm-Add-sw_params-API-functions-to-get-set-timestamp.patch
+  0008-pcm-Implement-timestamp-type-setup-in-hw-plugin.patch
+  0009-pcm-Implement-timestamp-type-handling-in-all-plugins.patch
+  0010-test-audio_time-Set-timestamp-type-explicitly.patch
+  0011-pcm-route-Use-get-put-labels-for-all-3-byte-formats.patch
+  0012-pcm-Fill-sw_params-proto-field.patch
+  0013-pcm-route-Use-get32-for-multi-source-route-calculati.patch
+  0014-pcm-Drop-snd_pcm_linear_-get-put-32_index.patch
+  0015-pcm-pcm_local.h-include-time.h-to-enable-CLOCK_MONOT.patch
+  0016-pcm-Fix-DSD-formats-userland-usability.patch
+  0017-Sync-include-sound-asound.h-with-3.17-rc1-kernel.patch
+  0018-pcm-Add-missing-signed-and-endianess-definitions-for.patch
+  0019-Sync-enum-snd_hwdep_iface_t-with-include-asound-asou.patch
+  0020-pcm-2nd-round-of-pcm_misc-DSD-fixes.patch
+  0021-doc-fix-cross-compiling-example.patch
+  0022-pcm-fix-snd_pcm_mmap_hw_avail-near-the-boundary.patch
+  0023-pcm-fix-return-value-of-snd_pcm_share_slave_avail.patch
+  0024-pcm-add-new-32-bit-DSD-sample-format.patch
+  0025-dmix-actually-rewind-when-running-or-being-drained.patch
+  0026-pcm-express-the-rewind-size-limitation-logic-better.patch
+  0027-pcm-handle-negative-values-from-snd_pcm_mmap_hw_avai.patch
+  0028-pcm-rate-use-the-snd_pcm_mmap_hw_avail-function.patch
+  0029-pcm-null-use-the-snd_pcm_mmap_avail-function.patch
+  0030-rate-handle-negative-values-from-snd_pcm_mmap_playba.patch
+  0031-dsnoop-rewindable-and-forwardable-logic-was-swapped.patch
+  0033-pcm-file-don-t-recurse-in-the-rewindable-and-forward.patch
+  0034-pcm-route-Fix-the-bad-condition-always-false.patch
+  0035-pcm-rate-hw_avail-must-not-be-negative-before-starti.patch
+  0036-hwdep-add-missing-declaration-for-snd_hwdep_poll_des.patch
+  0037-mixer-fixed-double-free.patch
+  0038-pcm_file-fixed-missing-free.patch
+  0039-sbase-fixed-missing-free.patch
+  0040-rawmidi-close-handle-h.patch
+  0041-pcm_share-fixing-missing-mutex-unlock.patch
+  0042-simple_abst-null-check-for-lib.patch
+  0043-socket-missing-socket-close.patch
+  0044-pcm_hooks-null-check-for-h.patch
+  0045-conf-return-negative-value-in-case-of-error.patch
+  0046-control-return-negative-value-in-case-of-error.patch
+  0047-pcm-return-negative-value-in-case-of-error.patch
+  0048-mixer-Fix-missing-hctl-handle-free-in-snd_mixer_atta.patch
+  0049-conf-ucm-PAZ00-add-Toshiba-AC100-Dynabook-AZ-new-con.patch
+  0050-USB-Audio-Add-Scarlett-2i4-USB-to-S-PDIF-blacklist.patch
+  0051-snd_user_file-fix-memory-leak.patch
+  0052-pcm-dmix-Don-t-ignore-SND_TIMER_EVENT_MSTOP.patch
+  0053-snd_dlsym-only-do-versioning-checks-if-built-with-ve.patch
+  0054-dlmisc-Remove-unused-label.patch
+  0055-USB-audio-Add-five-more-cards-to-IEC958-blacklist.patch
+  0056-pcm-Fix-DSD-sample-format-endianess-and-add-big-endi.patch
+  0057-mixer-Fix-inclusion-of-config.h.patch
+  0058-mixer-Fix-unused-parameter-warnings.patch
+  0059-ucm-Fix-uninitialized-err-in-snd_use_case_set.patch
+  0060-pcm-Fix-assorted-tstamp_type-bugs-omissions.patch
+  0061-hwdep-add-OXFW-driver-support.patch
+  0062-pcm-fix-buffer-overflow-in-snd_pcm_chmap_print.patch
+  0063-control-enable-octal-and-hexadecimal-parse.patch
+  0064-autotools-fix-ucm-partial-build.patch
+  0065-conf-ucm-GoogleNyan-Add-configuration.patch
+  0066-ucm-add-binary-configure-file-parse.patch
+  0067-Remove-unused-hostname-resolution-in-shm-plugins-and.patch
+
+---

Old:

  0001-ucm-Document-PlaybackPCMIsDummy-and-CapturePCMIsDumm.patch
  0002-ICE1712-add-surround71-pcm-definition.patch
  0003-USB-Audio-Add-second-S-PDIF-device-on-Phiree-U2.patch
  0004-pcm-rate-fix-hw_ptr-exceed-the-boundary.patch
  0005-pcm-Provide-a-CLOCK_MONOTONIC_RAW-timestamp-type.patch
  0006-Add-timestamp-type-to-sw_params-internal-only.patch
  

commit alsa for openSUSE:Factory

2015-01-30 Thread h_root
Hello community,

here is the log from the commit of package alsa for openSUSE:Factory checked in 
at 2015-01-30 11:00:22

Comparing /work/SRC/openSUSE:Factory/alsa (Old)
 and  /work/SRC/openSUSE:Factory/.alsa.new (New)


Package is alsa

Changes:

--- /work/SRC/openSUSE:Factory/alsa/alsa.changes2014-12-09 
09:16:46.0 +0100
+++ /work/SRC/openSUSE:Factory/.alsa.new/alsa.changes   2015-01-30 
11:00:25.0 +0100
@@ -1,0 +2,17 @@
+Wed Jan 28 15:50:35 CET 2015 - ti...@suse.de
+
+- Backport upstream fixes: new OXFW hwdep definition, chmap print
+  overflow fix, improvement of UCM parser, GoogleNyan UCM config,
+  removal of gethostbyname() usages:
+  0061-hwdep-add-OXFW-driver-support.patch
+  0062-pcm-fix-buffer-overflow-in-snd_pcm_chmap_print.patch
+  0063-control-enable-octal-and-hexadecimal-parse.patch
+  0064-autotools-fix-ucm-partial-build.patch
+  0065-conf-ucm-GoogleNyan-Add-configuration.patch
+  0066-ucm-add-binary-configure-file-parse.patch
+  0067-Remove-unused-hostname-resolution-in-shm-plugins-and.patch
+- Suppress timestamps in the generated documents for make the
+  package comparison easier:
+  alsa-docs-suppress-timestamp.patch
+
+---

New:

  0061-hwdep-add-OXFW-driver-support.patch
  0062-pcm-fix-buffer-overflow-in-snd_pcm_chmap_print.patch
  0063-control-enable-octal-and-hexadecimal-parse.patch
  0064-autotools-fix-ucm-partial-build.patch
  0065-conf-ucm-GoogleNyan-Add-configuration.patch
  0066-ucm-add-binary-configure-file-parse.patch
  0067-Remove-unused-hostname-resolution-in-shm-plugins-and.patch
  alsa-docs-suppress-timestamp.patch



Other differences:
--
++ alsa.spec ++
--- /var/tmp/diff_new_pack.IHxNLU/_old  2015-01-30 11:00:27.0 +0100
+++ /var/tmp/diff_new_pack.IHxNLU/_new  2015-01-30 11:00:27.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package alsa
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -108,8 +108,17 @@
 Patch58:0058-mixer-Fix-unused-parameter-warnings.patch
 Patch59:0059-ucm-Fix-uninitialized-err-in-snd_use_case_set.patch
 Patch60:0060-pcm-Fix-assorted-tstamp_type-bugs-omissions.patch
+Patch61:0061-hwdep-add-OXFW-driver-support.patch
+Patch62:0062-pcm-fix-buffer-overflow-in-snd_pcm_chmap_print.patch
+Patch63:0063-control-enable-octal-and-hexadecimal-parse.patch
+Patch64:0064-autotools-fix-ucm-partial-build.patch
+Patch65:0065-conf-ucm-GoogleNyan-Add-configuration.patch
+Patch66:0066-ucm-add-binary-configure-file-parse.patch
+Patch67:0067-Remove-unused-hostname-resolution-in-shm-plugins-and.patch
 # rest suse patches
 Patch99:alsa-lib-doxygen-avoid-crash-for-11.3.diff
+# suppress timestamp in documents
+Patch100:   alsa-docs-suppress-timestamp.patch
 BuildRequires:  doxygen
 BuildRequires:  libtool
 BuildRequires:  pkg-config
@@ -235,9 +244,17 @@
 %patch58 -p1
 %patch59 -p1
 %patch60 -p1
+%patch61 -p1
+%patch62 -p1
+%patch63 -p1
+%patch64 -p1
+%patch65 -p1
+%patch66 -p1
+%patch67 -p1
 %if 0%{?suse_version} == 1130
 %patch99 -p1
 %endif
+%patch100 -p1
 # hack to fix build on older distros
 %if 0%{?suse_version}  1100
 %ifarch %{ix86}

++ 0061-hwdep-add-OXFW-driver-support.patch ++
From 93b0e9ca85762c2b863434b2617147f806c7e3e3 Mon Sep 17 00:00:00 2001
From: Takashi Sakamoto o-taka...@sakamocchi.jp
Date: Sat, 29 Nov 2014 01:03:34 +0900
Subject: [PATCH] hwdep: add OXFW driver support

Linux 3.19 newly support this driver. By hardware dependent interface,
userspace applications can get hardware information, lock/unlock kernel
streaming and receive lock status event.

Signed-off-by: Takashi Sakamoto o-taka...@sakamocchi.jp
Signed-off-by: Takashi Iwai ti...@suse.de
---
 include/hwdep.h| 3 ++-
 include/sound/asound.h | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/include/hwdep.h b/include/hwdep.h
index ad8bb4972818..3d3c31b2f068 100644
--- a/include/hwdep.h
+++ b/include/hwdep.h
@@ -73,8 +73,9 @@ typedef enum _snd_hwdep_iface {
SND_HWDEP_IFACE_FW_DICE,/** TC DICE FireWire device */
SND_HWDEP_IFACE_FW_FIREWORKS,   /** Echo Audio Fireworks based device 
*/
SND_HWDEP_IFACE_FW_BEBOB,   /** BridgeCo BeBoB based device */
+   SND_HWDEP_IFACE_FW_OXFW,/** Oxford OXFW970/971 based device */
 
-   SND_HWDEP_IFACE_LAST = SND_HWDEP_IFACE_FW_BEBOB  /** last known hwdep 
interface */
+   SND_HWDEP_IFACE_LAST = 

commit alsa for openSUSE:Factory

2014-12-09 Thread h_root
Hello community,

here is the log from the commit of package alsa for openSUSE:Factory checked in 
at 2014-12-09 09:17:06

Comparing /work/SRC/openSUSE:Factory/alsa (Old)
 and  /work/SRC/openSUSE:Factory/.alsa.new (New)


Package is alsa

Changes:

--- /work/SRC/openSUSE:Factory/alsa/alsa.changes2014-11-24 
11:18:01.0 +0100
+++ /work/SRC/openSUSE:Factory/.alsa.new/alsa.changes   2014-12-09 
09:16:46.0 +0100
@@ -1,0 +2,18 @@
+Fri Dec  5 16:49:42 CET 2014 - ti...@suse.de
+
+- Backport upstream fixes:
+  A couple of USB-audio config addition/fix, dmix PCM stop fix,
+  a memory leak fix, DSD format endianess fix, PCM timestamp fixes, etc.
+  0050-USB-Audio-Add-Scarlett-2i4-USB-to-S-PDIF-blacklist.patch
+  0051-snd_user_file-fix-memory-leak.patch
+  0052-pcm-dmix-Don-t-ignore-SND_TIMER_EVENT_MSTOP.patch
+  0053-snd_dlsym-only-do-versioning-checks-if-built-with-ve.patch
+  0054-dlmisc-Remove-unused-label.patch
+  0055-USB-audio-Add-five-more-cards-to-IEC958-blacklist.patch
+  0056-pcm-Fix-DSD-sample-format-endianess-and-add-big-endi.patch
+  0057-mixer-Fix-inclusion-of-config.h.patch
+  0058-mixer-Fix-unused-parameter-warnings.patch
+  0059-ucm-Fix-uninitialized-err-in-snd_use_case_set.patch
+  0060-pcm-Fix-assorted-tstamp_type-bugs-omissions.patch
+
+---

New:

  0050-USB-Audio-Add-Scarlett-2i4-USB-to-S-PDIF-blacklist.patch
  0051-snd_user_file-fix-memory-leak.patch
  0052-pcm-dmix-Don-t-ignore-SND_TIMER_EVENT_MSTOP.patch
  0053-snd_dlsym-only-do-versioning-checks-if-built-with-ve.patch
  0054-dlmisc-Remove-unused-label.patch
  0055-USB-audio-Add-five-more-cards-to-IEC958-blacklist.patch
  0056-pcm-Fix-DSD-sample-format-endianess-and-add-big-endi.patch
  0057-mixer-Fix-inclusion-of-config.h.patch
  0058-mixer-Fix-unused-parameter-warnings.patch
  0059-ucm-Fix-uninitialized-err-in-snd_use_case_set.patch
  0060-pcm-Fix-assorted-tstamp_type-bugs-omissions.patch



Other differences:
--
++ alsa.spec ++
--- /var/tmp/diff_new_pack.jQkX9Q/_old  2014-12-09 09:16:48.0 +0100
+++ /var/tmp/diff_new_pack.jQkX9Q/_new  2014-12-09 09:16:48.0 +0100
@@ -97,6 +97,17 @@
 Patch47:0047-pcm-return-negative-value-in-case-of-error.patch
 Patch48:0048-mixer-Fix-missing-hctl-handle-free-in-snd_mixer_atta.patch
 Patch49:0049-conf-ucm-PAZ00-add-Toshiba-AC100-Dynabook-AZ-new-con.patch
+Patch50:0050-USB-Audio-Add-Scarlett-2i4-USB-to-S-PDIF-blacklist.patch
+Patch51:0051-snd_user_file-fix-memory-leak.patch
+Patch52:0052-pcm-dmix-Don-t-ignore-SND_TIMER_EVENT_MSTOP.patch
+Patch53:0053-snd_dlsym-only-do-versioning-checks-if-built-with-ve.patch
+Patch54:0054-dlmisc-Remove-unused-label.patch
+Patch55:0055-USB-audio-Add-five-more-cards-to-IEC958-blacklist.patch
+Patch56:0056-pcm-Fix-DSD-sample-format-endianess-and-add-big-endi.patch
+Patch57:0057-mixer-Fix-inclusion-of-config.h.patch
+Patch58:0058-mixer-Fix-unused-parameter-warnings.patch
+Patch59:0059-ucm-Fix-uninitialized-err-in-snd_use_case_set.patch
+Patch60:0060-pcm-Fix-assorted-tstamp_type-bugs-omissions.patch
 # rest suse patches
 Patch99:alsa-lib-doxygen-avoid-crash-for-11.3.diff
 BuildRequires:  doxygen
@@ -213,6 +224,17 @@
 %patch47 -p1
 %patch48 -p1
 %patch49 -p1
+%patch50 -p1
+%patch51 -p1
+%patch52 -p1
+%patch53 -p1
+%patch54 -p1
+%patch55 -p1
+%patch56 -p1
+%patch57 -p1
+%patch58 -p1
+%patch59 -p1
+%patch60 -p1
 %if 0%{?suse_version} == 1130
 %patch99 -p1
 %endif

++ 0050-USB-Audio-Add-Scarlett-2i4-USB-to-S-PDIF-blacklist.patch ++
From ebd6afc9158c0afd7263a0ffa5474cf9e5f20c66 Mon Sep 17 00:00:00 2001
From: Panu Matilainen pmati...@laiskiainen.org
Date: Mon, 3 Nov 2014 17:42:44 +0200
Subject: [PATCH 50/60] USB-Audio: Add Scarlett 2i4 USB to S/PDIF blacklist

Like Scarlett 2i2, the 2i4 does not have any S/PDIF connections.

Signed-off-by: Panu Matilainen pmati...@laiskiainen.org
Signed-off-by: Takashi Iwai ti...@suse.de
---
 src/conf/cards/USB-Audio.conf | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/conf/cards/USB-Audio.conf b/src/conf/cards/USB-Audio.conf
index 77a48b9f5562..a6754d96b1aa 100644
--- a/src/conf/cards/USB-Audio.conf
+++ b/src/conf/cards/USB-Audio.conf
@@ -48,6 +48,7 @@ USB-Audio.pcm.iec958_device {
Plantronics Wireless Audio 999
SB WoW Headset 999
Scarlett 2i2 USB 999
+   Scarlett 2i4 USB 999
Sennheiser USB headset 999
USB Device 0x46d:0x992 999
 }
-- 
2.1.3

++ 0051-snd_user_file-fix-memory-leak.patch ++
From c7bfcbb25548db39299488e285b510a174231076 Mon Sep 17 00:00:00 2001
From: Andreas Schwab sch...@suse.de
Date: Mon, 3 Nov 2014 

commit alsa for openSUSE:Factory

2014-11-24 Thread h_root
Hello community,

here is the log from the commit of package alsa for openSUSE:Factory checked in 
at 2014-11-24 11:17:35

Comparing /work/SRC/openSUSE:Factory/alsa (Old)
 and  /work/SRC/openSUSE:Factory/.alsa.new (New)


Package is alsa

Changes:

--- /work/SRC/openSUSE:Factory/alsa/alsa.changes2014-10-25 
08:32:57.0 +0200
+++ /work/SRC/openSUSE:Factory/.alsa.new/alsa.changes   2014-11-24 
11:18:01.0 +0100
@@ -1,0 +2,5 @@
+Sun Nov 16 18:10:00 UTC 2014 - Led led...@gmail.com
+
+- fix bashism in alsa-init.sh scripts
+
+---



Other differences:
--


++ alsa-init.sh ++
--- /var/tmp/diff_new_pack.mW5BeK/_old  2014-11-24 11:18:02.0 +0100
+++ /var/tmp/diff_new_pack.mW5BeK/_new  2014-11-24 11:18:02.0 +0100
@@ -5,10 +5,8 @@
 test -s /var/lib/alsa/asound.state  /usr/sbin/alsactl -F restore $1 
/dev/null 21
 # increase buffer-preallocation size (for PA)
 if [ -f /proc/asound/card$1/pcm0p/sub0/prealloc_max ]; then
-pmax=$( /proc/asound/card$1/pcm0p/sub0/prealloc_max)
-if [ $pmax -gt 1024 ]; then
+[ $(cat /proc/asound/card$1/pcm0p/sub0/prealloc_max) -le 1024 ] ||
echo 1024  /proc/asound/card$1/pcm0p/sub0/prealloc
-fi
 fi
 
 exit 0


-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit alsa for openSUSE:Factory

2014-10-25 Thread h_root
Hello community,

here is the log from the commit of package alsa for openSUSE:Factory checked in 
at 2014-10-25 08:32:49

Comparing /work/SRC/openSUSE:Factory/alsa (Old)
 and  /work/SRC/openSUSE:Factory/.alsa.new (New)


Package is alsa

Changes:

--- /work/SRC/openSUSE:Factory/alsa/alsa.changes2014-08-28 
21:05:08.0 +0200
+++ /work/SRC/openSUSE:Factory/.alsa.new/alsa.changes   2014-10-25 
08:32:57.0 +0200
@@ -1,0 +2,35 @@
+Fri Oct 17 11:48:23 CEST 2014 - ti...@suse.de
+
+- Backport upstream fixes / enhancements: mostly small fixes
+  spotted by coccinelle and oethers, the fixes for proper rewind
+  support, a new DSD format support, hwdep definitions sync, and
+  addition of PAZ00 UCM configs.
+  0022-pcm-fix-snd_pcm_mmap_hw_avail-near-the-boundary.patch
+  0023-pcm-fix-return-value-of-snd_pcm_share_slave_avail.patch
+  0024-pcm-add-new-32-bit-DSD-sample-format.patch
+  0025-dmix-actually-rewind-when-running-or-being-drained.patch
+  0026-pcm-express-the-rewind-size-limitation-logic-better.patch
+  0027-pcm-handle-negative-values-from-snd_pcm_mmap_hw_avai.patch
+  0028-pcm-rate-use-the-snd_pcm_mmap_hw_avail-function.patch
+  0029-pcm-null-use-the-snd_pcm_mmap_avail-function.patch
+  0030-rate-handle-negative-values-from-snd_pcm_mmap_playba.patch
+  0031-dsnoop-rewindable-and-forwardable-logic-was-swapped.patch
+  0033-pcm-file-don-t-recurse-in-the-rewindable-and-forward.patch
+  0034-pcm-route-Fix-the-bad-condition-always-false.patch
+  0035-pcm-rate-hw_avail-must-not-be-negative-before-starti.patch
+  0036-hwdep-add-missing-declaration-for-snd_hwdep_poll_des.patch
+  0037-mixer-fixed-double-free.patch
+  0038-pcm_file-fixed-missing-free.patch
+  0039-sbase-fixed-missing-free.patch
+  0040-rawmidi-close-handle-h.patch
+  0041-pcm_share-fixing-missing-mutex-unlock.patch
+  0042-simple_abst-null-check-for-lib.patch
+  0043-socket-missing-socket-close.patch
+  0044-pcm_hooks-null-check-for-h.patch
+  0045-conf-return-negative-value-in-case-of-error.patch
+  0046-control-return-negative-value-in-case-of-error.patch
+  0047-pcm-return-negative-value-in-case-of-error.patch
+  0048-mixer-Fix-missing-hctl-handle-free-in-snd_mixer_atta.patch
+  0049-conf-ucm-PAZ00-add-Toshiba-AC100-Dynabook-AZ-new-con.patch
+
+---

New:

  0022-pcm-fix-snd_pcm_mmap_hw_avail-near-the-boundary.patch
  0023-pcm-fix-return-value-of-snd_pcm_share_slave_avail.patch
  0024-pcm-add-new-32-bit-DSD-sample-format.patch
  0025-dmix-actually-rewind-when-running-or-being-drained.patch
  0026-pcm-express-the-rewind-size-limitation-logic-better.patch
  0027-pcm-handle-negative-values-from-snd_pcm_mmap_hw_avai.patch
  0028-pcm-rate-use-the-snd_pcm_mmap_hw_avail-function.patch
  0029-pcm-null-use-the-snd_pcm_mmap_avail-function.patch
  0030-rate-handle-negative-values-from-snd_pcm_mmap_playba.patch
  0031-dsnoop-rewindable-and-forwardable-logic-was-swapped.patch
  0033-pcm-file-don-t-recurse-in-the-rewindable-and-forward.patch
  0034-pcm-route-Fix-the-bad-condition-always-false.patch
  0035-pcm-rate-hw_avail-must-not-be-negative-before-starti.patch
  0036-hwdep-add-missing-declaration-for-snd_hwdep_poll_des.patch
  0037-mixer-fixed-double-free.patch
  0038-pcm_file-fixed-missing-free.patch
  0039-sbase-fixed-missing-free.patch
  0040-rawmidi-close-handle-h.patch
  0041-pcm_share-fixing-missing-mutex-unlock.patch
  0042-simple_abst-null-check-for-lib.patch
  0043-socket-missing-socket-close.patch
  0044-pcm_hooks-null-check-for-h.patch
  0045-conf-return-negative-value-in-case-of-error.patch
  0046-control-return-negative-value-in-case-of-error.patch
  0047-pcm-return-negative-value-in-case-of-error.patch
  0048-mixer-Fix-missing-hctl-handle-free-in-snd_mixer_atta.patch
  0049-conf-ucm-PAZ00-add-Toshiba-AC100-Dynabook-AZ-new-con.patch



Other differences:
--
++ alsa.spec ++
--- /var/tmp/diff_new_pack.fkOwBi/_old  2014-10-25 08:32:58.0 +0200
+++ /var/tmp/diff_new_pack.fkOwBi/_new  2014-10-25 08:32:58.0 +0200
@@ -70,6 +70,33 @@
 Patch19:0019-Sync-enum-snd_hwdep_iface_t-with-include-asound-asou.patch
 Patch20:0020-pcm-2nd-round-of-pcm_misc-DSD-fixes.patch
 Patch21:0021-doc-fix-cross-compiling-example.patch
+Patch22:0022-pcm-fix-snd_pcm_mmap_hw_avail-near-the-boundary.patch
+Patch23:0023-pcm-fix-return-value-of-snd_pcm_share_slave_avail.patch
+Patch24:0024-pcm-add-new-32-bit-DSD-sample-format.patch
+Patch25:0025-dmix-actually-rewind-when-running-or-being-drained.patch
+Patch26:0026-pcm-express-the-rewind-size-limitation-logic-better.patch
+Patch27:0027-pcm-handle-negative-values-from-snd_pcm_mmap_hw_avai.patch
+Patch28:

commit alsa for openSUSE:Factory

2014-08-28 Thread h_root
Hello community,

here is the log from the commit of package alsa for openSUSE:Factory checked in 
at 2014-08-28 21:05:05

Comparing /work/SRC/openSUSE:Factory/alsa (Old)
 and  /work/SRC/openSUSE:Factory/.alsa.new (New)


Package is alsa

Changes:

--- /work/SRC/openSUSE:Factory/alsa/alsa.changes2014-08-14 
14:57:46.0 +0200
+++ /work/SRC/openSUSE:Factory/.alsa.new/alsa.changes   2014-08-28 
21:05:08.0 +0200
@@ -1,0 +2,9 @@
+Tue Aug 26 12:44:29 CEST 2014 - ti...@suse.de
+
+- Yet more DSD fix, hwdep iface sync with the recent kernel, and a
+  minor documentation fix from upstream:
+  0019-Sync-enum-snd_hwdep_iface_t-with-include-asound-asou.patch
+  0020-pcm-2nd-round-of-pcm_misc-DSD-fixes.patch
+  0021-doc-fix-cross-compiling-example.patch
+
+---

New:

  0019-Sync-enum-snd_hwdep_iface_t-with-include-asound-asou.patch
  0020-pcm-2nd-round-of-pcm_misc-DSD-fixes.patch
  0021-doc-fix-cross-compiling-example.patch



Other differences:
--
++ alsa.spec ++
--- /var/tmp/diff_new_pack.iRLDZg/_old  2014-08-28 21:05:10.0 +0200
+++ /var/tmp/diff_new_pack.iRLDZg/_new  2014-08-28 21:05:10.0 +0200
@@ -67,6 +67,9 @@
 Patch16:0016-pcm-Fix-DSD-formats-userland-usability.patch
 Patch17:0017-Sync-include-sound-asound.h-with-3.17-rc1-kernel.patch
 Patch18:0018-pcm-Add-missing-signed-and-endianess-definitions-for.patch
+Patch19:0019-Sync-enum-snd_hwdep_iface_t-with-include-asound-asou.patch
+Patch20:0020-pcm-2nd-round-of-pcm_misc-DSD-fixes.patch
+Patch21:0021-doc-fix-cross-compiling-example.patch
 # rest suse patches
 Patch99:alsa-lib-doxygen-avoid-crash-for-11.3.diff
 BuildRequires:  doxygen
@@ -153,6 +156,9 @@
 %patch16 -p1
 %patch17 -p1
 %patch18 -p1
+%patch19 -p1
+%patch20 -p1
+%patch21 -p1
 %if 0%{?suse_version} == 1130
 %patch99 -p1
 %endif

++ 0019-Sync-enum-snd_hwdep_iface_t-with-include-asound-asou.patch ++
From dfc3bf97bf45bd78d498d20fcf930541350f836d Mon Sep 17 00:00:00 2001
From: Takashi Sakamoto o-taka...@sakamocchi.jp
Date: Mon, 18 Aug 2014 18:45:17 +0900
Subject: [PATCH] Sync enum snd_hwdep_iface_t with include/asound/asound.h

Some members in this enumerated type has not updated for 9 years, although
kernel-drivers added them during this period. This commit adds them following
to a commit 87df9f3 'sync include/asound/asound.h with 3.17-rc1 kernel'.

Signed-off-by: Takashi Sakamoto o-taka...@sakamocchi.jp
Signed-off-by: Takashi Iwai ti...@suse.de
---
 include/hwdep.h | 9 +++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/include/hwdep.h b/include/hwdep.h
index ab12822cf799..6496fa2d7d87 100644
--- a/include/hwdep.h
+++ b/include/hwdep.h
@@ -68,8 +68,13 @@ typedef enum _snd_hwdep_iface {
SND_HWDEP_IFACE_USX2Y_PCM,  /** Tascam US122, US224  US428 raw 
USB PCM */
SND_HWDEP_IFACE_PCXHR,  /** Digigram PCXHR */
SND_HWDEP_IFACE_SB_RC,  /** SB Extigy/Audigy2NX remote control 
*/
-
-   SND_HWDEP_IFACE_LAST = SND_HWDEP_IFACE_SB_RC  /** last known hwdep 
interface */
+   SND_HWDEP_IFACE_HDA,/** HD-audio */
+   SND_HWDEP_IFACE_USB_STREAM, /** direct access to usb stream */
+   SND_HWDEP_IFACE_FW_DICE,/** TC DICE FireWire device */
+   SND_HWDEP_IFACE_FW_FIREWORKS,   /** Echo Audio Fireworks based device 
*/
+   SND_HWDEP_IFACE_FW_BEBOB,   /** BridgeCo BeBoB based device */
+
+   SND_HWDEP_IFACE_LAST = SND_HWDEP_IFACE_FW_BEBOB  /** last known hwdep 
interface */
 } snd_hwdep_iface_t;
 
 /** open for reading */
-- 
2.1.0

++ 0020-pcm-2nd-round-of-pcm_misc-DSD-fixes.patch ++
From b9f58dcc6f91fde42e6dd2bb831d6063855512a7 Mon Sep 17 00:00:00 2001
From: Jurgen Kramer gtmkra...@xs4all.nl
Date: Fri, 22 Aug 2014 10:15:10 +0200
Subject: [PATCH] pcm: 2nd round of pcm_misc DSD fixes

Functions 'snd_pcm_format_silence_64' and 'snd_pcm_format_size' also need to be
able to handle the DSD smaple format.

Changes from v1:
- Correct silence pattern for DSD

Signed-off-by: Jurgen Kramer gtmkra...@xs4all.nl
Signed-off-by: Takashi Iwai ti...@suse.de
---
 src/pcm/pcm_misc.c | 5 +
 1 file changed, 5 insertions(+)

diff --git a/src/pcm/pcm_misc.c b/src/pcm/pcm_misc.c
index 24d52f910cb6..46fc7719978e 100644
--- a/src/pcm/pcm_misc.c
+++ b/src/pcm/pcm_misc.c
@@ -317,11 +317,13 @@ ssize_t snd_pcm_format_size(snd_pcm_format_t format, 
size_t samples)
switch (format) {
case SNDRV_PCM_FORMAT_S8:
case SNDRV_PCM_FORMAT_U8:
+   case SNDRV_PCM_FORMAT_DSD_U8:
return samples;
case SNDRV_PCM_FORMAT_S16_LE:
case SNDRV_PCM_FORMAT_S16_BE:

commit alsa for openSUSE:Factory

2014-08-14 Thread h_root
Hello community,

here is the log from the commit of package alsa for openSUSE:Factory checked in 
at 2014-08-14 14:57:43

Comparing /work/SRC/openSUSE:Factory/alsa (Old)
 and  /work/SRC/openSUSE:Factory/.alsa.new (New)


Package is alsa

Changes:

--- /work/SRC/openSUSE:Factory/alsa/alsa.changes2014-08-03 
15:36:23.0 +0200
+++ /work/SRC/openSUSE:Factory/.alsa.new/alsa.changes   2014-08-14 
14:57:46.0 +0200
@@ -1,0 +2,9 @@
+Tue Aug 12 16:02:33 CEST 2014 - ti...@suse.de
+
+- Backport upstream fixes for supporting the missing DSD formats:
+  0016-pcm-Fix-DSD-formats-userland-usability.patch
+  0017-Sync-include-sound-asound.h-with-3.17-rc1-kernel.patch
+  0018-pcm-Add-missing-signed-and-endianess-definitions-for.patch
+- Remove alsa-info.sh from alsa.rpm; it's moved into alsa-utils
+
+---

Old:

  alsa-info.sh

New:

  0016-pcm-Fix-DSD-formats-userland-usability.patch
  0017-Sync-include-sound-asound.h-with-3.17-rc1-kernel.patch
  0018-pcm-Add-missing-signed-and-endianess-definitions-for.patch



Other differences:
--
++ alsa.spec ++
--- /var/tmp/diff_new_pack.x2Z1Dz/_old  2014-08-14 14:57:47.0 +0200
+++ /var/tmp/diff_new_pack.x2Z1Dz/_new  2014-08-14 14:57:47.0 +0200
@@ -44,7 +44,6 @@
 Source30:   all_notes_off
 Source31:   all_notes_off.bin
 Source32:   all_notes_off.mid
-Source33:   alsa-info.sh
 Source34:   alsa-init.sh
 Source40:   50-alsa.conf
 Source41:   install-snd-module
@@ -65,6 +64,9 @@
 Patch13:0013-pcm-route-Use-get32-for-multi-source-route-calculati.patch
 Patch14:0014-pcm-Drop-snd_pcm_linear_-get-put-32_index.patch
 Patch15:0015-pcm-pcm_local.h-include-time.h-to-enable-CLOCK_MONOT.patch
+Patch16:0016-pcm-Fix-DSD-formats-userland-usability.patch
+Patch17:0017-Sync-include-sound-asound.h-with-3.17-rc1-kernel.patch
+Patch18:0018-pcm-Add-missing-signed-and-endianess-definitions-for.patch
 # rest suse patches
 Patch99:alsa-lib-doxygen-avoid-crash-for-11.3.diff
 BuildRequires:  doxygen
@@ -148,6 +150,9 @@
 %patch13 -p1
 %patch14 -p1
 %patch15 -p1
+%patch16 -p1
+%patch17 -p1
+%patch18 -p1
 %if 0%{?suse_version} == 1130
 %patch99 -p1
 %endif
@@ -248,8 +253,6 @@
 mkdir -p %{buildroot}%{_docdir}/%{name}/alsa-lib
 cp COPYING ChangeLog INSTALL TODO MEMORY-LEAK 
%{buildroot}%{_docdir}/%{name}/alsa-lib
 cp doc/asoundrc.txt %{buildroot}%{_docdir}/%{name}/alsa-lib
-# install alsa-info.sh to sbindir
-install -c -m 0755 %{SOURCE33} %{buildroot}%{_sbindir}
 
 %post
 %if 0%{?suse_version}  1310

++ 0016-pcm-Fix-DSD-formats-userland-usability.patch ++
From 87df9f3b7a650418b9aef943ac246549c132672a Mon Sep 17 00:00:00 2001
From: Jurgen Kramer gtmkra...@xs4all.nl
Date: Sat, 9 Aug 2014 12:09:21 +0200
Subject: [PATCH] pcm: Fix DSD formats userland usability

Support for DSD sample formats has been added a while ago. This patch makes
those sample formats beter usable from userland (e.g. aplay).

[These implementation details have been forgotten in the previous DSD
 support patch -- tiwai]

Signed-off-by: Takashi Iwai ti...@suse.de
---
 include/sound/asound.h | 4 +++-
 src/pcm/pcm_misc.c | 4 
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/include/sound/asound.h b/include/sound/asound.h
index c819df421434..519452466317 100644
--- a/include/sound/asound.h
+++ b/include/sound/asound.h
@@ -214,7 +214,9 @@ typedef int __bitwise snd_pcm_format_t;
 #defineSNDRV_PCM_FORMAT_G723_24_1B ((__force snd_pcm_format_t) 45) 
/* 1 sample in 1 byte */
 #defineSNDRV_PCM_FORMAT_G723_40((__force snd_pcm_format_t) 46) 
/* 8 Samples in 5 bytes */
 #defineSNDRV_PCM_FORMAT_G723_40_1B ((__force snd_pcm_format_t) 47) 
/* 1 sample in 1 byte */
-#defineSNDRV_PCM_FORMAT_LAST   SNDRV_PCM_FORMAT_G723_40_1B
+#define SNDRV_PCM_FORMAT_DSD_U8((__force snd_pcm_format_t) 48) 
/* 8 1-bit samples in 1 byte */
+#define SNDRV_PCM_FORMAT_DSD_U16_LE((__force snd_pcm_format_t) 49) /* 16 
1-bit samples in 2 bytes */
+#defineSNDRV_PCM_FORMAT_LAST   SNDRV_PCM_FORMAT_DSD_U16_LE
 
 #ifdef SNDRV_LITTLE_ENDIAN
 #defineSNDRV_PCM_FORMAT_S16SNDRV_PCM_FORMAT_S16_LE
diff --git a/src/pcm/pcm_misc.c b/src/pcm/pcm_misc.c
index d52160cec653..44bb89cb0d44 100644
--- a/src/pcm/pcm_misc.c
+++ b/src/pcm/pcm_misc.c
@@ -195,11 +195,13 @@ int snd_pcm_format_width(snd_pcm_format_t format)
switch (format) {
case SNDRV_PCM_FORMAT_S8:
case SNDRV_PCM_FORMAT_U8:
+   case SNDRV_PCM_FORMAT_DSD_U8:
return 8;
case SNDRV_PCM_FORMAT_S16_LE:
case 

commit alsa for openSUSE:Factory

2014-08-03 Thread h_root
Hello community,

here is the log from the commit of package alsa for openSUSE:Factory checked in 
at 2014-08-03 15:36:22

Comparing /work/SRC/openSUSE:Factory/alsa (Old)
 and  /work/SRC/openSUSE:Factory/.alsa.new (New)


Package is alsa

Changes:

--- /work/SRC/openSUSE:Factory/alsa/alsa.changes2014-07-26 
12:19:46.0 +0200
+++ /work/SRC/openSUSE:Factory/.alsa.new/alsa.changes   2014-08-03 
15:36:23.0 +0200
@@ -1,0 +2,8 @@
+Thu Jul 31 17:41:50 CEST 2014 - ti...@suse.de
+
+- Remove obsoleted README.SuSE (bnc#889023)
+- Correct SUSE branding names in some texts (bnc#889023,FATE#316521)
+- Properly include time.h for CLOCK_MONOTONIC_RAW:
+  0015-pcm-pcm_local.h-include-time.h-to-enable-CLOCK_MONOT.patch
+
+---

Old:

  README.SuSE

New:

  0015-pcm-pcm_local.h-include-time.h-to-enable-CLOCK_MONOT.patch



Other differences:
--
++ alsa.spec ++
--- /var/tmp/diff_new_pack.e4Opdr/_old  2014-08-03 15:36:24.0 +0200
+++ /var/tmp/diff_new_pack.e4Opdr/_new  2014-08-03 15:36:24.0 +0200
@@ -40,7 +40,6 @@
 Source14:   sysconfig.joystick
 Source16:   set_default_volume
 Source17:   test.wav
-Source20:   README.SuSE
 Source21:   README.testwav
 Source30:   all_notes_off
 Source31:   all_notes_off.bin
@@ -65,6 +64,7 @@
 Patch12:0012-pcm-Fill-sw_params-proto-field.patch
 Patch13:0013-pcm-route-Use-get32-for-multi-source-route-calculati.patch
 Patch14:0014-pcm-Drop-snd_pcm_linear_-get-put-32_index.patch
+Patch15:0015-pcm-pcm_local.h-include-time.h-to-enable-CLOCK_MONOT.patch
 # rest suse patches
 Patch99:alsa-lib-doxygen-avoid-crash-for-11.3.diff
 BuildRequires:  doxygen
@@ -147,6 +147,7 @@
 %patch12 -p1
 %patch13 -p1
 %patch14 -p1
+%patch15 -p1
 %if 0%{?suse_version} == 1130
 %patch99 -p1
 %endif

++ 0015-pcm-pcm_local.h-include-time.h-to-enable-CLOCK_MONOT.patch ++
From f6b879e7cc87d83343f5004369146881d1d1e335 Mon Sep 17 00:00:00 2001
From: Shengjiu Wang shengjiu.w...@freescale.com
Date: Wed, 23 Jul 2014 15:09:58 +0800
Subject: [PATCH] pcm: pcm_local.h: include time.h to enable CLOCK_MONOTONIC

CLOCK_MONITONIC is defined in bits/time.h, add time.h before
sys/time.h.

Signed-off-by: Shengjiu Wang shengjiu.w...@freescale.com
Signed-off-by: Takashi Iwai ti...@suse.de
---
 src/pcm/pcm_local.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/pcm/pcm_local.h b/src/pcm/pcm_local.h
index 2206afe2c4a9..80bbe5973bdb 100644
--- a/src/pcm/pcm_local.h
+++ b/src/pcm/pcm_local.h
@@ -24,6 +24,7 @@
 #include stdlib.h
 #include limits.h
 #include sys/uio.h
+#include time.h
 #include sys/time.h
 
 #define _snd_mask sndrv_mask
-- 
2.0.1

++ all_notes_off ++
--- /var/tmp/diff_new_pack.e4Opdr/_old  2014-08-03 15:36:25.0 +0200
+++ /var/tmp/diff_new_pack.e4Opdr/_new  2014-08-03 15:36:25.0 +0200
@@ -4,6 +4,7 @@
 # MIDI-Devices configured in the System
 # 
 # Written by Matthias Nagorni, (c) 2001 SuSE GmbH Nuremberg
+#  (c) 2014 SUSE Linux Products GmbH
 #
 for d in /dev/snd/midiC?D?; do
 echo Sending all notes off to MIDI device $d



++ joystick ++
--- /var/tmp/diff_new_pack.e4Opdr/_old  2014-08-03 15:36:25.0 +0200
+++ /var/tmp/diff_new_pack.e4Opdr/_new  2014-08-03 15:36:25.0 +0200
@@ -1,5 +1,6 @@
 #! /bin/bash
 # Copyright (c) 2002 SuSE Linux AG Nuernberg, Germany.
+#   (c) 2014 SUSE Linux Products GmbH
 # 
 # Author: Takashi Iwai ti...@suse.de, 2001
 #


-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit alsa for openSUSE:Factory

2014-07-26 Thread h_root
Hello community,

here is the log from the commit of package alsa for openSUSE:Factory checked in 
at 2014-07-26 12:19:42

Comparing /work/SRC/openSUSE:Factory/alsa (Old)
 and  /work/SRC/openSUSE:Factory/.alsa.new (New)


Package is alsa

Changes:

--- /work/SRC/openSUSE:Factory/alsa/alsa.changes2014-06-25 
06:57:36.0 +0200
+++ /work/SRC/openSUSE:Factory/.alsa.new/alsa.changes   2014-07-26 
12:19:46.0 +0200
@@ -1,0 +2,24 @@
+Tue Jul 22 17:46:51 CEST 2014 - ti...@suse.de
+
+- Remove superfluous Loopback.conf from the source, as it was
+  already included in 1.0.28 tarball
+- Backport upstream fixes: UCM dummy PCM definition, ICE1712 surround
+  definitions, USB-audio secondary PCM definition, PCM rate plugin
+  boundary overwrap fix, MONOTONIC_RAW timestamp support, PCM route
+  plugin 3-byte format fixes, etc:
+  0001-ucm-Document-PlaybackPCMIsDummy-and-CapturePCMIsDumm.patch
+  0002-ICE1712-add-surround71-pcm-definition.patch
+  0003-USB-Audio-Add-second-S-PDIF-device-on-Phiree-U2.patch
+  0004-pcm-rate-fix-hw_ptr-exceed-the-boundary.patch
+  0005-pcm-Provide-a-CLOCK_MONOTONIC_RAW-timestamp-type.patch
+  0006-Add-timestamp-type-to-sw_params-internal-only.patch
+  0007-pcm-Add-sw_params-API-functions-to-get-set-timestamp.patch
+  0008-pcm-Implement-timestamp-type-setup-in-hw-plugin.patch
+  0009-pcm-Implement-timestamp-type-handling-in-all-plugins.patch
+  0010-test-audio_time-Set-timestamp-type-explicitly.patch
+  0011-pcm-route-Use-get-put-labels-for-all-3-byte-formats.patch
+  0012-pcm-Fill-sw_params-proto-field.patch
+  0013-pcm-route-Use-get32-for-multi-source-route-calculati.patch
+  0014-pcm-Drop-snd_pcm_linear_-get-put-32_index.patch
+
+---

Old:

  Loopback.conf

New:

  0001-ucm-Document-PlaybackPCMIsDummy-and-CapturePCMIsDumm.patch
  0002-ICE1712-add-surround71-pcm-definition.patch
  0003-USB-Audio-Add-second-S-PDIF-device-on-Phiree-U2.patch
  0004-pcm-rate-fix-hw_ptr-exceed-the-boundary.patch
  0005-pcm-Provide-a-CLOCK_MONOTONIC_RAW-timestamp-type.patch
  0006-Add-timestamp-type-to-sw_params-internal-only.patch
  0007-pcm-Add-sw_params-API-functions-to-get-set-timestamp.patch
  0008-pcm-Implement-timestamp-type-setup-in-hw-plugin.patch
  0009-pcm-Implement-timestamp-type-handling-in-all-plugins.patch
  0010-test-audio_time-Set-timestamp-type-explicitly.patch
  0011-pcm-route-Use-get-put-labels-for-all-3-byte-formats.patch
  0012-pcm-Fill-sw_params-proto-field.patch
  0013-pcm-route-Use-get32-for-multi-source-route-calculati.patch
  0014-pcm-Drop-snd_pcm_linear_-get-put-32_index.patch



Other differences:
--
++ alsa.spec ++
--- /var/tmp/diff_new_pack.VB9ARf/_old  2014-07-26 12:19:47.0 +0200
+++ /var/tmp/diff_new_pack.VB9ARf/_new  2014-07-26 12:19:47.0 +0200
@@ -49,9 +49,22 @@
 Source34:   alsa-init.sh
 Source40:   50-alsa.conf
 Source41:   install-snd-module
-Source50:   Loopback.conf
 # Patch:  alsa-lib-git-fixes.diff
 # upstream fixes
+Patch1: 0001-ucm-Document-PlaybackPCMIsDummy-and-CapturePCMIsDumm.patch
+Patch2: 0002-ICE1712-add-surround71-pcm-definition.patch
+Patch3: 0003-USB-Audio-Add-second-S-PDIF-device-on-Phiree-U2.patch
+Patch4: 0004-pcm-rate-fix-hw_ptr-exceed-the-boundary.patch
+Patch5: 0005-pcm-Provide-a-CLOCK_MONOTONIC_RAW-timestamp-type.patch
+Patch6: 0006-Add-timestamp-type-to-sw_params-internal-only.patch
+Patch7: 0007-pcm-Add-sw_params-API-functions-to-get-set-timestamp.patch
+Patch8: 0008-pcm-Implement-timestamp-type-setup-in-hw-plugin.patch
+Patch9: 0009-pcm-Implement-timestamp-type-handling-in-all-plugins.patch
+Patch10:0010-test-audio_time-Set-timestamp-type-explicitly.patch
+Patch11:0011-pcm-route-Use-get-put-labels-for-all-3-byte-formats.patch
+Patch12:0012-pcm-Fill-sw_params-proto-field.patch
+Patch13:0013-pcm-route-Use-get32-for-multi-source-route-calculati.patch
+Patch14:0014-pcm-Drop-snd_pcm_linear_-get-put-32_index.patch
 # rest suse patches
 Patch99:alsa-lib-doxygen-avoid-crash-for-11.3.diff
 BuildRequires:  doxygen
@@ -119,8 +132,21 @@
 
 %prep
 %setup -q -n alsa-lib-%{package_version}
-cp %{SOURCE50} src/conf/cards
 # %patch -p1
+%patch1 -p1
+%patch2 -p1
+%patch3 -p1
+%patch4 -p1
+%patch5 -p1
+%patch6 -p1
+%patch7 -p1
+%patch8 -p1
+%patch9 -p1
+%patch10 -p1
+%patch11 -p1
+%patch12 -p1
+%patch13 -p1
+%patch14 -p1
 %if 0%{?suse_version} == 1130
 %patch99 -p1
 %endif

++ 0001-ucm-Document-PlaybackPCMIsDummy-and-CapturePCMIsDumm.patch ++
From 7a748af4db17cb0b26d19e5f9939d277128ec94b Mon Sep 17 00:00:00 2001
From: Tanu Kaskinen tanu.kaski...@linux.intel.com

commit alsa for openSUSE:Factory

2014-06-24 Thread h_root
Hello community,

here is the log from the commit of package alsa for openSUSE:Factory checked in 
at 2014-06-25 06:57:29

Comparing /work/SRC/openSUSE:Factory/alsa (Old)
 and  /work/SRC/openSUSE:Factory/.alsa.new (New)


Package is alsa

Changes:

--- /work/SRC/openSUSE:Factory/alsa/alsa.changes2014-04-04 
16:32:09.0 +0200
+++ /work/SRC/openSUSE:Factory/.alsa.new/alsa.changes   2014-06-25 
06:57:36.0 +0200
@@ -1,0 +2,45 @@
+Wed Jun 18 13:08:38 CEST 2014 - ti...@suse.de
+
+- Updated to alsa-lib 1.0.28:
+  All pervious fix patches are obsoleted:
+  0001-local.h-use-__kernel_off_t-from-linux-types.h.patch
+  0002-conf-cards-add-Audio-Advantage-Micro-II.patch
+  0003-pcm-Fix-a-wrong-value-shown-in-the-error-message-in-.patch
+  0004-UCM-Document-some-standard-values.patch
+  0005-hdspm.h-Update-LTC-ioctl-to-use-struct-hdspm_ltc.patch
+  0006-Update-iatomic.h-functions-definitions-for-mips.patch
+  0007-Fix-access-of-freed-memory-in-namehints.patch
+  0008-HDA-Intel-present-up-to-8-HDMI-DP-outputs-via-hdmi-d.patch
+  0009-snd_tlv_convert_from_dB-fix-decreasing-gain-across-e.patch
+  0010-remove-unnecessary-obsolete-compat-hsearch_r.c.patch
+  0011-local.h-include-sys-types.h-to-fix-issues-with-pcm.h.patch
+  0012-test-chmap-Add-missing-usage-text-for-s-option.patch
+  0013-include-global.h-don-t-define-timeval-and-timespec-s.patch
+  0014-conf.c-use-portable-way-to-initialize-recursive-mute.patch
+  0015-pcm_file-fix-SEGFAULT-if-file-option-is-missing-whil.patch
+  0016-pcm_file-fixed-memory-leak.patch
+  0017-pcm_file-don-t-touch-infile-on-playback-and-output-f.patch
+  0018-pcm_file-document-new-argument-to-snd_pcm_file_open.patch
+  0019-dmix-Don-t-use-assert-and-abort.patch
+  0020-minor-malloc-changes.patch
+  0021-alsa-lib-minor-typo-in-pcm-doc.patch
+  0022-control_hw-fix-potential-memory-leak.patch
+  0023-pcm-initialize-pcm_dmix-monotonic-field.patch
+  0024-pcm-initialize-monotonic-field-for-dshare-and-dsnoop.patch
+  0025-pcm-use-CLOCK_REALTIME-for-non-monotonic-ts.patch
+  0026-alsa-lib-heavy-pcm-atomics-cleanup.patch
+  0027-conf-Add-basic-infrastructure-for-2.1-surround-sound.patch
+  0028-conf-Add-surround-2.1-support-to-all-cards.patch
+  0029-Portability-fix-look-for-sys-endian.h-as-well-as-end.patch
+  0030-autotools-update-style.patch
+  0031-pcm-Insert-linear-to-float-conversion-when-rate-or-c.patch
+  0032-pcm-route-Allow-chmap-syntax-for-slave-channels-in-t.patch
+  0033-pcm-route-Select-slave-chmap-based-on-ttable-informa.patch
+  0034-conf-Allow-2.1-surround-to-use-different-number-of-c.patch
+  0035-pcm-Wrap-hw_ptr-to-boundary-in-pcm_ioplug.patch
+  0036-src-conf-cards-Add-missing-entry-for-Loopback.conf.patch
+  0037-route-Return-NULL-in-case-of-zero-found-channels-in-.patch
+  0038-route-Fix-invalid-pointer-access.patch
+  0039-pcm-ladspa-Delay-LADSPA-plugin-activate-call.patch
+
+---

Old:

  0001-local.h-use-__kernel_off_t-from-linux-types.h.patch
  0002-conf-cards-add-Audio-Advantage-Micro-II.patch
  0003-pcm-Fix-a-wrong-value-shown-in-the-error-message-in-.patch
  0004-UCM-Document-some-standard-values.patch
  0005-hdspm.h-Update-LTC-ioctl-to-use-struct-hdspm_ltc.patch
  0006-Update-iatomic.h-functions-definitions-for-mips.patch
  0007-Fix-access-of-freed-memory-in-namehints.patch
  0008-HDA-Intel-present-up-to-8-HDMI-DP-outputs-via-hdmi-d.patch
  0009-snd_tlv_convert_from_dB-fix-decreasing-gain-across-e.patch
  0010-remove-unnecessary-obsolete-compat-hsearch_r.c.patch
  0011-local.h-include-sys-types.h-to-fix-issues-with-pcm.h.patch
  0012-test-chmap-Add-missing-usage-text-for-s-option.patch
  0013-include-global.h-don-t-define-timeval-and-timespec-s.patch
  0014-conf.c-use-portable-way-to-initialize-recursive-mute.patch
  0015-pcm_file-fix-SEGFAULT-if-file-option-is-missing-whil.patch
  0016-pcm_file-fixed-memory-leak.patch
  0017-pcm_file-don-t-touch-infile-on-playback-and-output-f.patch
  0018-pcm_file-document-new-argument-to-snd_pcm_file_open.patch
  0019-dmix-Don-t-use-assert-and-abort.patch
  0020-minor-malloc-changes.patch
  0021-alsa-lib-minor-typo-in-pcm-doc.patch
  0022-control_hw-fix-potential-memory-leak.patch
  0023-pcm-initialize-pcm_dmix-monotonic-field.patch
  0024-pcm-initialize-monotonic-field-for-dshare-and-dsnoop.patch
  0025-pcm-use-CLOCK_REALTIME-for-non-monotonic-ts.patch
  0026-alsa-lib-heavy-pcm-atomics-cleanup.patch
  0027-conf-Add-basic-infrastructure-for-2.1-surround-sound.patch
  0028-conf-Add-surround-2.1-support-to-all-cards.patch
  0029-Portability-fix-look-for-sys-endian.h-as-well-as-end.patch
  0030-autotools-update-style.patch
  0031-pcm-Insert-linear-to-float-conversion-when-rate-or-c.patch
  0032-pcm-route-Allow-chmap-syntax-for-slave-channels-in-t.patch
  

commit alsa for openSUSE:Factory

2014-04-04 Thread h_root
Hello community,

here is the log from the commit of package alsa for openSUSE:Factory checked in 
at 2014-04-04 16:32:07

Comparing /work/SRC/openSUSE:Factory/alsa (Old)
 and  /work/SRC/openSUSE:Factory/.alsa.new (New)


Package is alsa

Changes:

--- /work/SRC/openSUSE:Factory/alsa/alsa.changes2014-03-31 
20:43:19.0 +0200
+++ /work/SRC/openSUSE:Factory/.alsa.new/alsa.changes   2014-04-04 
16:32:09.0 +0200
@@ -1,0 +2,11 @@
+Thu Apr  3 17:10:46 CEST 2014 - ti...@suse.de
+
+- Backport upstream fixes:
+  0037-route-Return-NULL-in-case-of-zero-found-channels-in-.patch
+  0038-route-Fix-invalid-pointer-access.patch
+  0039-pcm-ladspa-Delay-LADSPA-plugin-activate-call.patch
+- Remove the temporary fix that has been replaced by the fixes
+  above:
+  0037-pcm-route-Don-t-handle-no-matching-chmap-as-a-seriou.patch
+
+---

Old:

  0037-pcm-route-Don-t-handle-no-matching-chmap-as-a-seriou.patch

New:

  0037-route-Return-NULL-in-case-of-zero-found-channels-in-.patch
  0038-route-Fix-invalid-pointer-access.patch
  0039-pcm-ladspa-Delay-LADSPA-plugin-activate-call.patch



Other differences:
--
++ alsa.spec ++
--- /var/tmp/diff_new_pack.KrICgY/_old  2014-04-04 16:32:10.0 +0200
+++ /var/tmp/diff_new_pack.KrICgY/_new  2014-04-04 16:32:10.0 +0200
@@ -88,7 +88,9 @@
 Patch34:0034-conf-Allow-2.1-surround-to-use-different-number-of-c.patch
 Patch35:0035-pcm-Wrap-hw_ptr-to-boundary-in-pcm_ioplug.patch
 Patch36:0036-src-conf-cards-Add-missing-entry-for-Loopback.conf.patch
-Patch37:0037-pcm-route-Don-t-handle-no-matching-chmap-as-a-seriou.patch
+Patch37:0037-route-Return-NULL-in-case-of-zero-found-channels-in-.patch
+Patch38:0038-route-Fix-invalid-pointer-access.patch
+Patch39:0039-pcm-ladspa-Delay-LADSPA-plugin-activate-call.patch
 # rest suse patches
 Patch99:alsa-lib-doxygen-avoid-crash-for-11.3.diff
 BuildRequires:  doxygen
@@ -195,6 +197,8 @@
 %patch35 -p1
 %patch36 -p1
 %patch37 -p1
+%patch38 -p1
+%patch39 -p1
 %if 0%{?suse_version} == 1130
 %patch99 -p1
 %endif

++ 0037-route-Return-NULL-in-case-of-zero-found-channels-in-.patch ++
From d794af65e97822a29945a21c1cd2a21ea3b8e6b8 Mon Sep 17 00:00:00 2001
From: David Henningsson david.hennings...@canonical.com
Date: Tue, 18 Mar 2014 23:07:19 +0100
Subject: [PATCH] route: Return NULL in case of zero found channels in
 determine_chmap

This should fix the problem where the old route syntax can no longer
be opened.

Signed-off-by: David Henningsson david.hennings...@canonical.com
Signed-off-by: Takashi Iwai ti...@suse.de
---
 src/pcm/pcm_route.c | 5 -
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/pcm/pcm_route.c b/src/pcm/pcm_route.c
index ac11bdc8adfd..a9097caa7303 100644
--- a/src/pcm/pcm_route.c
+++ b/src/pcm/pcm_route.c
@@ -883,7 +883,10 @@ static int determine_chmap(snd_config_t *tt, 
snd_pcm_chmap_t **tt_chmap)
}
}
 
-
+   if (chmap-channels == 0) {
+   free(chmap);
+   chmap = NULL;
+   }
*tt_chmap = chmap;
return 0;
 
-- 
1.9.1

++ 0038-route-Fix-invalid-pointer-access.patch ++
From dbe6d7f86902dbbe2ff276b7a6524c084893772f Mon Sep 17 00:00:00 2001
From: Takashi Iwai ti...@suse.de
Date: Wed, 19 Mar 2014 10:52:24 +0100
Subject: [PATCH] route: Fix invalid pointer access

An uninitialized chmap pointer value is assigned in
_snd_pcm_route_open().  Add NULL initializations appropriately, and
also avoid the possible invalid access of NULL pcmp pointer.

Signed-off-by: Takashi Iwai ti...@suse.de
---
 src/pcm/pcm_route.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/pcm/pcm_route.c b/src/pcm/pcm_route.c
index a9097caa7303..599fc3eb48e2 100644
--- a/src/pcm/pcm_route.c
+++ b/src/pcm/pcm_route.c
@@ -1361,7 +1361,7 @@ int _snd_pcm_route_open(snd_pcm_t **pcmp, const char 
*name,
int err;
snd_pcm_t *spcm;
snd_config_t *slave = NULL, *sconf;
-   snd_pcm_chmap_t *tt_chmap, *chmap;
+   snd_pcm_chmap_t *tt_chmap = NULL, *chmap = NULL;
snd_pcm_format_t sformat = SND_PCM_FORMAT_UNKNOWN;
int schannels = -1;
snd_config_t *tt = NULL;
@@ -1460,8 +1460,9 @@ int _snd_pcm_route_open(snd_pcm_t **pcmp, const char 
*name,
if (err  0) {
free(chmap);
snd_pcm_close(spcm);
+   } else {
+   ((snd_pcm_route_t*) (*pcmp)-private_data)-chmap = chmap;
}
-   ((snd_pcm_route_t*) (*pcmp)-private_data)-chmap = chmap;
 
return err;
 }
-- 
1.9.1

++ 0039-pcm-ladspa-Delay-LADSPA-plugin-activate-call.patch ++
From 

commit alsa for openSUSE:Factory

2014-03-31 Thread h_root
Hello community,

here is the log from the commit of package alsa for openSUSE:Factory checked in 
at 2014-03-31 20:43:08

Comparing /work/SRC/openSUSE:Factory/alsa (Old)
 and  /work/SRC/openSUSE:Factory/.alsa.new (New)


Package is alsa

Changes:

--- /work/SRC/openSUSE:Factory/alsa/alsa.changes2014-03-19 
08:01:50.0 +0100
+++ /work/SRC/openSUSE:Factory/.alsa.new/alsa.changes   2014-03-31 
20:43:19.0 +0200
@@ -1,0 +2,6 @@
+Thu Mar 20 15:04:38 CET 2014 - ti...@suse.de
+
+- Correct the default values in /etc/sysconfig/sound comments
+  (bnc#869403)
+
+---



Other differences:
--


++ sysconfig.sound ++
--- /var/tmp/diff_new_pack.vsVRlp/_old  2014-03-31 20:43:20.0 +0200
+++ /var/tmp/diff_new_pack.vsVRlp/_new  2014-03-31 20:43:20.0 +0200
@@ -1,7 +1,7 @@
 ## Path:   Hardware/Soundcard
 ## Description:Additional options for the sound system.
 ## Type:   yesno
-## Default:yes
+## Default:no
 ## ServiceReload: alsasound
 #
 # Load ALSA sequencer modules at boot-up? (yes/no)
@@ -20,7 +20,7 @@
 SOUNDFONT_FILES=
 
 ## Type:   yesno
-## Default:yes
+## Default:no
 #
 # Load OSS-emulation modules at boot-up? (yes/no)
 # OSS-emulation modules are needed if you use OSS applications


-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit alsa for openSUSE:Factory

2014-03-19 Thread h_root
Hello community,

here is the log from the commit of package alsa for openSUSE:Factory checked in 
at 2014-03-19 08:01:49

Comparing /work/SRC/openSUSE:Factory/alsa (Old)
 and  /work/SRC/openSUSE:Factory/.alsa.new (New)


Package is alsa

Changes:

--- /work/SRC/openSUSE:Factory/alsa/alsa.changes2014-03-16 
08:04:58.0 +0100
+++ /work/SRC/openSUSE:Factory/.alsa.new/alsa.changes   2014-03-19 
08:01:50.0 +0100
@@ -1,0 +2,6 @@
+Tue Mar 18 15:31:12 CET 2014 - ti...@suse.de
+
+- Fix the silent output with PulseAudio (bnc#868795)
+  0037-pcm-route-Don-t-handle-no-matching-chmap-as-a-seriou.patch 
+
+---

New:

  0037-pcm-route-Don-t-handle-no-matching-chmap-as-a-seriou.patch



Other differences:
--
++ alsa.spec ++
--- /var/tmp/diff_new_pack.xOD7SE/_old  2014-03-19 08:01:51.0 +0100
+++ /var/tmp/diff_new_pack.xOD7SE/_new  2014-03-19 08:01:51.0 +0100
@@ -88,6 +88,7 @@
 Patch34:0034-conf-Allow-2.1-surround-to-use-different-number-of-c.patch
 Patch35:0035-pcm-Wrap-hw_ptr-to-boundary-in-pcm_ioplug.patch
 Patch36:0036-src-conf-cards-Add-missing-entry-for-Loopback.conf.patch
+Patch37:0037-pcm-route-Don-t-handle-no-matching-chmap-as-a-seriou.patch
 # rest suse patches
 Patch99:alsa-lib-doxygen-avoid-crash-for-11.3.diff
 BuildRequires:  doxygen
@@ -193,6 +194,7 @@
 %patch34 -p1
 %patch35 -p1
 %patch36 -p1
+%patch37 -p1
 %if 0%{?suse_version} == 1130
 %patch99 -p1
 %endif

++ 0037-pcm-route-Don-t-handle-no-matching-chmap-as-a-seriou.patch ++
From 5b72e3d5305930bffc300aa4f2545ba95992c144 Mon Sep 17 00:00:00 2001
From: Takashi Iwai ti...@suse.de
Date: Tue, 18 Mar 2014 15:23:09 +0100
Subject: [PATCH] pcm: route: Don't handle no matching chmap as a serious error

When find_matching_chmap() returns an error for the non-matching
chmap, the caller, snd_pcm_route_open(), also returns an error
although it shouldn't be handled as the fatal error.  This results in
the probe error with PulseAudio and it gives no real output in the
end.

Signed-off-by: Takashi Iwai ti...@suse.de
---
 src/pcm/pcm_route.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/src/pcm/pcm_route.c b/src/pcm/pcm_route.c
index ab17fa78be2c..ac11bdc8adfd 100644
--- a/src/pcm/pcm_route.c
+++ b/src/pcm/pcm_route.c
@@ -940,10 +940,8 @@ static int find_matching_chmap(snd_pcm_t *spcm, 
snd_pcm_chmap_t *tt_chmap,
 
snd_pcm_free_chmaps(chmaps);
 
-   if (*found_chmap == NULL) {
+   if (*found_chmap == NULL)
SNDERR(Found no matching channel map);
-   return -EINVAL;
-   }
return 0;
 }
 
-- 
1.9.0




-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit alsa for openSUSE:Factory

2014-02-25 Thread h_root
Hello community,

here is the log from the commit of package alsa for openSUSE:Factory checked in 
at 2014-02-25 16:41:13

Comparing /work/SRC/openSUSE:Factory/alsa (Old)
 and  /work/SRC/openSUSE:Factory/.alsa.new (New)


Package is alsa

Changes:

--- /work/SRC/openSUSE:Factory/alsa/alsa.changes2014-02-15 
17:16:19.0 +0100
+++ /work/SRC/openSUSE:Factory/.alsa.new/alsa.changes   2014-02-25 
16:41:14.0 +0100
@@ -1,0 +2,8 @@
+Mon Feb 24 16:37:33 CET 2014 - ti...@suse.de
+
+- Fix missing /etc/sysconfig/sound due to the previous change
+  (bnc#865356)
+- Fix the superfluous insserv calls due to the wrong suse_version
+  checks (bnc#863506)
+
+---



Other differences:
--
++ alsa.spec ++
--- /var/tmp/diff_new_pack.M6KQL0/_old  2014-02-25 16:41:15.0 +0100
+++ /var/tmp/diff_new_pack.M6KQL0/_new  2014-02-25 16:41:15.0 +0100
@@ -259,14 +259,14 @@
 
 %post
 %if %suse_version  1310
-%{fillup_only -ny sound}
+%{fillup_only -n sound}
 %else
 %{fillup_and_insserv -ny sound alsasound}
 %{fillup_and_insserv -n joystick joystick}
 %endif
 exit 0
 
-%if %suse_version  1310
+%if %suse_version = 1310
 %preun
 %stop_on_removal alsasound joystick
 exit 0
@@ -284,7 +284,7 @@
 %files
 %defattr(-, root, root)
 %doc %{_docdir}/%{name}
-%if %suse_version  1310
+%if %suse_version = 1310
 /etc/init.d/*
 %endif
 %if %suse_version  1220




-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit alsa for openSUSE:Factory

2014-02-15 Thread h_root
Hello community,

here is the log from the commit of package alsa for openSUSE:Factory checked in 
at 2014-02-15 17:16:18

Comparing /work/SRC/openSUSE:Factory/alsa (Old)
 and  /work/SRC/openSUSE:Factory/.alsa.new (New)


Package is alsa

Changes:

--- /work/SRC/openSUSE:Factory/alsa/alsa.changes2014-02-07 
13:48:55.0 +0100
+++ /work/SRC/openSUSE:Factory/.alsa.new/alsa.changes   2014-02-15 
17:16:19.0 +0100
@@ -1,0 +2,14 @@
+Fri Feb 14 12:01:25 CET 2014 - ti...@suse.de
+
+- Remove obsolete init scripts for SLE12 and later (bnc#863506);
+  note that you may get errors at upgrading the package due to the
+  old postun still accessing /etc/init.d/* files.  Nevertheless
+  they are obliged to be removed.  If you see such errors, don't
+  report to Bugzilla.  Relax, enjoy Olympic games instead.
+
+---
+Fri Feb 14 11:31:09 CET 2014 - ti...@suse.de
+
+- Fix build for SLE11 due to missing udev rules dir
+
+---



Other differences:
--
++ alsa.spec ++
--- /var/tmp/diff_new_pack.MWfTdb/_old  2014-02-15 17:16:20.0 +0100
+++ /var/tmp/diff_new_pack.MWfTdb/_new  2014-02-15 17:16:20.0 +0100
@@ -21,6 +21,8 @@
 BuildRequires:  libtool
 %if %suse_version  1200
 BuildRequires:  libudev-devel
+%else
+BuildRequires:  udev
 %endif
 BuildRequires:  pkg-config
 %define package_version1.0.27.2
@@ -202,6 +204,7 @@
 mkdir -p $RPM_BUILD_ROOT/usr/lib
 install -c -m 0644 %{SOURCE31} $RPM_BUILD_ROOT/usr/lib
 install -c -m 0644 %{SOURCE32} $RPM_BUILD_ROOT/usr/lib
+%if %suse_version = 1310
 #
 # install init scripts
 #
@@ -215,6 +218,7 @@
 ln -s ../../etc/init.d/alsasound $RPM_BUILD_ROOT%{_sbindir}/rcalsasound
 rm -f $RPM_BUILD_ROOT%{_sbindir}/rcjoystick
 ln -s ../../etc/init.d/joystick $RPM_BUILD_ROOT%{_sbindir}/rcjoystick
+%endif
 #
 # udev rules (only for non-systemd)
 #
@@ -238,9 +242,10 @@
 #
 mkdir -p -m 755 $RPM_BUILD_ROOT/var/adm/fillup-templates
 mkdir -p -m 755 $RPM_BUILD_ROOT/etc/sysconfig
-for i in sound joystick; do
-  install -m 644 $RPM_SOURCE_DIR/sysconfig.$i 
$RPM_BUILD_ROOT/var/adm/fillup-templates
-done
+install -m 644 $RPM_SOURCE_DIR/sysconfig.sound 
$RPM_BUILD_ROOT/var/adm/fillup-templates
+%if %suse_version = 1310
+install -m 644 $RPM_SOURCE_DIR/sysconfig.joystick 
$RPM_BUILD_ROOT/var/adm/fillup-templates
+%endif
 #
 # documents
 #
@@ -253,10 +258,15 @@
 install -c -m 0755 %{SOURCE33} $RPM_BUILD_ROOT%{_sbindir}
 
 %post
+%if %suse_version  1310
+%{fillup_only -ny sound}
+%else
 %{fillup_and_insserv -ny sound alsasound}
 %{fillup_and_insserv -n joystick joystick}
+%endif
 exit 0
 
+%if %suse_version  1310
 %preun
 %stop_on_removal alsasound joystick
 exit 0
@@ -265,6 +275,7 @@
 %restart_on_update alsasound joystick
 %insserv_cleanup
 exit 0
+%endif
 
 %post -n libasound2 -p /sbin/ldconfig
 
@@ -273,7 +284,9 @@
 %files
 %defattr(-, root, root)
 %doc %{_docdir}/%{name}
+%if %suse_version  1310
 /etc/init.d/*
+%endif
 %if %suse_version  1220
 /etc/modprobe.d
 /sbin/*




-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit alsa for openSUSE:Factory

2014-02-07 Thread h_root
Hello community,

here is the log from the commit of package alsa for openSUSE:Factory checked in 
at 2014-02-07 13:48:54

Comparing /work/SRC/openSUSE:Factory/alsa (Old)
 and  /work/SRC/openSUSE:Factory/.alsa.new (New)


Package is alsa

Changes:

--- /work/SRC/openSUSE:Factory/alsa/alsa.changes2013-11-28 
06:54:49.0 +0100
+++ /work/SRC/openSUSE:Factory/.alsa.new/alsa.changes   2014-02-07 
13:48:55.0 +0100
@@ -1,0 +2,6 @@
+Thu Feb  6 11:02:34 CET 2014 - ti...@suse.de
+
+- Enable runtime PM for HD-audio devices (FATE#315523);
+  install 42-hd-audio-pm.rules udev file
+
+---

New:

  42-hd-audio-pm.rules



Other differences:
--
++ alsa.spec ++
--- /var/tmp/diff_new_pack.sltGDQ/_old  2014-02-07 13:48:56.0 +0100
+++ /var/tmp/diff_new_pack.sltGDQ/_new  2014-02-07 13:48:56.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package alsa
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,6 +19,9 @@
 Name:   alsa
 BuildRequires:  doxygen
 BuildRequires:  libtool
+%if %suse_version  1200
+BuildRequires:  libudev-devel
+%endif
 BuildRequires:  pkg-config
 %define package_version1.0.27.2
 Requires:   alsa-utils
@@ -37,6 +40,7 @@
 Source: 
ftp://ftp.alsa-project.org/pub/lib/alsa-lib-%{package_version}.tar.bz2
 Source2:baselibs.conf
 Source8:40-alsa.rules
+Source9:42-hd-audio-pm.rules
 Source11:   alsasound
 Source12:   sysconfig.sound
 Source13:   joystick
@@ -77,6 +81,11 @@
 Patch99:alsa-lib-doxygen-avoid-crash-for-11.3.diff
 Url:http://www.alsa-project.org/
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
+%if %suse_version  1200
+%define _udevdir %(pkg-config --variable=udevdir udev)
+%else
+%define _udevdir /lib/udev
+%endif
 
 %description
 ALSA stands for Advanced Linux Sound Architecture.  It supports many
@@ -209,10 +218,11 @@
 #
 # udev rules (only for non-systemd)
 #
+mkdir -p $RPM_BUILD_ROOT%{_udevdir}/rules.d
 %if %suse_version  1140
-mkdir -p $RPM_BUILD_ROOT/etc/udev/rules.d
-install -c -m 0644 %{SOURCE8} $RPM_BUILD_ROOT/etc/udev/rules.d
+install -c -m 0644 %{S:8} $RPM_BUILD_ROOT%{_udevdir}/rules.d
 %endif
+install -c -m 0644 %{S:9} $RPM_BUILD_ROOT%{_udevdir}/rules.d
 #
 # modprobe config and the module install script for loading OSS-emulation
 # and sequencer modules automatically
@@ -273,9 +283,7 @@
 /usr/lib/all_notes_off.*
 %{_datadir}/sounds/alsa
 /var/adm/fillup-templates/*
-%if %suse_version  1140
-/etc/udev
-%endif
+%{_udevdir}/rules.d/*
 
 %files devel
 %defattr(-, root, root)

++ 42-hd-audio-pm.rules ++
# do not edit this file, it will be overwritten on update
#
# Enable autosuspend for HD-audio devices

ACTION==add, SUBSYSTEM==pci, ATTR{class}==0x040300, 
TEST==power/control, ATTR{power/control}=auto



-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit alsa for openSUSE:Factory

2013-11-27 Thread h_root
Hello community,

here is the log from the commit of package alsa for openSUSE:Factory checked in 
at 2013-11-28 06:54:46

Comparing /work/SRC/openSUSE:Factory/alsa (Old)
 and  /work/SRC/openSUSE:Factory/.alsa.new (New)


Package is alsa

Changes:

--- /work/SRC/openSUSE:Factory/alsa/alsa.changes2013-10-03 
15:41:28.0 +0200
+++ /work/SRC/openSUSE:Factory/.alsa.new/alsa.changes   2013-11-28 
06:54:49.0 +0100
@@ -1,0 +2,19 @@
+Wed Nov 27 09:45:38 CET 2013 - ti...@suse.de
+
+- Backport upstream fixes: cleanups, non-glibc build fixes, fixes
+  and enhancements of pcm_file plugin, etc.
+  0010-remove-unnecessary-obsolete-compat-hsearch_r.c.patch
+  0011-local.h-include-sys-types.h-to-fix-issues-with-pcm.h.patch
+  0012-test-chmap-Add-missing-usage-text-for-s-option.patch
+  0013-include-global.h-don-t-define-timeval-and-timespec-s.patch
+  0014-conf.c-use-portable-way-to-initialize-recursive-mute.patch
+  0015-pcm_file-fix-SEGFAULT-if-file-option-is-missing-whil.patch
+  0016-pcm_file-fixed-memory-leak.patch
+  0017-pcm_file-don-t-touch-infile-on-playback-and-output-f.patch
+  0018-pcm_file-document-new-argument-to-snd_pcm_file_open.patch
+- Fix aborting in races at closing dmix streams (bnc#852446):
+  0019-dmix-Don-t-use-assert-and-abort.patch
+- Don't include modprobe.d hack for 12.2 and older distros, which
+  seem broken on them
+
+---

New:

  0010-remove-unnecessary-obsolete-compat-hsearch_r.c.patch
  0011-local.h-include-sys-types.h-to-fix-issues-with-pcm.h.patch
  0012-test-chmap-Add-missing-usage-text-for-s-option.patch
  0013-include-global.h-don-t-define-timeval-and-timespec-s.patch
  0014-conf.c-use-portable-way-to-initialize-recursive-mute.patch
  0015-pcm_file-fix-SEGFAULT-if-file-option-is-missing-whil.patch
  0016-pcm_file-fixed-memory-leak.patch
  0017-pcm_file-don-t-touch-infile-on-playback-and-output-f.patch
  0018-pcm_file-document-new-argument-to-snd_pcm_file_open.patch
  0019-dmix-Don-t-use-assert-and-abort.patch



Other differences:
--
++ alsa.spec ++
--- /var/tmp/diff_new_pack.VZqL8p/_old  2013-11-28 06:54:51.0 +0100
+++ /var/tmp/diff_new_pack.VZqL8p/_new  2013-11-28 06:54:51.0 +0100
@@ -63,6 +63,16 @@
 Patch7: 0007-Fix-access-of-freed-memory-in-namehints.patch
 Patch8: 0008-HDA-Intel-present-up-to-8-HDMI-DP-outputs-via-hdmi-d.patch
 Patch9: 0009-snd_tlv_convert_from_dB-fix-decreasing-gain-across-e.patch
+Patch10:0010-remove-unnecessary-obsolete-compat-hsearch_r.c.patch
+Patch11:0011-local.h-include-sys-types.h-to-fix-issues-with-pcm.h.patch
+Patch12:0012-test-chmap-Add-missing-usage-text-for-s-option.patch
+Patch13:0013-include-global.h-don-t-define-timeval-and-timespec-s.patch
+Patch14:0014-conf.c-use-portable-way-to-initialize-recursive-mute.patch
+Patch15:0015-pcm_file-fix-SEGFAULT-if-file-option-is-missing-whil.patch
+Patch16:0016-pcm_file-fixed-memory-leak.patch
+Patch17:0017-pcm_file-don-t-touch-infile-on-playback-and-output-f.patch
+Patch18:0018-pcm_file-document-new-argument-to-snd_pcm_file_open.patch
+Patch19:0019-dmix-Don-t-use-assert-and-abort.patch
 # rest suse patches
 Patch99:alsa-lib-doxygen-avoid-crash-for-11.3.diff
 Url:http://www.alsa-project.org/
@@ -123,6 +133,16 @@
 %patch7 -p1
 %patch8 -p1
 %patch9 -p1
+%patch10 -p1
+%patch11 -p1
+%patch12 -p1
+%patch13 -p1
+%patch14 -p1
+%patch15 -p1
+%patch16 -p1
+%patch17 -p1
+%patch18 -p1
+%patch19 -p1
 %if %suse_version == 1130
 %patch99 -p1
 %endif
@@ -196,10 +216,12 @@
 #
 # modprobe config and the module install script for loading OSS-emulation
 # and sequencer modules automatically
+%if %suse_version  1220
 mkdir -p $RPM_BUILD_ROOT/etc/modprobe.d
 install -c -m 0644 %{S:40} $RPM_BUILD_ROOT/etc/modprobe.d
 mkdir -p $RPM_BUILD_ROOT/sbin
 install -c -m 0755 %{S:41} $RPM_BUILD_ROOT/sbin
+%endif
 #
 # install template to update rc.config and sysconfig files:
 # (updating the actual files is done in the %post-script)
@@ -242,8 +264,10 @@
 %defattr(-, root, root)
 %doc %{_docdir}/%{name}
 /etc/init.d/*
+%if %suse_version  1220
 /etc/modprobe.d
 /sbin/*
+%endif
 %{_sbindir}/*
 %{_bindir}/*
 /usr/lib/all_notes_off.*

++ 0010-remove-unnecessary-obsolete-compat-hsearch_r.c.patch ++
From c1fbd57c38dd565d3f87219031658f676654484f Mon Sep 17 00:00:00 2001
From: Waldemar Brodkorb w...@openadk.org
Date: Wed, 2 Oct 2013 21:00:51 +0200
Subject: [PATCH] remove unnecessary/obsolete compat/hsearch_r.c

The usage of hsearch functions where removed long time
ago in commit 273d115de05574251bdd661747ecb68449a5cf1d.
This patch highly increases portability for 

commit alsa for openSUSE:Factory

2013-10-03 Thread h_root
Hello community,

here is the log from the commit of package alsa for openSUSE:Factory checked in 
at 2013-10-03 15:41:27

Comparing /work/SRC/openSUSE:Factory/alsa (Old)
 and  /work/SRC/openSUSE:Factory/.alsa.new (New)


Package is alsa

Changes:

--- /work/SRC/openSUSE:Factory/alsa/alsa.changes2013-09-09 
09:26:06.0 +0200
+++ /work/SRC/openSUSE:Factory/.alsa.new/alsa.changes   2013-10-03 
15:41:28.0 +0200
@@ -1,0 +2,9 @@
+Tue Oct  1 12:27:25 CEST 2013 - ti...@suse.de
+
+- Backport upstream fixes: namehints double-free fix, expansion of
+  more HDMI devices, and a fix for dB conversion
+  0007-Fix-access-of-freed-memory-in-namehints.patch
+  0008-HDA-Intel-present-up-to-8-HDMI-DP-outputs-via-hdmi-d.patch
+  0009-snd_tlv_convert_from_dB-fix-decreasing-gain-across-e.patch
+
+---

New:

  0007-Fix-access-of-freed-memory-in-namehints.patch
  0008-HDA-Intel-present-up-to-8-HDMI-DP-outputs-via-hdmi-d.patch
  0009-snd_tlv_convert_from_dB-fix-decreasing-gain-across-e.patch



Other differences:
--
++ alsa.spec ++
--- /var/tmp/diff_new_pack.iKELyL/_old  2013-10-03 15:41:29.0 +0200
+++ /var/tmp/diff_new_pack.iKELyL/_new  2013-10-03 15:41:29.0 +0200
@@ -60,6 +60,9 @@
 Patch4: 0004-UCM-Document-some-standard-values.patch
 Patch5: 0005-hdspm.h-Update-LTC-ioctl-to-use-struct-hdspm_ltc.patch
 Patch6: 0006-Update-iatomic.h-functions-definitions-for-mips.patch
+Patch7: 0007-Fix-access-of-freed-memory-in-namehints.patch
+Patch8: 0008-HDA-Intel-present-up-to-8-HDMI-DP-outputs-via-hdmi-d.patch
+Patch9: 0009-snd_tlv_convert_from_dB-fix-decreasing-gain-across-e.patch
 # rest suse patches
 Patch99:alsa-lib-doxygen-avoid-crash-for-11.3.diff
 Url:http://www.alsa-project.org/
@@ -117,6 +120,9 @@
 %patch4 -p1
 %patch5 -p1
 %patch6 -p1
+%patch7 -p1
+%patch8 -p1
+%patch9 -p1
 %if %suse_version == 1130
 %patch99 -p1
 %endif

++ 0007-Fix-access-of-freed-memory-in-namehints.patch ++
From 23bf1dce9438c0cf74357928289aa8f06957c283 Mon Sep 17 00:00:00 2001
From: David Henningsson david.hennings...@canonical.com
Date: Fri, 13 Sep 2013 13:21:44 -0400
Subject: [PATCH] Fix access of freed memory in namehints

Sometimes a hook manipulates the config tree, which makes currently
running iterators point to freed memory. As a workaround, make two
copies, one for the iterators and another for the hooks.

BugLink: https://bugs.launchpad.net/bugs/1008600
Signed-off-by: David Henningsson david.hennings...@canonical.com
Signed-off-by: Takashi Iwai ti...@suse.de
---
 src/control/namehint.c | 22 +-
 1 file changed, 13 insertions(+), 9 deletions(-)

diff --git a/src/control/namehint.c b/src/control/namehint.c
index 8d5e925..28975a4 100644
--- a/src/control/namehint.c
+++ b/src/control/namehint.c
@@ -406,7 +406,7 @@ static const next_devices_t next_devices[] = {
 };
 #endif
 
-static int add_card(snd_config_t *config, struct hint_list *list, int card)
+static int add_card(snd_config_t *config, snd_config_t *rw_config, struct 
hint_list *list, int card)
 {
int err, ok;
snd_config_t *conf, *n;
@@ -449,7 +449,7 @@ static int add_card(snd_config_t *config, struct hint_list 
*list, int card)
ok = 0;
for (device = 0; err = 0  device = max_device; 
device++) {
list-device = device;
-   err = try_config(config, list, list-siface, 
str);
+   err = try_config(rw_config, list, list-siface, 
str);
if (err  0)
break;
ok++;
@@ -464,7 +464,7 @@ static int add_card(snd_config_t *config, struct hint_list 
*list, int card)
if (err  0) {
list-card = card;
list-device = -1;
-   err = try_config(config, list, list-siface, str);
+   err = try_config(rw_config, list, list-siface, str);
}
if (err == -ENOMEM)
goto __error;
@@ -493,7 +493,8 @@ static int get_card_name(struct hint_list *list, int card)
return 0;
 }
 
-static int add_software_devices(snd_config_t *config, struct hint_list *list)
+static int add_software_devices(snd_config_t *config, snd_config_t *rw_config,
+   struct hint_list *list)
 {
int err;
snd_config_t *conf, *n;
@@ -509,7 +510,7 @@ static int add_software_devices(snd_config_t *config, 
struct hint_list *list)
continue;

commit alsa for openSUSE:Factory

2013-09-09 Thread h_root
Hello community,

here is the log from the commit of package alsa for openSUSE:Factory checked in 
at 2013-09-09 09:26:03

Comparing /work/SRC/openSUSE:Factory/alsa (Old)
 and  /work/SRC/openSUSE:Factory/.alsa.new (New)


Package is alsa

Changes:

--- /work/SRC/openSUSE:Factory/alsa/alsa.changes2013-07-11 
13:27:09.0 +0200
+++ /work/SRC/openSUSE:Factory/.alsa.new/alsa.changes   2013-09-09 
09:26:06.0 +0200
@@ -1,0 +2,11 @@
+Fri Sep  6 10:03:55 CEST 2013 - ti...@suse.de
+
+- Backport upstream fixes:
+  0001-local.h-use-__kernel_off_t-from-linux-types.h.patch
+  0002-conf-cards-add-Audio-Advantage-Micro-II.patch
+  0003-pcm-Fix-a-wrong-value-shown-in-the-error-message-in-.patch
+  0004-UCM-Document-some-standard-values.patch
+  0005-hdspm.h-Update-LTC-ioctl-to-use-struct-hdspm_ltc.patch
+  0006-Update-iatomic.h-functions-definitions-for-mips.patch
+
+---

New:

  0001-local.h-use-__kernel_off_t-from-linux-types.h.patch
  0002-conf-cards-add-Audio-Advantage-Micro-II.patch
  0003-pcm-Fix-a-wrong-value-shown-in-the-error-message-in-.patch
  0004-UCM-Document-some-standard-values.patch
  0005-hdspm.h-Update-LTC-ioctl-to-use-struct-hdspm_ltc.patch
  0006-Update-iatomic.h-functions-definitions-for-mips.patch



Other differences:
--
++ alsa.spec ++
--- /var/tmp/diff_new_pack.EGJkiS/_old  2013-09-09 09:26:07.0 +0200
+++ /var/tmp/diff_new_pack.EGJkiS/_new  2013-09-09 09:26:07.0 +0200
@@ -54,6 +54,12 @@
 Source41:   install-snd-module
 # Patch:  alsa-lib-git-fixes.diff
 # upstream fixes
+Patch1: 0001-local.h-use-__kernel_off_t-from-linux-types.h.patch
+Patch2: 0002-conf-cards-add-Audio-Advantage-Micro-II.patch
+Patch3: 0003-pcm-Fix-a-wrong-value-shown-in-the-error-message-in-.patch
+Patch4: 0004-UCM-Document-some-standard-values.patch
+Patch5: 0005-hdspm.h-Update-LTC-ioctl-to-use-struct-hdspm_ltc.patch
+Patch6: 0006-Update-iatomic.h-functions-definitions-for-mips.patch
 # rest suse patches
 Patch99:alsa-lib-doxygen-avoid-crash-for-11.3.diff
 Url:http://www.alsa-project.org/
@@ -105,6 +111,12 @@
 %prep
 %setup -q -n alsa-lib-%{package_version}
 # %patch -p1
+%patch1 -p1
+%patch2 -p1
+%patch3 -p1
+%patch4 -p1
+%patch5 -p1
+%patch6 -p1
 %if %suse_version == 1130
 %patch99 -p1
 %endif

++ 0001-local.h-use-__kernel_off_t-from-linux-types.h.patch ++
From b3b53a1bec47aaa2baef724cc9e79adadd603caf Mon Sep 17 00:00:00 2001
From: Jaroslav Kysela pe...@perex.cz
Date: Tue, 23 Jul 2013 14:50:41 +0200
Subject: [PATCH 1/6] local.h: use __kernel_off_t from linux/types.h

Also, make the empty definitions __user and __force conditional.

Signed-off-by: Jaroslav Kysela pe...@perex.cz
---
 include/local.h | 6 +-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/include/local.h b/include/local.h
index 53cb647..f0db188 100644
--- a/include/local.h
+++ b/include/local.h
@@ -32,6 +32,7 @@
 #include stdarg.h
 #include sys/poll.h
 #include errno.h
+#include linux/types.h
 #include linux/ioctl.h
 
 #include config.h
@@ -114,9 +115,12 @@
 #define snd_ctl_tlvsndrv_ctl_tlv
 
 /* kill and replace kernel-specific types */
+#ifndef __user
 #define __user
+#endif
+#ifndef __force
 #define __force
-#define __kernel_off_t off_t
+#endif
 
 #include sound/asound.h
 
-- 
1.8.4

++ 0002-conf-cards-add-Audio-Advantage-Micro-II.patch ++
From 994ab14b401b2873c5f927215bbb86fe6f6335fc Mon Sep 17 00:00:00 2001
From: Przemek Rudy pru...@o2.pl
Date: Tue, 30 Jul 2013 22:31:44 +0200
Subject: [PATCH 2/6] conf/cards: add Audio Advantage Micro II

With related kernel chnages add extended suport for:
- AES bits controls (via device suffix AESn= or tools like iecset)
- SPDIF switch control, turning on/off the optical transmitter (via alsamixer 
tool)

Signed-off-by: Przemek Rudy pru...@o2.pl
Signed-off-by: Takashi Iwai ti...@suse.de
---
 src/conf/cards/USB-Audio.conf | 35 +++
 1 file changed, 35 insertions(+)

diff --git a/src/conf/cards/USB-Audio.conf b/src/conf/cards/USB-Audio.conf
index 0d93175..8a6d9ca 100644
--- a/src/conf/cards/USB-Audio.conf
+++ b/src/conf/cards/USB-Audio.conf
@@ -101,6 +101,41 @@ USB-Audio.Audiophile USB (tm).pcm.iec958 {
}
 }
 
+# For this card we can (and must to get IEC61937) set AES bits
+USB-Audio.MicroII.pcm.iec958 cards.USB-Audio.Audio Advantage 
MicroII.pcm.iec958
+USB-Audio.Audio Advantage MicroII.pcm.iec958 {
+   @args [ CARD AES0 AES1 AES2 AES3 ]
+   @args.CARD { type string }
+   @args.AES0 { type integer }
+   @args.AES1 { type integer }
+   @args.AES2 { type integer }
+   @args.AES3 { 

commit alsa for openSUSE:Factory

2013-07-11 Thread h_root
Hello community,

here is the log from the commit of package alsa for openSUSE:Factory checked in 
at 2013-07-11 13:27:07

Comparing /work/SRC/openSUSE:Factory/alsa (Old)
 and  /work/SRC/openSUSE:Factory/.alsa.new (New)


Package is alsa

Changes:

--- /work/SRC/openSUSE:Factory/alsa/alsa.changes2013-06-18 
09:55:30.0 +0200
+++ /work/SRC/openSUSE:Factory/.alsa.new/alsa.changes   2013-07-11 
13:27:09.0 +0200
@@ -1,0 +2,6 @@
+Tue Jul  9 16:52:37 CEST 2013 - ti...@suse.de
+
+- updated to version 1.0.27.2:
+  just version bump, including all previous fixes
+
+---

Old:

  0001-pcm-Fix-typo-in-documentation-PREPARE-PREPARED.patch
  0002-ucm-Fix-segfault-when-device-argument-is-missing-fro.patch
  0003-Allow-specifying-the-max-number-of-cards.patch
  0004-pcm_hw-Remove-unused-fields-in-struct.patch
  0005-pcm_plugin-Fix-return-value-of-snd_pcm_rewind.patch
  0006-pcm_direct-fix-the-memory-leak-when-parsing-the-slav.patch
  0007-chmap-Always-succeed-setting-the-map-to-what-it-alre.patch
  0008-pcm_hw-Fix-buffer-overflow-in-chmap.patch
  0009-pcm_direct-fix-SEGFAULT-when-getgrnam_r-returns-0-an.patch
  alsa-lib-1.0.27.1.tar.bz2

New:

  alsa-lib-1.0.27.2.tar.bz2



Other differences:
--
++ alsa.spec ++
--- /var/tmp/diff_new_pack.LZmpkO/_old  2013-07-11 13:27:10.0 +0200
+++ /var/tmp/diff_new_pack.LZmpkO/_new  2013-07-11 13:27:10.0 +0200
@@ -20,7 +20,7 @@
 BuildRequires:  doxygen
 BuildRequires:  libtool
 BuildRequires:  pkg-config
-%define package_version1.0.27.1
+%define package_version1.0.27.2
 Requires:   alsa-utils
 Recommends: alsa-plugins alsa-oss
 PreReq: %insserv_prereq %fillup_prereq
@@ -32,7 +32,7 @@
 Summary:Advanced Linux Sound Architecture
 License:LGPL-2.1+
 Group:  System/Libraries
-Version:1.0.27.1
+Version:1.0.27.2
 Release:0
 Source: 
ftp://ftp.alsa-project.org/pub/lib/alsa-lib-%{package_version}.tar.bz2
 Source2:baselibs.conf
@@ -54,15 +54,6 @@
 Source41:   install-snd-module
 # Patch:  alsa-lib-git-fixes.diff
 # upstream fixes
-Patch1: 0001-pcm-Fix-typo-in-documentation-PREPARE-PREPARED.patch
-Patch2: 0002-ucm-Fix-segfault-when-device-argument-is-missing-fro.patch
-Patch3: 0003-Allow-specifying-the-max-number-of-cards.patch
-Patch4: 0004-pcm_hw-Remove-unused-fields-in-struct.patch
-Patch5: 0005-pcm_plugin-Fix-return-value-of-snd_pcm_rewind.patch
-Patch6: 0006-pcm_direct-fix-the-memory-leak-when-parsing-the-slav.patch
-Patch7: 0007-chmap-Always-succeed-setting-the-map-to-what-it-alre.patch
-Patch8: 0008-pcm_hw-Fix-buffer-overflow-in-chmap.patch
-Patch9: 0009-pcm_direct-fix-SEGFAULT-when-getgrnam_r-returns-0-an.patch
 # rest suse patches
 Patch99:alsa-lib-doxygen-avoid-crash-for-11.3.diff
 Url:http://www.alsa-project.org/
@@ -114,15 +105,6 @@
 %prep
 %setup -q -n alsa-lib-%{package_version}
 # %patch -p1
-%patch1 -p1
-%patch2 -p1
-%patch3 -p1
-%patch4 -p1
-%patch5 -p1
-%patch6 -p1
-%patch7 -p1
-%patch8 -p1
-%patch9 -p1
 %if %suse_version == 1130
 %patch99 -p1
 %endif



++ alsa-lib-1.0.27.1.tar.bz2 - alsa-lib-1.0.27.2.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/alsa-lib-1.0.27.1/configure 
new/alsa-lib-1.0.27.2/configure
--- old/alsa-lib-1.0.27.1/configure 2013-05-21 10:49:48.0 +0200
+++ new/alsa-lib-1.0.27.2/configure 2013-07-08 14:32:46.0 +0200
@@ -894,6 +894,7 @@
 with_pythonincludes
 with_pcm_plugins
 with_ctl_plugins
+with_max_cards
 '
   ac_precious_vars='build_alias
 host_alias
@@ -1584,6 +1585,7 @@
   build PCM plugins (default = all)
   --with-ctl-plugins=list
   build control plugins (default = all)
+  --with-max-cardsSpecify the max number of cards (default = 32)
 
 Some influential environment variables:
   CC  C compiler command
@@ -2925,7 +2927,7 @@
 # Define the identity of the package.
 
  PACKAGE=alsa-lib
- VERSION=1.0.27.1
+ VERSION=1.0.27.2
 
 
 cat confdefs.h _ACEOF
@@ -13197,6 +13199,30 @@
   fi
 done
 
+{ $as_echo $as_me:${as_lineno-$LINENO}: checking for max number of cards 5
+$as_echo_n checking for max number of cards...  6; }
+
+# Check whether --with-max-cards was given.
+if test ${with_max_cards+set} = set; then :
+  withval=$with_max_cards;  max_cards=$withval
+else
+   max_cards=32
+fi
+
+{ $as_echo $as_me:${as_lineno-$LINENO}: result: $max_cards 5
+$as_echo $max_cards 6; }
+
+if test $max_cards -lt 1; then
+   as_fn_error $? Invalid max cards $max_cards 

commit alsa for openSUSE:Factory

2013-06-18 Thread h_root
Hello community,

here is the log from the commit of package alsa for openSUSE:Factory checked in 
at 2013-06-18 09:55:28

Comparing /work/SRC/openSUSE:Factory/alsa (Old)
 and  /work/SRC/openSUSE:Factory/.alsa.new (New)


Package is alsa

Changes:

--- /work/SRC/openSUSE:Factory/alsa/alsa.changes2013-05-28 
07:24:03.0 +0200
+++ /work/SRC/openSUSE:Factory/.alsa.new/alsa.changes   2013-06-18 
09:55:30.0 +0200
@@ -1,0 +2,13 @@
+Mon Jun 17 10:10:44 CEST 2013 - ti...@suse.de
+
+- Backport upstream fixes for plug-in API rewind, a possible memory
+  leak in direct plugins, chmap buffer overflow and some segfaults:
+  0003-Allow-specifying-the-max-number-of-cards.patch
+  0004-pcm_hw-Remove-unused-fields-in-struct.patch
+  0005-pcm_plugin-Fix-return-value-of-snd_pcm_rewind.patch
+  0006-pcm_direct-fix-the-memory-leak-when-parsing-the-slav.patch
+  0007-chmap-Always-succeed-setting-the-map-to-what-it-alre.patch
+  0008-pcm_hw-Fix-buffer-overflow-in-chmap.patch
+  0009-pcm_direct-fix-SEGFAULT-when-getgrnam_r-returns-0-an.patch
+
+---

New:

  0003-Allow-specifying-the-max-number-of-cards.patch
  0004-pcm_hw-Remove-unused-fields-in-struct.patch
  0005-pcm_plugin-Fix-return-value-of-snd_pcm_rewind.patch
  0006-pcm_direct-fix-the-memory-leak-when-parsing-the-slav.patch
  0007-chmap-Always-succeed-setting-the-map-to-what-it-alre.patch
  0008-pcm_hw-Fix-buffer-overflow-in-chmap.patch
  0009-pcm_direct-fix-SEGFAULT-when-getgrnam_r-returns-0-an.patch



Other differences:
--
++ alsa.spec ++
--- /var/tmp/diff_new_pack.qdiGVS/_old  2013-06-18 09:55:31.0 +0200
+++ /var/tmp/diff_new_pack.qdiGVS/_new  2013-06-18 09:55:31.0 +0200
@@ -56,6 +56,13 @@
 # upstream fixes
 Patch1: 0001-pcm-Fix-typo-in-documentation-PREPARE-PREPARED.patch
 Patch2: 0002-ucm-Fix-segfault-when-device-argument-is-missing-fro.patch
+Patch3: 0003-Allow-specifying-the-max-number-of-cards.patch
+Patch4: 0004-pcm_hw-Remove-unused-fields-in-struct.patch
+Patch5: 0005-pcm_plugin-Fix-return-value-of-snd_pcm_rewind.patch
+Patch6: 0006-pcm_direct-fix-the-memory-leak-when-parsing-the-slav.patch
+Patch7: 0007-chmap-Always-succeed-setting-the-map-to-what-it-alre.patch
+Patch8: 0008-pcm_hw-Fix-buffer-overflow-in-chmap.patch
+Patch9: 0009-pcm_direct-fix-SEGFAULT-when-getgrnam_r-returns-0-an.patch
 # rest suse patches
 Patch99:alsa-lib-doxygen-avoid-crash-for-11.3.diff
 Url:http://www.alsa-project.org/
@@ -109,6 +116,13 @@
 # %patch -p1
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
+%patch4 -p1
+%patch5 -p1
+%patch6 -p1
+%patch7 -p1
+%patch8 -p1
+%patch9 -p1
 %if %suse_version == 1130
 %patch99 -p1
 %endif

++ 0003-Allow-specifying-the-max-number-of-cards.patch ++
From 2f43b66c06ece64529e482a6dcc95cde37648252 Mon Sep 17 00:00:00 2001
From: Takashi Iwai ti...@suse.de
Date: Fri, 24 May 2013 17:21:15 +0200
Subject: [PATCH] Allow specifying the max number of cards

Add --with-max-cards option to specify the max number of cards in
configure script, when the support for more than 32 cards is
required.

Signed-off-by: Takashi Iwai ti...@suse.de
---
 configure.in | 14 ++
 src/confmisc.c   |  2 +-
 src/control/cards.c  |  6 +++---
 src/control/control_hw.c |  2 +-
 src/hwdep/hwdep_hw.c |  2 +-
 5 files changed, 20 insertions(+), 6 deletions(-)

diff --git a/configure.in b/configure.in
index 35b8e84..3d394fc 100644
--- a/configure.in
+++ b/configure.in
@@ -632,6 +632,20 @@ for t in $CTL_PLUGIN_LIST; do
   fi
 done
 
+dnl Max number of cards
+AC_MSG_CHECKING(for max number of cards)
+AC_ARG_WITH(max-cards,
+  AS_HELP_STRING([--with-max-cards], [Specify the max number of cards (default 
= 32)]),
+  [ max_cards=$withval ], [ max_cards=32 ])
+AC_MSG_RESULT([$max_cards])
+
+if test $max_cards -lt 1; then
+   AC_ERROR([Invalid max cards $max_cards])
+elif test $max_cards -gt 256; then
+   AC_ERROR([Invalid max cards $max_cards])
+fi
+AC_DEFINE_UNQUOTED(SND_MAX_CARDS, $max_cards, [Max number of cards])
+
 dnl Make a symlink for inclusion of alsa/xxx.h
 if test ! -L $srcdir/include/alsa ; then
   echo Making a symlink include/alsa
diff --git a/src/confmisc.c b/src/confmisc.c
index 80b0027..af686be 100644
--- a/src/confmisc.c
+++ b/src/confmisc.c
@@ -668,7 +668,7 @@ int snd_determine_driver(int card, char **driver)
char *res = NULL;
int err;
 
-   assert(card = 0  card = 32);
+   assert(card = 0  card = SND_MAX_CARDS);
err = open_ctl(card, ctl);
if (err  0) {
SNDERR(could not open control for card %i, card);
diff --git a/src/control/cards.c 

commit alsa for openSUSE:Factory

2013-05-27 Thread h_root
Hello community,

here is the log from the commit of package alsa for openSUSE:Factory checked in 
at 2013-05-28 07:24:02

Comparing /work/SRC/openSUSE:Factory/alsa (Old)
 and  /work/SRC/openSUSE:Factory/.alsa.new (New)


Package is alsa

Changes:

--- /work/SRC/openSUSE:Factory/alsa/alsa.changes2013-04-26 
12:37:31.0 +0200
+++ /work/SRC/openSUSE:Factory/.alsa.new/alsa.changes   2013-05-28 
07:24:03.0 +0200
@@ -1,0 +2,9 @@
+Thu May 23 15:03:35 CEST 2013 - ti...@suse.de
+
+- Bump to version 1.0.27.1, including previous fixes, USB config
+  quirks, addition of UCM configs and other misc fix patches
+- Backport upstream fixes:
+  0001-pcm-Fix-typo-in-documentation-PREPARE-PREPARED.patch
+  0002-ucm-Fix-segfault-when-device-argument-is-missing-fro.patch
+
+---

Old:

  0001-Fix-doubly-call-of-dlclose-in-dlobj-caching-code.patch
  0002-pcm.c-fix-indentation.patch
  0003-bring-pcm.h-and-pcm.c-in-sync-with-the-kernel-list.patch
  0004-Use-__inline__-for-exported-headers.patch
  0005-Add-definition-of-__inline__-for-non-GCC.patch
  alsa-lib-1.0.27.tar.bz2

New:

  0001-pcm-Fix-typo-in-documentation-PREPARE-PREPARED.patch
  0002-ucm-Fix-segfault-when-device-argument-is-missing-fro.patch
  alsa-lib-1.0.27.1.tar.bz2



Other differences:
--
++ alsa.spec ++
--- /var/tmp/diff_new_pack.GvDqvu/_old  2013-05-28 07:24:05.0 +0200
+++ /var/tmp/diff_new_pack.GvDqvu/_new  2013-05-28 07:24:05.0 +0200
@@ -20,7 +20,7 @@
 BuildRequires:  doxygen
 BuildRequires:  libtool
 BuildRequires:  pkg-config
-%define package_version1.0.27
+%define package_version1.0.27.1
 Requires:   alsa-utils
 Recommends: alsa-plugins alsa-oss
 PreReq: %insserv_prereq %fillup_prereq
@@ -32,7 +32,7 @@
 Summary:Advanced Linux Sound Architecture
 License:LGPL-2.1+
 Group:  System/Libraries
-Version:1.0.27
+Version:1.0.27.1
 Release:0
 Source: 
ftp://ftp.alsa-project.org/pub/lib/alsa-lib-%{package_version}.tar.bz2
 Source2:baselibs.conf
@@ -54,11 +54,8 @@
 Source41:   install-snd-module
 # Patch:  alsa-lib-git-fixes.diff
 # upstream fixes
-Patch1: 0001-Fix-doubly-call-of-dlclose-in-dlobj-caching-code.patch
-Patch2: 0002-pcm.c-fix-indentation.patch
-Patch3: 0003-bring-pcm.h-and-pcm.c-in-sync-with-the-kernel-list.patch
-Patch4: 0004-Use-__inline__-for-exported-headers.patch
-Patch5: 0005-Add-definition-of-__inline__-for-non-GCC.patch
+Patch1: 0001-pcm-Fix-typo-in-documentation-PREPARE-PREPARED.patch
+Patch2: 0002-ucm-Fix-segfault-when-device-argument-is-missing-fro.patch
 # rest suse patches
 Patch99:alsa-lib-doxygen-avoid-crash-for-11.3.diff
 Url:http://www.alsa-project.org/
@@ -112,9 +109,6 @@
 # %patch -p1
 %patch1 -p1
 %patch2 -p1
-%patch3 -p1
-%patch4 -p1
-%patch5 -p1
 %if %suse_version == 1130
 %patch99 -p1
 %endif

++ 0001-pcm-Fix-typo-in-documentation-PREPARE-PREPARED.patch ++
From 3d7433a3c87754ff8b51cf06de53a3e6c38c20b0 Mon Sep 17 00:00:00 2001
From: Jordi Mallach jo...@debian.org
Date: Fri, 17 May 2013 18:25:51 +0200
Subject: [PATCH] =?UTF-8?q?pcm:=20Fix=20typo=20in=20documentation:=20PREPA?=
 =?UTF-8?q?RE=20=E2=86=92=20PREPARED.?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: Jordi Mallach jo...@debian.org
Signed-off-by: Takashi Iwai ti...@suse.de
---
 src/pcm/pcm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/pcm/pcm.c b/src/pcm/pcm.c
index 438fb3f..7ec1f0e 100644
--- a/src/pcm/pcm.c
+++ b/src/pcm/pcm.c
@@ -437,7 +437,7 @@ to #SND_PCM_STATE_SETUP
 if successfully finishes, otherwise the state #SND_PCM_STATE_OPEN
 is entered.
 When it is brought to SETUP state, this function automatically
-calls #snd_pcm_prepare() function to bring to the PREPARE state
+calls #snd_pcm_prepare() function to bring to the PREPARED state
 as below.
 
 \par snd_pcm_prepare
-- 
1.8.2.3

++ 0002-ucm-Fix-segfault-when-device-argument-is-missing-fro.patch ++
From 14d653d7c374f9ba6319a7c5a8ee6f0bc3071304 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Juho=20H=C3=A4m=C3=A4l=C3=A4inen?=
 juho.hamalai...@tieto.com
Date: Fri, 24 May 2013 14:01:25 +0300
Subject: [PATCH] ucm: Fix segfault when device argument is missing from
 _sw{dev, mod}
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: Juho Hämäläinen juho.hamalai...@tieto.com
Signed-off-by: Takashi Iwai ti...@suse.de
---
 src/ucm/main.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/ucm/main.c b/src/ucm/main.c

commit alsa for openSUSE:Factory

2013-04-25 Thread h_root
Hello community,

here is the log from the commit of package alsa for openSUSE:Factory checked in 
at 2013-04-26 07:11:30

Comparing /work/SRC/openSUSE:Factory/alsa (Old)
 and  /work/SRC/openSUSE:Factory/.alsa.new (New)


Package is alsa, Maintainer is ti...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/alsa/alsa.changes2013-04-14 
10:11:04.0 +0200
+++ /work/SRC/openSUSE:Factory/.alsa.new/alsa.changes   2013-04-26 
07:11:32.0 +0200
@@ -1,0 +2,12 @@
+Thu Apr 25 09:58:41 CEST 2013 - ti...@suse.de
+
+- Upstream fix for dlobj cache crash (bnc#814250)
+  0001-Fix-doubly-call-of-dlclose-in-dlobj-caching-code.patch
+- Upstream patches for support DSD
+  0002-pcm.c-fix-indentation.patch
+  0003-bring-pcm.h-and-pcm.c-in-sync-with-the-kernel-list.patch
+- Fix compile errors with C90 (bnc#817077)
+  0004-Use-__inline__-for-exported-headers.patch
+  0005-Add-definition-of-__inline__-for-non-GCC.patch
+
+---

New:

  0001-Fix-doubly-call-of-dlclose-in-dlobj-caching-code.patch
  0002-pcm.c-fix-indentation.patch
  0003-bring-pcm.h-and-pcm.c-in-sync-with-the-kernel-list.patch
  0004-Use-__inline__-for-exported-headers.patch
  0005-Add-definition-of-__inline__-for-non-GCC.patch



Other differences:
--
++ alsa.spec ++
--- /var/tmp/diff_new_pack.WW4Tk1/_old  2013-04-26 07:11:39.0 +0200
+++ /var/tmp/diff_new_pack.WW4Tk1/_new  2013-04-26 07:11:39.0 +0200
@@ -53,6 +53,13 @@
 Source40:   50-alsa.conf
 Source41:   install-snd-module
 # Patch:  alsa-lib-git-fixes.diff
+# upstream fixes
+Patch1: 0001-Fix-doubly-call-of-dlclose-in-dlobj-caching-code.patch
+Patch2: 0002-pcm.c-fix-indentation.patch
+Patch3: 0003-bring-pcm.h-and-pcm.c-in-sync-with-the-kernel-list.patch
+Patch4: 0004-Use-__inline__-for-exported-headers.patch
+Patch5: 0005-Add-definition-of-__inline__-for-non-GCC.patch
+# rest suse patches
 Patch99:alsa-lib-doxygen-avoid-crash-for-11.3.diff
 Url:http://www.alsa-project.org/
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
@@ -103,6 +110,11 @@
 %prep
 %setup -q -n alsa-lib-%{package_version}
 # %patch -p1
+%patch1 -p1
+%patch2 -p1
+%patch3 -p1
+%patch4 -p1
+%patch5 -p1
 %if %suse_version == 1130
 %patch99 -p1
 %endif

++ 0001-Fix-doubly-call-of-dlclose-in-dlobj-caching-code.patch ++
From e1e40c25535af35fa5cdf7ffc95a01fbff098ddd Mon Sep 17 00:00:00 2001
From: Takashi Iwai ti...@suse.de
Date: Mon, 15 Apr 2013 18:12:17 +0200
Subject: [PATCH 1/5] Fix doubly call of dlclose() in dlobj caching code

When multiple dlobj_cache items point to the same dlobj, dlclose() may
be called wrongly multiple times when these items are cleared, because
we manage the dlobj_cache list as a flat list.  This results in a bad
segfault we've seen in openal-soft, for example.

For fixing this, we need the refcounting of dlobj itself.  But, in
this case, we don't have to manage yet another list,  since dlopen()
does a proper refcounting by itself.  That is, we can just call always
dlopen() at each time a new function is assigned, and also call
dlclose() for each released dlobj_cache item at cleanup.

Bugzilla: https://bugzilla.novell.com/show_bug.cgi?id=814250

Signed-off-by: Takashi Iwai ti...@suse.de
---
 src/dlmisc.c | 31 +++
 1 file changed, 11 insertions(+), 20 deletions(-)

diff --git a/src/dlmisc.c b/src/dlmisc.c
index 3788382..2de0234 100644
--- a/src/dlmisc.c
+++ b/src/dlmisc.c
@@ -208,8 +208,7 @@ void *snd_dlobj_cache_get(const char *lib, const char *name,
 {
struct list_head *p;
struct dlobj_cache *c;
-   void *func, *dlobj = NULL;
-   int dlobj_close = 0;
+   void *func, *dlobj;
 
snd_dlobj_lock();
list_for_each(p, pcm_dlobj_list) {
@@ -220,7 +219,6 @@ void *snd_dlobj_cache_get(const char *lib, const char *name,
continue;
if (!lib  c-lib)
continue;
-   dlobj = c-dlobj;
if (strcmp(c-name, name) == 0) {
c-refcnt++;
func = c-func;
@@ -228,17 +226,16 @@ void *snd_dlobj_cache_get(const char *lib, const char 
*name,
return func;
}
}
+
+   dlobj = snd_dlopen(lib, RTLD_NOW);
if (dlobj == NULL) {
-   dlobj = snd_dlopen(lib, RTLD_NOW);
-   if (dlobj == NULL) {
-   if (verbose)
-   SNDERR(Cannot open shared library %s,
+   if (verbose)
+   SNDERR(Cannot open shared library %s,
lib ? 

commit alsa for openSUSE:Factory

2013-04-14 Thread h_root
Hello community,

here is the log from the commit of package alsa for openSUSE:Factory checked in 
at 2013-04-14 10:11:02

Comparing /work/SRC/openSUSE:Factory/alsa (Old)
 and  /work/SRC/openSUSE:Factory/.alsa.new (New)


Package is alsa, Maintainer is ti...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/alsa/alsa.changes2013-03-12 
11:01:22.0 +0100
+++ /work/SRC/openSUSE:Factory/.alsa.new/alsa.changes   2013-04-14 
10:11:04.0 +0200
@@ -1,0 +2,26 @@
+Fri Apr 12 15:26:38 CEST 2013 - ti...@suse.de
+
+- Updated to version 1.0.27:
+  including all previous fixes; all 00*-* patches dropped
+
+---
+Tue Apr  9 15:04:10 CEST 2013 - ti...@suse.de
+
+- Backport upstream fixes:
+  0058-control-pcm-implement-snd_ctl_abort-and-snd_pcm_abor.patch
+  0059-all-places-doxygen-cleanups.patch
+  0060-pcm-direct-plugins-do-more-safe-IPC-semaphore-handli.patch
+- Fix segfault with openal-soft (bnc#814250):
+  0061-Clean-up-dlobj-cache-only-when-no-user-is-present.patch
+  0062-Optimize-NULL-check-in-snd_dlobj_cache_put.patch
+
+---
+Fri Apr  5 12:42:57 CEST 2013 - ti...@suse.de
+
+- Backport upstream fix patches:
+  0055-pcm-fix-and-optimize-snd_pcm_areas_copy-function.patch
+  0056-USB-audio-Add-HP-Digital-Stereo-Headset-to-SPDIF-bla.patch
+  0057-pcm-fix-typo-should-be-SND_PCM_STATE_PREPARED.patch
+- Fix typos in comments in joystick script (bnc#805765)
+
+---

Old:

  0001-Implement-the-channel-mapping-API.patch
  0002-Implement-get_chmap-set_chmap-for-PCM-plug-route-and.patch
  0003-Implement-get_chmap-set_chmap-for-PCM-extplug-ioplug.patch
  0004-Add-test-chmap-program.patch
  0005-Cache-the-chmap-operation-errors.patch
  0006-Define-channel-map-position-enum-in-pcm.h.patch
  0007-Follow-channel-position-definitions-to-mixer-channel.patch
  0008-Add-SND_CHMAP_NA-and-bit-flag-definitions.patch
  0009-PCM-Introduce-snd_pcm_chmap_t-and-snd_pcm_chmap_quer.patch
  0010-PCM-Implement-snd_pcm_query_chmaps_from_hw.patch
  0011-Fix-duplicated-channel-entry-in-test-chmap.c.patch
  0012-PCM-Fix-prefix-for-snd_pcm_chmap_type-enum-members.patch
  0013-PCM-Add-string-conversion-helper-functions-for-chmap.patch
  0014-PCM-Add-SND_CHMAP_API_VERSION-definition.patch
  0015-PCM-Add-snd_pcm_chmap_long_name.patch
  0016-PCM-Add-query_chmaps-support-to-multi-plugin.patch
  0017-PCM-Add-chmap-options-to-hw-and-null-plugins.patch
  0018-PCM-Add-the-missing-query_chmaps-for-route-plugin.patch
  0019-Add-chmap-override-definitions-for-Emu10k1-Audigy-an.patch
  0020-PCM-Use-compounds-for-overriding-enhancing-chmaps.patch
  0021-conf-Add-chmap-definitions-to-TRIDENT-and-SI7018-con.patch
  0022-test-chmap-Fix-wrong-malloc-size.patch
  0023-PCM-Define-MONO-and-other-channel-map-positions.patch
  0024-PCM-Fix-the-conversion-from-string-to-chmap-position.patch
  0025-PCM-A-few-doxygen-fixes-for-chmap-stuff.patch
  0026-PCM-Fill-SND_CHMAP_NA-to-silent-channels-in-route-pl.patch
  0027-PCM-Fix-infinite-loop-in-htimestamp-of-dmix-dsnoop-a.patch
  0028-test-add-audio_time.patch
  0030-PCM-Fix-the-invalid-snd_pcm_close-calls-in-rate-plug.patch
  0031-pcm-support-for-audio-timestamps.patch
  0032-pcm-fix-64-bit-SNDRV_PCM_IOCTL_STATUS-ABI-breakage.patch
  0033-PCM-Fix-memory-leak-for-pcm-empty-and-asym-plugins.patch
  0034-Reduce-compilation-warnings.patch
  0035-PCM-Avoid-busy-loop-in-snd_pcm_write_areas-with-rate.patch
  0036-Merge-kernel-uapi-sound-asound.h-and-asequencer.h.patch
  0037-PCM-Add-more-chmap-definitions-for-UAC2.patch
  0038-PCM-shut-up-a-compile-unused-parameter-compile-warni.patch
  0039-Add-workaround-for-conflicting-snd_seq_event_t-defin.patch
  0040-PCM-Fix-conflict-of-_snd_pcm_hw_params-definitions.patch
  0041-configure-Quite-AM_CONDITIONAL-arguments.patch
  0042-mixer-Don-t-build-simple_abst-when-no-libdl-is-avail.patch
  0043-Fix-endian-check-in-local.h.patch
  0044-configure-do-not-detect-incorrect-cross-compiler.patch
  0045-ucm-Set-uc_mgr-ctl-to-NULL-after-closing-it.patch
  0046-snd_pcm_direct_parse_open_conf-use-thread-safe-getgr.patch
  0047-Add-snd_lib_error_set_local-to-install-a-thread-loca.patch
  0048-snd_device_name_hint-do-not-change-the-global-error-.patch
  0049-snd_device_name_hint-do-not-use-global-snd_config.patch
  0050-conf-Fix-a-memory-access-violation-resulting-from-im.patch
  0051-Add-sys-types.h-to-include-list.patch
  0052-control-Simplify-using-snd_config_get_bool.patch
  0053-Add-workaround-for-conflicting-IEC958-controls-for-H.patch
  0054-snd_mixer_poll_descriptors_revents-should-loop-over-.patch
  alsa-lib-1.0.26.tar.bz2

New:

  alsa-lib-1.0.27.tar.bz2




commit alsa for openSUSE:Factory

2013-03-12 Thread h_root
Hello community,

here is the log from the commit of package alsa for openSUSE:Factory checked in 
at 2013-03-12 11:01:19

Comparing /work/SRC/openSUSE:Factory/alsa (Old)
 and  /work/SRC/openSUSE:Factory/.alsa.new (New)


Package is alsa, Maintainer is ti...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/alsa/alsa.changes2013-02-04 
17:56:15.0 +0100
+++ /work/SRC/openSUSE:Factory/.alsa.new/alsa.changes   2013-03-12 
11:01:22.0 +0100
@@ -1,0 +2,9 @@
+Mon Mar 11 11:08:30 CET 2013 - ti...@suse.de
+
+- More backports of fix patches from upstream:
+  0051-Add-sys-types.h-to-include-list.patch
+  0052-control-Simplify-using-snd_config_get_bool.patch
+  0053-Add-workaround-for-conflicting-IEC958-controls-for-H.patch
+  0054-snd_mixer_poll_descriptors_revents-should-loop-over-.patch
+
+---

New:

  0051-Add-sys-types.h-to-include-list.patch
  0052-control-Simplify-using-snd_config_get_bool.patch
  0053-Add-workaround-for-conflicting-IEC958-controls-for-H.patch
  0054-snd_mixer_poll_descriptors_revents-should-loop-over-.patch



Other differences:
--
++ alsa.spec ++
--- /var/tmp/diff_new_pack.1odTPH/_old  2013-03-12 11:03:07.0 +0100
+++ /var/tmp/diff_new_pack.1odTPH/_new  2013-03-12 11:03:07.0 +0100
@@ -102,6 +102,10 @@
 Patch48:0048-snd_device_name_hint-do-not-change-the-global-error-.patch
 Patch49:0049-snd_device_name_hint-do-not-use-global-snd_config.patch
 Patch50:0050-conf-Fix-a-memory-access-violation-resulting-from-im.patch
+Patch51:0051-Add-sys-types.h-to-include-list.patch
+Patch52:0052-control-Simplify-using-snd_config_get_bool.patch
+Patch53:0053-Add-workaround-for-conflicting-IEC958-controls-for-H.patch
+Patch54:0054-snd_mixer_poll_descriptors_revents-should-loop-over-.patch
 #
 Patch99:alsa-lib-doxygen-avoid-crash-for-11.3.diff
 Url:http://www.alsa-project.org/
@@ -202,6 +206,10 @@
 %patch48 -p1
 %patch49 -p1
 %patch50 -p1
+%patch51 -p1
+%patch52 -p1
+%patch53 -p1
+%patch54 -p1
 %if %suse_version == 1130
 %patch99 -p1
 %endif

++ 0051-Add-sys-types.h-to-include-list.patch ++
From 3e7dc283ed2d3ed2341f0657811c588f4dbcba6d Mon Sep 17 00:00:00 2001
From: David Henningsson david.hennings...@canonical.com
Date: Tue, 12 Feb 2013 10:06:11 +0100
Subject: [PATCH 51/54] Add sys/types.h to include list

This is needed by snd_pcm_format_silence* functions which
return u_int*_t. It was discovered while trying to compile ALSA
programs with eglibc 2.17.

Credits to Richard Shaw, Gary Buhrmaster, Matthieu Baerts and
 Adam Conrad for this fix.

BugLink: https://bugs.launchpad.net/bugs/1109298
BugLink: https://bugzilla.redhat.com/show_bug.cgi?id=885306
Signed-off-by: David Henningsson david.hennings...@canonical.com
Signed-off-by: Takashi Iwai ti...@suse.de
---
 include/asoundlib-head.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/asoundlib-head.h b/include/asoundlib-head.h
index 20c8a68..6edbab0 100644
--- a/include/asoundlib-head.h
+++ b/include/asoundlib-head.h
@@ -31,6 +31,7 @@
 #include unistd.h
 #include stdio.h
 #include stdlib.h
+#include sys/types.h
 #include string.h
 #include fcntl.h
 #include assert.h
-- 
1.8.1.4

++ 0052-control-Simplify-using-snd_config_get_bool.patch ++
From 8c6da54073b2c966d9a4e137ba4d521eac92816f Mon Sep 17 00:00:00 2001
From: Takashi Iwai ti...@suse.de
Date: Fri, 12 Oct 2012 12:22:53 +0200
Subject: [PATCH 52/54] control: Simplify using snd_config_get_bool()

snd_config_get_bool() was improved to parse also ASCII strings now,
so we don't have to open-code the boolean parser in
src/control/setup.c any longer.

Signed-off-by: Takashi Iwai ti...@suse.de
---
 src/control/setup.c | 37 ++---
 1 file changed, 6 insertions(+), 31 deletions(-)

diff --git a/src/control/setup.c b/src/control/setup.c
index eecda45..bd3599d 100644
--- a/src/control/setup.c
+++ b/src/control/setup.c
@@ -400,7 +400,6 @@ static int add_elem(snd_sctl_t *h, snd_config_t *_conf, 
snd_config_t *private_da
 {
snd_config_t *conf;
snd_config_iterator_t i, next;
-   char *tmp;
int iface = SND_CTL_ELEM_IFACE_MIXER;
const char *name = NULL;
long index = 0;
@@ -464,33 +463,17 @@ static int add_elem(snd_sctl_t *h, snd_config_t *_conf, 
snd_config_t *private_da
continue;
}
if (strcmp(id, lock) == 0) {
-   if ((err = snd_config_get_ascii(n, tmp))  0) {
-   SNDERR(field %s has an invalid type, id);
-   goto _err;
-   }
-   err 

commit alsa for openSUSE:Factory

2013-02-04 Thread h_root
Hello community,

here is the log from the commit of package alsa for openSUSE:Factory checked in 
at 2013-02-04 17:56:10

Comparing /work/SRC/openSUSE:Factory/alsa (Old)
 and  /work/SRC/openSUSE:Factory/.alsa.new (New)


Package is alsa, Maintainer is ti...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/alsa/alsa.changes2012-12-17 
09:32:48.0 +0100
+++ /work/SRC/openSUSE:Factory/.alsa.new/alsa.changes   2013-02-04 
17:56:15.0 +0100
@@ -1,0 +2,13 @@
+Fri Feb  1 08:10:43 CET 2013 - ti...@suse.de
+
+- Backport a few fix patches from upstream, mostly for fixing
+  crashes in multi-thread programs:
+  0044-configure-do-not-detect-incorrect-cross-compiler.patch
+  0045-ucm-Set-uc_mgr-ctl-to-NULL-after-closing-it.patch
+  0046-snd_pcm_direct_parse_open_conf-use-thread-safe-getgr.patch
+  0047-Add-snd_lib_error_set_local-to-install-a-thread-loca.patch
+  0048-snd_device_name_hint-do-not-change-the-global-error-.patch
+  0049-snd_device_name_hint-do-not-use-global-snd_config.patch
+  0050-conf-Fix-a-memory-access-violation-resulting-from-im.patch
+
+---

New:

  0044-configure-do-not-detect-incorrect-cross-compiler.patch
  0045-ucm-Set-uc_mgr-ctl-to-NULL-after-closing-it.patch
  0046-snd_pcm_direct_parse_open_conf-use-thread-safe-getgr.patch
  0047-Add-snd_lib_error_set_local-to-install-a-thread-loca.patch
  0048-snd_device_name_hint-do-not-change-the-global-error-.patch
  0049-snd_device_name_hint-do-not-use-global-snd_config.patch
  0050-conf-Fix-a-memory-access-violation-resulting-from-im.patch



Other differences:
--
++ alsa.spec ++
--- /var/tmp/diff_new_pack.pP3YlN/_old  2013-02-04 17:56:17.0 +0100
+++ /var/tmp/diff_new_pack.pP3YlN/_new  2013-02-04 17:56:17.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package alsa
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -95,6 +95,13 @@
 Patch41:0041-configure-Quite-AM_CONDITIONAL-arguments.patch
 Patch42:0042-mixer-Don-t-build-simple_abst-when-no-libdl-is-avail.patch
 Patch43:0043-Fix-endian-check-in-local.h.patch
+Patch44:0044-configure-do-not-detect-incorrect-cross-compiler.patch
+Patch45:0045-ucm-Set-uc_mgr-ctl-to-NULL-after-closing-it.patch
+Patch46:0046-snd_pcm_direct_parse_open_conf-use-thread-safe-getgr.patch
+Patch47:0047-Add-snd_lib_error_set_local-to-install-a-thread-loca.patch
+Patch48:0048-snd_device_name_hint-do-not-change-the-global-error-.patch
+Patch49:0049-snd_device_name_hint-do-not-use-global-snd_config.patch
+Patch50:0050-conf-Fix-a-memory-access-violation-resulting-from-im.patch
 #
 Patch99:alsa-lib-doxygen-avoid-crash-for-11.3.diff
 Url:http://www.alsa-project.org/
@@ -188,6 +195,13 @@
 %patch41 -p1
 %patch42 -p1
 %patch43 -p1
+%patch44 -p1
+%patch45 -p1
+%patch46 -p1
+%patch47 -p1
+%patch48 -p1
+%patch49 -p1
+%patch50 -p1
 %if %suse_version == 1130
 %patch99 -p1
 %endif

++ 0044-configure-do-not-detect-incorrect-cross-compiler.patch ++
From b11911dddf2fd58e24c808da26105cb1e1bce722 Mon Sep 17 00:00:00 2001
From: Olivier Blin d...@blino.org
Date: Sat, 15 Dec 2012 01:58:59 +0100
Subject: [PATCH 44/50] configure: do not detect incorrect cross-compiler

On Ubuntu 11.04, configuring with --build=x86_64-unknown-linux-gnu
--host=x86_64-linux-gnu finds a wrong cross-compiler:
checking for cross-compiler... x86_64-x86_64-pc-linux-gnu-gcc

This happens because of a dash vs underscore inconsistency in configure.in:
host=x86_64-pc-linux-gnu
host_cpu=x86_64
host_os=linux-gnu
which ${host_cpu}-${host_os}-gcc /dev/null 21  echo 
${host_cpu}-${host-os}-gcc

This bug has been introduced in the initial --with-host support from
2002, commit eb267ade29c9a49c07b1c33dc9bf7a6790217400

This configure command is about cross-compiling for i586, where the
system compiler is used, which just -m32 additional options.
The --build value comes from config.guess.
---
 configure.in |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/configure.in
+++ b/configure.in
@@ -31,7 +31,7 @@ then
 
   which ${program_prefix}gcc /dev/null 21  CC=${program_prefix}gcc
   which ${host_cpu}-${host_os}-gcc /dev/null 21 \
-   CC=${host_cpu}-${host-os}-gcc
+   CC=${host_cpu}-${host_os}-gcc
   which ${host_cpu}-${host_vendor}-${host_os}-gcc /dev/null 21 \
CC=${host_cpu}-${host_vendor}-${host_os}-gcc
 
++ 0045-ucm-Set-uc_mgr-ctl-to-NULL-after-closing-it.patch ++
From 

commit alsa for openSUSE:Factory

2012-12-17 Thread h_root
Hello community,

here is the log from the commit of package alsa for openSUSE:Factory checked in 
at 2012-12-17 09:32:44

Comparing /work/SRC/openSUSE:Factory/alsa (Old)
 and  /work/SRC/openSUSE:Factory/.alsa.new (New)


Package is alsa, Maintainer is ti...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/alsa/alsa.changes2012-12-04 
13:15:49.0 +0100
+++ /work/SRC/openSUSE:Factory/.alsa.new/alsa.changes   2012-12-17 
09:32:48.0 +0100
@@ -1,0 +2,10 @@
+Thu Dec 13 10:12:55 CET 2012 - ti...@suse.de
+
+- 0041-configure-Quite-AM_CONDITIONAL-arguments.patch:
+  Fix for the recent automake conditionals
+- 0042-mixer-Don-t-build-simple_abst-when-no-libdl-is-avail.patch:
+  Minor fix for the build without libdl
+- Fix endian check breakage due to the recent UAPI header move:
+  0043-Fix-endian-check-in-local.h.patch
+
+---

New:

  0041-configure-Quite-AM_CONDITIONAL-arguments.patch
  0042-mixer-Don-t-build-simple_abst-when-no-libdl-is-avail.patch
  0043-Fix-endian-check-in-local.h.patch



Other differences:
--
++ alsa.spec ++
--- /var/tmp/diff_new_pack.30d4bL/_old  2012-12-17 09:32:53.0 +0100
+++ /var/tmp/diff_new_pack.30d4bL/_new  2012-12-17 09:32:53.0 +0100
@@ -92,6 +92,9 @@
 Patch38:0038-PCM-shut-up-a-compile-unused-parameter-compile-warni.patch
 Patch39:0039-Add-workaround-for-conflicting-snd_seq_event_t-defin.patch
 Patch40:0040-PCM-Fix-conflict-of-_snd_pcm_hw_params-definitions.patch
+Patch41:0041-configure-Quite-AM_CONDITIONAL-arguments.patch
+Patch42:0042-mixer-Don-t-build-simple_abst-when-no-libdl-is-avail.patch
+Patch43:0043-Fix-endian-check-in-local.h.patch
 #
 Patch99:alsa-lib-doxygen-avoid-crash-for-11.3.diff
 Url:http://www.alsa-project.org/
@@ -182,6 +185,9 @@
 %patch38 -p1
 %patch39 -p1
 %patch40 -p1
+%patch41 -p1
+%patch42 -p1
+%patch43 -p1
 %if %suse_version == 1130
 %patch99 -p1
 %endif

++ 0041-configure-Quite-AM_CONDITIONAL-arguments.patch ++
From 8d14698931d6c319c42c4bc39886e92d13d19f1e Mon Sep 17 00:00:00 2001
From: Takashi Iwai ti...@suse.de
Date: Fri, 7 Dec 2012 09:27:11 +0100
Subject: [PATCH 41/43] configure: Quite AM_CONDITIONAL() arguments

Otherwise it won't be processed properly with the recent automake.

Signed-off-by: Takashi Iwai ti...@suse.de
---
 configure.in | 91 ++--
 1 file changed, 46 insertions(+), 45 deletions(-)

diff --git a/configure.in b/configure.in
index 383f5de..e397dad 100644
--- a/configure.in
+++ b/configure.in
@@ -15,7 +15,7 @@ AC_CANONICAL_HOST
 AM_INIT_AUTOMAKE(alsa-lib, 1.0.26)
 eval LIBTOOL_VERSION_INFO=2:0:0
 dnl *
-AM_CONDITIONAL(INSTALL_M4, test -n ${ACLOCAL})
+AM_CONDITIONAL([INSTALL_M4], [test -n ${ACLOCAL}])
 
 # Test for new silent rules and enable only if they are available
 m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
@@ -63,7 +63,7 @@ AC_HEADER_TIME
 dnl Checks for library functions.
 AC_PROG_GCC_TRADITIONAL
 AC_CHECK_FUNC([hsearch_r], [HAVE_HSEARCH_R=yes])
-AM_CONDITIONAL(ALSA_HSEARCH_R, [test x$HAVE_HSEARCH_R != xyes])
+AM_CONDITIONAL([ALSA_HSEARCH_R], [test x$HAVE_HSEARCH_R != xyes])
 AC_CHECK_FUNCS([uselocale])
 
 SAVE_LIBRARY_VERSION
@@ -161,7 +161,7 @@ if test $versioned = yes; then
 else
   AC_MSG_RESULT(no)
 fi
-AM_CONDITIONAL(VERSIONED_SYMBOLS, test x$versioned = xyes)
+AM_CONDITIONAL([VERSIONED_SYMBOLS], [test x$versioned = xyes])
 
 dnl Check for symbolic-functions
 AC_MSG_CHECKING(for symbolic-functions)
@@ -179,7 +179,7 @@ if test $symfuncs = yes; then
 else
   AC_MSG_RESULT(no)
 fi
-AM_CONDITIONAL(SYMBOLIC_FUNCTIONS, test x$symfuncs = xyes)
+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)
@@ -254,6 +254,7 @@ AC_MSG_CHECKING(for libdl)
 AC_ARG_WITH(libdl,
   AS_HELP_STRING([--with-libdl], [Use libdl for plugins (default = yes)]),
   [ have_libdl=$withval ], [ have_libdl=yes ])
+HAVE_LIBDL=
 if test $have_libdl = yes; then
   AC_CHECK_LIB([dl], [dlsym], [HAVE_LIBDL=yes])
   if test $HAVE_LIBDL = yes ; then
@@ -263,7 +264,7 @@ if test $have_libdl = yes; then
 else
   AC_MSG_RESULT(no)
 fi
-AM_CONDITIONAL(BUILD_MODULES, test $HAVE_LIBDL=yes)
+AM_CONDITIONAL([BUILD_MODULES], [test $HAVE_LIBDL = yes])
 
 dnl Check for pthread
 AC_MSG_CHECKING(for pthread)
@@ -409,7 +410,7 @@ test $softfloat = yes  build_alisp=no
 AC_ARG_ENABLE(old-symbols,
   AS_HELP_STRING([--disable-old-symbols], [disable old obsoleted symbols]),
   [keep_old_symbols=$enableval], [keep_old_symbols=yes])

commit alsa for openSUSE:Factory

2012-12-04 Thread h_root
Hello community,

here is the log from the commit of package alsa for openSUSE:Factory checked in 
at 2012-12-04 13:15:47

Comparing /work/SRC/openSUSE:Factory/alsa (Old)
 and  /work/SRC/openSUSE:Factory/.alsa.new (New)


Package is alsa, Maintainer is ti...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/alsa/alsa.changes2012-12-03 
09:23:53.0 +0100
+++ /work/SRC/openSUSE:Factory/.alsa.new/alsa.changes   2012-12-04 
13:15:49.0 +0100
@@ -1,0 +2,6 @@
+Tue Dec  4 12:19:34 CET 2012 - ti...@suse.de
+
+- 0040-PCM-Fix-conflict-of-_snd_pcm_hw_params-definitions.patch:
+  fix the segfault due to the symbol conflict of _snd_pcm_hw_params
+
+---

New:

  0040-PCM-Fix-conflict-of-_snd_pcm_hw_params-definitions.patch



Other differences:
--
++ alsa.spec ++
--- /var/tmp/diff_new_pack.g1MzjW/_old  2012-12-04 13:15:52.0 +0100
+++ /var/tmp/diff_new_pack.g1MzjW/_new  2012-12-04 13:15:52.0 +0100
@@ -91,6 +91,7 @@
 Patch37:0037-PCM-Add-more-chmap-definitions-for-UAC2.patch
 Patch38:0038-PCM-shut-up-a-compile-unused-parameter-compile-warni.patch
 Patch39:0039-Add-workaround-for-conflicting-snd_seq_event_t-defin.patch
+Patch40:0040-PCM-Fix-conflict-of-_snd_pcm_hw_params-definitions.patch
 #
 Patch99:alsa-lib-doxygen-avoid-crash-for-11.3.diff
 Url:http://www.alsa-project.org/
@@ -180,6 +181,7 @@
 %patch37 -p1
 %patch38 -p1
 %patch39 -p1
+%patch40 -p1
 %if %suse_version == 1130
 %patch99 -p1
 %endif

++ 0040-PCM-Fix-conflict-of-_snd_pcm_hw_params-definitions.patch ++
From 03c26d0edeeefb7550ba8cca91167343677022ab Mon Sep 17 00:00:00 2001
From: Takashi Iwai ti...@suse.de
Date: Tue, 4 Dec 2012 12:17:00 +0100
Subject: [PATCH] PCM: Fix conflict of _snd_pcm_hw_params definitions

Fix the call of _snd_pcm_hw_params() to _snd_pcm_hw_params_internal().
The build passed wrongly because of _snd_pcm_hw_params define.
Having the same function name as the struct name is is simply
confusing...

Also, to be sure, _snd_pcm_hw_params is undef'ed in pcm_local.h, too.

Signed-off-by: Takashi Iwai ti...@suse.de
---
 src/pcm/pcm.c   | 2 +-
 src/pcm/pcm_file.c  | 2 +-
 src/pcm/pcm_generic.c   | 2 +-
 src/pcm/pcm_local.h | 1 +
 src/pcm/pcm_meter.c | 2 +-
 src/pcm/pcm_mmap_emul.c | 4 ++--
 src/pcm/pcm_plug.c  | 2 +-
 src/pcm/pcm_share.c | 2 +-
 8 files changed, 9 insertions(+), 8 deletions(-)

diff --git a/src/pcm/pcm.c b/src/pcm/pcm.c
index d616705..5053a7b 100644
--- a/src/pcm/pcm.c
+++ b/src/pcm/pcm.c
@@ -828,7 +828,7 @@ int snd_pcm_hw_params(snd_pcm_t *pcm, snd_pcm_hw_params_t 
*params)
 {
int err;
assert(pcm  params);
-   err = _snd_pcm_hw_params(pcm, params);
+   err = _snd_pcm_hw_params_internal(pcm, params);
if (err  0)
return err;
err = snd_pcm_prepare(pcm);
diff --git a/src/pcm/pcm_file.c b/src/pcm/pcm_file.c
index c8214b4..5950401 100644
--- a/src/pcm/pcm_file.c
+++ b/src/pcm/pcm_file.c
@@ -602,7 +602,7 @@ static int snd_pcm_file_hw_params(snd_pcm_t *pcm, 
snd_pcm_hw_params_t * params)
snd_pcm_file_t *file = pcm-private_data;
unsigned int channel;
snd_pcm_t *slave = file-gen.slave;
-   int err = _snd_pcm_hw_params(slave, params);
+   int err = _snd_pcm_hw_params_internal(slave, params);
if (err  0)
return err;
file-buffer_bytes = snd_pcm_frames_to_bytes(slave, slave-buffer_size);
diff --git a/src/pcm/pcm_generic.c b/src/pcm/pcm_generic.c
index 5fc4888..f068ee2 100644
--- a/src/pcm/pcm_generic.c
+++ b/src/pcm/pcm_generic.c
@@ -101,7 +101,7 @@ int snd_pcm_generic_hw_refine(snd_pcm_t *pcm, 
snd_pcm_hw_params_t *params)
 int snd_pcm_generic_hw_params(snd_pcm_t *pcm, snd_pcm_hw_params_t *params)
 {
snd_pcm_generic_t *generic = pcm-private_data;
-   return _snd_pcm_hw_params(generic-slave, params);
+   return _snd_pcm_hw_params_internal(generic-slave, params);
 }
 
 int snd_pcm_generic_prepare(snd_pcm_t *pcm)
diff --git a/src/pcm/pcm_local.h b/src/pcm/pcm_local.h
index c616e56..63b9036 100644
--- a/src/pcm/pcm_local.h
+++ b/src/pcm/pcm_local.h
@@ -579,6 +579,7 @@ static inline int muldiv_near(int a, int b, int c)
 
 int snd_pcm_hw_refine(snd_pcm_t *pcm, snd_pcm_hw_params_t *params);
 int _snd_pcm_hw_params_internal(snd_pcm_t *pcm, snd_pcm_hw_params_t *params);
+#undef _snd_pcm_hw_params
 int snd_pcm_hw_refine_soft(snd_pcm_t *pcm, snd_pcm_hw_params_t *params);
 int snd_pcm_hw_refine_slave(snd_pcm_t *pcm, snd_pcm_hw_params_t *params,
int (*cprepare)(snd_pcm_t *pcm,
diff --git a/src/pcm/pcm_meter.c b/src/pcm/pcm_meter.c
index e60b92d..573b6fe 

commit alsa for openSUSE:Factory

2012-12-03 Thread h_root
Hello community,

here is the log from the commit of package alsa for openSUSE:Factory checked in 
at 2012-12-03 09:23:52

Comparing /work/SRC/openSUSE:Factory/alsa (Old)
 and  /work/SRC/openSUSE:Factory/.alsa.new (New)


Package is alsa, Maintainer is ti...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/alsa/alsa.changes2012-11-14 
09:11:40.0 +0100
+++ /work/SRC/openSUSE:Factory/.alsa.new/alsa.changes   2012-12-03 
09:23:53.0 +0100
@@ -1,0 +2,9 @@
+Thu Nov 29 18:29:42 CET 2012 - ti...@suse.de
+
+- backport UAPI header fix, chmap extension and comiple warning fix
+  0036-Merge-kernel-uapi-sound-asound.h-and-asequencer.h.patch
+  0037-PCM-Add-more-chmap-definitions-for-UAC2.patch
+  0038-PCM-shut-up-a-compile-unused-parameter-compile-warni.patch
+  0039-Add-workaround-for-conflicting-snd_seq_event_t-defin.patch
+
+---

New:

  0036-Merge-kernel-uapi-sound-asound.h-and-asequencer.h.patch
  0037-PCM-Add-more-chmap-definitions-for-UAC2.patch
  0038-PCM-shut-up-a-compile-unused-parameter-compile-warni.patch
  0039-Add-workaround-for-conflicting-snd_seq_event_t-defin.patch



Other differences:
--
++ alsa.spec ++
--- /var/tmp/diff_new_pack.Jh2Nc7/_old  2012-12-03 09:23:56.0 +0100
+++ /var/tmp/diff_new_pack.Jh2Nc7/_new  2012-12-03 09:23:56.0 +0100
@@ -87,6 +87,10 @@
 Patch33:0033-PCM-Fix-memory-leak-for-pcm-empty-and-asym-plugins.patch
 Patch34:0034-Reduce-compilation-warnings.patch
 Patch35:0035-PCM-Avoid-busy-loop-in-snd_pcm_write_areas-with-rate.patch
+Patch36:0036-Merge-kernel-uapi-sound-asound.h-and-asequencer.h.patch
+Patch37:0037-PCM-Add-more-chmap-definitions-for-UAC2.patch
+Patch38:0038-PCM-shut-up-a-compile-unused-parameter-compile-warni.patch
+Patch39:0039-Add-workaround-for-conflicting-snd_seq_event_t-defin.patch
 #
 Patch99:alsa-lib-doxygen-avoid-crash-for-11.3.diff
 Url:http://www.alsa-project.org/
@@ -172,6 +176,10 @@
 %patch33 -p1
 %patch34 -p1
 %patch35 -p1
+%patch36 -p1
+%patch37 -p1
+%patch38 -p1
+%patch39 -p1
 %if %suse_version == 1130
 %patch99 -p1
 %endif

++ 0036-Merge-kernel-uapi-sound-asound.h-and-asequencer.h.patch ++
 2358 lines (skipped)

++ 0037-PCM-Add-more-chmap-definitions-for-UAC2.patch ++
From 67d692af480ed0656fb0fe7fdc6451374447dc7c Mon Sep 17 00:00:00 2001
From: Takashi Iwai ti...@suse.de
Date: Mon, 26 Nov 2012 18:10:26 +0100
Subject: [PATCH 37/38] PCM: Add more chmap definitions for UAC2

The new PCM chmap positions have been added in (to be) 3.8-rc1 kernel,
and now updated alsa-lib, too.

Signed-off-by: Takashi Iwai ti...@suse.de
---
 include/pcm.h  | 13 +++--
 include/sound/asound.h | 12 +++-
 src/pcm/pcm.c  | 12 
 3 files changed, 34 insertions(+), 3 deletions(-)

diff --git a/include/pcm.h b/include/pcm.h
index 1ce91e7..2235678 100644
--- a/include/pcm.h
+++ b/include/pcm.h
@@ -475,7 +475,7 @@ int snd_pcm_link(snd_pcm_t *pcm1, snd_pcm_t *pcm2);
 int snd_pcm_unlink(snd_pcm_t *pcm);
 
 /** channel mapping API version number */
-#define SND_CHMAP_API_VERSION  ((1  16) | (0  8) | 0)
+#define SND_CHMAP_API_VERSION  ((1  16) | (0  8) | 1)
 
 /** channel map list type */
 enum snd_pcm_chmap_type {
@@ -516,7 +516,16 @@ enum snd_pcm_chmap_position {
SND_CHMAP_TRL,  /** top rear left */
SND_CHMAP_TRR,  /** top rear right */
SND_CHMAP_TRC,  /** top rear center */
-   SND_CHMAP_LAST = SND_CHMAP_TRC, /** last entry */
+   SND_CHMAP_TFLC, /* top front left center */
+   SND_CHMAP_TFRC, /* top front right center */
+   SND_CHMAP_TSL,  /* top side left */
+   SND_CHMAP_TSR,  /* top side right */
+   SND_CHMAP_LLFE, /* left LFE */
+   SND_CHMAP_RLFE, /* right LFE */
+   SND_CHMAP_BC,   /* bottom center */
+   SND_CHMAP_BLC,  /* bottom left center */
+   SND_CHMAP_BRC,  /* bottom right center */
+   SND_CHMAP_LAST = SND_CHMAP_BRC,
 };
 
 /** bitmask for channel position */
diff --git a/include/sound/asound.h b/include/sound/asound.h
index 515b8fc..1774a5c 100644
--- a/include/sound/asound.h
+++ b/include/sound/asound.h
@@ -492,7 +492,17 @@ enum {
SNDRV_CHMAP_TRL,/* top rear left */
SNDRV_CHMAP_TRR,/* top rear right */
SNDRV_CHMAP_TRC,/* top rear center */
-   SNDRV_CHMAP_LAST = SNDRV_CHMAP_TRC,
+   /* new definitions for UAC2 */
+   SNDRV_CHMAP_TFLC,   /* top front left center */
+   SNDRV_CHMAP_TFRC,   /* top front right center */
+   SNDRV_CHMAP_TSL,

commit alsa for openSUSE:Factory

2012-11-14 Thread h_root
Hello community,

here is the log from the commit of package alsa for openSUSE:Factory checked in 
at 2012-11-14 09:11:39

Comparing /work/SRC/openSUSE:Factory/alsa (Old)
 and  /work/SRC/openSUSE:Factory/.alsa.new (New)


Package is alsa, Maintainer is ti...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/alsa/alsa.changes2012-10-18 
15:00:08.0 +0200
+++ /work/SRC/openSUSE:Factory/.alsa.new/alsa.changes   2012-11-14 
09:11:40.0 +0100
@@ -1,0 +2,10 @@
+Tue Nov 13 16:39:26 CET 2012 - ti...@suse.de
+
+- backport fixes from upstream tree:
+  0031-pcm-support-for-audio-timestamps.patch
+  0032-pcm-fix-64-bit-SNDRV_PCM_IOCTL_STATUS-ABI-breakage.patch
+  0033-PCM-Fix-memory-leak-for-pcm-empty-and-asym-plugins.patch
+  0034-Reduce-compilation-warnings.patch
+  0035-PCM-Avoid-busy-loop-in-snd_pcm_write_areas-with-rate.patch
+
+---

New:

  0031-pcm-support-for-audio-timestamps.patch
  0032-pcm-fix-64-bit-SNDRV_PCM_IOCTL_STATUS-ABI-breakage.patch
  0033-PCM-Fix-memory-leak-for-pcm-empty-and-asym-plugins.patch
  0034-Reduce-compilation-warnings.patch
  0035-PCM-Avoid-busy-loop-in-snd_pcm_write_areas-with-rate.patch



Other differences:
--
++ alsa.spec ++
--- /var/tmp/diff_new_pack.t0J6Ri/_old  2012-11-14 09:11:44.0 +0100
+++ /var/tmp/diff_new_pack.t0J6Ri/_new  2012-11-14 09:11:44.0 +0100
@@ -82,6 +82,11 @@
 Patch27:0027-PCM-Fix-infinite-loop-in-htimestamp-of-dmix-dsnoop-a.patch
 Patch28:0028-test-add-audio_time.patch
 Patch30:0030-PCM-Fix-the-invalid-snd_pcm_close-calls-in-rate-plug.patch
+Patch31:0031-pcm-support-for-audio-timestamps.patch
+Patch32:0032-pcm-fix-64-bit-SNDRV_PCM_IOCTL_STATUS-ABI-breakage.patch
+Patch33:0033-PCM-Fix-memory-leak-for-pcm-empty-and-asym-plugins.patch
+Patch34:0034-Reduce-compilation-warnings.patch
+Patch35:0035-PCM-Avoid-busy-loop-in-snd_pcm_write_areas-with-rate.patch
 #
 Patch99:alsa-lib-doxygen-avoid-crash-for-11.3.diff
 Url:http://www.alsa-project.org/
@@ -162,6 +167,11 @@
 %patch27 -p1
 %patch28 -p1
 %patch30 -p1
+%patch31 -p1
+%patch32 -p1
+%patch33 -p1
+%patch34 -p1
+%patch35 -p1
 %if %suse_version == 1130
 %patch99 -p1
 %endif

++ 0031-pcm-support-for-audio-timestamps.patch ++
From cf40ea169aad366b83f431addafea6327149 Mon Sep 17 00:00:00 2001
From: Pierre-Louis Bossart pierre-louis.boss...@linux.intel.com
Date: Tue, 12 Jun 2012 14:36:40 -0500
Subject: [PATCH 31/35] pcm: support for audio timestamps

add new snd_pcm_status_get_audio_htstamp() routine to
query the audio timestamps provided by the kernel.

This change provides applications with better ways
to track elapsed time. Before this patch, applications
would subtract queued samples (delay) from written samples,
resulting in a 1-2 sample error.

Also add snd_pcm_hw_params_supports_audio_wallclock_ts()
to query what the hardware supports.

TODO: check protocol compatibility?

Signed-off-by: Pierre-Louis Bossart pierre-louis.boss...@linux.intel.com
Signed-off-by: Takashi Iwai ti...@suse.de
---
 include/pcm.h  |  2 ++
 include/sound/asound.h |  7 --
 src/pcm/pcm.c  | 31 +++
 test/audio_time.c  | 68 ++
 4 files changed, 96 insertions(+), 12 deletions(-)

diff --git a/include/pcm.h b/include/pcm.h
index 290593b..1ce91e7 100644
--- a/include/pcm.h
+++ b/include/pcm.h
@@ -631,6 +631,7 @@ int snd_pcm_hw_params_is_half_duplex(const 
snd_pcm_hw_params_t *params);
 int snd_pcm_hw_params_is_joint_duplex(const snd_pcm_hw_params_t *params);
 int snd_pcm_hw_params_can_sync_start(const snd_pcm_hw_params_t *params);
 int snd_pcm_hw_params_can_disable_period_wakeup(const snd_pcm_hw_params_t 
*params);
+int snd_pcm_hw_params_supports_audio_wallclock_ts(const snd_pcm_hw_params_t 
*params);
 int snd_pcm_hw_params_get_rate_numden(const snd_pcm_hw_params_t *params,
  unsigned int *rate_num,
  unsigned int *rate_den);
@@ -939,6 +940,7 @@ void snd_pcm_status_get_trigger_tstamp(const 
snd_pcm_status_t *obj, snd_timestam
 void snd_pcm_status_get_trigger_htstamp(const snd_pcm_status_t *obj, 
snd_htimestamp_t *ptr);
 void snd_pcm_status_get_tstamp(const snd_pcm_status_t *obj, snd_timestamp_t 
*ptr);
 void snd_pcm_status_get_htstamp(const snd_pcm_status_t *obj, snd_htimestamp_t 
*ptr);
+void snd_pcm_status_get_audio_htstamp(const snd_pcm_status_t *obj, 
snd_htimestamp_t *ptr);
 snd_pcm_sframes_t snd_pcm_status_get_delay(const snd_pcm_status_t *obj);
 snd_pcm_uframes_t snd_pcm_status_get_avail(const snd_pcm_status_t *obj);
 snd_pcm_uframes_t 

commit alsa for openSUSE:Factory

2012-09-25 Thread h_root
Hello community,

here is the log from the commit of package alsa for openSUSE:Factory checked in 
at 2012-09-25 13:56:01

Comparing /work/SRC/openSUSE:Factory/alsa (Old)
 and  /work/SRC/openSUSE:Factory/.alsa.new (New)


Package is alsa, Maintainer is ti...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/alsa/alsa.changes2012-08-04 
08:59:52.0 +0200
+++ /work/SRC/openSUSE:Factory/.alsa.new/alsa.changes   2012-09-25 
14:18:00.0 +0200
@@ -1,0 +2,6 @@
+Fri Sep  7 15:29:41 CEST 2012 - ti...@suse.de
+
+- Updated to version 1.0.26:
+  * just including all previous patches
+
+---

Old:

  0001-conf-pcm-Add-support-for-Echo3G-devices.-Thanks-to-u.patch
  0002-USB-Audio-Blacklist-iec958-for-some-USB-devices.patch
  0003-USB-Audio-Fixup-card-name-for-Logitech-web-camera.patch
  0004-mixer-Remove-redundant-CHECK_ENUM-from-snd_mixer_sel.patch
  0005-seqmid-more-descriptions-on-snd_seq_parse_address-be.patch
  0006-doc-Fix-typo-in-PCM-formats.patch
  0007-alsa-lib-conf-block-S-PDIF-access-for-Sennheiser-USB.patch
  0008-control_external-Add-ability-to-specify-TLV-data.patch
  0009-alsa-lib-conf-Add-two-more-USB-devices-to-iec958-bla.patch
  0010-Fix-invalid-long-long-format-specifier.patch
  0011-pcm-add-missing-break-in-switch.patch
  0012-pcm_dsnoop-comment-fall-through-in-next-case.patch
  0013-tlv-improve-robustness-of-raw-value-ranges.patch
  0014-conf-Add-more-USB-devices-to-S-PDIF-blacklist.patch
  0015-Fix-the-binary-compatibility-of-ext-ctl-plugin-with-.patch
  0016-hctl-Remove-a-useless-assert.patch
  alsa-lib-1.0.25.tar.bz2

New:

  alsa-lib-1.0.26.tar.bz2



Other differences:
--
++ alsa.spec ++
--- /var/tmp/diff_new_pack.xHR64s/_old  2012-09-25 14:18:01.0 +0200
+++ /var/tmp/diff_new_pack.xHR64s/_new  2012-09-25 14:18:01.0 +0200
@@ -20,7 +20,7 @@
 BuildRequires:  doxygen
 BuildRequires:  libtool
 BuildRequires:  pkg-config
-%define package_version1.0.25
+%define package_version1.0.26
 Requires:   alsa-utils
 Recommends: alsa-plugins alsa-oss
 PreReq: %insserv_prereq %fillup_prereq
@@ -32,7 +32,7 @@
 Summary:Advanced Linux Sound Architecture
 License:LGPL-2.1+
 Group:  System/Libraries
-Version:1.0.25
+Version:1.0.26
 Release:0
 Source: 
ftp://ftp.alsa-project.org/pub/lib/alsa-lib-%{package_version}.tar.bz2
 Source2:baselibs.conf
@@ -53,22 +53,6 @@
 Source40:   50-alsa.conf
 Source41:   install-snd-module
 # Patch:  alsa-lib-git-fixes.diff
-Patch1: 0001-conf-pcm-Add-support-for-Echo3G-devices.-Thanks-to-u.patch
-Patch2: 0002-USB-Audio-Blacklist-iec958-for-some-USB-devices.patch
-Patch3: 0003-USB-Audio-Fixup-card-name-for-Logitech-web-camera.patch
-Patch4: 0004-mixer-Remove-redundant-CHECK_ENUM-from-snd_mixer_sel.patch
-Patch5: 0005-seqmid-more-descriptions-on-snd_seq_parse_address-be.patch
-Patch6: 0006-doc-Fix-typo-in-PCM-formats.patch
-Patch7: 0007-alsa-lib-conf-block-S-PDIF-access-for-Sennheiser-USB.patch
-Patch8: 0008-control_external-Add-ability-to-specify-TLV-data.patch
-Patch9: 0009-alsa-lib-conf-Add-two-more-USB-devices-to-iec958-bla.patch
-Patch10:0010-Fix-invalid-long-long-format-specifier.patch
-Patch11:0011-pcm-add-missing-break-in-switch.patch
-Patch12:0012-pcm_dsnoop-comment-fall-through-in-next-case.patch
-Patch13:0013-tlv-improve-robustness-of-raw-value-ranges.patch
-Patch14:0014-conf-Add-more-USB-devices-to-S-PDIF-blacklist.patch
-Patch15:0015-Fix-the-binary-compatibility-of-ext-ctl-plugin-with-.patch
-Patch16:0016-hctl-Remove-a-useless-assert.patch
 Patch99:alsa-lib-doxygen-avoid-crash-for-11.3.diff
 Url:http://www.alsa-project.org/
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
@@ -119,22 +103,6 @@
 %prep
 %setup -q -n alsa-lib-%{package_version}
 # %patch -p1
-%patch1 -p1
-%patch2 -p1
-%patch3 -p1
-%patch4 -p1
-%patch5 -p1
-%patch6 -p1
-%patch7 -p1
-%patch8 -p1
-%patch9 -p1
-%patch10 -p1
-%patch11 -p1
-%patch12 -p1
-%patch13 -p1
-%patch14 -p1
-%patch15 -p1
-%patch16 -p1
 %if %suse_version == 1130
 %patch99 -p1
 %endif



++ alsa-lib-1.0.25.tar.bz2 - alsa-lib-1.0.26.tar.bz2 ++
 81898 lines of diff (skipped)


-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit alsa for openSUSE:Factory

2012-08-04 Thread h_root
Hello community,

here is the log from the commit of package alsa for openSUSE:Factory checked in 
at 2012-08-04 08:59:50

Comparing /work/SRC/openSUSE:Factory/alsa (Old)
 and  /work/SRC/openSUSE:Factory/.alsa.new (New)


Package is alsa, Maintainer is ti...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/alsa/alsa.changes2012-07-02 
10:08:41.0 +0200
+++ /work/SRC/openSUSE:Factory/.alsa.new/alsa.changes   2012-08-04 
08:59:52.0 +0200
@@ -1,0 +2,5 @@
+Thu Jul  5 10:11:35 CEST 2012 - ti...@suse.de
+
+- Fix useless assert in hctl, backport from upstream
+
+---

New:

  0016-hctl-Remove-a-useless-assert.patch



Other differences:
--
++ alsa.spec ++
--- /var/tmp/diff_new_pack.CgQOct/_old  2012-08-04 08:59:59.0 +0200
+++ /var/tmp/diff_new_pack.CgQOct/_new  2012-08-04 08:59:59.0 +0200
@@ -68,6 +68,7 @@
 Patch13:0013-tlv-improve-robustness-of-raw-value-ranges.patch
 Patch14:0014-conf-Add-more-USB-devices-to-S-PDIF-blacklist.patch
 Patch15:0015-Fix-the-binary-compatibility-of-ext-ctl-plugin-with-.patch
+Patch16:0016-hctl-Remove-a-useless-assert.patch
 Patch99:alsa-lib-doxygen-avoid-crash-for-11.3.diff
 Url:http://www.alsa-project.org/
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
@@ -133,6 +134,7 @@
 %patch13 -p1
 %patch14 -p1
 %patch15 -p1
+%patch16 -p1
 %if %suse_version == 1130
 %patch99 -p1
 %endif

++ 0016-hctl-Remove-a-useless-assert.patch ++
From 86e27cdbf119440101a850e1b44baebfefe863ca Mon Sep 17 00:00:00 2001
From: Martin Sandsmark martin.sandsm...@kde.org
Date: Thu, 5 Jul 2012 09:40:07 +0200
Subject: [PATCH] hctl: Remove a useless assert

The case where the element is unavailable (for example gone away since
the event was created) is handled beneath.

See also bug 5471.
https://bugtrack.alsa-project.org/alsa-bug/view.php?id=5471

Signed-off-by: Takashi Iwai ti...@suse.de
---
 src/control/hcontrol.c |1 -
 1 file changed, 1 deletion(-)

diff --git a/src/control/hcontrol.c b/src/control/hcontrol.c
index 8ffc434..ee1d907 100644
--- a/src/control/hcontrol.c
+++ b/src/control/hcontrol.c
@@ -761,7 +761,6 @@ static int snd_hctl_handle_event(snd_hctl_t *hctl, 
snd_ctl_event_t *event)
if (event-data.elem.mask  (SNDRV_CTL_EVENT_MASK_VALUE |
 SNDRV_CTL_EVENT_MASK_INFO)) {
elem = snd_hctl_find_elem(hctl, event-data.elem.id);
-   assert(elem);
if (!elem)
return -ENOENT;
res = snd_hctl_elem_throw_event(elem, event-data.elem.mask 
-- 
1.7.10.4




-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit alsa for openSUSE:Factory

2012-07-02 Thread h_root
Hello community,

here is the log from the commit of package alsa for openSUSE:Factory checked in 
at 2012-07-01 20:58:49

Comparing /work/SRC/openSUSE:Factory/alsa (Old)
 and  /work/SRC/openSUSE:Factory/.alsa.new (New)


Package is alsa, Maintainer is ti...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/alsa/alsa.changes2012-06-26 
17:44:41.0 +0200
+++ /work/SRC/openSUSE:Factory/.alsa.new/alsa.changes   2012-07-02 
10:08:41.0 +0200
@@ -1,0 +2,13 @@
+Thu Jun 28 17:04:59 CEST 2012 - ti...@suse.de
+
+- Use a special modprobe config for loading OSS and sequencer
+  modules automatically (bnc#768361,bnc#768352,bnc#757484,
+  bnc#767738)
+- Remove the automatic module loading part from alsasound init
+  script since modprobe does it now
+- Set LOAD_SEQUENCER=no and LOAD_OSS_EMUL_MODULES=no as default;
+  these were already disabled on 12.1 with systemd.
+  This is only for new installations.  Users upgrading from old
+  distros aren't affected.
+
+---

New:

  50-alsa.conf
  install-snd-module



Other differences:
--
++ alsa.spec ++
--- /var/tmp/diff_new_pack.Bpupye/_old  2012-07-02 10:08:57.0 +0200
+++ /var/tmp/diff_new_pack.Bpupye/_new  2012-07-02 10:08:57.0 +0200
@@ -50,6 +50,8 @@
 Source32:   all_notes_off.mid
 Source33:   alsa-info.sh
 Source34:   alsa-init.sh
+Source40:   50-alsa.conf
+Source41:   install-snd-module
 # Patch:  alsa-lib-git-fixes.diff
 Patch1: 0001-conf-pcm-Add-support-for-Echo3G-devices.-Thanks-to-u.patch
 Patch2: 0002-USB-Audio-Blacklist-iec958-for-some-USB-devices.patch
@@ -202,6 +204,13 @@
 install -c -m 0644 %{SOURCE8} $RPM_BUILD_ROOT/etc/udev/rules.d
 %endif
 #
+# modprobe config and the module install script for loading OSS-emulation
+# and sequencer modules automatically
+mkdir -p $RPM_BUILD_ROOT/etc/modprobe.d
+install -c -m 0644 %{S:40} $RPM_BUILD_ROOT/etc/modprobe.d
+mkdir -p $RPM_BUILD_ROOT/sbin
+install -c -m 0755 %{S:41} $RPM_BUILD_ROOT/sbin
+#
 # install template to update rc.config and sysconfig files:
 # (updating the actual files is done in the %post-script)
 #
@@ -243,6 +252,8 @@
 %defattr(-, root, root)
 %doc %{_docdir}/%{name}
 /etc/init.d/*
+/etc/modprobe.d
+/sbin/*
 %{_sbindir}/*
 %{_bindir}/*
 /usr/lib/all_notes_off.*

++ 50-alsa.conf ++
install snd /sbin/install-snd-module snd $CMDLINE_OPTS
install snd-pcm /sbin/install-snd-module snd-pcm $CMDLINE_OPTS
install snd-seq /sbin/install-snd-module snd-seq $CMDLINE_OPTS


++ alsasound ++
--- /var/tmp/diff_new_pack.Bpupye/_old  2012-07-02 10:08:57.0 +0200
+++ /var/tmp/diff_new_pack.Bpupye/_new  2012-07-02 10:08:57.0 +0200
@@ -61,21 +61,6 @@
 asoundcfg=/var/lib/alsa/asound.state
 aconnect=/usr/bin/aconnect
 
-#
-# insert sequencer modules
-#
-load_sequencer() {
-  test $LOAD_SEQUENCER = yes  modprobe -q snd-seq
-  if [ x$LOAD_SEQUENCER = xyes -a -r /proc/asound/seq/drivers ]; then
-OLDIFS=$IFS
-IFS=,
-while read t x c; do
-  /sbin/modprobe $t
-done  /proc/asound/seq/drivers
-IFS=$OLDIFS
-  fi
-}
-
 get_drivers() {
   /sbin/modprobe -c | \
 grep -E ^[[:space:]]*alias[[:space:]]+snd-card-[[:digit:]] | sort -u | \
@@ -109,21 +94,11 @@
 #
 # rest of start action
 #
-start_rest() {
-  load_sequencer
-  if [ x$LOAD_OSS_EMUL_MODULES = xyes ]; then
-/sbin/modprobe snd-pcm-oss
-test x$LOAD_OSS_SEQ_MODULE = xyes  /sbin/modprobe snd-seq-oss
-  fi
-}
 
 # manual load and force to store the status
 start_all() {
 echo -n Starting sound driver
-load_modules  start_rest
-# hack - in case the mixer isn't restored
-# this shouldn't be needed anymore since udev cares
-# (sleep 1; $alsactl -F -f $asoundcfg restore /dev/null 21)
+load_modules
 rc_status -r
 }
 
@@ -196,7 +171,6 @@
$alsactl -F -f $asoundcfg restore /dev/null 21
;;
esac
-   start_rest
else
start_all
fi

++ install-snd-module ++
#!/bin/sh

/sbin/modprobe --ignore-install $@ || exit $?

. /etc/sysconfig/sound

case $1 in
snd)
/sbin/modprobe --quiet --use-blacklist snd-ioctl32
test $LOAD_OSS_EMUL_MODULES = yes  \
/sbin/modprobe --quiet --use-blacklist snd-mixer-oss
test $LOAD_SEQUENCER = yes  \
/sbin/modprobe --quiet --use-blacklist snd-seq
;;
snd-pcm|snd_pcm)
test $LOAD_OSS_EMUL_MODULES = yes  \
/sbin/modprobe --quiet --use-blacklist snd-pcm-oss
;;
snd-seq|snd_seq)
if [ -r /proc/asound/seq/drivers ]; then
OLDIFS=$IFS
IFS=,
while read t x c; do
 

commit alsa for openSUSE:Factory

2012-06-26 Thread h_root
Hello community,

here is the log from the commit of package alsa for openSUSE:Factory checked in 
at 2012-06-26 17:44:40

Comparing /work/SRC/openSUSE:Factory/alsa (Old)
 and  /work/SRC/openSUSE:Factory/.alsa.new (New)


Package is alsa, Maintainer is ti...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/alsa/alsa.changes2012-06-25 
13:45:46.0 +0200
+++ /work/SRC/openSUSE:Factory/.alsa.new/alsa.changes   2012-06-26 
17:44:41.0 +0200
@@ -1,0 +2,5 @@
+Mon Jun 25 23:18:07 CEST 2012 - ti...@suse.de
+
+- Fix the backward compatibility of ext_ctl plugin (bnc#768742)
+
+---

New:

  0015-Fix-the-binary-compatibility-of-ext-ctl-plugin-with-.patch



Other differences:
--
++ alsa.spec ++
--- /var/tmp/diff_new_pack.adITrR/_old  2012-06-26 17:44:43.0 +0200
+++ /var/tmp/diff_new_pack.adITrR/_new  2012-06-26 17:44:43.0 +0200
@@ -65,6 +65,7 @@
 Patch12:0012-pcm_dsnoop-comment-fall-through-in-next-case.patch
 Patch13:0013-tlv-improve-robustness-of-raw-value-ranges.patch
 Patch14:0014-conf-Add-more-USB-devices-to-S-PDIF-blacklist.patch
+Patch15:0015-Fix-the-binary-compatibility-of-ext-ctl-plugin-with-.patch
 Patch99:alsa-lib-doxygen-avoid-crash-for-11.3.diff
 Url:http://www.alsa-project.org/
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
@@ -129,6 +130,7 @@
 %patch12 -p1
 %patch13 -p1
 %patch14 -p1
+%patch15 -p1
 %if %suse_version == 1130
 %patch99 -p1
 %endif

++ 0015-Fix-the-binary-compatibility-of-ext-ctl-plugin-with-.patch ++
From 52160de21ee6a710a746b0881d9581994d039123 Mon Sep 17 00:00:00 2001
From: Takashi Iwai ti...@suse.de
Date: Mon, 25 Jun 2012 23:16:14 +0200
Subject: [PATCH] Fix the binary compatibility of ext-ctl plugin with protocol
 1.0.0

Signed-off-by: Takashi Iwai ti...@suse.de
---
 include/control_external.h |9 +
 src/control/control_ext.c  |3 ++-
 2 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/include/control_external.h b/include/control_external.h
index 5392ea6..e98f4d6 100644
--- a/include/control_external.h
+++ b/include/control_external.h
@@ -125,16 +125,17 @@ struct snd_ctl_ext {
 * control handle filled by #snd_ctl_ext_create()
 */
snd_ctl_t *handle;
+
+   int nonblock;   /** non-block mode; read-only */
+   int subscribed; /** events subscribed; read-only */
+
/**
-* optional TLV data for the control.
+* optional TLV data for the control (since protocol 1.0.1)
 */
union {
snd_ctl_ext_tlv_rw_t *c;
const unsigned int *p;
} tlv;
-
-   int nonblock;   /** non-block mode; read-only */
-   int subscribed; /** events subscribed; read-only */
 };
 
 /** Callback table of ext */
diff --git a/src/control/control_ext.c b/src/control/control_ext.c
index cc30766..56552fa 100644
--- a/src/control/control_ext.c
+++ b/src/control/control_ext.c
@@ -706,7 +706,8 @@ int snd_ctl_ext_create(snd_ctl_ext_t *ext, const char 
*name, int mode)
snd_ctl_t *ctl;
int err;
 
-   if (ext-version != SND_CTL_EXT_VERSION) {
+   if (ext-version  SNDRV_PROTOCOL_VERSION(1, 0, 0) ||
+   ext-version  SND_CTL_EXT_VERSION) {
SNDERR(ctl_ext: Plugin version mismatch\n);
return -ENXIO;
}
-- 
1.7.10.4




-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit alsa for openSUSE:Factory

2012-06-25 Thread h_root
Hello community,

here is the log from the commit of package alsa for openSUSE:Factory checked in 
at 2012-06-25 13:45:44

Comparing /work/SRC/openSUSE:Factory/alsa (Old)
 and  /work/SRC/openSUSE:Factory/.alsa.new (New)


Package is alsa, Maintainer is ti...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/alsa/alsa.changes2012-06-01 
07:19:33.0 +0200
+++ /work/SRC/openSUSE:Factory/.alsa.new/alsa.changes   2012-06-25 
13:45:46.0 +0200
@@ -1,0 +2,8 @@
+Mon Jun 11 18:07:15 CEST 2012 - ti...@suse.de
+
+- update alsa-info.sh to ver. 0.4.61
+  * Add system firmware version detection
+  * Add roaraudio sound server detection
+  * Cosmetic heading fixup
+
+---



Other differences:
--


++ alsa-info.sh ++
--- /var/tmp/diff_new_pack.D5LwRz/_old  2012-06-25 13:45:48.0 +0200
+++ /var/tmp/diff_new_pack.D5LwRz/_new  2012-06-25 13:45:48.0 +0200
@@ -1,6 +1,6 @@
 #!/bin/bash
 
-SCRIPT_VERSION=0.4.60
+SCRIPT_VERSION=0.4.61
 CHANGELOG=http://www.alsa-project.org/alsa-info.sh.changelog;
 
 
#
@@ -111,7 +111,7 @@
 
 withaplay() {
 echo !!Aplay/Arecord output  $FILE
-echo !!  $FILE
+echo !!  $FILE
 echo   $FILE
echo APLAY  $FILE
echo   $FILE 
@@ -149,7 +149,7 @@
 
 withalsactl() {
echo !!Alsactl output  $FILE
-echo !!-  $FILE
+echo !!--  $FILE
 echo   $FILE
 exe=
 if [ -x /usr/sbin/alsactl ]; then
@@ -244,7 +244,7 @@
 
 withdmesg() {
echo !!ALSA/HDA dmesg  $FILE
-   echo !!--  $FILE
+   echo !!--  $FILE
echo   $FILE
dmesg | grep -C1 -E 'ALSA|HDA|HDMI|sound|hda.codec|hda.intel'  $FILE
echo   $FILE
@@ -416,6 +416,7 @@
 PAINST=$(which pulseaudio 2/dev/null| sed 's|^[^/]*||' 2/dev/null)
 ARTSINST=$(which artsd 2/dev/null| sed 's|^[^/]*||' 2/dev/null)
 JACKINST=$(which jackd 2/dev/null| sed 's|^[^/]*||' 2/dev/null)
+ROARINST=$(which roard 2/dev/null| sed 's|^[^/]*||' 2/dev/null)
 DMIDECODE=$(which dmidecode 2/dev/null| sed 's|^[^/]*||' 2/dev/null)
 
 #Check for DMI data
@@ -424,10 +425,12 @@
 DMI_SYSTEM_MANUFACTURER=$(cat /sys/class/dmi/id/sys_vendor 2/dev/null)
 DMI_SYSTEM_PRODUCT_NAME=$(cat /sys/class/dmi/id/product_name 2/dev/null)
 DMI_SYSTEM_PRODUCT_VERSION=$(cat /sys/class/dmi/id/product_version 
2/dev/null)
+DMI_SYSTEM_FIRMWARE_VERSION=$(cat /sys/class/dmi/id/bios_version 
2/dev/null)
 elif [ -x $DMIDECODE ]; then
 DMI_SYSTEM_MANUFACTURER=$($DMIDECODE -s system-manufacturer 2/dev/null)
 DMI_SYSTEM_PRODUCT_NAME=$($DMIDECODE -s system-product-name 2/dev/null)
 DMI_SYSTEM_PRODUCT_VERSION=$($DMIDECODE -s system-version 2/dev/null)
+DMI_SYSTEM_FIRMWARE_VERSION=$($DMIDECODE -s bios-version 2/dev/null)
 fi
 
 cat /proc/asound/modules 2/dev/null|awk {'print $2'}$TEMPDIR/alsamodules.tmp
@@ -469,6 +472,7 @@
 echo Manufacturer:  $DMI_SYSTEM_MANUFACTURER  $FILE
 echo Product Name:  $DMI_SYSTEM_PRODUCT_NAME  $FILE
 echo Product Version:   $DMI_SYSTEM_PRODUCT_VERSION  $FILE
+echo Firmware Version:  $DMI_SYSTEM_FIRMWARE_VERSION  $FILE
 echo   $FILE
 echo   $FILE
 echo !!Kernel Information  $FILE
@@ -526,7 +530,14 @@
 echo   Running - $JACKRUNNING  $FILE
 echo   $FILE
 fi
-if [[ -z $PAINST  -z $ESDINST  -z $ARTSINST  -z $JACKINST ]];then
+if [[ -n $ROARINST ]];then
+[[ `pgrep '^(.*/)?roard$'` ]]  ROARRUNNING=Yes || ROARRUNNING=No
+echo RoarAudio:  $FILE
+echo   Installed - Yes ($ROARINST)  $FILE
+echo   Running - $ROARRUNNING  $FILE
+echo   $FILE
+fi
+if [[ -z $PAINST  -z $ESDINST  -z $ARTSINST  -z $JACKINST  -z 
$ROARINST ]];then
 echo No sound servers found.  $FILE
 echo   $FILE
 fi
@@ -544,7 +555,7 @@
 echo   $FILE
 echo   $FILE
 echo !!Advanced information - PCI Vendor/Device/Subsystem ID's  $FILE
-echo !!  $FILE
+echo !!---  $FILE
 echo   $FILE
 lspci -vvn |grep -A1 040[1-3]  $FILE
 echo   $FILE
@@ -563,7 +574,7 @@
 if [ -d $SYSFS ]
 then
 echo !!Loaded sound module options  $FILE
-echo !!--  $FILE
+echo !!---  $FILE
 echo   $FILE
 for mod in `cat /proc/asound/modules|awk {'print $2'}`;do
 echo !!Module: $mod  $FILE
@@ -591,7 +602,7 @@
 if [ -s $TEMPDIR/alsa-ac97.tmp ]
 then
 echo !!AC97 Codec information  $FILE
-echo !!---  $FILE
+echo !!--  $FILE
 echo --startcollapse--  $FILE
 echo   $FILE
  

commit alsa for openSUSE:Factory

2012-05-31 Thread h_root
Hello community,

here is the log from the commit of package alsa for openSUSE:Factory checked in 
at 2012-06-01 07:19:21

Comparing /work/SRC/openSUSE:Factory/alsa (Old)
 and  /work/SRC/openSUSE:Factory/.alsa.new (New)


Package is alsa, Maintainer is ti...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/alsa/alsa.changes2012-01-27 
15:16:14.0 +0100
+++ /work/SRC/openSUSE:Factory/.alsa.new/alsa.changes   2012-06-01 
07:19:33.0 +0200
@@ -1,0 +2,13 @@
+Tue May 29 11:08:11 CEST 2012 - ti...@suse.de
+
+- backport upstream fixes:
+  * Add support for Echo3G devices
+  * Blacklist iec958 for some USB devices
+  * Remove redundant CHECK_ENUM() from snd_mixer_selem_is_enum*()
+  * Document fixes / updates
+  * Add ability to specify TLV data to external control plugins
+  * Fix invalid long long format specifier
+  * Fix missing break in PCM non-interleaved mmap handling
+  * improve robustness of TLV raw value ranges
+
+---

New:

  0001-conf-pcm-Add-support-for-Echo3G-devices.-Thanks-to-u.patch
  0002-USB-Audio-Blacklist-iec958-for-some-USB-devices.patch
  0003-USB-Audio-Fixup-card-name-for-Logitech-web-camera.patch
  0004-mixer-Remove-redundant-CHECK_ENUM-from-snd_mixer_sel.patch
  0005-seqmid-more-descriptions-on-snd_seq_parse_address-be.patch
  0006-doc-Fix-typo-in-PCM-formats.patch
  0007-alsa-lib-conf-block-S-PDIF-access-for-Sennheiser-USB.patch
  0008-control_external-Add-ability-to-specify-TLV-data.patch
  0009-alsa-lib-conf-Add-two-more-USB-devices-to-iec958-bla.patch
  0010-Fix-invalid-long-long-format-specifier.patch
  0011-pcm-add-missing-break-in-switch.patch
  0012-pcm_dsnoop-comment-fall-through-in-next-case.patch
  0013-tlv-improve-robustness-of-raw-value-ranges.patch
  0014-conf-Add-more-USB-devices-to-S-PDIF-blacklist.patch



Other differences:
--
++ alsa.spec ++
--- /var/tmp/diff_new_pack.alyoqf/_old  2012-06-01 07:19:36.0 +0200
+++ /var/tmp/diff_new_pack.alyoqf/_new  2012-06-01 07:19:36.0 +0200
@@ -51,6 +51,20 @@
 Source33:   alsa-info.sh
 Source34:   alsa-init.sh
 # Patch:  alsa-lib-git-fixes.diff
+Patch1: 0001-conf-pcm-Add-support-for-Echo3G-devices.-Thanks-to-u.patch
+Patch2: 0002-USB-Audio-Blacklist-iec958-for-some-USB-devices.patch
+Patch3: 0003-USB-Audio-Fixup-card-name-for-Logitech-web-camera.patch
+Patch4: 0004-mixer-Remove-redundant-CHECK_ENUM-from-snd_mixer_sel.patch
+Patch5: 0005-seqmid-more-descriptions-on-snd_seq_parse_address-be.patch
+Patch6: 0006-doc-Fix-typo-in-PCM-formats.patch
+Patch7: 0007-alsa-lib-conf-block-S-PDIF-access-for-Sennheiser-USB.patch
+Patch8: 0008-control_external-Add-ability-to-specify-TLV-data.patch
+Patch9: 0009-alsa-lib-conf-Add-two-more-USB-devices-to-iec958-bla.patch
+Patch10:0010-Fix-invalid-long-long-format-specifier.patch
+Patch11:0011-pcm-add-missing-break-in-switch.patch
+Patch12:0012-pcm_dsnoop-comment-fall-through-in-next-case.patch
+Patch13:0013-tlv-improve-robustness-of-raw-value-ranges.patch
+Patch14:0014-conf-Add-more-USB-devices-to-S-PDIF-blacklist.patch
 Patch99:alsa-lib-doxygen-avoid-crash-for-11.3.diff
 Url:http://www.alsa-project.org/
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
@@ -66,9 +80,11 @@
 Summary:Include Files and Libraries mandatory for Development
 License:LGPL-2.1+
 Group:  Development/Libraries/C and C++
-Requires:   glibc-devel, libasound2 = %{version}
+Requires:   glibc-devel
+Requires:   libasound2 = %{version}
 Obsoletes:  alsadev
-Provides:   alsadev alsa-lib-devel
+Provides:   alsa-lib-devel
+Provides:   alsadev
 
 %description devel
 This package contains all necessary include files and libraries needed
@@ -99,6 +115,20 @@
 %prep
 %setup -q -n alsa-lib-%{package_version}
 # %patch -p1
+%patch1 -p1
+%patch2 -p1
+%patch3 -p1
+%patch4 -p1
+%patch5 -p1
+%patch6 -p1
+%patch7 -p1
+%patch8 -p1
+%patch9 -p1
+%patch10 -p1
+%patch11 -p1
+%patch12 -p1
+%patch13 -p1
+%patch14 -p1
 %if %suse_version == 1130
 %patch99 -p1
 %endif

++ 0001-conf-pcm-Add-support-for-Echo3G-devices.-Thanks-to-u.patch ++
From 65298d98f3b1222001283a2bfc92eecb12096def Mon Sep 17 00:00:00 2001
From: Luke Yelavich luke.yelav...@canonical.com
Date: Wed, 8 Feb 2012 15:09:55 +1100
Subject: [PATCH 01/14] conf/pcm: Add support for Echo3G devices. Thanks to
 unimatrix.

BugLink: https://bugs.launchpad.net/bugs/433573

Signed-off-by: Luke Yelavich luke.yelav...@canonical.com
Signed-off-by: Jaroslav Kysela pe...@perex.cz
---
 src/conf/cards/Echo_Echo3G.conf |  318 

commit alsa for openSUSE:Factory

2012-01-27 Thread h_root
Hello community,

here is the log from the commit of package alsa for openSUSE:Factory checked in 
at 2012-01-27 15:16:08

Comparing /work/SRC/openSUSE:Factory/alsa (Old)
 and  /work/SRC/openSUSE:Factory/.alsa.new (New)


Package is alsa, Maintainer is ti...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/alsa/alsa.changes2011-10-03 
09:11:57.0 +0200
+++ /work/SRC/openSUSE:Factory/.alsa.new/alsa.changes   2012-01-27 
15:16:14.0 +0100
@@ -1,0 +2,5 @@
+Wed Jan 25 11:10:29 CET 2012 - ti...@suse.de
+
+- Updated to alsa-lib version 1.0.25; including all previous fixes
+
+---

Old:

  0001-Fix-alsa-lib-to-regard-3D-control-Depth-as-Playback-.patch
  0002-alsa-lib-add-LaCie-Firewire-Speakers-Griffin-FireWav.patch
  0003-alsa-lib-ucm-allow-values-to-be-read-from-devices.patch
  0004-UCM-comment-fixes-and-fix-myvalue-initialization-fix.patch
  0005-UCM-Fix-empty-get_list-initialize-returned-pointer-t.patch
  0006-Conf-Fix-channels-of-ICE1712-to-10-12.patch
  0007-UCM-Fix-LGPL-licence-how-to-receive-part-referred-GP.patch
  0008-configure-Fail-when-the-user-attempts-to-compile-sha.patch
  0009-Mark-Heaphone-Center-LFE-control-of-emu10k1-conf-as-.patch
  0010-Fix-typo-in-comment-in-surround71.conf.patch
  0011-test-latency-print-error-message-when-2-periods-per-.patch
  0012-EMU10K1.conf-Don-t-lock-hook-controls.patch
  0013-HDA-Intel.conf-Fix-low-mic-volume-due-to-pulseaudio-.patch
  0014-alsa-lib-fixed-coverity-reported-issues-under-FORWAR.patch
  0015-Fix-compile-warnings.patch
  0016-Fix-printf-for-size_t.patch
  0018-UCM-fix-memory-leak-when-executing-cset-commands.patch
  0019-Specficy-subdevice-0-for-front-surround-of-HDA-Intel.patch
  0020-emu10k1.conf-Fix-no-sound-problem-when-using-SB-Live.patch
  0021-ctlparse-Respect-softfloat-configure-option.patch
  0022-UCM-Fix-typo-in-error-message.patch
  0023-UCM-Fix-deadlock-following-failed-get-_verb.patch
  0024-Define-sysdefault-PCM-and-control.patch
  0025-Add-snd_-ctl-pcm-_open_fallback-functions.patch
  0026-Add-RME-RPM-to-HDSP_IO_Type.patch
  0027-ucm-fix-seg-fault-in-execute_cset.patch
  0028-ucm-tivial-code-style-fix.patch
  0029-ucm-add-another-sequence-msleep.patch
  0030-conf-Allow-for-a-directory-to-be-given-as-a-config-f.patch
  0031-pcm-recalculate-all-rules-after-changing-hw_params-f.patch
  0032-src-pcm-pcm_rate.c-add-missing-free.patch
  0033-src-pcm-pcm_ladspa.c-add-missing-free.patch
  0034-src-pcm-pcm_multi.c-add-missing-free.patch
  0035-src-pcm-pcm_mmap.c-add-missing-free.patch
  alsa-lib-1.0.24.1.tar.bz2

New:

  alsa-lib-1.0.25.tar.bz2



Other differences:
--
++ alsa.spec ++
--- /var/tmp/diff_new_pack.SyU30D/_old  2012-01-27 15:16:15.0 +0100
+++ /var/tmp/diff_new_pack.SyU30D/_new  2012-01-27 15:16:15.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package alsa
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,12 +16,11 @@
 #
 
 
-
 Name:   alsa
-BuildRequires:  doxygen libtool pkg-config
-%define package_version1.0.24.1
-License:LGPL-2.1+
-Group:  System/Libraries
+BuildRequires:  doxygen
+BuildRequires:  libtool
+BuildRequires:  pkg-config
+%define package_version1.0.25
 Requires:   alsa-utils
 Recommends: alsa-plugins alsa-oss
 PreReq: %insserv_prereq %fillup_prereq
@@ -31,8 +30,10 @@
 %endif
 #
 Summary:Advanced Linux Sound Architecture
-Version:1.0.24.1
-Release:18
+License:LGPL-2.1+
+Group:  System/Libraries
+Version:1.0.25
+Release:0
 Source: 
ftp://ftp.alsa-project.org/pub/lib/alsa-lib-%{package_version}.tar.bz2
 Source2:baselibs.conf
 Source8:40-alsa.rules
@@ -50,40 +51,6 @@
 Source33:   alsa-info.sh
 Source34:   alsa-init.sh
 # Patch:  alsa-lib-git-fixes.diff
-Patch1: 0001-Fix-alsa-lib-to-regard-3D-control-Depth-as-Playback-.patch
-Patch2: 0002-alsa-lib-add-LaCie-Firewire-Speakers-Griffin-FireWav.patch
-Patch3: 0003-alsa-lib-ucm-allow-values-to-be-read-from-devices.patch
-Patch4: 0004-UCM-comment-fixes-and-fix-myvalue-initialization-fix.patch
-Patch5: 0005-UCM-Fix-empty-get_list-initialize-returned-pointer-t.patch
-Patch6: 0006-Conf-Fix-channels-of-ICE1712-to-10-12.patch
-Patch7: 0007-UCM-Fix-LGPL-licence-how-to-receive-part-referred-GP.patch
-Patch8: 0008-configure-Fail-when-the-user-attempts-to-compile-sha.patch

commit alsa for openSUSE:Factory

2011-10-03 Thread h_root

Hello community,

here is the log from the commit of package alsa for openSUSE:Factory
checked in at Mon Oct 3 09:12:00 CEST 2011.




--- openSUSE:Factory/alsa/alsa.changes  2011-09-27 16:15:58.0 +0200
+++ alsa/alsa.changes   2011-09-30 22:09:04.0 +0200
@@ -1,0 +2,5 @@
+Fri Sep 30 20:07:40 UTC 2011 - co...@suse.com
+
+- add libtool as buildrequire to make the spec file more reliable
+
+---

calling whatdependson for head-i586




Other differences:
--
++ alsa.spec ++
--- /var/tmp/diff_new_pack.a4rZoa/_old  2011-10-03 09:11:55.0 +0200
+++ /var/tmp/diff_new_pack.a4rZoa/_new  2011-10-03 09:11:55.0 +0200
@@ -18,7 +18,7 @@
 
 
 Name:   alsa
-BuildRequires:  doxygen pkg-config
+BuildRequires:  doxygen libtool pkg-config
 %define package_version1.0.24.1
 License:LGPLv2.1+
 Group:  System/Libraries




continue with q...



Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit alsa for openSUSE:Factory

2011-09-27 Thread h_root

Hello community,

here is the log from the commit of package alsa for openSUSE:Factory
checked in at Tue Sep 27 16:16:01 CEST 2011.




--- alsa/alsa.changes   2011-09-17 12:29:31.0 +0200
+++ /mounts/work_src_done/STABLE/alsa/alsa.changes  2011-09-27 
10:01:03.0 +0200
@@ -1,0 +2,11 @@
+Tue Sep 27 10:00:09 CEST 2011 - ti...@suse.de
+
+- backport upstream fixes: fix noresample hw_params rule and a few
+  fixes for missing free()
+
+---
+Tue Sep 20 09:45:12 CEST 2011 - ti...@suse.de
+
+- Add support of /usr/share/alsa/conf.d/* files.
+
+---

calling whatdependson for head-i586


New:

  0030-conf-Allow-for-a-directory-to-be-given-as-a-config-f.patch
  0031-pcm-recalculate-all-rules-after-changing-hw_params-f.patch
  0032-src-pcm-pcm_rate.c-add-missing-free.patch
  0033-src-pcm-pcm_ladspa.c-add-missing-free.patch
  0034-src-pcm-pcm_multi.c-add-missing-free.patch
  0035-src-pcm-pcm_mmap.c-add-missing-free.patch



Other differences:
--
++ alsa.spec ++
--- /var/tmp/diff_new_pack.G4KDbC/_old  2011-09-27 16:15:56.0 +0200
+++ /var/tmp/diff_new_pack.G4KDbC/_new  2011-09-27 16:15:56.0 +0200
@@ -78,6 +78,12 @@
 Patch27:0027-ucm-fix-seg-fault-in-execute_cset.patch
 Patch28:0028-ucm-tivial-code-style-fix.patch
 Patch29:0029-ucm-add-another-sequence-msleep.patch
+Patch30:0030-conf-Allow-for-a-directory-to-be-given-as-a-config-f.patch
+Patch31:0031-pcm-recalculate-all-rules-after-changing-hw_params-f.patch
+Patch32:0032-src-pcm-pcm_rate.c-add-missing-free.patch
+Patch33:0033-src-pcm-pcm_ladspa.c-add-missing-free.patch
+Patch34:0034-src-pcm-pcm_multi.c-add-missing-free.patch
+Patch35:0035-src-pcm-pcm_mmap.c-add-missing-free.patch
 Patch99:alsa-lib-doxygen-avoid-crash-for-11.3.diff
 Url:http://www.alsa-project.org/
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
@@ -154,6 +160,12 @@
 %patch27 -p1
 %patch28 -p1
 %patch29 -p1
+%patch30 -p1
+%patch31 -p1
+%patch32 -p1
+%patch33 -p1
+%patch34 -p1
+%patch35 -p1
 %if %suse_version == 1130
 %patch99 -p1
 %endif

++ 0030-conf-Allow-for-a-directory-to-be-given-as-a-config-f.patch ++
From 7924500688fdfeac71e5968e5f5875726a8dce14 Mon Sep 17 00:00:00 2001
From: Colin Guthrie co...@mageia.org
Date: Fri, 16 Sep 2011 10:04:26 +0100
Subject: [PATCH] conf: Allow for a directory to be given as a config file.

When this is done, *.conf files can be placed in that directory and they
will be processed by as if they were included directly.

A directory (typically /usr/share/alsa/alsa.conf.d/) has been
added into the distribution.

v2: Used existing conf syntax rather than processing via autotools
v3: Split file loading into separate function and made error handling
more consistent.

Signed-off-by: Colin Guthrie co...@mageia.org
Signed-off-by: Takashi Iwai ti...@suse.de
---
 configure.in |3 +-
 src/conf.c   |   78 -
 src/conf/Makefile.am |2 +-
 src/conf/alsa.conf   |7 +++
 src/conf/alsa.conf.d/Makefile.am |8 
 src/conf/alsa.conf.d/README  |2 +
 6 files changed, 87 insertions(+), 13 deletions(-)
 create mode 100644 src/conf/alsa.conf.d/Makefile.am
 create mode 100644 src/conf/alsa.conf.d/README

diff --git a/configure.in b/configure.in
index 7ee0ccc..13e38b8 100644
--- a/configure.in
+++ b/configure.in
@@ -616,7 +616,8 @@ AC_OUTPUT(Makefile doc/Makefile doc/pictures/Makefile 
doc/doxygen.cfg \
  src/pcm/Makefile src/pcm/scopes/Makefile \
  src/rawmidi/Makefile src/timer/Makefile \
   src/hwdep/Makefile src/seq/Makefile src/ucm/Makefile \
-  src/compat/Makefile src/alisp/Makefile src/conf/Makefile \
+  src/compat/Makefile src/alisp/Makefile \
+ src/conf/Makefile src/conf/alsa.conf.d/Makefile \
  src/conf/cards/Makefile \
  src/conf/pcm/Makefile \
  modules/Makefile modules/mixer/Makefile modules/mixer/simple/Makefile 
\
diff --git a/src/conf.c b/src/conf.c
index ddefff6..5b1b5a6 100644
--- a/src/conf.c
+++ b/src/conf.c
@@ -417,6 +417,7 @@ beginning:/P
 #include stdarg.h
 #include limits.h
 #include sys/stat.h
+#include dirent.h
 #include locale.h
 #include local.h
 #ifdef HAVE_LIBPTHREAD
@@ -3373,6 +3374,42 @@ static int snd_config_hooks(snd_config_t *config, 
snd_config_t *private_data)
return err;
 }
 
+static int config_filename_filter(const struct dirent *dirent)
+{
+   size_t flen;
+
+   if (dirent == NULL)
+   return 0;
+   if (dirent-d_type == DT_DIR)
+   return 0;
+
+   flen = strlen(dirent-d_name);
+   if (flen = 5)
+   return 0;
+
+   if 

commit alsa for openSUSE:Factory

2011-09-19 Thread h_root

Hello community,

here is the log from the commit of package alsa for openSUSE:Factory
checked in at Mon Sep 19 15:34:57 CEST 2011.




--- alsa/alsa.changes   2011-08-26 09:35:47.0 +0200
+++ /mounts/work_src_done/STABLE/alsa/alsa.changes  2011-09-17 
12:29:31.0 +0200
@@ -1,0 +2,7 @@
+Sat Sep 17 09:02:24 UTC 2011 - jeng...@medozas.de
+
+- Add alsa-devel to baselibs
+- Remove redundant tags/sections from specfile
+- Use %_smp_mflags for parallel build
+
+---

calling whatdependson for head-i586




Other differences:
--
++ alsa.spec ++
--- /var/tmp/diff_new_pack.JMegVq/_old  2011-09-19 15:34:52.0 +0200
+++ /var/tmp/diff_new_pack.JMegVq/_new  2011-09-19 15:34:52.0 +0200
@@ -15,7 +15,6 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-# norootforbuild
 
 
 Name:   alsa
@@ -26,7 +25,6 @@
 Requires:   alsa-utils
 Recommends: alsa-plugins alsa-oss
 PreReq: %insserv_prereq %fillup_prereq
-AutoReqProv:on
 # bug437293
 %ifarch ppc64
 Obsoletes:  alsa-64bit
@@ -91,13 +89,6 @@
 This package contains the ALSA init scripts to start the sound system
 on your Linux box.  To set it up, run yast2 or alsaconf.
 
-
-
-Authors:
-
-Jaroslav Kysela pe...@perex.cz
-Takashi Iwai ti...@suse.de
-
 %package devel
 Summary:Include Files and Libraries mandatory for Development
 Group:  Development/Libraries/C and C++
@@ -110,13 +101,6 @@
 This package contains all necessary include files and libraries needed
 to develop applications that require these.
 
-
-
-Authors:
-
-Jaroslav Kysela pe...@perex.cz
-Takashi Iwai ti...@suse.de
-
 %package docs
 Summary:Additional Package Documentation
 Group:  Documentation/Other
@@ -129,13 +113,6 @@
 This package contains optional documentation provided in addition to
 this package's base documentation.
 
-
-
-Authors:
-
-Jaroslav Kysela pe...@perex.cz
-Takashi Iwai ti...@suse.de
-
 %package -n libasound2
 Summary:Advanced Linux Sound Architecture Library
 Group:  System/Libraries
@@ -146,13 +123,6 @@
 This package contains the library for ALSA, Advanced Linux Sound
 Architecture.
 
-
-
-Authors:
-
-Jaroslav Kysela pe...@perex.cz
-Takashi Iwai ti...@suse.de
-
 %prep
 %setup -q -n alsa-lib-%{package_version}
 # %patch -p1
@@ -196,7 +166,7 @@
 %endif
 
 %build
-export AUTOMAKE_JOBS=%{?jobs:%jobs}
+export AUTOMAKE_JOBS=%{?_smp_mflags}
 # build alsa-lib
 autoreconf -fi
 %configure \
@@ -205,7 +175,7 @@
   --disable-aload \
   --disable-alisp \
   --disable-python
-make V=1 %{?jobs:-j %jobs}
+make V=1 %{?_smp_mflags}
 # run doxygen
 make -C doc doc
 
@@ -292,9 +262,6 @@
 
 %postun -n libasound2 -p /sbin/ldconfig
 
-%clean
-[ $RPM_BUILD_ROOT != / ]  rm -rf $RPM_BUILD_ROOT
-
 %files
 %defattr(-, root, root)
 %doc %{_docdir}/%{name}



++ baselibs.conf ++
--- /var/tmp/diff_new_pack.JMegVq/_old  2011-09-19 15:34:52.0 +0200
+++ /var/tmp/diff_new_pack.JMegVq/_new  2011-09-19 15:34:52.0 +0200
@@ -2,3 +2,6 @@
   obsoletes alsa-targettype
   provides  alsa-targettype
   recommends alsa-oss-targettype
+alsa-devel
+  requires -alsa-targettype
+  requires libasound2-targettype = version







Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit alsa for openSUSE:Factory

2011-09-11 Thread h_root

Hello community,

here is the log from the commit of package alsa for openSUSE:Factory
checked in at Sun Sep 11 19:03:17 CEST 2011.




--- alsa/alsa.changes   2011-07-27 15:27:02.0 +0200
+++ /mounts/work_src_done/STABLE/alsa/alsa.changes  2011-08-26 
09:35:47.0 +0200
@@ -1,0 +2,6 @@
+Fri Aug 26 09:34:45 CEST 2011 - ti...@suse.de
+
+- backport upstream fixes: a few trivial fixes for UCM and the
+  addition of missing RDSPM types in the header
+
+---

calling whatdependson for head-i586


New:

  0026-Add-RME-RPM-to-HDSP_IO_Type.patch
  0027-ucm-fix-seg-fault-in-execute_cset.patch
  0028-ucm-tivial-code-style-fix.patch
  0029-ucm-add-another-sequence-msleep.patch



Other differences:
--
++ alsa.spec ++
--- /var/tmp/diff_new_pack.8Qr1K0/_old  2011-09-11 19:03:13.0 +0200
+++ /var/tmp/diff_new_pack.8Qr1K0/_new  2011-09-11 19:03:13.0 +0200
@@ -34,7 +34,7 @@
 #
 Summary:Advanced Linux Sound Architecture
 Version:1.0.24.1
-Release:16
+Release:18
 Source: 
ftp://ftp.alsa-project.org/pub/lib/alsa-lib-%{package_version}.tar.bz2
 Source2:baselibs.conf
 Source8:40-alsa.rules
@@ -76,6 +76,10 @@
 Patch23:0023-UCM-Fix-deadlock-following-failed-get-_verb.patch
 Patch24:0024-Define-sysdefault-PCM-and-control.patch
 Patch25:0025-Add-snd_-ctl-pcm-_open_fallback-functions.patch
+Patch26:0026-Add-RME-RPM-to-HDSP_IO_Type.patch
+Patch27:0027-ucm-fix-seg-fault-in-execute_cset.patch
+Patch28:0028-ucm-tivial-code-style-fix.patch
+Patch29:0029-ucm-add-another-sequence-msleep.patch
 Patch99:alsa-lib-doxygen-avoid-crash-for-11.3.diff
 Url:http://www.alsa-project.org/
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
@@ -176,6 +180,10 @@
 %patch23 -p1
 %patch24 -p1
 %patch25 -p1
+%patch26 -p1
+%patch27 -p1
+%patch28 -p1
+%patch29 -p1
 %if %suse_version == 1130
 %patch99 -p1
 %endif

++ 0026-Add-RME-RPM-to-HDSP_IO_Type.patch ++
From e31aaac5308216f89039cdfa016fe396f49e8fe7 Mon Sep 17 00:00:00 2001
From: Adrian Knoth a...@drcomp.erfurt.thur.de
Date: Thu, 28 Jul 2011 23:24:25 +0200
Subject: [PATCH] Add RME RPM to HDSP_IO_Type.

The hdsp.c driver supports the RME RPM devices, but we also need this
information in alsa-lib for tools like hdsploader and hdspmixer.

Signed-off-by: Adrian Knoth a...@drcomp.erfurt.thur.de
Signed-off-by: Takashi Iwai ti...@suse.de
---
 include/sound/hdsp.h |1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/include/sound/hdsp.h b/include/sound/hdsp.h
index 0fc9e98..5adaf7b 100644
--- a/include/sound/hdsp.h
+++ b/include/sound/hdsp.h
@@ -28,6 +28,7 @@ typedef enum {
Multiface,
H9652,
H9632,
+   RPM,
Undefined,
 } HDSP_IO_Type;
 
-- 
1.7.6.1

++ 0027-ucm-fix-seg-fault-in-execute_cset.patch ++
From 29880e8c66cfdc584e01aa549037f76b081b5019 Mon Sep 17 00:00:00 2001
From: Lu Guanqun guanqun...@intel.com
Date: Fri, 19 Aug 2011 16:05:25 +0800
Subject: [PATCH 1/3] ucm: fix seg fault in execute_cset()

When there's no space in 'cset', 'pos' gets NULL, dereferencing 'pos' gets a
seg fault. We need to be more robust.

Signed-off-by: Lu Guanqun guanqun...@intel.com
Signed-off-by: Takashi Iwai ti...@suse.de
---
 src/ucm/main.c |3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/ucm/main.c b/src/ucm/main.c
index 8e9a85d..9ecbe43 100644
--- a/src/ucm/main.c
+++ b/src/ucm/main.c
@@ -196,7 +196,8 @@ static int execute_cset(snd_ctl_t *ctl, char *cset)
goto __fail;
err = 0;
   __fail:
-   *pos = ' ';
+   if (pos != NULL)
+   *pos = ' ';
 
if (id != NULL)
free(id);
-- 
1.7.6.1

++ 0028-ucm-tivial-code-style-fix.patch ++
From a97aa7f065ed4a7fc1879921a58c40954dc34316 Mon Sep 17 00:00:00 2001
From: Lu Guanqun guanqun...@intel.com
Date: Fri, 19 Aug 2011 16:05:30 +0800
Subject: [PATCH 2/3] ucm: tivial code style fix

Signed-off-by: Lu Guanqun guanqun...@intel.com
Signed-off-by: Takashi Iwai ti...@suse.de
---
 src/ucm/main.c |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/ucm/main.c b/src/ucm/main.c
index 9ecbe43..76ca151 100644
--- a/src/ucm/main.c
+++ b/src/ucm/main.c
@@ -173,7 +173,7 @@ static int execute_cset(snd_ctl_t *ctl, char *cset)
pos = strrchr(cset, ' ');
if (pos == NULL) {
uc_error(undefined value for cset %s, cset);
-   err =  -EINVAL;
+   err = -EINVAL;
goto __fail;
}
*pos = '\0';
-- 
1.7.6.1

++ 0029-ucm-add-another-sequence-msleep.patch ++
From 26e80c2e32bd3a088b56a6ea4e30d5b8ccce9112 Mon Sep 17 00:00:00 2001
From: Lu Guanqun guanqun...@intel.com
Date: Mon, 22 Aug 2011 13:35:32 +0800

commit alsa for openSUSE:Factory

2011-07-29 Thread h_root

Hello community,

here is the log from the commit of package alsa for openSUSE:Factory
checked in at Fri Jul 29 16:48:16 CEST 2011.




--- alsa/alsa.changes   2011-07-11 10:58:04.0 +0200
+++ /mounts/work_src_done/STABLE/alsa/alsa.changes  2011-07-27 
15:27:02.0 +0200
@@ -1,0 +2,10 @@
+Wed Jul 27 15:25:23 CEST 2011 - ti...@suse.de
+
+- Fix enumeration of default PCM in addition to sysdefault
+
+---
+Tue Jul 26 15:42:37 CEST 2011 - ti...@suse.de
+
+- Add fallback PCM/control support (for pulse plugin)
+
+---

calling whatdependson for head-i586


New:

  0024-Define-sysdefault-PCM-and-control.patch
  0025-Add-snd_-ctl-pcm-_open_fallback-functions.patch



Other differences:
--
++ alsa.spec ++
--- /var/tmp/diff_new_pack.gud76A/_old  2011-07-29 16:48:01.0 +0200
+++ /var/tmp/diff_new_pack.gud76A/_new  2011-07-29 16:48:01.0 +0200
@@ -34,7 +34,7 @@
 #
 Summary:Advanced Linux Sound Architecture
 Version:1.0.24.1
-Release:14
+Release:16
 Source: 
ftp://ftp.alsa-project.org/pub/lib/alsa-lib-%{package_version}.tar.bz2
 Source2:baselibs.conf
 Source8:40-alsa.rules
@@ -74,6 +74,8 @@
 Patch21:0021-ctlparse-Respect-softfloat-configure-option.patch
 Patch22:0022-UCM-Fix-typo-in-error-message.patch
 Patch23:0023-UCM-Fix-deadlock-following-failed-get-_verb.patch
+Patch24:0024-Define-sysdefault-PCM-and-control.patch
+Patch25:0025-Add-snd_-ctl-pcm-_open_fallback-functions.patch
 Patch99:alsa-lib-doxygen-avoid-crash-for-11.3.diff
 Url:http://www.alsa-project.org/
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
@@ -172,6 +174,8 @@
 %patch21 -p1
 %patch22 -p1
 %patch23 -p1
+%patch24 -p1
+%patch25 -p1
 %if %suse_version == 1130
 %patch99 -p1
 %endif

++ 0024-Define-sysdefault-PCM-and-control.patch ++
From e6f990e5c9be5cac6f36924d20a75d0f69d27297 Mon Sep 17 00:00:00 2001
From: Takashi Iwai ti...@suse.de
Date: Tue, 26 Jul 2011 13:05:53 +0200
Subject: [PATCH 1/2] Define sysdefault PCM and control

When default PCM and control definitions are overwritten by others
like PulseAudio setup, the original system-default defition is lost.
This is a problem when PA is temporarily (or intentionally) disabled
and user wants to use the default dmix.

This patch adds a new standard definition for the system-default,
sysdefault.  This can be used for fallbacks.

Signed-off-by: Takashi Iwai ti...@suse.de
---
 src/conf/alsa.conf |4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/src/conf/alsa.conf b/src/conf/alsa.conf
index 1889f01..a33c24e 100644
--- a/src/conf/alsa.conf
+++ b/src/conf/alsa.conf
@@ -119,6 +119,7 @@ defaults.timer.subdevice 0
 pcm.cards cards.pcm
 
 pcm.default cards.pcm.default
+pcm.sysdefault cards.pcm.default
 pcm.front cards.pcm.front
 pcm.rear cards.pcm.rear
 pcm.center_lfe cards.pcm.center_lfe
@@ -321,7 +322,7 @@ pcm.null {
 #  Control interface
 #

-ctl.default {
+ctl.sysdefault {
type hw
card {
@func getenv
@@ -335,6 +336,7 @@ ctl.default {
}
}
 }
+ctl.default ctl.sysdefault
 
 ctl.hw {
@args [ CARD ]
-- 
1.7.6

++ 0025-Add-snd_-ctl-pcm-_open_fallback-functions.patch ++
From acb423d937111d682706169bcdcb58c70fdfa84d Mon Sep 17 00:00:00 2001
From: Takashi Iwai ti...@suse.de
Date: Tue, 26 Jul 2011 13:10:24 +0200
Subject: [PATCH 2/2] Add snd_{ctl|pcm}_open_fallback() functions

This patch adds new API functions, snd_ctl_open_fallback() and
snd_pcm_open_fallback().  These are just like snd_*_open_lconf() but
used to open a fallback PCM/control.  The difference is that it replaces
the name string with the given original name, so that hctl and other
upper-layers will recognize it as an alias.

Signed-off-by: Takashi Iwai ti...@suse.de
---
 include/control.h |1 +
 include/pcm.h |3 +++
 src/control/control.c |   22 ++
 src/pcm/pcm.c |   24 
 4 files changed, 50 insertions(+), 0 deletions(-)

diff --git a/include/control.h b/include/control.h
index e8f38bb..f265e34 100644
--- a/include/control.h
+++ b/include/control.h
@@ -224,6 +224,7 @@ char *snd_device_name_get_hint(const void *hint, const char 
*id);
 
 int snd_ctl_open(snd_ctl_t **ctl, const char *name, int mode);
 int snd_ctl_open_lconf(snd_ctl_t **ctl, const char *name, int mode, 
snd_config_t *lconf);
+int snd_ctl_open_fallback(snd_ctl_t **ctl, snd_config_t *root, const char 
*name, const char *orig_name, int mode);
 int snd_ctl_close(snd_ctl_t *ctl);
 int snd_ctl_nonblock(snd_ctl_t *ctl, int nonblock);
 int snd_async_add_ctl_handler(snd_async_handler_t **handler, snd_ctl_t *ctl, 
diff --git 

commit alsa for openSUSE:Factory

2011-07-11 Thread h_root

Hello community,

here is the log from the commit of package alsa for openSUSE:Factory
checked in at Mon Jul 11 15:58:19 CEST 2011.




--- alsa/alsa.changes   2011-06-03 14:11:01.0 +0200
+++ alsa/alsa.changes   2011-07-11 10:58:04.0 +0200
@@ -1,0 +2,17 @@
+Mon Jul 11 10:57:25 CEST 2011 - ti...@suse.de
+
+- Add missing Required-Stop in alsasound init script
+
+---
+Fri Jul  8 12:00:35 CEST 2011 - ti...@suse.de
+
+- Add $local_fs to alsasound init script (for /var/* access)
+  (bnc#700781)
+
+---
+Tue Jul  5 14:54:36 CEST 2011 - ti...@suse.de
+
+- Call alsactl in alsasound init script when /var is a separate
+  partition (bnc#700781)
+
+---

calling whatdependson for head-i586




Other differences:
--
++ alsa.spec ++
--- /var/tmp/diff_new_pack.QX5BQP/_old  2011-07-11 15:55:49.0 +0200
+++ /var/tmp/diff_new_pack.QX5BQP/_new  2011-07-11 15:55:49.0 +0200
@@ -34,7 +34,7 @@
 #
 Summary:Advanced Linux Sound Architecture
 Version:1.0.24.1
-Release:12
+Release:14
 Source: 
ftp://ftp.alsa-project.org/pub/lib/alsa-lib-%{package_version}.tar.bz2
 Source2:baselibs.conf
 Source8:40-alsa.rules



++ alsasound ++
--- /var/tmp/diff_new_pack.QX5BQP/_old  2011-07-11 15:55:49.0 +0200
+++ /var/tmp/diff_new_pack.QX5BQP/_new  2011-07-11 15:55:49.0 +0200
@@ -32,9 +32,9 @@
 # 
 ### BEGIN INIT INFO
 # Provides:   alsasound
-# Required-Start: 
+# Required-Start: $local_fs
 # Should-Start: $remote_fs resmgr
-# Required-Stop:  
+# Required-Stop: $local_fs
 # Should-Stop: $remote_fs resmgr
 # Default-Start:  2 3 5
 # Default-Stop:
@@ -189,6 +189,13 @@
 case $1 in
   start)
if test $PREVLEVEL = N -a -d /proc/asound ; then
+   # re-run alsactl when /var is a seprate partition (bnc#700781)
+   case $asoundcfg in
+   /var/*)
+   grep -q  /var  /proc/mounts  \
+   $alsactl -F -f $asoundcfg restore /dev/null 21
+   ;;
+   esac
start_rest
else
start_all







Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit alsa for openSUSE:Factory

2011-05-23 Thread h_root

Hello community,

here is the log from the commit of package alsa for openSUSE:Factory
checked in at Mon May 23 15:20:20 CEST 2011.




--- alsa/alsa.changes   2011-03-31 15:03:04.0 +0200
+++ /mounts/work_src_done/STABLE/alsa/alsa.changes  2011-04-01 
17:10:20.0 +0200
@@ -1,0 +2,8 @@
+Thu Mar 31 15:05:48 CEST 2011 - ti...@suse.de
+
+- Update alsa-info.sh to 0.4.60: show usb mixer, DMI product
+  version, fixed typos
+- Fix set_default_volume script not to give 100% volume when no
+  Master is present; just for older stuff (bnc#677563)
+
+---

calling whatdependson for head-i586




Other differences:
--
++ alsa.spec ++
--- /var/tmp/diff_new_pack.ACwTwX/_old  2011-05-23 15:19:24.0 +0200
+++ /var/tmp/diff_new_pack.ACwTwX/_new  2011-05-23 15:19:24.0 +0200
@@ -34,7 +34,7 @@
 #
 Summary:Advanced Linux Sound Architecture
 Version:1.0.24.1
-Release:8
+Release:10
 Source: 
ftp://ftp.alsa-project.org/pub/lib/alsa-lib-%{package_version}.tar.bz2
 Source2:baselibs.conf
 Source8:40-alsa.rules



++ alsa-info.sh ++
--- /var/tmp/diff_new_pack.ACwTwX/_old  2011-05-23 15:19:24.0 +0200
+++ /var/tmp/diff_new_pack.ACwTwX/_new  2011-05-23 15:19:24.0 +0200
@@ -1,6 +1,6 @@
 #!/bin/bash
 
-SCRIPT_VERSION=0.4.58
+SCRIPT_VERSION=0.4.60
 CHANGELOG=http://www.alsa-project.org/alsa-info.sh.changelog;
 
 
#
@@ -423,9 +423,11 @@
 # No root privileges are required when using sysfs method
 DMI_SYSTEM_MANUFACTURER=$(cat /sys/class/dmi/id/sys_vendor 2/dev/null)
 DMI_SYSTEM_PRODUCT_NAME=$(cat /sys/class/dmi/id/product_name 2/dev/null)
+DMI_SYSTEM_PRODUCT_VERSION=$(cat /sys/class/dmi/id/product_version 
2/dev/null)
 elif [ -x $DMIDECODE ]; then
 DMI_SYSTEM_MANUFACTURER=$($DMIDECODE -s system-manufacturer 2/dev/null)
 DMI_SYSTEM_PRODUCT_NAME=$($DMIDECODE -s system-product-name 2/dev/null)
+DMI_SYSTEM_PRODUCT_VERSION=$($DMIDECODE -s system-version 2/dev/null)
 fi
 
 cat /proc/asound/modules 2/dev/null|awk {'print $2'}$TEMPDIR/alsamodules.tmp
@@ -439,6 +441,9 @@
 cat /proc/asound/card*/codec97\#0/ac97\#0-0  $TEMPDIR/alsa-ac97.tmp 2 
/dev/null
 cat /proc/asound/card*/codec97\#0/ac97\#0-0+regs  $TEMPDIR/alsa-ac97-regs.tmp 
2 /dev/null
 
+#Check for USB mixer setup
+cat /proc/asound/card*/usbmixer  $TEMPDIR/alsa-usbmixer.tmp 2 /dev/null
+
 #Fetch the info, and put it in $FILE in a nice readable format.
 if [[ -z $PASTEBIN ]]; then
 echo upload=truescript=truecardinfo=  $FILE
@@ -463,6 +468,7 @@
 echo   $FILE
 echo Manufacturer:  $DMI_SYSTEM_MANUFACTURER  $FILE
 echo Product Name:  $DMI_SYSTEM_PRODUCT_NAME  $FILE
+echo Product Version:   $DMI_SYSTEM_PRODUCT_VERSION  $FILE
 echo   $FILE
 echo   $FILE
 echo !!Kernel Information  $FILE
@@ -537,7 +543,7 @@
 cat $TEMPDIR/lspci.tmp  $FILE
 echo   $FILE
 echo   $FILE
-echo !!Advanced information - PCI Vendor/Device/Susbsystem ID's  $FILE
+echo !!Advanced information - PCI Vendor/Device/Subsystem ID's  $FILE
 echo !!  $FILE
 echo   $FILE
 lspci -vvn |grep -A1 040[1-3]  $FILE
@@ -596,6 +602,17 @@
echo   $FILE
 fi
 
+if [ -s $TEMPDIR/alsa-usbmixer.tmp ]
+then
+echo !!USB Mixer information  $FILE
+echo !!---  $FILE
+echo --startcollapse--  $FILE
+echo   $FILE
+cat $TEMPDIR/alsa-usbmixer.tmp  $FILE
+echo --endcollapse--  $FILE
+   echo   $FILE
+   echo   $FILE
+fi
 
 #If no command line options are specified, then run as though --with-all was 
specified
 if [[ -z $1 ]]

++ set_default_volume ++
--- /var/tmp/diff_new_pack.ACwTwX/_old  2011-05-23 15:19:24.0 +0200
+++ /var/tmp/diff_new_pack.ACwTwX/_new  2011-05-23 15:19:24.0 +0200
@@ -7,15 +7,17 @@
 # written by Takashi Iwai ti...@suse.de
 #
 
-if [ -f /var/lib/alsa/asound.state -a x$1 != x-f ]; then
-  /usr/sbin/alsactl restore /dev/null 21
-  exit 0
-fi
-
+forced=
 if [ x$1 = x-f ]; then
+forced=yes
 shift
 fi
 
+if [ -f /var/lib/alsa/asound.state -a -z $forced ]; then
+  /usr/sbin/alsactl restore /dev/null 21
+  exit 0
+fi
+
 if [ -n $1 ]; then
 case $1 in
[0-9]*)
@@ -23,8 +25,14 @@
*)
card=-D $1;;
 esac
+fi
+
+if amixer $card | grep -q 'Master; then
+slavevolp=100%
+slavevoldb=0dB
 else
-card=-D hw
+slavevolp=75%
+slavevoldb=-12dB
 fi
 
 amixer -q -s $card EOF
@@ -32,16 +40,16 @@
 set Master -12dB
 set 'Master Mono' 75% unmute
 set 'Master Mono' -12dB
-set Front 75% unmute
-set Front 0dB
-set PCM 90% unmute
-set PCM 0dB
-set Synth 90% unmute
-set Synth 0dB
-set Speaker 90% unmute
-set Speaker 0dB
-set CD 90% unmute
-set CD 0dB
+set Front 

commit alsa for openSUSE:Factory

2011-03-30 Thread h_root

Hello community,

here is the log from the commit of package alsa for openSUSE:Factory
checked in at Wed Mar 30 09:20:16 CEST 2011.




--- alsa/alsa.changes   2011-01-31 18:47:03.0 +0100
+++ /mounts/work_src_done/STABLE/alsa/alsa.changes  2011-03-25 
12:06:38.0 +0100
@@ -1,0 +2,12 @@
+Fri Mar 25 11:41:18 CET 2011 - ti...@suse.de
+
+- Fix asound.state path in other scripts, too
+- Replace the asound.state path for older distros
+
+---
+Thu Mar 24 11:27:27 UTC 2011 - wer...@suse.de
+
+- Make boot script load modules on boot (bnc#68)
+- Correct location of saved sound state in the boot script (bnc#68)
+
+---

calling whatdependson for head-i586




Other differences:
--
++ alsa.spec ++
--- /var/tmp/diff_new_pack.S350Za/_old  2011-03-30 09:18:56.0 +0200
+++ /var/tmp/diff_new_pack.S350Za/_new  2011-03-30 09:18:56.0 +0200
@@ -34,7 +34,7 @@
 #
 Summary:Advanced Linux Sound Architecture
 Version:1.0.24.1
-Release:1
+Release:6
 Source: 
ftp://ftp.alsa-project.org/pub/lib/alsa-lib-%{package_version}.tar.bz2
 Source2:baselibs.conf
 Source8:40-alsa.rules
@@ -166,6 +166,10 @@
 mkdir -p $RPM_BUILD_ROOT%{_sbindir}
 install -c -m 0755 %{SOURCE16} $RPM_BUILD_ROOT%{_bindir}
 install -c -m 0755 %{SOURCE34} $RPM_BUILD_ROOT%{_sbindir}/alsa-init
+%if %suse_version  1140
+sed -i -e 's@/var/lib/asound.state@/etc/asound.state@g' 
$RPM_BUILD_ROOT%{_bindir}/set_default_volume
+sed -i -e 's@/var/lib/asound.state@/etc/asound.state@g' 
$RPM_BUILD_ROOT%{_sbindir}/alsa-init
+%endif
 # install test wave file
 mkdir -p $RPM_BUILD_ROOT%{_datadir}/sounds/alsa
 install -c -m 0644 %{SOURCE17} $RPM_BUILD_ROOT%{_datadir}/sounds/alsa/test.wav
@@ -180,6 +184,9 @@
 mkdir -p $RPM_BUILD_ROOT/etc/init.d
 install -c -m 0755 %{SOURCE11} $RPM_BUILD_ROOT/etc/init.d
 install -c -m 0755 %{SOURCE13} $RPM_BUILD_ROOT/etc/init.d
+%if %suse_version  1140
+sed -i -e 's@/var/lib/asound.state@/etc/asound.state@g' 
$RPM_BUILD_ROOT/etc/init.d/alsasound
+%endif
 rm -f $RPM_BUILD_ROOT%{_sbindir}/rcalsasound
 ln -s ../../etc/init.d/alsasound $RPM_BUILD_ROOT%{_sbindir}/rcalsasound
 rm -f $RPM_BUILD_ROOT%{_sbindir}/rcjoystick



++ alsa-init.sh ++
--- /var/tmp/diff_new_pack.S350Za/_old  2011-03-30 09:18:56.0 +0200
+++ /var/tmp/diff_new_pack.S350Za/_new  2011-03-30 09:18:56.0 +0200
@@ -2,7 +2,7 @@
 # alsa-init card#
 
 /usr/bin/set_default_volume -f $1 /dev/null 21
-test -s /etc/asound.state  /usr/sbin/alsactl -F restore $1 /dev/null 21
+test -s /var/lib/asound.state  /usr/sbin/alsactl -F restore $1 /dev/null 
21
 # increase buffer-preallocation size (for PA)
 if [ -f /proc/asound/card$1/pcm0p/sub0/prealloc_max ]; then
 pmax=$( /proc/asound/card$1/pcm0p/sub0/prealloc_max)

++ alsasound ++
--- /var/tmp/diff_new_pack.S350Za/_old  2011-03-30 09:18:57.0 +0200
+++ /var/tmp/diff_new_pack.S350Za/_new  2011-03-30 09:18:57.0 +0200
@@ -58,7 +58,7 @@
 rc_reset
 
 alsactl=/usr/sbin/alsactl
-asoundcfg=/etc/asound.state
+asoundcfg=/var/lib/asound.state
 aconnect=/usr/bin/aconnect
 
 #
@@ -78,7 +78,7 @@
 
 get_drivers() {
   /sbin/modprobe -c | \
-grep -E ^[[:space:]]*alias[[:space:]]+snd-card-[[:digit:]] | sort | \
+grep -E ^[[:space:]]*alias[[:space:]]+snd-card-[[:digit:]] | sort -u | \
 while read a b card; do
echo $card
 done
@@ -188,8 +188,8 @@
 # See how we were called.
 case $1 in
   start)
-   if [ $PREVLEVEL = N ]; then
-   test -d /proc/asound  start_rest
+   if test $PREVLEVEL = N -a -d /proc/asound ; then
+   start_rest
else
start_all
fi

++ set_default_volume ++
--- /var/tmp/diff_new_pack.S350Za/_old  2011-03-30 09:18:57.0 +0200
+++ /var/tmp/diff_new_pack.S350Za/_new  2011-03-30 09:18:57.0 +0200
@@ -7,7 +7,7 @@
 # written by Takashi Iwai ti...@suse.de
 #
 
-if [ -f /etc/asound.state -a x$1 != x-f ]; then
+if [ -f /var/lib/asound.state -a x$1 != x-f ]; then
   /usr/sbin/alsactl restore /dev/null 21
   exit 0
 fi







Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org