1 #ifndef ARENDERTHREAD_H
2 #define ARENDERTHREAD_H
6 #include "filethread.inc" // RING_BUFFERS
7 #include "virtualconsole.h"
9 class VirtualAConsole
: public VirtualConsole
12 VirtualAConsole(RenderEngine
*renderengine
, ARender
*arender
);
13 virtual ~VirtualAConsole();
15 int set_transport(int reverse
, float speed
);
16 void get_playable_tracks();
19 int process_buffer(int buffer
,
21 int64_t input_position
,
22 int64_t absolute_position
);
24 int process_buffer(int64_t input_len
,
25 int64_t input_position
,
27 int64_t absolute_position
);
29 void process_asynchronous();
31 // set up virtual console and buffers
32 int init_rendering(int duplicate
);
33 // int build_virtual_console(int duplicate, int64_t current_position);
34 VirtualNode
* new_entry_node(Track
*track
,
38 // cause audio device to quit
39 int send_last_output_buffer();
41 // Temporary for audio rendering. This stores each track's output before it is
42 // mixed into the device buffer.
44 int output_allocation
;
54 // c-file-style: "linux"