SHA256
1
0
forked from pool/audacity

Accepting request 97213 from home:drcux

update to 1.3.14

OBS-URL: https://build.opensuse.org/request/show/97213
OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/audacity?expand=0&rev=58
This commit is contained in:
Pavol Rusnak 2012-01-03 12:23:15 +00:00 committed by Git OBS Bridge
parent 6e5edd0f51
commit 7e271640af
5 changed files with 62 additions and 91 deletions

View File

@ -1,82 +0,0 @@
--- src/widgets/ProgressDialog.cpp 2011-04-07 01:35:50.000000000 +0200
+++ src/widgets/ProgressDialog.cpp 2011-09-04 21:49:20.956000014 +0200
@@ -1338,7 +1338,14 @@
int
ProgressDialog::Update(wxULongLong_t current, wxULongLong_t total, const wxString & message)
{
- return Update((int)(current * 1000 / total), message);
+ if (total != 0)
+ {
+ return Update((int)(current * 1000 / total), message);
+ }
+ else
+ {
+ return Update(1000, message);
+ }
}
//
@@ -1347,7 +1354,14 @@
int
ProgressDialog::Update(wxLongLong current, wxLongLong total, const wxString & message)
{
- return Update((int)(current.GetValue() * 1000ll / total.GetValue()), message);
+ if (total.GetValue() != 0)
+ {
+ return Update((int)(current.GetValue() * 1000ll / total.GetValue()), message);
+ }
+ else
+ {
+ return Update(1000, message);
+ }
}
//
@@ -1356,7 +1370,14 @@
int
ProgressDialog::Update(wxLongLong_t current, wxLongLong_t total, const wxString & message)
{
- return Update((int)(current * 1000ll / total), message);
+ if (total != 0)
+ {
+ return Update((int)(current * 1000ll / total), message);
+ }
+ else
+ {
+ return Update(1000, message);
+ }
}
//
@@ -1365,7 +1386,14 @@
int
ProgressDialog::Update(int current, int total, const wxString & message)
{
- return Update((int)(current * ((double)(1000.0 / total))), message);
+ if (total != 0)
+ {
+ return Update((int)(current * ((double)(1000.0 / total))), message);
+ }
+ else
+ {
+ return Update(1000, message);
+ }
}
//
@@ -1374,7 +1402,14 @@
int
ProgressDialog::Update(double current, double total, const wxString & message)
{
- return Update((int)(current * 1000.0 / total), message);
+ if (total != 0)
+ {
+ return Update((int)(current * 1000.0 / total), message);
+ }
+ else
+ {
+ return Update(1000, message);
+ }
}
//

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4c2eda638e16e16dfddd202e86ccbe1d170b04c26cfb2c12ffcba0b79e7e1e83
size 6450901

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:35990403cf078b862e7c839c73e5ef5f6b5160de1e3ccbd846e6153883194ab2
size 6595572

View File

@ -1,3 +1,59 @@
-------------------------------------------------------------------
Tue Dec 20 00:00:00 CET 2011 - detlef@links2linux.de
- Update to version 1.3.14
* Bug fixes for:
- Interface:
- Excessive delay occurred when typing into labels in long projects.
- Last digit of TimeText controls could not be manipulated in some formats.
- (Windows, OS X) Play and Record shortcuts did not work after clicking in
Device Toolbar.
- (OS X, Linux) Crash occurred if Toolbars were reset during playback or
recording.
- Imports and Exports:
- MP2 files were not importable without FFmpeg library or an import rule.
- Files that could only be imported using FFmpeg imported as noise with
no error message if FFmpeg was not available.
- Files containing PCM audio but an incorrect extension (such as MP3)
caused a freeze.
- Effects and Analysis:
- An empty command could be added to a Chain which then displayed a
Nyquist error message when run.
- Plot Spectrum didn't preserve signal level if multiple tracks were
analyzed.
- Other bug fixes:
- Audacity has been provisionally fixed so that it can no longer create
block files longer than the sample format or project format allows,
and can no longer delete these, which led to data loss. Any overlong
blocks found are preserved but "orphaned", so will appear as silence.
- Orphan block files were wrongly reported if cutting or copying to
the clipboard then reopening the project in the same session.
- Fixed some crashes and incorrect movement of audio when dragging tracks.
- (Windows) Data loss is now prevented when encountering a corrupted
.aup file created in ANSI builds.
- (Linux) Restore building if USE_PORTMIXER is not defined.
* Changes and Improvements:
- Normalize: Faster processing and improved interface. Left-right balance
in unsplit stereo tracks is now preserved by default, with a checkbox
option provided to process stereo channels independently.
- Spectrograms now allow window sizes up to 32768 and frequencies up to
half the sample rate (the maximum possible).
- Mix and Render now preserves clip length by not rendering white space
between time zero and first audio, and preserves audio before time zero.
To retain silence before the audio starts, generate silence after render.
- Grouped some Edit Menu items into "Remove Audio" and "Clip Boundaries".
- CleanSpeech Mode removed from Interface Preferences (it still runs if it
was enabled in a previous Audacity but can only be turned off there).
- (OS X) Added support for AudioUnit MusicEffects (but no MIDI support).
- (Linux) Set the per-user files directory per the program name set in
configure.
- (Linux) Changed the default location of the Audacity temporary directory
to be in /var/tmp not /tmp, so preserving the directory between reboots.
-------------------------------------------------------------------
Sat Sep 17 13:34:29 UTC 2011 - jengelh@medozas.de

View File

@ -53,9 +53,9 @@ BuildRequires: libmad-devel
%if %{with twolame}
BuildRequires: libtwolame-devel
%endif
Version: 1.3.13
Release: 4
License: GPLv2+
Version: 1.3.14
Release: 1
License: GPL-2.0+
Summary: A Free, Cross-Platform Digital Audio Editor
Url: http://audacity.sourceforge.net/
Group: Productivity/Multimedia/Sound/Editors and Convertors
@ -64,8 +64,6 @@ Source1: %{name}.png
Source2: %{name}-license-nyquist
# PATCH-FIX-OPENSUSE %{name}-no_buildstamp.patch reddwarf@opensuse.org -- this patch removes the buildstamp
Patch0: %{name}-no_buildstamp.patch
# PATCH-FIX-UPSTREAM %{name}-1.3.13-div_by_zero_fix.patch mseben@gmail.com -- fix crash (bnc#711737), fix already in upstream svn
Patch1: %{name}-1.3.13-div_by_zero_fix.patch
Patch16: %{name}-implicit.patch
# PATCH-FIX-UPSTREAM %{name}-1.3.13-ffmpeg.patch reddwarf@opensuse.org -- make it compile against latest ffmpeg
Patch17: %{name}-1.3.13-ffmpeg.patch
@ -85,7 +83,6 @@ physical memory size of your computer.
%prep
%setup -q -n %{name}-src-%{version}-beta
%patch0
%patch1
%patch16
%if %{with ffmpeg}
%patch17 -p1