summaryrefslogtreecommitdiffstats
path: root/hw/audio/fmopl.c
diff options
context:
space:
mode:
authorJuan Quintela2017-04-26 00:37:24 +0200
committerGerd Hoffmann2017-05-04 09:16:04 +0200
commit8ec734d027955d8a708a2782df6113e2372564cd (patch)
tree3a03d493838d48cecdb5d736948f2c3bc35bda86 /hw/audio/fmopl.c
parentaudio: Remove INT32 (diff)
downloadqemu-8ec734d027955d8a708a2782df6113e2372564cd.tar.gz
qemu-8ec734d027955d8a708a2782df6113e2372564cd.tar.xz
qemu-8ec734d027955d8a708a2782df6113e2372564cd.zip
audio: Unfold OPLSAMPLE
It was used only once, and now it was always int16_t. Signed-off-by: Juan Quintela <quintela@redhat.com> Message-id: 20170425223739.6703-12-quintela@redhat.com Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/audio/fmopl.c')
-rw-r--r--hw/audio/fmopl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/audio/fmopl.c b/hw/audio/fmopl.c
index 8f935f62b6..b1cb4b46d6 100644
--- a/hw/audio/fmopl.c
+++ b/hw/audio/fmopl.c
@@ -988,7 +988,7 @@ void YM3812UpdateOne(FM_OPL *OPL, int16_t *buffer, int length)
{
int i;
int data;
- OPLSAMPLE *buf = buffer;
+ int16_t *buf = buffer;
uint32_t amsCnt = OPL->amsCnt;
uint32_t vibCnt = OPL->vibCnt;
uint8_t rhythm = OPL->rhythm&0x20;