summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorXANTRONIX Development2022-02-28 15:47:48 -0500
committerXANTRONIX Development2022-02-28 15:47:48 -0500
commit99d7cfbb08067370661ba5d3dcc628a107ad63d7 (patch)
tree0fc27e122245c6d24c073ea33eda786403ff8442 /src
parente51da4e60cb56ed81aafb030dc2019341dee2f07 (diff)
downloadxas-99d7cfbb08067370661ba5d3dcc628a107ad63d7.tar.gz
xas-99d7cfbb08067370661ba5d3dcc628a107ad63d7.tar.bz2
xas-99d7cfbb08067370661ba5d3dcc628a107ad63d7.zip
Ensure default bank player gain is 1.0
Diffstat (limited to 'src')
-rw-r--r--src/bank.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bank.c b/src/bank.c
index 24e4466..cc41b6f 100644
--- a/src/bank.c
+++ b/src/bank.c
@@ -137,7 +137,7 @@ xas_bank_player *xas_bank_player_new(xas_bank *bank) {
player->bank = bank;
player->status = XAS_BANK_PLAYER_STOPPED;
- player->gain = 0.0f;
+ player->gain = XAS_BANK_PLAYER_DEFAULT_GAIN;
player->entry = 0;
player->index = 0;