[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL 07/30] audio: Remove YM3526 support
From: |
Gerd Hoffmann |
Subject: |
[Qemu-devel] [PULL 07/30] audio: Remove YM3526 support |
Date: |
Thu, 4 May 2017 09:17:48 +0200 |
From: Juan Quintela <address@hidden>
It was never compiled in.
Signed-off-by: Juan Quintela <address@hidden>
Message-id: address@hidden
Signed-off-by: Gerd Hoffmann <address@hidden>
---
hw/audio/fmopl.h | 2 --
hw/audio/fmopl.c | 4 ++--
2 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/hw/audio/fmopl.h b/hw/audio/fmopl.h
index 96d958ac72..b254968b6a 100644
--- a/hw/audio/fmopl.h
+++ b/hw/audio/fmopl.h
@@ -3,7 +3,6 @@
/* --- select emulation chips --- */
#define BUILD_YM3812 (HAS_YM3812)
-//#define BUILD_YM3526 (HAS_YM3526)
/* --- system optimize --- */
/* select bit size of output : 8 or 16 */
@@ -135,7 +134,6 @@ typedef struct fm_opl_f {
} FM_OPL;
/* ---------- Generic interface section ---------- */
-#define OPL_TYPE_YM3526 (0)
#define OPL_TYPE_YM3812 (OPL_TYPE_WAVESEL)
FM_OPL *OPLCreate(int type, int clock, int rate);
diff --git a/hw/audio/fmopl.c b/hw/audio/fmopl.c
index 29f6d3c5a4..1e05efca8a 100644
--- a/hw/audio/fmopl.c
+++ b/hw/audio/fmopl.c
@@ -981,7 +981,7 @@ static void OPL_UnLockTable(void)
OPLCloseTable();
}
-#if (BUILD_YM3812 || BUILD_YM3526)
+#if BUILD_YM3812
/*******************************************************************************/
/* YM3812 local section
*/
/*******************************************************************************/
@@ -1044,7 +1044,7 @@ void YM3812UpdateOne(FM_OPL *OPL, INT16 *buffer, int
length)
}
#endif
}
-#endif /* (BUILD_YM3812 || BUILD_YM3526) */
+#endif /* BUILD_YM3812 */
/* ---------- reset one of chip ---------- */
void OPLResetChip(FM_OPL *OPL)
--
2.9.3
- [Qemu-devel] [PULL 00/30] audio patch queue, Gerd Hoffmann, 2017/05/04
- [Qemu-devel] [PULL 03/30] audio: release capture buffers, Gerd Hoffmann, 2017/05/04
- [Qemu-devel] [PULL 04/30] audio: fix WAVState leak, Gerd Hoffmann, 2017/05/04
- [Qemu-devel] [PULL 12/30] audio: Remove INT8, Gerd Hoffmann, 2017/05/04
- [Qemu-devel] [PULL 01/30] hw/audio: replace exit with unrealize in hda_codec_device_class_init, Gerd Hoffmann, 2017/05/04
- [Qemu-devel] [PULL 27/30] audio: UpdateHandler is not used anymore, Gerd Hoffmann, 2017/05/04
- [Qemu-devel] [PULL 07/30] audio: Remove YM3526 support,
Gerd Hoffmann <=
- [Qemu-devel] [PULL 02/30] hw/audio: convert exit callback in HDACodecDeviceClass to void, Gerd Hoffmann, 2017/05/04
- [Qemu-devel] [PULL 18/30] audio: Remove unused fields, Gerd Hoffmann, 2017/05/04
- [Qemu-devel] [PULL 15/30] audio: Unfold OPLSAMPLE, Gerd Hoffmann, 2017/05/04
- [Qemu-devel] [PULL 21/30] audio: GUSword is uint16_t, Gerd Hoffmann, 2017/05/04
- [Qemu-devel] [PULL 13/30] audio: remove INT16, Gerd Hoffmann, 2017/05/04
- [Qemu-devel] [PULL 10/30] audio: remove UINT16, Gerd Hoffmann, 2017/05/04
- [Qemu-devel] [PULL 24/30] audio: OPLSetIRQHandler is not used anywhere, Gerd Hoffmann, 2017/05/04
- [Qemu-devel] [PULL 16/30] audio: Remove Unused OPL_TYPE_*, Gerd Hoffmann, 2017/05/04
- [Qemu-devel] [PULL 26/30] audio: IRQHandler is not used anymore, Gerd Hoffmann, 2017/05/04
- [Qemu-devel] [PULL 23/30] audio: GUSsample is int16_t, Gerd Hoffmann, 2017/05/04