[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 23/26] audio: UpdateHandler is not used anymore
From: |
Juan Quintela |
Subject: |
[Qemu-devel] [PATCH 23/26] audio: UpdateHandler is not used anymore |
Date: |
Wed, 26 Apr 2017 00:37:36 +0200 |
Signed-off-by: Juan Quintela <address@hidden>
---
hw/audio/fmopl.c | 2 --
hw/audio/fmopl.h | 2 --
2 files changed, 4 deletions(-)
diff --git a/hw/audio/fmopl.c b/hw/audio/fmopl.c
index 5b8a884..99d09c5 100644
--- a/hw/audio/fmopl.c
+++ b/hw/audio/fmopl.c
@@ -1147,7 +1147,6 @@ int OPLWrite(FM_OPL *OPL,int a,int v)
}
else
{ /* data port */
- if(OPL->UpdateHandler) OPL->UpdateHandler(OPL->UpdateParam,0);
#ifdef OPL_OUTPUT_LOG
if(opl_dbg_fp)
{
@@ -1197,7 +1196,6 @@ int OPLTimerOver(FM_OPL *OPL,int c)
if( OPL->mode & 0x80 )
{ /* CSM mode total level latch and auto key on */
int ch;
- if(OPL->UpdateHandler)
OPL->UpdateHandler(OPL->UpdateParam,0);
for(ch=0;ch<9;ch++)
CSMKeyControll( &OPL->P_CH[ch] );
}
diff --git a/hw/audio/fmopl.h b/hw/audio/fmopl.h
index b1641f5..8410275 100644
--- a/hw/audio/fmopl.h
+++ b/hw/audio/fmopl.h
@@ -92,8 +92,6 @@ typedef struct fm_opl_f {
/* external event callback handler */
OPL_TIMERHANDLER TimerHandler; /* TIMER handler */
int TimerParam; /* TIMER
parameter */
- OPL_UPDATEHANDLER UpdateHandler; /* stream update handler */
- int UpdateParam; /* stream
update parameter */
} FM_OPL;
/* ---------- Generic interface section ---------- */
--
2.9.3
- [Qemu-devel] [PATCH 14/26] audio: Remove unused fields, (continued)
- [Qemu-devel] [PATCH 14/26] audio: Remove unused fields, Juan Quintela, 2017/04/25
- [Qemu-devel] [PATCH 15/26] audio: GUSbyte is uint8_t, Juan Quintela, 2017/04/25
- [Qemu-devel] [PATCH 16/26] audio: remove GUSchar, Juan Quintela, 2017/04/25
- [Qemu-devel] [PATCH 17/26] audio: GUSword is uint16_t, Juan Quintela, 2017/04/25
- [Qemu-devel] [PATCH 18/26] audio: GUSword is uint16_t, Juan Quintela, 2017/04/25
- [Qemu-devel] [PATCH 19/26] audio: GUSsample is int16_t, Juan Quintela, 2017/04/25
- [Qemu-devel] [PATCH 20/26] audio: OPLSetIRQHandler is not used anywhere, Juan Quintela, 2017/04/25
- [Qemu-devel] [PATCH 22/26] audio: IRQHandler is not used anymore, Juan Quintela, 2017/04/25
- [Qemu-devel] [PATCH 21/26] audio: OPLSetUpdateHandler is not used anywhere, Juan Quintela, 2017/04/25
- [Qemu-devel] [PATCH 23/26] audio: UpdateHandler is not used anymore,
Juan Quintela <=
- [Qemu-devel] [PATCH 24/26] audio: Remove unused typedefs, Juan Quintela, 2017/04/25
- [Qemu-devel] [PATCH 25/26] audio: un-export OPLResetChip, Juan Quintela, 2017/04/25
- [Qemu-devel] [PATCH 26/26] audio: Use ARRAY_SIZE from qemu/osdep.h, Juan Quintela, 2017/04/25
- Re: [Qemu-devel] [PATCH 00/26] Audio Cleanup, no-reply, 2017/04/25
- Re: [Qemu-devel] [PATCH 00/26] Audio Cleanup, Juan Quintela, 2017/04/26