diff options
Diffstat (limited to 'rotord/rotor.h')
| -rwxr-xr-x | rotord/rotor.h | 23 |
1 files changed, 19 insertions, 4 deletions
diff --git a/rotord/rotor.h b/rotord/rotor.h index c4f5c38..546e6f5 100755 --- a/rotord/rotor.h +++ b/rotord/rotor.h @@ -63,9 +63,24 @@ using Poco::UUID; using Poco::UUIDGenerator; using Poco::Net::HTTPResponse; + +extern "C" { + #include "libavcodec/avcodec.h" + #include "libavutil/opt.h" + #include "libavutil/channel_layout.h" + #include "libavutil/common.h" + #include "libavutil/imgutils.h" + #include "libavutil/mathematics.h" + #include "libavutil/samplefmt.h" +} + +#define AUDIO_INBUF_SIZE 20480 +#define AUDIO_REFILL_THRESH 4096 + #include "vampHost.h" #include "xmlIO.h" - +#include "avCodec.h" + namespace Rotor { #define IDLE 0 #define ANALYSING_AUDIO 1 @@ -292,11 +307,11 @@ namespace Rotor { void cancel(); //interrupt locking process int make_preview(int nodeID, float time); //starts a frame preview - returns status code - how to retrieve? int load_graph(Poco::UUID uid); - bool load_graph(string graph_filename); //should eventually be as above + bool load_graph(string &graph_filename); //should eventually be as above UUID save_graph(); //returns UUID of saved graph - int load_audio(string filename); + bool load_audio(string &filename); Render_requirements get_requirements(); - int load_video(int num,string filename); //can be performance or clip + int load_video(int num,string &filename); //can be performance or clip private: int state; |
