diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2013-04-12 11:15:45 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2013-04-12 11:15:45 -0400 |
commit | 4258a349121392516543486bd9de6f13fe3f3331 (patch) | |
tree | 3cd0c6b61a58e006483d0782326b43246d9eb55e /gtk2_ardour/editor_videotimeline.cc | |
parent | ecfd2a74552a45781e4d57a09e73313cd8815a4d (diff) |
change all frame_to_pixel and pixel_to_frame to sample_to_pixel and pixel_to_sample
Diffstat (limited to 'gtk2_ardour/editor_videotimeline.cc')
-rw-r--r-- | gtk2_ardour/editor_videotimeline.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk2_ardour/editor_videotimeline.cc b/gtk2_ardour/editor_videotimeline.cc index 4951a4e35a..574400c2d9 100644 --- a/gtk2_ardour/editor_videotimeline.cc +++ b/gtk2_ardour/editor_videotimeline.cc @@ -58,8 +58,8 @@ Editor::update_video_timeline (bool flush) #if DEBUG framepos_t rightmost_frame = leftmost_frame + current_page_frames(); std::cout << "VIDEO SCROLL: " << leftmost_frame << " -- " << rightmost_frame << std::endl; - std::cout << "SCROLL UNITS: " << frame_to_pixel(leftmost_frame) << " -- " << frame_to_pixel(rightmost_frame) - << " = " << frame_to_pixel(rightmost_frame) - frame_to_pixel(leftmost_frame) + std::cout << "SCROLL UNITS: " << sample_to_pixel(leftmost_frame) << " -- " << sample_to_pixel(rightmost_frame) + << " = " << sample_to_pixel(rightmost_frame) - sample_to_pixel(leftmost_frame) << std::endl; #endif |