audacity/audacity-no_return_in_nonvoid.patch
Dave Plater 3bfb316f06 - Update to 3.6.0
- Remove mod-script-pipe-disable-rpath.patch - no need anymore.
Major changes
  * Master effects
  - Audacity now features master effects. Master effects are effects
    which apply to the entire project at once. More information can
    be found at Using master effects & realtime effects.
  * New compressor and limiter
  - A new compressor and limiter has been added, replacing the 
    previous versions. A gain reduction history has been added to
    these effects when they're used as a realtime effect.
  - Factory Presets suitable for a wide range of use cases for these
    effects have been provided by Vladislav Isaev and Marek Iwaszkiewicz,
    available via the Presets & Settings button.
  * New themes
  - Audacity now features new and improved dark and light themes.
    You can switch between themes via Preferences -> Interface.
  - The theme previously used still is around as the Classic theme,
    and themes even older than that can be optionally installed as
    custom themes[1] from here[2].
    Updated instructions on creating custom themes can be found here[3].
    [1]https://support.audacityteam.org/basics/customizing-audacity/using-themes#installing-custom-themes
    [2]https://github.com/LWinterberg/classicTheme
    [3]https://audacity.gitbook.io/dev/scripting/creating-custom-themes
  * Increased performance
  - Audacity is now quite a bit snappier than before, especially when
    working on larger projects and on larger screens.
Other changes
  * Added FFmpeg 7 support.
  * You now can paste audio files into Audacity using Ctrl+V.
  * Alternative waveform colors are now themeable by custom themes.
  * Removed the track name overlay preference and the "blend themes"
    preference.
  * Scripting: Added GetInfo: Type=Selection. (Thanks, Jonatã Bolzan Loss!)
  * Added an Extras > Export > Export Selected Audio option.
  * Import Raw: Added support for offsets larger than 2 GB.
  * Redesigned the "what's new" dialog.
  * Added an option to the View menu to show/hide RMS in waveforms.
  * OpenVINO AI effects can now be downloaded from audacityteam.org/download/openvino/
Bugfixes
  * #6340 When recording to a new track, the track is now scrolled
    back into view again.
  * #3825 The macro manager no longer shows parameterless actions
    as editable. (Thanks, Davi Nonnenmacher!)
  * #6138 Pressing Esc in some preference dialogs no longer saves them.
  * #4504 Fixed stray orange lines in the high contrast theme.
  * #5626 Fixed the quality slider for Ogg export on Linux. (Thanks, Devpriya Nalin!)
  * #6875 Fixed a bug which could open a project with the wrong sample rate.
  * Various compiler warning fixes and OpenBSD build fixes. (Thanks, Brad Smith!)

OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/audacity?expand=0&rev=222
2024-07-18 17:18:54 +00:00

43 lines
1.6 KiB
Diff

diff --git a/lib-src/libnyquist/nyquist/cmupv/src/cmupv.c b/lib-src/libnyquist/nyquist/cmupv/src/cmupv.c
index 8c1c7b5a8..e05c28dd9 100644
--- a/lib-src/libnyquist/nyquist/cmupv/src/cmupv.c
+++ b/lib-src/libnyquist/nyquist/cmupv/src/cmupv.c
@@ -600,6 +600,7 @@ double pv_get_effective_pos(Phase_vocoder x)
return -(pv->ratio * pv->fftsize / 2.0);
} // I can't think of any other case.
assert(FALSE);
+ return(0);
}
diff --git a/lib-src/libnyquist/nyquist/xlisp/xlbfun.c b/lib-src/libnyquist/nyquist/xlisp/xlbfun.c
index 37ab60479..f434a674d 100644
--- a/lib-src/libnyquist/nyquist/xlisp/xlbfun.c
+++ b/lib-src/libnyquist/nyquist/xlisp/xlbfun.c
@@ -603,7 +603,10 @@ LVAL xcleanup(void)
{
xllastarg();
xlcleanup();
- /* compiler might (wrongly) complain there is no return value */
+ /* this point will never be reached because xlcleanup() does a
+ longjmp(). The return is added to avoid false positive
+ error messages from static analyzers and compilers */
+ return (NIL);
}
/* xtoplevel - special form 'top-level' */
diff --git a/lib-src/portsmf/allegro.cpp b/lib-src/portsmf/allegro.cpp
index a87117e38..d4717855a 100644
--- a/lib-src/portsmf/allegro.cpp
+++ b/lib-src/portsmf/allegro.cpp
@@ -2905,6 +2905,9 @@ Alg_event_ptr &Alg_seq::operator[](int i)
tr++;
}
assert(false); // out of bounds
+ Alg_event_ptr ab_track;
+ return ab_track; // Fix false positive error: control reaches end of non-void function [-Werror=return-type]
+ // Ignores the assert A gcc bug?
}
#pragma warning(default: 4715)