diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2013-04-12 11:31:50 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2013-04-12 11:31:50 -0400 |
commit | b05968fb4e303ce47b6e09cd1bc713f3af28a6f9 (patch) | |
tree | 7e4a86c49d608febc893eeb907c75450ae7cff65 /gtk2_ardour/crossfade_edit.cc | |
parent | e5a3747686e3f2ef5dd0f1549848c3021513724c (diff) |
change frames_per_pixel to samples_per_pixel
Diffstat (limited to 'gtk2_ardour/crossfade_edit.cc')
-rw-r--r-- | gtk2_ardour/crossfade_edit.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk2_ardour/crossfade_edit.cc b/gtk2_ardour/crossfade_edit.cc index 1db0438729..2382f89688 100644 --- a/gtk2_ardour/crossfade_edit.cc +++ b/gtk2_ardour/crossfade_edit.cc @@ -624,7 +624,7 @@ CrossfadeEditor::canvas_allocation (Gtk::Allocation& /*alloc*/) (*i)->set_y_position (yoff); (*i)->set_height (ht); - (*i)->set_frames_per_pixel (spu); + (*i)->set_samples_per_pixel (spu); } ht = canvas->get_allocation().get_height() / xfade->out()->n_channels(); @@ -636,7 +636,7 @@ CrossfadeEditor::canvas_allocation (Gtk::Allocation& /*alloc*/) (*i)->set_y_position (yoff); (*i)->set_height (ht); - (*i)->set_frames_per_pixel (spu); + (*i)->set_samples_per_pixel (spu); } } @@ -1170,7 +1170,7 @@ CrossfadeEditor::make_waves (boost::shared_ptr<AudioRegion> region, WhichFade wh waveview->set_x_position (canvas_border); waveview->set_y_position (yoff); waveview->set_height (ht); - waveview->set_frames_per_pixel (spu); + waveview->set_samples_per_pixel (spu); waveview->property_amplitude_above_axis() = 2.0; waveview->set_outline_color (color); waveview->set_fill_color (color); |