Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libsidplayfp for openSUSE:Factory 
checked in at 2024-10-21 16:26:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libsidplayfp (Old)
 and      /work/SRC/openSUSE:Factory/.libsidplayfp.new.26871 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libsidplayfp"

Mon Oct 21 16:26:01 2024 rev:16 rq:1216647 version:2.10.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/libsidplayfp/libsidplayfp.changes        
2024-10-07 21:53:43.269974409 +0200
+++ /work/SRC/openSUSE:Factory/.libsidplayfp.new.26871/libsidplayfp.changes     
2024-10-21 16:26:09.748854615 +0200
@@ -1,0 +2,7 @@
+Sun Oct 20 20:14:40 UTC 2024 - Martin Hauke <[email protected]>
+
+- Update to version 2.10.1
+  * residfp: fixed digiboost.
+  * residfp: fixed combined waveforms.
+
+-------------------------------------------------------------------

Old:
----
  libsidplayfp-2.10.0.tar.gz

New:
----
  libsidplayfp-2.10.1.tar.gz

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

Other differences:
------------------
++++++ libsidplayfp.spec ++++++
--- /var/tmp/diff_new_pack.8JUXtA/_old  2024-10-21 16:26:12.840984333 +0200
+++ /var/tmp/diff_new_pack.8JUXtA/_new  2024-10-21 16:26:12.840984333 +0200
@@ -19,7 +19,7 @@
 %define soname 6
 %define stilview_soname 0
 Name:           libsidplayfp
-Version:        2.10.0
+Version:        2.10.1
 Release:        0
 Summary:        A library to play Commodore 64 music
 License:        GPL-2.0-or-later

