summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorXANTRONIX Development2022-03-07 20:49:46 -0500
committerXANTRONIX Development2022-03-07 20:51:22 -0500
commitac0defb30297d38a032104ae3c953a5d3c5ada60 (patch)
treea08494532bfef806bf389acf1151294645eb1c72 /include
parent46c6f809e842ec50a8073a7ef7f94594955f4fe7 (diff)
downloadxas-ac0defb30297d38a032104ae3c953a5d3c5ada60.tar.gz
xas-ac0defb30297d38a032104ae3c953a5d3c5ada60.tar.bz2
xas-ac0defb30297d38a032104ae3c953a5d3c5ada60.zip
xas_bank_entry_duration(): use struct timeval
Diffstat (limited to 'include')
-rw-r--r--include/xas/bank.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/xas/bank.h b/include/xas/bank.h
index 7828587..77a2620 100644
--- a/include/xas/bank.h
+++ b/include/xas/bank.h
@@ -2,6 +2,7 @@
#define _XAS_BANK_H
#include <sys/types.h>
+#include <sys/time.h>
#include <xas/object.h>
#include <xas/audio.h>
@@ -46,7 +47,9 @@ xas_bank *xas_bank_new(xas_audio_format format,
void xas_bank_destroy(xas_bank *bank);
-size_t xas_bank_entry_duration(xas_bank *bank, size_t entry_index);
+void xas_bank_entry_duration(xas_bank *bank,
+ size_t entry_index,
+ struct timeval *tv);
ssize_t xas_bank_record(xas_bank *bank,
xas_audio_stream *input,