00001 #ifndef AATTACHMENTPOINT_H 00002 #define AATTACHMENTPOINT_H 00003 00004 00005 #include "attachmentpoint.h" 00006 00007 class AAttachmentPoint : public AttachmentPoint 00008 { 00009 public: 00010 AAttachmentPoint(RenderEngine *renderengine, Plugin *plugin); 00011 ~AAttachmentPoint(); 00012 00013 void delete_buffer_vector(); 00014 void new_buffer_vector(int total, int size); 00015 void render(double *output, 00016 int buffer_number, 00017 int64_t start_position, 00018 int64_t len, 00019 int64_t sample_rate); 00020 void dispatch_plugin_server(int buffer_number, 00021 long current_position, 00022 long fragment_size); 00023 int get_buffer_size(); 00024 00025 // Storage for multichannel plugins 00026 double **buffer_vector; 00027 int buffer_allocation; 00028 }; 00029 00030 #endif
1.4.4