1 #ifndef VRENDERTHREAD_H
2 #define VRENDERTHREAD_H
5 #include "maxbuffers.h"
7 #include "videodevice.inc"
8 #include "virtualconsole.h"
12 class VirtualVConsole
: public VirtualConsole
15 VirtualVConsole(RenderEngine
*renderengine
, VRender
*vrender
);
16 virtual ~VirtualVConsole();
18 // Create ptrs to input buffers
20 * void new_input_buffer(int ring_buffer);
21 * void delete_input_buffer(int ring_buffer);
22 * int total_ring_buffers();
24 void get_playable_tracks();
25 VirtualNode
* new_entry_node(Track
*track
,
29 VDeviceBase
* get_vdriver();
32 // start_position - start of buffer in project if forward. end of buffer if reverse
33 int process_buffer(int64_t input_position
);
35 // absolute frame the buffer starts on
36 int64_t absolute_frame
;
40 // Calculated at the start of every process_buffer