summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXANTRONIX Development2022-03-06 17:57:58 -0500
committerXANTRONIX Development2022-03-06 17:57:58 -0500
commit55bf5f3f709b52db1bacb6d66c63f98683f7bad6 (patch)
treef5bfafc7a8cb0f30199446b34c37c869cb739f82
parent2e35d61d65c8ac02b6557c53065ce61b3a21f718 (diff)
downloadxas-55bf5f3f709b52db1bacb6d66c63f98683f7bad6.tar.gz
xas-55bf5f3f709b52db1bacb6d66c63f98683f7bad6.tar.bz2
xas-55bf5f3f709b52db1bacb6d66c63f98683f7bad6.zip
Don't set gain to 0 on stopping sample bank player
-rw-r--r--src/bank.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/bank.c b/src/bank.c
index fbc9cb4..e81195d 100644
--- a/src/bank.c
+++ b/src/bank.c
@@ -189,7 +189,6 @@ int xas_bank_player_stop(xas_bank_player *player) {
}
player->status = XAS_BANK_PLAYER_STOPPED;
- player->gain = 0.0;
player->entry = 0;
player->index = 0;