Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package alsa for openSUSE:Factory checked in 
at 2022-07-21 11:32:56
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/alsa (Old)
 and      /work/SRC/openSUSE:Factory/.alsa.new.1523 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "alsa"

Thu Jul 21 11:32:56 2022 rev:217 rq:989801 version:1.2.7.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/alsa/alsa.changes        2022-06-21 
17:15:35.518356648 +0200
+++ /work/SRC/openSUSE:Factory/.alsa.new.1523/alsa.changes      2022-07-21 
11:33:19.974944936 +0200
@@ -1,0 +2,6 @@
+Mon Jul 18 07:05:32 UTC 2022 - Takashi Iwai <ti...@suse.com>
+
+- Update to version 1.2.7.2: minor updates, including fixes for PCM
+  share plugin, rawmidi and UCM
+
+-------------------------------------------------------------------

Old:
----
  alsa-lib-1.2.7.1.tar.bz2
  alsa-lib-1.2.7.1.tar.bz2.sig

New:
----
  alsa-lib-1.2.7.2.tar.bz2
  alsa-lib-1.2.7.2.tar.bz2.sig

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ alsa.spec ++++++
--- /var/tmp/diff_new_pack.Iw5SIB/_old  2022-07-21 11:33:21.530946274 +0200
+++ /var/tmp/diff_new_pack.Iw5SIB/_new  2022-07-21 11:33:21.534946278 +0200
@@ -32,7 +32,7 @@
 %endif
 
 Name:           alsa
-Version:        1.2.7.1
+Version:        1.2.7.2
 Release:        0
 Summary:        Advanced Linux Sound Architecture
 License:        LGPL-2.1-or-later



++++++ alsa-lib-1.2.7.1.tar.bz2 -> alsa-lib-1.2.7.2.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/alsa-lib-1.2.7.1/configure 
new/alsa-lib-1.2.7.2/configure
--- old/alsa-lib-1.2.7.1/configure      2022-06-17 11:52:34.000000000 +0200
+++ new/alsa-lib-1.2.7.2/configure      2022-07-08 17:36:02.000000000 +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.7.1.
+# Generated by GNU Autoconf 2.69 for alsa-lib 1.2.7.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.7.1'
-PACKAGE_STRING='alsa-lib 1.2.7.1'
+PACKAGE_VERSION='1.2.7.2'
+PACKAGE_STRING='alsa-lib 1.2.7.2'
 PACKAGE_BUGREPORT=''
 PACKAGE_URL=''
 
