~ubuntu-branches/ubuntu/raring/audacity/raring-proposed

« back to all changes in this revision

Viewing changes to src/WaveClip.cpp

  • Committer: Package Import Robot
  • Author(s): Benjamin Drung
  • Date: 2012-02-29 01:26:22 UTC
  • mfrom: (1.4.8)
  • Revision ID: package-import@ubuntu.com-20120229012622-szk8s4v3qnvddfm3
Tags: 2.0.0~rc6-1
* New upstream release.
* Bump Standards-Version to 3.9.3, no changes needed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1255
1255
   if (mSequence->Paste(s0, pastedClip->mSequence))
1256
1256
   {
1257
1257
      MarkChanged();
1258
 
      mEnvelope->Paste((double)s0/mRate, pastedClip->mEnvelope);
 
1258
      mEnvelope->Paste((double)s0/mRate + mOffset, pastedClip->mEnvelope);
1259
1259
      mEnvelope->RemoveUnneededPoints();
1260
1260
      OffsetCutLines(t0, pastedClip->GetEndTime() - pastedClip->GetStartTime());
1261
1261