From 2bf8a288c817715f84a16cabc13c717c3943e3f4 Mon Sep 17 00:00:00 2001 From: XANTRONIX Development Date: Mon, 28 Feb 2022 13:13:35 -0500 Subject: Allow setting bank player gain separately --- include/xas/bank.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include/xas') 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); -- cgit v1.2.3