Merge pull request #2881 from Cacodemon345/mirosound_pcm10_opl4

OPTiMC: Fix OPL volume mixing
This commit is contained in:
Jasmine Iwanek
2022-11-20 03:14:31 -05:00
committed by GitHub
5 changed files with 38 additions and 0 deletions

View File

@@ -66,6 +66,7 @@ extern void ad1848_write(uint16_t addr, uint8_t val, void *priv);
extern void ad1848_update(ad1848_t *ad1848);
extern void ad1848_speed_changed(ad1848_t *ad1848);
extern void ad1848_filter_cd_audio(int channel, double *buffer, void *priv);
extern void ad1848_filter_aux2(void* priv, double* out_l, double* out_r);
extern void ad1848_init(ad1848_t *ad1848, uint8_t type);

View File

@@ -147,6 +147,9 @@ typedef struct sb_t {
pnp_rom[512];
uint16_t opl_pnp_addr;
void *opl_mixer;
void (*opl_mix)(void*, double*, double*);
} sb_t;
extern void sb_ct1345_mixer_write(uint16_t addr, uint8_t val, void *p);