aboutsummaryrefslogtreecommitdiffstats
path: root/src/process.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/process.h')
-rw-r--r--src/process.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/process.h b/src/process.h
index 366d30e..da7470b 100644
--- a/src/process.h
+++ b/src/process.h
@@ -27,6 +27,19 @@ JALV_BEGIN_DECLS
bool
jalv_run(Jalv* jalv, uint32_t nframes);
+/**
+ Bypass the plugin for a block of frames.
+
+ This is like jalv_run(), but doesn't actually run the plugin and only does
+ the minimum necessary internal work for the cycle.
+
+ @param jalv Application state.
+ @param nframes Number of frames to bypass.
+ @return Zero.
+*/
+int
+jalv_bypass(Jalv* jalv, uint32_t nframes);
+
JALV_END_DECLS
#endif // JALV_PROCESS_H