diff options
author | Juan Quintela <quintela@redhat.com> | 2017-04-26 00:37:22 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2017-05-04 09:16:04 +0200 |
commit | 7bf10b1de25c64cbec2acf2b4e0b2ce645a13b53 (patch) | |
tree | 01f871c9145c6edc6256cabc1b4bb809de737f05 /hw/audio/fmopl.h | |
parent | d2a4a01fa45ab357513a94ab90dbc57205206cac (diff) |
audio: remove INT16
Signed-off-by: Juan Quintela <quintela@redhat.com>
Message-id: 20170425223739.6703-10-quintela@redhat.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/audio/fmopl.h')
-rw-r--r-- | hw/audio/fmopl.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/hw/audio/fmopl.h b/hw/audio/fmopl.h index bede6717ae..0bc3415cd3 100644 --- a/hw/audio/fmopl.h +++ b/hw/audio/fmopl.h @@ -10,12 +10,11 @@ /* compiler dependence */ #ifndef OSD_CPU_H #define OSD_CPU_H -typedef signed short INT16; /* signed 16bit */ typedef signed int INT32; /* signed 32bit */ #endif #if (OPL_OUTPUT_BIT==16) -typedef INT16 OPLSAMPLE; +typedef int16_t OPLSAMPLE; #endif #if (OPL_OUTPUT_BIT==8) typedef unsigned char OPLSAMPLE; @@ -142,5 +141,5 @@ int OPLWrite(FM_OPL *OPL,int a,int v); unsigned char OPLRead(FM_OPL *OPL,int a); int OPLTimerOver(FM_OPL *OPL,int c); -void YM3812UpdateOne(FM_OPL *OPL, INT16 *buffer, int length); +void YM3812UpdateOne(FM_OPL *OPL, int16_t *buffer, int length); #endif |