From 475af90bb2a46fb46989bf099295e36f5c05b797 Mon Sep 17 00:00:00 2001 From: XANTRONIX Development Date: Mon, 7 Mar 2022 13:56:59 -0500 Subject: Don't need to be so specific here --- examples/say.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/say.c b/examples/say.c index 5cb1c08..115c78f 100644 --- a/examples/say.c +++ b/examples/say.c @@ -152,7 +152,7 @@ int main(int argc, char **argv) { xas_vox_generate(vox); - if (xas_bank_record(bank, voice, 0, 247018) < 0) { + if (xas_bank_record(bank, voice, 0, bank->entry_size) < 0) { goto error_bank_record; } -- cgit v1.2.3