4 #include "cwindowgui.h"
6 #include "edlsession.h"
8 #include "mwindowgui.h"
9 #include "playtransport.h"
10 #include "trackcanvas.h"
11 #include "transportque.h"
13 // Playback engine for composite window
15 CPlayback::CPlayback(MWindow *mwindow, CWindow *cwindow, Canvas *output)
16 : PlaybackEngine(mwindow, output)
18 this->cwindow = cwindow;
21 int CPlayback::create_render_engine()
23 return PlaybackEngine::create_render_engine();
26 void CPlayback::init_cursor()
28 mwindow->gui->lock_window("CPlayback::init_cursor");
29 mwindow->gui->canvas->deactivate();
30 mwindow->gui->unlock_window();
31 cwindow->playback_cursor->start_playback(tracking_position);
34 void CPlayback::stop_cursor()
36 cwindow->playback_cursor->stop_playback();
40 int CPlayback::brender_available(long position)
42 return mwindow->brender_available(position);
47 // c-file-style: "linux"