//------------------------------------------------- // sound_stream_update - handle a stream update //------------------------------------------------- void ym2610_device::stream_generate(sound_stream &stream, stream_sample_t **inputs, stream_sample_t **outputs, int samples) { ym2610_update_one(m_chip, outputs, samples); }
static STREAM_UPDATE( ym2610_stream_update ) { ym2610_state *info = (ym2610_state *)param; ym2610_update_one(info->chip, outputs, samples); }
//static STREAM_UPDATE( ym2610_stream_update ) void ym2610_stream_update(void *param, stream_sample_t **outputs, int samples) { ym2610_state *info = (ym2610_state *)param; ym2610_update_one(info->chip, outputs, samples); }
//static STREAM_UPDATE( ym2610_stream_update ) void ym2610_stream_update(UINT8 ChipID, stream_sample_t **outputs, int samples) { //ym2610_state *info = (ym2610_state *)param; ym2610_state *info = &YM2610Data[ChipID]; ym2610_update_one(info->chip, outputs, samples); }