1 #ifndef VRENDERTHREAD_H
2 #define VRENDERTHREAD_H
5 #include "virtualconsole.h"
6 #include "maxbuffers.h"
11 class VirtualVConsole
: public VirtualConsole
14 VirtualVConsole(RenderEngine
*renderengine
, VRender
*vrender
);
15 virtual ~VirtualVConsole();
17 // Create ptrs to input buffers
18 void new_input_buffer(int ring_buffer
);
19 void delete_input_buffer(int ring_buffer
);
20 int total_ring_buffers();
21 void get_playable_tracks();
22 VirtualNode
* new_toplevel_node(Track
*track
, Module
*module
, int track_number
);
24 int init_rendering(int duplicate
);
27 int stop_rendering(int duplicate
);
29 int process_buffer(int64_t input_position
); // start of buffer in project if forward / end of buffer if reverse
31 int send_last_output_buffer();
33 int64_t absolute_frame
; // absolute frame the buffer starts on
34 // Pointers to frames to read from disk. Single ring buffer