summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/bank.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bank.c b/src/bank.c
index 735f479..2f19680 100644
--- a/src/bank.c
+++ b/src/bank.c
@@ -141,6 +141,8 @@ xas_bank_player *xas_bank_player_new(xas_bank *bank) {
player->obj.start = (xas_object_start_callback)xas_bank_player_start;
player->obj.stop = (xas_object_stop_callback)xas_bank_player_stop;
+ xas_object_init(&player->obj);
+
player->obj.set_gain = (xas_object_set_gain_callback)set_gain;
player->obj.stream_new = (xas_object_stream_new_callback)xas_bank_player_stream_new;
player->obj.destroy = (xas_object_destroy_callback)xas_bank_player_destroy;