summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorXANTRONIX Development2022-03-07 13:56:59 -0500
committerXANTRONIX Development2022-03-07 13:56:59 -0500
commit475af90bb2a46fb46989bf099295e36f5c05b797 (patch)
treeb99726280c250b265d40fa27d485948fccfb6b6f /examples
parentd1b6367b9087a85e6f49ec3c619d41f62704b8da (diff)
downloadxas-475af90bb2a46fb46989bf099295e36f5c05b797.tar.gz
xas-475af90bb2a46fb46989bf099295e36f5c05b797.tar.bz2
xas-475af90bb2a46fb46989bf099295e36f5c05b797.zip
Don't need to be so specific here
Diffstat (limited to 'examples')
-rw-r--r--examples/say.c2
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;
}