audacity/audacity-no_return_in_nonvoid.patch

55 lines
2.0 KiB
Diff
Raw Normal View History

Accepting request 1011228 from multimedia:proaudio - No more bundled custom wxWidgets, so remove them from the .spec completely - Fix build for Leap 15.3 - update spec, install audacity libs into _libdir/audacity - update build deps - no need for carla - don't create lame.pc - use %cmake_build - add patch: mod-script-pipe-disable-rpath.patch - update audacity-rpmlintrc - remove patches, now upstream: 0001-Call-the-proper-wxBitmap-constructor-for-XPM-data.patch 0001-Remove-custom-languages-in-wx-3.1.6-and-above.patch missing-include.patch - refresh patches: audacity-no_buildstamp.patch audacity-no_return_in_nonvoid.patch no-more-strip.patch - update licenses - Update to 3.2.1 Changes in version 3.2.1 This is a patch release. It fixes some bugs and has minor improvements. * #3686 Fixed Audacity crashing on startup on some systems. * #3694 Fixed a crash when applying Waves Berzerk Distortion Mono to a mono track * #3699 Fixed a freeze when very quickly starting and stopping playback. * #3747 macOS: Homebrew FFmpeg installs are now found automatically * #3594 macOS: Fixed Melda VST Plugin UI * #3474 Building with VST3 support is now possible without Conan. Changes in version 3.2.0 This version adds realtime effects and VST3. Prominent changes * Added a new Effects button to the tracks menu, allowing you to place realtime effects. Further information can be found can be found on https://support.audacityteam.org/audio-editing/using-realtime-effects * Merged the mixer bar with the meter bars. * Added a new Audio Setup button, replacing the Device Toolbar by default. The device toolbar can be re-added via the View > Toolbars menu. * The Effects menu has gotten a new sorting. Other sorting and grouping options can be found in the Effects preferences. * Updated the icons. * Added a quick audio sharing feature. More info can be found on https://support.audacityteam.org/basics/sharing-audio-online Plugin changes You can find plugins on https://plugins.audacityteam.org * VST3 effects are now supported. * The following plugin formats are now realtime capable: VST3, LV2, LADSPA, Audio Units. * Plugins now automatically get scanned, tested and enabled when Audacity starts. System changes * Apple Silicon (arm64) is now supported on macOS Note: When using an arm64 Audacity, you must use arm64 versions of FFMPEG and plugins. Plugins for x86-64 (Intel macs) will not load. For the time being, Audacity will continue to download x86-64 versions by default to avoid these incompatibilities, but you can download an arm64 version from Github releases: https://github.com/audacity/audacity/releases * FFMPEG 5.0 (avformat 59) is now supported, in addition to avformat 55, 57 and 58 * Added support for Wavpack * On Linux, Audacity can now be compiled without JACK present. * Audacity now uses XDG directories on Linux. Note: If you are upgrading from a previous version, Audacity will keep using the ~/.audacity-data and ~/.audacity folders until you delete them. * Switched from mad to mpg123 as MP3 importer License update * Audacity binaries are now licensed under the GNU General Public License, Version 3. Most code files remain GPLv2-or-later, but VST3 support required this license update. More information can be found in the announcement post: https://github.com/audacity/audacity/discussions/2142 Removals * Removed the Zoom Tool. You can use the zoom buttons or Ctrl+Scroll (macOS: Cmd+Scroll) to zoom instead. * The Audacity Manual HTML pages are no longer included in the installation. If you require offline access of the manual, you can download it here: https://github.com/audacity/audacity-manual/releases You also can download PDFs of https://support.audacityteam.org straight from its sidebar (or the three-dot button on mobile devices). Fixed bugs: * #3079 Fixed Audacity sometimes not being able to import MP3 files (or reporting Huffman Data Overruns) * #2590 Fixed rare data loss bug when placing labels during recording * #2272 Fixed clip titles being able to disappear off-screen when editing them * #2162 Fixed Punch and Roll not paying tracks in sync * #1889 Fixed clip titles changing name when applying some effects * #1624 During batch processing, Audacity will no longer stop to ask for a sample rate when an unsupported one is chosen, but choose the nearest supported one instead. * #2265 Fixed mod-script-pipe not being installed on Linux * #3571 Fixed GTK packaging in Appimages. This fixes various issues with icons, dropdowns and similar things not appearing properly. * #3634 Improved M4A/AAC support. Previously the target bitrate was not honored at all, now it can be set between 98 and 160 kbit/s (mono) or 196 and 320 kbit/s (stereo). The UI does not yet reflect these limits. OBS-URL: https://build.opensuse.org/request/show/1011228 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/audacity?expand=0&rev=190
2022-10-16 16:17:35 +02:00
diff --git a/lib-src/libnyquist/nyquist/cmupv/src/cmupv.c b/lib-src/libnyquist/nyquist/cmupv/src/cmupv.c
index 8c1c7b5..e05c28d 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);
Accepting request 539111 from home:alois:branches:multimedia:apps - Update to version 2.2.0 Improvements: * Four Selectable themes provided, with new 'Light' theme as default, plus option to customize * Many menu changes: + Menus Reorganized + Extended menu bar provided + New keyboard commands for working with clips * Help buttons ? in Preferences, Effects, Generators and Analyzers - and other places * Non-Greying out of effects when no selection (and explanatory dialog with help button) * Playback of MIDI (and Allegro) files imported into Note Tracks is now available. * 'Center' option in Selection Toolbar * Stem plots * Major overhaul to documentation/manual including many new images and streamlined text on landing pages for in-program help. Other Changes: * Append-record is now the default (use Shift + Record for old behavior, to record on a new track) * The Esc key now cancels all click-and-drag actions. It also chooses among overlapping mouse click targets, which is especially useful in the Multi-Tool. * Sync-Lock button removed (use menu item or keyboard shortcut instead) * New preferences and preference pages * Overhaul of much code: + Overhaul of envelope handling code to deal with some anomalies + Overhaul of exception handling for greater safety * New Logo Bug Fixes: * Major work on bug fixing. 198 bugs that were in 2.1.3 fixed for 2.2.0. + The most serious bug fixed this time round was bug 437 which was about what happens when Audacity is recording and runs out of storage. + The problems of incomplete support for macOs Sierra have been resolved (including bug 290, bug 1567, bug 1702, and bug 1703). + Most of the bugs fixed were more minor, such as bug 463 which was about a case in which the numbering on the timeline could display incorrect times. - Added audacity-no_return_in_nonvoid.patch OBS-URL: https://build.opensuse.org/request/show/539111 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/audacity?expand=0&rev=109
2017-11-05 11:39:39 +01:00
}
Accepting request 1011228 from multimedia:proaudio - No more bundled custom wxWidgets, so remove them from the .spec completely - Fix build for Leap 15.3 - update spec, install audacity libs into _libdir/audacity - update build deps - no need for carla - don't create lame.pc - use %cmake_build - add patch: mod-script-pipe-disable-rpath.patch - update audacity-rpmlintrc - remove patches, now upstream: 0001-Call-the-proper-wxBitmap-constructor-for-XPM-data.patch 0001-Remove-custom-languages-in-wx-3.1.6-and-above.patch missing-include.patch - refresh patches: audacity-no_buildstamp.patch audacity-no_return_in_nonvoid.patch no-more-strip.patch - update licenses - Update to 3.2.1 Changes in version 3.2.1 This is a patch release. It fixes some bugs and has minor improvements. * #3686 Fixed Audacity crashing on startup on some systems. * #3694 Fixed a crash when applying Waves Berzerk Distortion Mono to a mono track * #3699 Fixed a freeze when very quickly starting and stopping playback. * #3747 macOS: Homebrew FFmpeg installs are now found automatically * #3594 macOS: Fixed Melda VST Plugin UI * #3474 Building with VST3 support is now possible without Conan. Changes in version 3.2.0 This version adds realtime effects and VST3. Prominent changes * Added a new Effects button to the tracks menu, allowing you to place realtime effects. Further information can be found can be found on https://support.audacityteam.org/audio-editing/using-realtime-effects * Merged the mixer bar with the meter bars. * Added a new Audio Setup button, replacing the Device Toolbar by default. The device toolbar can be re-added via the View > Toolbars menu. * The Effects menu has gotten a new sorting. Other sorting and grouping options can be found in the Effects preferences. * Updated the icons. * Added a quick audio sharing feature. More info can be found on https://support.audacityteam.org/basics/sharing-audio-online Plugin changes You can find plugins on https://plugins.audacityteam.org * VST3 effects are now supported. * The following plugin formats are now realtime capable: VST3, LV2, LADSPA, Audio Units. * Plugins now automatically get scanned, tested and enabled when Audacity starts. System changes * Apple Silicon (arm64) is now supported on macOS Note: When using an arm64 Audacity, you must use arm64 versions of FFMPEG and plugins. Plugins for x86-64 (Intel macs) will not load. For the time being, Audacity will continue to download x86-64 versions by default to avoid these incompatibilities, but you can download an arm64 version from Github releases: https://github.com/audacity/audacity/releases * FFMPEG 5.0 (avformat 59) is now supported, in addition to avformat 55, 57 and 58 * Added support for Wavpack * On Linux, Audacity can now be compiled without JACK present. * Audacity now uses XDG directories on Linux. Note: If you are upgrading from a previous version, Audacity will keep using the ~/.audacity-data and ~/.audacity folders until you delete them. * Switched from mad to mpg123 as MP3 importer License update * Audacity binaries are now licensed under the GNU General Public License, Version 3. Most code files remain GPLv2-or-later, but VST3 support required this license update. More information can be found in the announcement post: https://github.com/audacity/audacity/discussions/2142 Removals * Removed the Zoom Tool. You can use the zoom buttons or Ctrl+Scroll (macOS: Cmd+Scroll) to zoom instead. * The Audacity Manual HTML pages are no longer included in the installation. If you require offline access of the manual, you can download it here: https://github.com/audacity/audacity-manual/releases You also can download PDFs of https://support.audacityteam.org straight from its sidebar (or the three-dot button on mobile devices). Fixed bugs: * #3079 Fixed Audacity sometimes not being able to import MP3 files (or reporting Huffman Data Overruns) * #2590 Fixed rare data loss bug when placing labels during recording * #2272 Fixed clip titles being able to disappear off-screen when editing them * #2162 Fixed Punch and Roll not paying tracks in sync * #1889 Fixed clip titles changing name when applying some effects * #1624 During batch processing, Audacity will no longer stop to ask for a sample rate when an unsupported one is chosen, but choose the nearest supported one instead. * #2265 Fixed mod-script-pipe not being installed on Linux * #3571 Fixed GTK packaging in Appimages. This fixes various issues with icons, dropdowns and similar things not appearing properly. * #3634 Improved M4A/AAC support. Previously the target bitrate was not honored at all, now it can be set between 98 and 160 kbit/s (mono) or 196 and 320 kbit/s (stereo). The UI does not yet reflect these limits. OBS-URL: https://build.opensuse.org/request/show/1011228 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/audacity?expand=0&rev=190
2022-10-16 16:17:35 +02:00
diff --git a/lib-src/libnyquist/nyquist/xlisp/xlbfun.c b/lib-src/libnyquist/nyquist/xlisp/xlbfun.c
index 37ab604..f434a67 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' */
Accepting request 1011228 from multimedia:proaudio - No more bundled custom wxWidgets, so remove them from the .spec completely - Fix build for Leap 15.3 - update spec, install audacity libs into _libdir/audacity - update build deps - no need for carla - don't create lame.pc - use %cmake_build - add patch: mod-script-pipe-disable-rpath.patch - update audacity-rpmlintrc - remove patches, now upstream: 0001-Call-the-proper-wxBitmap-constructor-for-XPM-data.patch 0001-Remove-custom-languages-in-wx-3.1.6-and-above.patch missing-include.patch - refresh patches: audacity-no_buildstamp.patch audacity-no_return_in_nonvoid.patch no-more-strip.patch - update licenses - Update to 3.2.1 Changes in version 3.2.1 This is a patch release. It fixes some bugs and has minor improvements. * #3686 Fixed Audacity crashing on startup on some systems. * #3694 Fixed a crash when applying Waves Berzerk Distortion Mono to a mono track * #3699 Fixed a freeze when very quickly starting and stopping playback. * #3747 macOS: Homebrew FFmpeg installs are now found automatically * #3594 macOS: Fixed Melda VST Plugin UI * #3474 Building with VST3 support is now possible without Conan. Changes in version 3.2.0 This version adds realtime effects and VST3. Prominent changes * Added a new Effects button to the tracks menu, allowing you to place realtime effects. Further information can be found can be found on https://support.audacityteam.org/audio-editing/using-realtime-effects * Merged the mixer bar with the meter bars. * Added a new Audio Setup button, replacing the Device Toolbar by default. The device toolbar can be re-added via the View > Toolbars menu. * The Effects menu has gotten a new sorting. Other sorting and grouping options can be found in the Effects preferences. * Updated the icons. * Added a quick audio sharing feature. More info can be found on https://support.audacityteam.org/basics/sharing-audio-online Plugin changes You can find plugins on https://plugins.audacityteam.org * VST3 effects are now supported. * The following plugin formats are now realtime capable: VST3, LV2, LADSPA, Audio Units. * Plugins now automatically get scanned, tested and enabled when Audacity starts. System changes * Apple Silicon (arm64) is now supported on macOS Note: When using an arm64 Audacity, you must use arm64 versions of FFMPEG and plugins. Plugins for x86-64 (Intel macs) will not load. For the time being, Audacity will continue to download x86-64 versions by default to avoid these incompatibilities, but you can download an arm64 version from Github releases: https://github.com/audacity/audacity/releases * FFMPEG 5.0 (avformat 59) is now supported, in addition to avformat 55, 57 and 58 * Added support for Wavpack * On Linux, Audacity can now be compiled without JACK present. * Audacity now uses XDG directories on Linux. Note: If you are upgrading from a previous version, Audacity will keep using the ~/.audacity-data and ~/.audacity folders until you delete them. * Switched from mad to mpg123 as MP3 importer License update * Audacity binaries are now licensed under the GNU General Public License, Version 3. Most code files remain GPLv2-or-later, but VST3 support required this license update. More information can be found in the announcement post: https://github.com/audacity/audacity/discussions/2142 Removals * Removed the Zoom Tool. You can use the zoom buttons or Ctrl+Scroll (macOS: Cmd+Scroll) to zoom instead. * The Audacity Manual HTML pages are no longer included in the installation. If you require offline access of the manual, you can download it here: https://github.com/audacity/audacity-manual/releases You also can download PDFs of https://support.audacityteam.org straight from its sidebar (or the three-dot button on mobile devices). Fixed bugs: * #3079 Fixed Audacity sometimes not being able to import MP3 files (or reporting Huffman Data Overruns) * #2590 Fixed rare data loss bug when placing labels during recording * #2272 Fixed clip titles being able to disappear off-screen when editing them * #2162 Fixed Punch and Roll not paying tracks in sync * #1889 Fixed clip titles changing name when applying some effects * #1624 During batch processing, Audacity will no longer stop to ask for a sample rate when an unsupported one is chosen, but choose the nearest supported one instead. * #2265 Fixed mod-script-pipe not being installed on Linux * #3571 Fixed GTK packaging in Appimages. This fixes various issues with icons, dropdowns and similar things not appearing properly. * #3634 Improved M4A/AAC support. Previously the target bitrate was not honored at all, now it can be set between 98 and 160 kbit/s (mono) or 196 and 320 kbit/s (stereo). The UI does not yet reflect these limits. OBS-URL: https://build.opensuse.org/request/show/1011228 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/audacity?expand=0&rev=190
2022-10-16 16:17:35 +02:00
diff --git a/lib-src/portsmf/allegro.cpp b/lib-src/portsmf/allegro.cpp
index a87117e..d471785 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)
Accepting request 1011228 from multimedia:proaudio - No more bundled custom wxWidgets, so remove them from the .spec completely - Fix build for Leap 15.3 - update spec, install audacity libs into _libdir/audacity - update build deps - no need for carla - don't create lame.pc - use %cmake_build - add patch: mod-script-pipe-disable-rpath.patch - update audacity-rpmlintrc - remove patches, now upstream: 0001-Call-the-proper-wxBitmap-constructor-for-XPM-data.patch 0001-Remove-custom-languages-in-wx-3.1.6-and-above.patch missing-include.patch - refresh patches: audacity-no_buildstamp.patch audacity-no_return_in_nonvoid.patch no-more-strip.patch - update licenses - Update to 3.2.1 Changes in version 3.2.1 This is a patch release. It fixes some bugs and has minor improvements. * #3686 Fixed Audacity crashing on startup on some systems. * #3694 Fixed a crash when applying Waves Berzerk Distortion Mono to a mono track * #3699 Fixed a freeze when very quickly starting and stopping playback. * #3747 macOS: Homebrew FFmpeg installs are now found automatically * #3594 macOS: Fixed Melda VST Plugin UI * #3474 Building with VST3 support is now possible without Conan. Changes in version 3.2.0 This version adds realtime effects and VST3. Prominent changes * Added a new Effects button to the tracks menu, allowing you to place realtime effects. Further information can be found can be found on https://support.audacityteam.org/audio-editing/using-realtime-effects * Merged the mixer bar with the meter bars. * Added a new Audio Setup button, replacing the Device Toolbar by default. The device toolbar can be re-added via the View > Toolbars menu. * The Effects menu has gotten a new sorting. Other sorting and grouping options can be found in the Effects preferences. * Updated the icons. * Added a quick audio sharing feature. More info can be found on https://support.audacityteam.org/basics/sharing-audio-online Plugin changes You can find plugins on https://plugins.audacityteam.org * VST3 effects are now supported. * The following plugin formats are now realtime capable: VST3, LV2, LADSPA, Audio Units. * Plugins now automatically get scanned, tested and enabled when Audacity starts. System changes * Apple Silicon (arm64) is now supported on macOS Note: When using an arm64 Audacity, you must use arm64 versions of FFMPEG and plugins. Plugins for x86-64 (Intel macs) will not load. For the time being, Audacity will continue to download x86-64 versions by default to avoid these incompatibilities, but you can download an arm64 version from Github releases: https://github.com/audacity/audacity/releases * FFMPEG 5.0 (avformat 59) is now supported, in addition to avformat 55, 57 and 58 * Added support for Wavpack * On Linux, Audacity can now be compiled without JACK present. * Audacity now uses XDG directories on Linux. Note: If you are upgrading from a previous version, Audacity will keep using the ~/.audacity-data and ~/.audacity folders until you delete them. * Switched from mad to mpg123 as MP3 importer License update * Audacity binaries are now licensed under the GNU General Public License, Version 3. Most code files remain GPLv2-or-later, but VST3 support required this license update. More information can be found in the announcement post: https://github.com/audacity/audacity/discussions/2142 Removals * Removed the Zoom Tool. You can use the zoom buttons or Ctrl+Scroll (macOS: Cmd+Scroll) to zoom instead. * The Audacity Manual HTML pages are no longer included in the installation. If you require offline access of the manual, you can download it here: https://github.com/audacity/audacity-manual/releases You also can download PDFs of https://support.audacityteam.org straight from its sidebar (or the three-dot button on mobile devices). Fixed bugs: * #3079 Fixed Audacity sometimes not being able to import MP3 files (or reporting Huffman Data Overruns) * #2590 Fixed rare data loss bug when placing labels during recording * #2272 Fixed clip titles being able to disappear off-screen when editing them * #2162 Fixed Punch and Roll not paying tracks in sync * #1889 Fixed clip titles changing name when applying some effects * #1624 During batch processing, Audacity will no longer stop to ask for a sample rate when an unsupported one is chosen, but choose the nearest supported one instead. * #2265 Fixed mod-script-pipe not being installed on Linux * #3571 Fixed GTK packaging in Appimages. This fixes various issues with icons, dropdowns and similar things not appearing properly. * #3634 Improved M4A/AAC support. Previously the target bitrate was not honored at all, now it can be set between 98 and 160 kbit/s (mono) or 196 and 320 kbit/s (stereo). The UI does not yet reflect these limits. OBS-URL: https://build.opensuse.org/request/show/1011228 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/audacity?expand=0&rev=190
2022-10-16 16:17:35 +02:00
diff --git a/src/widgets/NumericTextCtrl.cpp b/src/widgets/NumericTextCtrl.cpp
index 9bd57e2..0e46c96 100644
--- a/src/widgets/NumericTextCtrl.cpp
+++ b/src/widgets/NumericTextCtrl.cpp
@@ -679,6 +679,7 @@ static const BuiltinFormatString BandwidthConverterFormats_[] = {
case NumericConverter::BANDWIDTH:
return WXSIZEOF(BandwidthConverterFormats_);
}
+ return WXSIZEOF(BandwidthConverterFormats_);
}
}