diff options
Diffstat (limited to 'src/bank.c')
-rw-r--r-- | src/bank.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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; |