diff options
Diffstat (limited to 'src/devices/sound/fm.h')
-rw-r--r-- | src/devices/sound/fm.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/devices/sound/fm.h b/src/devices/sound/fm.h index d49c5a40e99..d5d8760a449 100644 --- a/src/devices/sound/fm.h +++ b/src/devices/sound/fm.h @@ -142,7 +142,7 @@ void * ym2608_init(device_t *device, int baseclock, int rate, void ym2608_clock_changed(void *chip, int clock, int rate); void ym2608_shutdown(void *chip); void ym2608_reset_chip(void *chip); -void ym2608_update_one(void *chip, FMSAMPLE **buffer, int length); +void ym2608_update_one(void *chip, FMSAMPLE * const *buffer, int length); int ym2608_write(void *chip, int a,unsigned char v); unsigned char ym2608_read(void *chip,int a); @@ -158,10 +158,10 @@ void * ym2610_init(device_t *device, int baseclock, int rate, void ym2610_clock_changed(void *chip, int clock, int rate); void ym2610_shutdown(void *chip); void ym2610_reset_chip(void *chip); -void ym2610_update_one(void *chip, FMSAMPLE **buffer, int length); +void ym2610_update_one(void *chip, FMSAMPLE * const *buffer, int length); #if BUILD_YM2610B -void ym2610b_update_one(void *chip, FMSAMPLE **buffer, int length); +void ym2610b_update_one(void *chip, FMSAMPLE * const *buffer, int length); #endif /* BUILD_YM2610B */ int ym2610_write(void *chip, int a,unsigned char v); @@ -176,7 +176,7 @@ void * ym2612_init(device_t *device, int baseclock, int rate, void ym2612_clock_changed(void *chip, int clock, int rate); void ym2612_shutdown(void *chip); void ym2612_reset_chip(void *chip); -void ym2612_update_one(void *chip, FMSAMPLE **buffer, int length, u8 output_bits); +void ym2612_update_one(void *chip, FMSAMPLE * const *buffer, int length, u8 output_bits); int ym2612_write(void *chip, int a,unsigned char v); unsigned char ym2612_read(void *chip,int a); |