summaryrefslogtreecommitdiffstats
path: root/include/xas
diff options
context:
space:
mode:
authorXANTRONIX Development2022-02-03 18:03:29 -0500
committerXANTRONIX Development2022-02-03 18:03:36 -0500
commit7c4f8a3b7c1b425f4edbffe91fd01ef9881ecad1 (patch)
treef216711c1ca74c4342f1e5757466565f5de459c4 /include/xas
parent34c18d0de34430c1c53b69f06d54440cf3a25d93 (diff)
downloadxas-7c4f8a3b7c1b425f4edbffe91fd01ef9881ecad1.tar.gz
xas-7c4f8a3b7c1b425f4edbffe91fd01ef9881ecad1.tar.bz2
xas-7c4f8a3b7c1b425f4edbffe91fd01ef9881ecad1.zip
Implement xas_bank_active()
Implement xas_bank_active() to allow one to determine if a sample bank is currently active
Diffstat (limited to 'include/xas')
-rw-r--r--include/xas/bank.h2
1 files changed, 2 insertions, 0 deletions
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,