/* update request from fm.c */ void ym2610_update_request(void *param) { ym2610_state *info = (ym2610_state *)param; //stream_update(info->stream); ym2610b_update_one(info->chip, DUMMYBUF, 0); // Not necessary. //if (info->psg != NULL) // ay8910_update_one(info->psg, DUMMYBUF, 0); }
void ym2610b_device::stream_generate(sound_stream &stream, stream_sample_t **inputs, stream_sample_t **outputs, int samples) { ym2610b_update_one(m_chip, outputs, samples); }
//static STREAM_UPDATE( ym2610b_stream_update ) void ym2610b_stream_update(void *param, stream_sample_t **outputs, int samples) { ym2610_state *info = (ym2610_state *)param; ym2610b_update_one(info->chip, outputs, samples); }
static STREAM_UPDATE( ym2610b_stream_update ) { ym2610_state *info = (ym2610_state *)param; ym2610b_update_one(info->chip, outputs, samples); }
//static STREAM_UPDATE( ym2610b_stream_update ) void ym2610b_stream_update(UINT8 ChipID, stream_sample_t **outputs, int samples) { //ym2610_state *info = (ym2610_state *)param; ym2610_state *info = &YM2610Data[ChipID]; ym2610b_update_one(info->chip, outputs, samples); }