From 7c4f8a3b7c1b425f4edbffe91fd01ef9881ecad1 Mon Sep 17 00:00:00 2001 From: XANTRONIX Development Date: Thu, 3 Feb 2022 18:03:29 -0500 Subject: Implement xas_bank_active() Implement xas_bank_active() to allow one to determine if a sample bank is currently active --- include/xas/bank.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/xas') diff --git a/include/xas/bank.h b/include/xas/bank.h index 6d7aeb1..a091d00 100644 --- a/include/xas/bank.h +++ b/include/xas/bank.h @@ -36,6 +36,8 @@ int xas_bank_play(xas_bank *bank, size_t entry, float force); void xas_bank_stop(xas_bank *bank); +int xas_bank_active(xas_bank *bank); + ssize_t xas_bank_record(xas_bank *bank, xas_audio_stream *input, size_t entry, -- cgit v1.2.3