diff options
-rw-r--r-- | examples/say.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |