diff options
author | XANTRONIX Development | 2022-03-16 01:23:10 -0400 |
---|---|---|
committer | XANTRONIX Development | 2022-03-16 01:23:10 -0400 |
commit | 08fe80410c137d860ea9788dffa0536af556bda9 (patch) | |
tree | fc18145cfd4ee27355d27179495fb6e18d128af6 /src | |
parent | 4f717a808a85bf212fc550527e8fc72cbcaeb220 (diff) | |
download | xas-08fe80410c137d860ea9788dffa0536af556bda9.tar.gz xas-08fe80410c137d860ea9788dffa0536af556bda9.tar.bz2 xas-08fe80410c137d860ea9788dffa0536af556bda9.zip |
Use xas_object_init() for new banks
Diffstat (limited to 'src')
-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; |