summaryrefslogtreecommitdiff
path: root/gtk2_ardour/latency_gui.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2010-09-17 18:20:37 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2010-09-17 18:20:37 +0000
commitede4ecbb00ecc866c502454c81e711baea780ccd (patch)
treed4a05e59cc96651ddf0eeab929f58fb7a7019fb0 /gtk2_ardour/latency_gui.cc
parent10bdce85a0e7381d1b5db38e3640600c6fd3ec79 (diff)
megaopus patch #2 for today: remove nframes64_t and sframes_t from source
git-svn-id: svn://localhost/ardour2/branches/3.0@7792 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/latency_gui.cc')
-rw-r--r--gtk2_ardour/latency_gui.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk2_ardour/latency_gui.cc b/gtk2_ardour/latency_gui.cc
index 93b8be3ae7..87ca39326e 100644
--- a/gtk2_ardour/latency_gui.cc
+++ b/gtk2_ardour/latency_gui.cc
@@ -32,7 +32,7 @@ LatencyBarController::get_label (int&)
std::stringstream s;
if (nframes < (_latency_gui->sample_rate / 1000.0)) {
- s << ((nframes64_t) rint (nframes)) << " samples";
+ s << ((framepos_t) rint (nframes)) << " samples";
} else {
s << std::fixed << std::setprecision (2) << (nframes / (_latency_gui->sample_rate / 1000.0)) << " msecs";
}
@@ -40,7 +40,7 @@ LatencyBarController::get_label (int&)
return s.str ();
}
-LatencyGUI::LatencyGUI (Latent& l, nframes64_t sr, nframes64_t psz)
+LatencyGUI::LatencyGUI (Latent& l, framepos_t sr, framepos_t psz)
: _latent (l),
initial_value (_latent.signal_latency()),
sample_rate (sr),
@@ -95,7 +95,7 @@ LatencyGUI::LatencyGUI (Latent& l, nframes64_t sr, nframes64_t psz)
void
LatencyGUI::finish ()
{
- nframes64_t new_value = (nframes64_t) adjustment.get_value();
+ framepos_t new_value = (framepos_t) adjustment.get_value();
if (new_value != initial_value) {
_latent.set_user_latency (new_value);
}
@@ -140,7 +140,7 @@ LatencyGUI::change_latency_from_button (int dir)
}
}
-LatencyDialog::LatencyDialog (const std::string& title, Latent& l, nframes64_t sr, nframes64_t psz)
+LatencyDialog::LatencyDialog (const std::string& title, Latent& l, framepos_t sr, framepos_t psz)
: ArdourDialog (title, false, true),
lwidget (l, sr, psz)
{