diff options
author | XANTRONIX Development | 2022-02-23 20:21:57 -0500 |
---|---|---|
committer | XANTRONIX Development | 2022-02-23 20:22:52 -0500 |
commit | 8a197be597ea6ffd1463e417394b14804e5fcc01 (patch) | |
tree | 2b9352432c88cd13a2c54005b113c84b255251af /include/xas | |
parent | 4d8f0128df8a49428a155f16a0de34621bed0f56 (diff) | |
download | xas-8a197be597ea6ffd1463e417394b14804e5fcc01.tar.gz xas-8a197be597ea6ffd1463e417394b14804e5fcc01.tar.bz2 xas-8a197be597ea6ffd1463e417394b14804e5fcc01.zip |
Implement xas_bank_load_file()
Implement xas_bank_load_file() to load a sample from a RIFF file on
disk into a sample bank
Diffstat (limited to 'include/xas')
-rw-r--r-- | include/xas/bank.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/xas/bank.h b/include/xas/bank.h index be623f0..33be492 100644 --- a/include/xas/bank.h +++ b/include/xas/bank.h @@ -42,6 +42,10 @@ ssize_t xas_bank_record(xas_bank *bank, size_t entry_index, size_t count); +ssize_t xas_bank_load_file(xas_bank *bank, + size_t entry_index, + const char *path); + xas_bank_player *xas_bank_player_new(xas_bank *bank); void xas_bank_player_destroy(xas_bank_player *player); |