++++++ libsidplayfp-2.10.0.tar.gz -> libsidplayfp-2.10.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsidplayfp-2.10.0/NEWS new/libsidplayfp-2.10.1/NEWS
--- old/libsidplayfp-2.10.0/NEWS        2024-10-06 11:28:14.000000000 +0200
+++ new/libsidplayfp-2.10.1/NEWS        2024-10-20 11:22:32.000000000 +0200
@@ -1,3 +1,9 @@
+2.10.1 2024-10-20
+* residfp: fix digiboost (#157)
+* residfp: fix combined waveforms (#160)
+
+
+
 2.10.0 2024-10-06
 * Add support for c++20 where available
 * residfp: retuned cw parameters after measuring waves RMS (#143)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsidplayfp-2.10.0/configure 
new/libsidplayfp-2.10.1/configure
--- old/libsidplayfp-2.10.0/configure   2024-10-06 11:28:19.000000000 +0200
+++ new/libsidplayfp-2.10.1/configure   2024-10-20 11:22:39.000000000 +0200
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.71 for libsidplayfp 2.10.0.
+# Generated by GNU Autoconf 2.71 for libsidplayfp 2.10.1.
 #
 #
 # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
@@ -618,8 +618,8 @@
 # Identity of this package.
 PACKAGE_NAME='libsidplayfp'
 PACKAGE_TARNAME='libsidplayfp'
-PACKAGE_VERSION='2.10.0'
-PACKAGE_STRING='libsidplayfp 2.10.0'
+PACKAGE_VERSION='2.10.1'
+PACKAGE_STRING='libsidplayfp 2.10.1'
 PACKAGE_BUGREPORT=''
 PACKAGE_URL='https://github.com/libsidplayfp/libsidplayfp/'
 
@@ -1436,7 +1436,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 libsidplayfp 2.10.0 to adapt to many kinds of systems.
+\`configure' configures libsidplayfp 2.10.1 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1507,7 +1507,7 @@
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of libsidplayfp 2.10.0:";;
+     short | recursive ) echo "Configuration of libsidplayfp 2.10.1:";;
    esac
   cat <<\_ACEOF
 
@@ -1652,7 +1652,7 @@
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-libsidplayfp configure 2.10.0
+libsidplayfp configure 2.10.1
 generated by GNU Autoconf 2.71
 
 Copyright (C) 2021 Free Software Foundation, Inc.
@@ -2411,7 +2411,7 @@
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by libsidplayfp $as_me 2.10.0, which was
+It was created by libsidplayfp $as_me 2.10.1, which was
 generated by GNU Autoconf 2.71.  Invocation command line was
 
   $ $0$ac_configure_args_raw
@@ -3901,7 +3901,7 @@
 
 # Define the identity of the package.
  PACKAGE='libsidplayfp'
- VERSION='2.10.0'
+ VERSION='2.10.1'
 
 
 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
@@ -4007,7 +4007,7 @@
 
 LIB_MAJOR=2
 LIB_MINOR=10
-LIB_LEVEL=0
+LIB_LEVEL=1
 
 
 
@@ -20740,7 +20740,7 @@
 # Increase the age value only if the changes made to the ABI are backward 
compatible.
 
 LIBSIDPLAYCUR=11
-LIBSIDPLAYREV=34
+LIBSIDPLAYREV=35
 LIBSIDPLAYAGE=5
 LIBSIDPLAYVERSION=$LIBSIDPLAYCUR:$LIBSIDPLAYREV:$LIBSIDPLAYAGE
 
@@ -23245,7 +23245,7 @@
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by libsidplayfp $as_me 2.10.0, which was
+This file was extended by libsidplayfp $as_me 2.10.1, which was
 generated by GNU Autoconf 2.71.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -23314,7 +23314,7 @@
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 ac_cs_config='$ac_cs_config_escaped'
 ac_cs_version="\\
-libsidplayfp config.status 2.10.0
+libsidplayfp config.status 2.10.1
 configured by $0, generated by GNU Autoconf 2.71,
   with options \\"\$ac_cs_config\\"
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsidplayfp-2.10.0/configure.ac 
new/libsidplayfp-2.10.1/configure.ac
--- old/libsidplayfp-2.10.0/configure.ac        2024-10-06 11:28:14.000000000 
+0200
+++ new/libsidplayfp-2.10.1/configure.ac        2024-10-20 11:22:32.000000000 
+0200
@@ -1,6 +1,6 @@
 m4_define([lib_major], [2])
 m4_define([lib_minor], [10])
-m4_define([lib_level], [0])
+m4_define([lib_level], [1])
 m4_define([lib_version], [lib_major.lib_minor.lib_level])
 
 AC_PREREQ([2.62])
@@ -102,7 +102,7 @@
 # Increase the age value only if the changes made to the ABI are backward 
compatible.
 
 LIBSIDPLAYCUR=11
-LIBSIDPLAYREV=34
+LIBSIDPLAYREV=35
 LIBSIDPLAYAGE=5
 LIBSIDPLAYVERSION=$LIBSIDPLAYCUR:$LIBSIDPLAYREV:$LIBSIDPLAYAGE
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/libsidplayfp-2.10.0/src/builders/residfp-builder/residfp/Filter.cpp 
new/libsidplayfp-2.10.1/src/builders/residfp-builder/residfp/Filter.cpp
--- old/libsidplayfp-2.10.0/src/builders/residfp-builder/residfp/Filter.cpp     
2024-10-06 11:28:14.000000000 +0200
+++ new/libsidplayfp-2.10.1/src/builders/residfp-builder/residfp/Filter.cpp     
2024-10-20 11:22:32.000000000 +0200
@@ -92,11 +92,11 @@
 }
 
 Filter::Filter(FilterModelConfig& fmc) :
-    fmc(fmc),
     mixer(fmc.getMixer()),
     summer(fmc.getSummer()),
     resonance(fmc.getResonance()),
-    volume(fmc.getVolume())
+    volume(fmc.getVolume()),
+    fmc(fmc)
 {
     input(0);
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/libsidplayfp-2.10.0/src/builders/residfp-builder/residfp/Filter.h 
new/libsidplayfp-2.10.1/src/builders/residfp-builder/residfp/Filter.h
--- old/libsidplayfp-2.10.0/src/builders/residfp-builder/residfp/Filter.h       
2024-10-06 11:28:14.000000000 +0200
+++ new/libsidplayfp-2.10.1/src/builders/residfp-builder/residfp/Filter.h       
2024-10-20 11:22:32.000000000 +0200
@@ -182,7 +182,7 @@
      *
      * @param input a signed 16 bit sample
      */
-    void input(int input) { Ve = fmc.getNormalizedVoice(input/65536.f); }
+    void input(short input) { Ve = fmc.getNormalizedVoice(input/32768.f); }
 };
 
 } // namespace reSIDfp
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/libsidplayfp-2.10.0/src/builders/residfp-builder/residfp/WaveformCalculator.cpp
 
new/libsidplayfp-2.10.1/src/builders/residfp-builder/residfp/WaveformCalculator.cpp
--- 
old/libsidplayfp-2.10.0/src/builders/residfp-builder/residfp/WaveformCalculator.cpp
 2024-10-06 11:28:14.000000000 +0200
+++ 
new/libsidplayfp-2.10.1/src/builders/residfp-builder/residfp/WaveformCalculator.cpp
 2024-10-20 11:22:32.000000000 +0200
@@ -186,11 +186,11 @@
  */
 short calculatePulldown(float distancetable[], float topbit, float 
pulsestrength, float threshold, unsigned int accumulator)
 {
-    unsigned char bit[12];
+    float bit[12];
 
     for (unsigned int i = 0; i < 12; i++)
     {
-        bit[i] = (accumulator & (1u << i)) != 0 ? 1 : 0;
+        bit[i] = (accumulator & (1u << i)) != 0 ? 1.f : 0.f;
     }
 
     bit[11] *= topbit;
@@ -207,7 +207,7 @@
             if (cb == sb)
                 continue;
             const float weight = distancetable[sb - cb + 12];
-            avg += static_cast<float>(1 - bit[cb]) * weight;
+            avg += (1.f - bit[cb]) * weight;
             n += weight;
         }
 
@@ -221,7 +221,7 @@
 
     for (unsigned int i = 0; i < 12; i++)
     {
-        const float bitValue = bit[i] != 0 ? 1.f - pulldown[i] : 0.f;
+        const float bitValue = bit[i] > 0.f ? 1.f - pulldown[i] : 0.f;
         if (bitValue > threshold)
         {
             value |= 1u << i;

Reply via email to