@@ -1471,7 +1471,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.7.1 to adapt to many kinds of systems.
+\`configure' configures alsa-lib 1.2.7.2 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1542,7 +1542,7 @@
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of alsa-lib 1.2.7.1:";;
+     short | recursive ) echo "Configuration of alsa-lib 1.2.7.2:";;
    esac
   cat <<\_ACEOF
 
@@ -1704,7 +1704,7 @@
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-alsa-lib configure 1.2.7.1
+alsa-lib configure 1.2.7.2
 generated by GNU Autoconf 2.69
 
 Copyright (C) 2012 Free Software Foundation, Inc.
@@ -2115,7 +2115,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.7.1, which was
+It was created by alsa-lib $as_me 1.2.7.2, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   $ $0 $@
@@ -3053,7 +3053,7 @@
 
 # Define the identity of the package.
  PACKAGE='alsa-lib'
- VERSION='1.2.7.1'
+ VERSION='1.2.7.2'
 
 
 cat >>confdefs.h <<_ACEOF
@@ -14978,7 +14978,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.7.1, which was
+This file was extended by alsa-lib $as_me 1.2.7.2, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -15044,7 +15044,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.7.1
+alsa-lib config.status 1.2.7.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.7.1/configure.ac 
new/alsa-lib-1.2.7.2/configure.ac
--- old/alsa-lib-1.2.7.1/configure.ac   2022-06-17 11:42:05.000000000 +0200
+++ new/alsa-lib-1.2.7.2/configure.ac   2022-07-08 17:34:30.000000000 +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.7.1)
+AC_INIT(alsa-lib, 1.2.7.2)
 
 AC_CONFIG_SRCDIR([src/control/control.c])
 AC_CONFIG_MACRO_DIR([m4])
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/alsa-lib-1.2.7.1/include/sound/type_compat.h 
new/alsa-lib-1.2.7.2/include/sound/type_compat.h
--- old/alsa-lib-1.2.7.1/include/sound/type_compat.h    2022-06-17 
11:42:05.000000000 +0200
+++ new/alsa-lib-1.2.7.2/include/sound/type_compat.h    2022-07-08 
17:34:30.000000000 +0200
@@ -1,5 +1,5 @@
-#ifndef __TYPE_COMPAT_H
-#define __TYPE_COMPAT_H
+#ifndef __SOUND_TYPE_COMPAT_H
+#define __SOUND_TYPE_COMPAT_H
 
 #ifndef DOC_HIDDEN
 #include <stdint.h>
@@ -58,4 +58,4 @@
 
 #endif /* DOC_HIDDEN */
 
-#endif /* __TYPE_COMPAT_H */
+#endif /* __SOUND_TYPE_COMPAT_H */
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/alsa-lib-1.2.7.1/include/version.h 
new/alsa-lib-1.2.7.2/include/version.h
--- old/alsa-lib-1.2.7.1/include/version.h      2022-06-17 11:52:47.000000000 
+0200
+++ new/alsa-lib-1.2.7.2/include/version.h      2022-07-08 17:36:16.000000000 
+0200
@@ -10,5 +10,5 @@
 #define SND_LIB_VER(maj, min, sub) (((maj)<<16)|((min)<<8)|(sub))
 #define SND_LIB_VERSION SND_LIB_VER(SND_LIB_MAJOR, SND_LIB_MINOR, 
SND_LIB_SUBMINOR)
 /** library version (string) */
-#define SND_LIB_VERSION_STR    "1.2.7.1"
+#define SND_LIB_VERSION_STR    "1.2.7.2"
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/alsa-lib-1.2.7.1/libtool new/alsa-lib-1.2.7.2/libtool
--- old/alsa-lib-1.2.7.1/libtool        2022-06-17 11:52:47.000000000 +0200
+++ new/alsa-lib-1.2.7.2/libtool        2022-07-08 17:36:15.000000000 +0200
@@ -1,5 +1,5 @@
 #! /bin/sh
-# Generated automatically by config.status (alsa-lib) 1.2.7.1
+# Generated automatically by config.status (alsa-lib) 1.2.7.2
 # Libtool was configured on host f420bc43a183:
 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/alsa-lib-1.2.7.1/src/mixer/mixer.c 
new/alsa-lib-1.2.7.2/src/mixer/mixer.c
--- old/alsa-lib-1.2.7.1/src/mixer/mixer.c      2022-06-17 11:42:05.000000000 
+0200
+++ new/alsa-lib-1.2.7.2/src/mixer/mixer.c      2022-07-08 17:34:30.000000000 
+0200
@@ -87,6 +87,11 @@
  * \return 0 on success otherwise a negative error code
  *
  * For use by mixer element class specific code.
+ *
+ * The implementation of mixer class typically calls it at 
#SND_CTL_EVENT_MASK_ADD event. Once
+ * attaching, the implementation should make sure to detach it by call of 
#snd_mixer_elem_detach()
+ * at #SND_CTL_EVENT_MASK_REMOVE event. Unless detaching, mixer API internal 
hits assertion due
+ * to unsatisfied postcondition after the event.
  */
 int snd_mixer_elem_attach(snd_mixer_elem_t *melem,
                          snd_hctl_elem_t *helem)
@@ -106,6 +111,10 @@
  * \return 0 on success otherwise a negative error code
  *
  * For use by mixer element class specific code.
+ *
+ * The implementation of mixer class typically calls it at 
#SND_CTL_EVENT_MASK_REMOVE event for
+ * attached mixer element at #SND_CTL_EVENT_MASK_ADD. Unless detaching, mixer 
API internal hits
+ * assertion due to unsatisfied postcondition after the event.
  */
 int snd_mixer_elem_detach(snd_mixer_elem_t *melem,
                          snd_hctl_elem_t *helem)
@@ -146,6 +155,9 @@
                        if (err < 0)
                                res = err;
                }
+               // NOTE: Unsatisfied postcondition. Typically, some of 
registerd implementation of
+               // mixer class forget to detach mixer element from hcontrol 
element which has been
+               // attached at ADD event.
                assert(bag_empty(bag));
                bag_free(bag);
                return res;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/alsa-lib-1.2.7.1/src/pcm/pcm_share.c 
new/alsa-lib-1.2.7.2/src/pcm/pcm_share.c
--- old/alsa-lib-1.2.7.1/src/pcm/pcm_share.c    2022-06-17 11:42:05.000000000 
+0200
+++ new/alsa-lib-1.2.7.2/src/pcm/pcm_share.c    2022-07-08 17:34:30.000000000 
+0200
@@ -205,6 +205,7 @@
        snd_pcm_sframes_t hw_avail;
        snd_pcm_uframes_t missing = INT_MAX;
        snd_pcm_sframes_t ready_missing;
+       ssize_t s;
        // printf("state=%s hw_ptr=%ld appl_ptr=%ld slave appl_ptr=%ld 
safety=%ld silence=%ld\n", snd_pcm_state_name(share->state), slave->hw_ptr, 
share->appl_ptr, *slave->pcm->appl_ptr, slave->safety_threshold, 
slave->silence_frames);
        switch (share->state) {
        case SND_PCM_STATE_RUNNING:
@@ -288,16 +289,24 @@
  update_poll:
        if (ready != share->ready) {
                char buf[1];
-               if (pcm->stream == SND_PCM_STREAM_PLAYBACK) {
-                       if (ready)
-                               read(share->slave_socket, buf, 1);
-                       else
-                               write(share->client_socket, buf, 1);
-               } else {
-                       if (ready)
-                               write(share->slave_socket, buf, 1);
-                       else
-                               read(share->client_socket, buf, 1);
+               while (1) {
+                       if (pcm->stream == SND_PCM_STREAM_PLAYBACK) {
+                               if (ready)
+                                       s = read(share->slave_socket, buf, 1);
+                               else
+                                       s = write(share->client_socket, buf, 1);
+                       } else {
+                               if (ready)
+                                       s = write(share->slave_socket, buf, 1);
+                               else
+                                       s = read(share->client_socket, buf, 1);
+                       }
+                       if (s < 0) {
+                               if (errno == EINTR)
+                                       continue;
+                               return INT_MAX;
+                       }
+                       break;
                }
                share->ready = ready;
        }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/alsa-lib-1.2.7.1/src/rawmidi/rawmidi.c 
new/alsa-lib-1.2.7.2/src/rawmidi/rawmidi.c
--- old/alsa-lib-1.2.7.1/src/rawmidi/rawmidi.c  2022-06-17 11:42:05.000000000 
+0200
+++ new/alsa-lib-1.2.7.2/src/rawmidi/rawmidi.c  2022-07-08 17:34:30.000000000 
+0200
@@ -1114,7 +1114,7 @@
        assert(rawmidi);
        assert(rawmidi->stream == SND_RAWMIDI_STREAM_INPUT);
        assert(buffer || size == 0);
-       if ((rawmidi->params_mode & SNDRV_RAWMIDI_MODE_FRAMING_MASK) == 
SNDRV_RAWMIDI_MODE_FRAMING_TSTAMP)
+       if ((rawmidi->params_mode & SNDRV_RAWMIDI_MODE_FRAMING_MASK) != 
SNDRV_RAWMIDI_MODE_FRAMING_TSTAMP)
                return -EINVAL;
        if (rawmidi->ops->tread == NULL)
                return -ENOTSUP;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/alsa-lib-1.2.7.1/src/ucm/parser.c 
new/alsa-lib-1.2.7.2/src/ucm/parser.c
--- old/alsa-lib-1.2.7.1/src/ucm/parser.c       2022-06-17 11:42:05.000000000 
+0200
+++ new/alsa-lib-1.2.7.2/src/ucm/parser.c       2022-07-08 17:34:30.000000000 
+0200
@@ -2630,7 +2630,7 @@
 
                ucm_filename(fn, sizeof(fn), version, dir, file);
                if (access(fn, R_OK) == 0 && lstat64(fn, &st) == 0) {
-                       if (st.st_mode & S_IFLNK) {
+                       if (S_ISLNK(st.st_mode)) {
                                ssize_t r;
                                char *link, *dir2, *p;
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/alsa-lib-1.2.7.1/version new/alsa-lib-1.2.7.2/version
--- old/alsa-lib-1.2.7.1/version        2022-06-17 11:52:43.000000000 +0200
+++ new/alsa-lib-1.2.7.2/version        2022-07-08 17:36:11.000000000 +0200
@@ -1 +1 @@
-1.2.7.1
+1.2.7.2

Reply via email to