--- a/src/TrackPanel.cpp +++ a/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; --- a/src/TrackPanelAx.cpp +++ a/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() )