merged hv7 mod
[goodguy/history.git] / cinelerra-5.1 / cinelerra / file.h
index 5e695bcb4b1bfbbe7d460e351ae9dc40f178d435..f62739e0990b23605f1ac0ff3d1c86867daacde9 100644 (file)
@@ -86,8 +86,9 @@ public:
 // to delete the file object.  Otherwise we'd delete just the cached frames
 // while the list of open files grew.
        void set_cache_frames(int value);
-// Delete frame cache.  Return 0 if successful.  Return 1 if
-// nothing to delete.
+// Delete oldest frame from cache.
+// Return number of bytes freed if successful.
+// Return 0 if nothing to delete.
        int purge_cache();
 // Delete oldest frame from cache.  Return 0 if successful.  Return 1 if
 // nothing to delete.
@@ -246,7 +247,9 @@ public:
 // The minimum setting for cache_size should be bigger than 1MB.
        int64_t get_memory_usage();
 
+       static int renders_video(int format);
        static int renders_video(Asset *asset);
+       static int renders_audio(int format);
        static int renders_audio(Asset *asset);
 // Get the extension for the filename
        static const char* get_tag(int format);