diff options
Diffstat (limited to 'src/devices/sound/ymf262.h')
-rw-r--r-- | src/devices/sound/ymf262.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/sound/ymf262.h b/src/devices/sound/ymf262.h index d459a9a68ee..fe131169fcf 100644 --- a/src/devices/sound/ymf262.h +++ b/src/devices/sound/ymf262.h @@ -8,7 +8,7 @@ /* select number of output bits: 8 or 16 */ #define OPL3_SAMPLE_BITS 16 -typedef stream_sample_t OPL3SAMPLE; +typedef s32 OPL3SAMPLE; /* #if (OPL3_SAMPLE_BITS==16) typedef int16_t OPL3SAMPLE; @@ -33,7 +33,7 @@ void ymf262_reset_chip(void *chip); int ymf262_write(void *chip, int a, int v); unsigned char ymf262_read(void *chip, int a); int ymf262_timer_over(void *chip, int c); -void ymf262_update_one(void *chip, OPL3SAMPLE * const *buffers, int length); +void ymf262_update_one(void *chip, std::vector<write_stream_view> &buffers); void ymf262_set_timer_handler(void *chip, OPL3_TIMERHANDLER TimerHandler, device_t *device); void ymf262_set_irq_handler(void *chip, OPL3_IRQHANDLER IRQHandler, device_t *device); |