[beast: 12/15] BEAST: use BseServer.tick_stamp_from_systime()
- From: Tim Janik <timj src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [beast: 12/15] BEAST: use BseServer.tick_stamp_from_systime()
- Date: Fri, 28 Oct 2016 11:17:39 +0000 (UTC)
commit 1ce59491e3c8496a166578a30db663123b9442d0
Author: Tim Janik <timj gnu org>
Date: Thu Oct 27 21:57:35 2016 +0200
BEAST: use BseServer.tick_stamp_from_systime()
Signed-off-by: Tim Janik <timj gnu org>
beast-gtk/bstwaveeditor.cc | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/beast-gtk/bstwaveeditor.cc b/beast-gtk/bstwaveeditor.cc
index 2ad236e..9766958 100644
--- a/beast-gtk/bstwaveeditor.cc
+++ b/beast-gtk/bstwaveeditor.cc
@@ -6,8 +6,6 @@
#include "bstmenus.hh"
#include <gdk/gdkkeysyms.h>
-extern "C" guint64 bse_engine_tick_stamp_from_systime (guint64 systime); // FIXME
-
enum {
SCROLL_NONE = 0,
SCROLL_BOTH = 3,
@@ -369,7 +367,7 @@ playback_marker (gpointer data)
self = BST_WAVE_EDITOR (data);
if (self->tick_stamp)
{
- SfiNum tick_now = bse_engine_tick_stamp_from_systime (sfi_time_system ()); // FIXME!!!
+ uint64 tick_now = bse_server.tick_stamp_from_systime (sfi_time_system ()); // FIXME!!!
guint pcm_pos = self->pcm_pos + (tick_now - self->tick_stamp) * self->pcm_per_tick;
self->ignore_playpos = TRUE;
gtk_adjustment_set_value (GTK_RANGE (self->qsampler_playpos)->adjustment,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]