summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXANTRONIX Development2022-03-13 21:37:47 -0400
committerXANTRONIX Development2022-03-13 21:37:47 -0400
commit8d919fcc28bef2998a205516f7a8f7ca929a49bb (patch)
tree47cf4dcbf8dbdc4ef85f2ca0afdd3a7c62a29c98
parent9d0e543821fc0aeb4cde552f110edbb71153c9f2 (diff)
downloadxas-8d919fcc28bef2998a205516f7a8f7ca929a49bb.tar.gz
xas-8d919fcc28bef2998a205516f7a8f7ca929a49bb.tar.bz2
xas-8d919fcc28bef2998a205516f7a8f7ca929a49bb.zip
Make xas_bank_player_start() always start from 0
-rw-r--r--src/bank.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/bank.c b/src/bank.c
index d9b85bb..6e4ebac 100644
--- a/src/bank.c
+++ b/src/bank.c
@@ -196,10 +196,6 @@ void xas_bank_player_set_gain(xas_bank_player *player, float gain) {
}
int xas_bank_player_start(xas_bank_player *player) {
- if (player->status == XAS_BANK_PLAYER_PLAYING) {
- return 0;
- }
-
player->status = XAS_BANK_PLAYER_PLAYING;
player->index = 0;