Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 490188 Details for
Bug 626586
media-sound/audacity-2.1.3-r1 error: ‘class Track’ has no member named ‘GetRate’
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Upstream patch
commit-bdb0790.patch (text/plain), 1.83 KB, created by
nE0sIghT
on 2017-08-23 03:31:01 UTC
(
hide
)
Description:
Upstream patch
Filename:
MIME Type:
Creator:
nE0sIghT
Created:
2017-08-23 03:31:01 UTC
Size:
1.83 KB
patch
obsolete
>From bdb0790150beb4abd61ea61612adb858c3b53a88 Mon Sep 17 00:00:00 2001 >From: Pokechu22 <Pokechu022@gmail.com> >Date: Sat, 18 Mar 2017 21:15:07 -0700 >Subject: Fix compiling when USE_MIDI not is defined > >Compilation broke in TrackPanel in ed277ec and in TrackpanelAx in a96c719c. > >diff --git a/src/TrackPanel.cpp b/src/TrackPanel.cpp >index 4db2b03f..c977175c 100644 >--- a/src/TrackPanel.cpp >+++ b/src/TrackPanel.cpp >@@ -3732,8 +3732,11 @@ void TrackPanel::DoSlide(wxMouseEvent & event) > #else > { > trySnap = true; >- desiredSlideAmount = rint(mouseTrack->GetRate() * desiredSlideAmount) / >- mouseTrack->GetRate(); // set it to a sample point >+ if (mouseTrack->GetKind() == Track::Wave) { >+ WaveTrack *mtw = (WaveTrack *)mouseTrack; >+ desiredSlideAmount = rint(mtw->GetRate() * desiredSlideAmount) / >+ mtw->GetRate(); // set it to a sample point >+ } > if (mSnapManager && mCapturedClip) { > clipLeft = mCapturedClip->GetStartTime() + desiredSlideAmount; > clipRight = mCapturedClip->GetEndTime() + desiredSlideAmount; >diff --git a/src/TrackPanelAx.cpp b/src/TrackPanelAx.cpp >index 145b7f3a..bf9a4ec7 100644 >--- a/src/TrackPanelAx.cpp >+++ b/src/TrackPanelAx.cpp >@@ -353,12 +353,14 @@ wxAccStatus TrackPanelAx::GetName( int childId, wxString* name ) > this is a Time track.*/ > name->Append( wxT(" ") + wxString(_("Time Track"))); > } >+#ifdef USE_MIDI > else if (t->GetKind() == Track::Note) > { > /* i18n-hint: This is for screen reader software and indicates that > this is a Note track.*/ > name->Append( wxT(" ") + wxString(_("Note Track"))); > } >+#endif > > // LLL: Remove these during "refactor" > if( t->GetMute() )
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 626586
:
487290
| 490188