forked from pool/audacity
This commit is contained in:
parent
0b14539428
commit
7ea39737b8
74
audacity-1.3.3-equalization.patch
Normal file
74
audacity-1.3.3-equalization.patch
Normal file
@ -0,0 +1,74 @@
|
|||||||
|
--- src/effects/Equalization.cpp
|
||||||
|
+++ src/effects/Equalization.cpp
|
||||||
|
@@ -321,6 +321,8 @@
|
||||||
|
}
|
||||||
|
gPrefs->Read(wxT("/CsPresets/EQDrawMode"), &mDrawMode, true);
|
||||||
|
gPrefs->Read(wxT("/CsPresets/EQInterp"), &mInterp, 0);
|
||||||
|
+
|
||||||
|
+ mPrompting = false;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@@ -358,7 +360,10 @@
|
||||||
|
// not required here - called automatically
|
||||||
|
// dlog.TransferDataToWindow();
|
||||||
|
dlog.CentreOnParent();
|
||||||
|
+
|
||||||
|
+ mPrompting = true;
|
||||||
|
dlog.ShowModal();
|
||||||
|
+ mPrompting = false;
|
||||||
|
|
||||||
|
if (!dlog.GetReturnCode())
|
||||||
|
return false;
|
||||||
|
@@ -419,7 +424,9 @@
|
||||||
|
|
||||||
|
bool EffectEqualization::Process()
|
||||||
|
{
|
||||||
|
- DontPromptUser();
|
||||||
|
+ if (!mPrompting) {
|
||||||
|
+ DontPromptUser();
|
||||||
|
+ }
|
||||||
|
TrackListIterator iter(mWaveTracks);
|
||||||
|
WaveTrack *track = (WaveTrack *) iter.First();
|
||||||
|
int count = 0;
|
||||||
|
@@ -601,7 +608,7 @@
|
||||||
|
mHeight = 0;
|
||||||
|
mLoFreq = loFreq;
|
||||||
|
mHiFreq = hiFreq;
|
||||||
|
- M = 0;
|
||||||
|
+ M = 21; // should be odd
|
||||||
|
mWindowSize = windowSize;
|
||||||
|
mFilterFuncR = filterFuncR;
|
||||||
|
mFilterFuncI = filterFuncI;
|
||||||
|
@@ -1333,7 +1340,7 @@
|
||||||
|
OnLinFreq(dummyEvent);
|
||||||
|
|
||||||
|
MSlider->SetValue((M-1)/2);
|
||||||
|
- M = 0; // force refresh in TransferDataFromWindow()
|
||||||
|
+ M = 21; // force refresh in TransferDataFromWindow()
|
||||||
|
|
||||||
|
dBMinSlider->SetValue((int)dBMin);
|
||||||
|
dBMin = 0; // force refresh in TransferDataFromWindow()
|
||||||
|
@@ -2530,11 +2537,11 @@
|
||||||
|
|
||||||
|
void EqualizationDialog::OnClear(wxCommandEvent &event)
|
||||||
|
{
|
||||||
|
+ EnvelopeUpdated();
|
||||||
|
mLogEnvelope->Flatten(0.);
|
||||||
|
mLogEnvelope->SetTrackLen(1.0);
|
||||||
|
mLinEnvelope->Flatten(0.);
|
||||||
|
mLinEnvelope->SetTrackLen(1.0);
|
||||||
|
- EnvelopeUpdated();
|
||||||
|
mPanel->RecalcRequired = true;
|
||||||
|
mPanel->Refresh(false);
|
||||||
|
if( !drawMode )
|
||||||
|
--- src/effects/Equalization.h
|
||||||
|
+++ src/effects/Equalization.h
|
||||||
|
@@ -124,6 +124,7 @@
|
||||||
|
double mdBMin;
|
||||||
|
bool mDrawMode;
|
||||||
|
int mInterp;
|
||||||
|
+ bool mPrompting;
|
||||||
|
|
||||||
|
public:
|
||||||
|
enum curveType {
|
File diff suppressed because it is too large
Load Diff
3
audacity-1.3.3-hu_update.patch.bz2
Normal file
3
audacity-1.3.3-hu_update.patch.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:8db4141f697814d62ec504801d5da5d8c5ce401d4a1a7b430324c2ee881bb219
|
||||||
|
size 51955
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Sep 19 13:04:11 CEST 2007 - prusnak@suse.cz
|
||||||
|
|
||||||
|
- fix broken Equalization effect (equalization.patch) [#326217]
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Aug 2 08:07:23 CEST 2007 - anosek@suse.cz
|
Thu Aug 2 08:07:23 CEST 2007 - anosek@suse.cz
|
||||||
|
|
||||||
|
@ -17,11 +17,11 @@ BuildRequires: SDL-devel flac-devel gcc-c++ glib-devel id3lib-devel jack-devel
|
|||||||
%define DISTRIBUTABLE 1
|
%define DISTRIBUTABLE 1
|
||||||
Summary: A Free, Cross-Platform Digital Audio Editor
|
Summary: A Free, Cross-Platform Digital Audio Editor
|
||||||
Version: 1.3.3
|
Version: 1.3.3
|
||||||
Release: 21
|
Release: 43
|
||||||
License: GPL v2 or later
|
License: GPL v2 or later
|
||||||
Group: Productivity/Multimedia/Sound/Editors and Convertors
|
Group: Productivity/Multimedia/Sound/Editors and Convertors
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
URL: http://audacity.sourceforge.net/
|
Url: http://audacity.sourceforge.net/
|
||||||
Source: %{name}-src-%{version}.tar.bz2
|
Source: %{name}-src-%{version}.tar.bz2
|
||||||
Source1: %{name}.desktop
|
Source1: %{name}.desktop
|
||||||
Source2: %{name}.png
|
Source2: %{name}.png
|
||||||
@ -34,7 +34,8 @@ Patch5: %{name}-%{version}-retval.patch
|
|||||||
Patch6: %{name}-%{version}-strict-aliasing.patch
|
Patch6: %{name}-%{version}-strict-aliasing.patch
|
||||||
Patch7: %{name}-%{version}-nosse.patch
|
Patch7: %{name}-%{version}-nosse.patch
|
||||||
Patch8: %{name}-%{version}-flac.patch
|
Patch8: %{name}-%{version}-flac.patch
|
||||||
Patch9: %{name}-%{version}-hu_update.patch
|
Patch9: %{name}-%{version}-hu_update.patch.bz2
|
||||||
|
Patch10: %{name}-%{version}-equalization.patch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Audacity is a program that manipulates digital audio wave forms. In
|
Audacity is a program that manipulates digital audio wave forms. In
|
||||||
@ -77,6 +78,7 @@ Authors:
|
|||||||
%endif
|
%endif
|
||||||
%patch8
|
%patch8
|
||||||
%patch9
|
%patch9
|
||||||
|
%patch10
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{?suse_update_config:%{suse_update_config -f . lib-src/*/.}}
|
%{?suse_update_config:%{suse_update_config -f . lib-src/*/.}}
|
||||||
@ -124,6 +126,8 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_datadir}/mime/packages/audacity.xml
|
%{_datadir}/mime/packages/audacity.xml
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Sep 19 2007 - prusnak@suse.cz
|
||||||
|
- fix broken Equalization effect (equalization.patch) [#326217]
|
||||||
* Thu Aug 02 2007 - anosek@suse.cz
|
* Thu Aug 02 2007 - anosek@suse.cz
|
||||||
- fixed Hungarian translation update [#295657] (hu_update.patch)
|
- fixed Hungarian translation update [#295657] (hu_update.patch)
|
||||||
* Thu Jun 21 2007 - sbrabec@suse.cz
|
* Thu Jun 21 2007 - sbrabec@suse.cz
|
||||||
|
Loading…
Reference in New Issue
Block a user