comparison mediaplayer.h @ 2377:30e59954eab9

Properly free sound chips in VGM player
author Michael Pavone <pavone@retrodev.com>
date Sat, 18 Nov 2023 09:36:29 -0800
parents 1c09f5be285b
children fb8f49b0aece
comparison
equal deleted inserted replaced
2376:1c09f5be285b 2377:30e59954eab9
19 void *context; 19 void *context;
20 chip_run_fun run; 20 chip_run_fun run;
21 chip_adjust_fun adjust; 21 chip_adjust_fun adjust;
22 chip_scope_fun scope; 22 chip_scope_fun scope;
23 chip_noarg_fun no_scope; 23 chip_noarg_fun no_scope;
24 chip_noarg_fun free;
24 data_block *blocks; 25 data_block *blocks;
25 uint32_t clock; 26 uint32_t clock;
26 uint32_t samples; 27 uint32_t samples;
27 uint8_t cmd; 28 uint8_t cmd;
28 uint8_t data_type; 29 uint8_t data_type;