diff options
Diffstat (limited to 'src/server/internals/Time.cpp')
-rw-r--r-- | src/server/internals/Time.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/internals/Time.cpp b/src/server/internals/Time.cpp index b03f427c..13f63538 100644 --- a/src/server/internals/Time.cpp +++ b/src/server/internals/Time.cpp @@ -42,7 +42,7 @@ TimeNode::TimeNode(InternalPlugin* plugin, bool polyphonic, GraphImpl* parent, SampleRate srate) - : BlockImpl(plugin, symbol, false, parent, srate) + : InternalBlock(plugin, symbol, false, parent, srate) { const Ingen::URIs& uris = bufs.uris(); _ports = new Raul::Array<PortImpl*>(1); @@ -60,7 +60,7 @@ void TimeNode::run(ProcessContext& context) { BufferRef buf = _notify_port->buffer(0); - LV2_Atom_Sequence* seq = (LV2_Atom_Sequence*)buf->atom(); + LV2_Atom_Sequence* seq = buf->get<LV2_Atom_Sequence>(); // Initialise output to the empty sequence seq->atom.type = _notify_port->bufs().uris().atom_Sequence; |