diff options
author | XANTRONIX Development | 2022-02-28 13:13:35 -0500 |
---|---|---|
committer | XANTRONIX Development | 2022-02-28 13:13:49 -0500 |
commit | 2bf8a288c817715f84a16cabc13c717c3943e3f4 (patch) | |
tree | 912d5b8f0bd0acd215d74837e86b61e26bd77720 /include/xas | |
parent | 4152e6845e71344142faf0911382d5a2b05ae1e4 (diff) | |
download | xas-2bf8a288c817715f84a16cabc13c717c3943e3f4.tar.gz xas-2bf8a288c817715f84a16cabc13c717c3943e3f4.tar.bz2 xas-2bf8a288c817715f84a16cabc13c717c3943e3f4.zip |
Allow setting bank player gain separately
Diffstat (limited to 'include/xas')
-rw-r--r-- | include/xas/bank.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/xas/bank.h b/include/xas/bank.h index cd1511e..982302f 100644 --- a/include/xas/bank.h +++ b/include/xas/bank.h @@ -53,9 +53,9 @@ xas_bank_player *xas_bank_player_new(xas_bank *bank); void xas_bank_player_destroy(xas_bank_player *player); -int xas_bank_player_select(xas_bank_player *player, - size_t entry, - float gain); +void xas_bank_player_set_gain(xas_bank_player *player, float gain); + +int xas_bank_player_set_entry(xas_bank_player *player, size_t entry); int xas_bank_player_start(xas_bank_player *player); |