From 30b087ab3d28f1585987fa3f6ae006562ae192e3 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Mon, 18 Sep 2017 12:39:17 -0400 Subject: globally change all use of "frame" to refer to audio into "sample". Generated by tools/f2s. Some hand-editing will be required in a few places to fix up comments related to timecode and video in order to keep the legible --- libs/surfaces/cc121/cc121.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libs/surfaces/cc121/cc121.cc') diff --git a/libs/surfaces/cc121/cc121.cc b/libs/surfaces/cc121/cc121.cc index 8a8cfb6597..ac4acf3439 100644 --- a/libs/surfaces/cc121/cc121.cc +++ b/libs/surfaces/cc121/cc121.cc @@ -309,7 +309,7 @@ CC121::button_press_handler (MIDI::Parser &, MIDI::EventTwoBytes* tb) if (_current_stripable) { boost::shared_ptr gain = _current_stripable->gain_control (); if (gain) { - framepos_t now = session->engine().sample_time(); + samplepos_t now = session->engine().sample_time(); gain->start_touch (now); } } @@ -356,7 +356,7 @@ CC121::button_release_handler (MIDI::Parser &, MIDI::EventTwoBytes* tb) if (_current_stripable) { boost::shared_ptr gain = _current_stripable->gain_control (); if (gain) { - framepos_t now = session->engine().sample_time(); + samplepos_t now = session->engine().sample_time(); gain->stop_touch (now); } } @@ -694,7 +694,7 @@ CC121::midi_input_handler (Glib::IOCondition ioc, boost::shared_ptrclear (); DEBUG_TRACE (DEBUG::CC121, string_compose ("data available on %1\n", boost::shared_ptr(port)->name())); - framepos_t now = session->engine().sample_time(); + samplepos_t now = session->engine().sample_time(); port->parse (now); } -- cgit v1.2.3