summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorXANTRONIX Development2022-03-19 16:22:53 -0400
committerXANTRONIX Development2022-03-19 16:22:53 -0400
commit94473725d958e91a97bba36b3133790b8f15d715 (patch)
treee97081c5b845832110c7b2bf909a7ed1004da210 /include
parent06e6fa5bf0d8fd714adca83703435e2274ba8698 (diff)
downloadxas-94473725d958e91a97bba36b3133790b8f15d715.tar.gz
xas-94473725d958e91a97bba36b3133790b8f15d715.tar.bz2
xas-94473725d958e91a97bba36b3133790b8f15d715.zip
Calculate vox buffer size when creating stream
Diffstat (limited to 'include')
-rw-r--r--include/xas/vox.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/include/xas/vox.h b/include/xas/vox.h
index 71a312d..014659d 100644
--- a/include/xas/vox.h
+++ b/include/xas/vox.h
@@ -8,8 +8,8 @@
#include <xas/object.h>
#include <xas/audio.h>
-#define XAS_VOX_DEFAULT_GAIN 1.0f
-#define XAS_VOX_DEFAULT_BUFFER_SIZE 20480
+#define XAS_VOX_DEFAULT_GAIN 1.0f
+#define XAS_VOX_DEFAULT_BLKSIZE 20480
#define XAS_VOX_SETTINGS_TMP_PATH "/tmp/xas-vox.XXXXXX"
#define XAS_VOX_SETTINGS_TMP_PATHLEN 64
@@ -21,9 +21,7 @@ enum xas_vox_state {
typedef struct _xas_vox {
xas_object obj;
-
xas_audio_format format;
- size_t buffer_size;
float gain;