Accommodate newly added/renamed source(s) in our MSVC project (libardour)
[ardour.git] / libs / ardour / lv2_evbuf.h
index fdb7766f96f7ac710c3db72d5e94f7ec39e55122..000fb9c25f6425f7a91d4466616cfbb3d89fde72 100644 (file)
@@ -92,6 +92,12 @@ lv2_evbuf_reset(LV2_Evbuf* evbuf, bool input);
 uint32_t
 lv2_evbuf_get_size(LV2_Evbuf* evbuf);
 
+/**
+   Return the available capacity of the buffer
+*/
+uint32_t
+lv2_evbuf_get_capacity(LV2_Evbuf* evbuf);
+
 /**
    Return the actual buffer implementation.
    The format of the buffer returned depends on the buffer type.
@@ -136,7 +142,7 @@ lv2_evbuf_next(LV2_Evbuf_Iterator iter);
 */
 bool
 lv2_evbuf_get(LV2_Evbuf_Iterator iter,
-              uint32_t*          frames,
+              uint32_t*          samples,
               uint32_t*          subframes,
               uint32_t*          type,
               uint32_t*          size,
@@ -151,7 +157,7 @@ lv2_evbuf_get(LV2_Evbuf_Iterator iter,
 */
 bool
 lv2_evbuf_write(LV2_Evbuf_Iterator* iter,
-                uint32_t            frames,
+                uint32_t            samples,
                 uint32_t            subframes,
                 uint32_t            type,
                 uint32_t            size,