mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-10 02:54:58 -06:00
audio: IRQHandler is not used anymore
Signed-off-by: Juan Quintela <quintela@redhat.com> Message-id: 20170425223739.6703-23-quintela@redhat.com Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
parent
ade339896b
commit
e14e09c945
2 changed files with 0 additions and 6 deletions
|
@ -260,8 +260,6 @@ static inline void OPL_STATUS_SET(FM_OPL *OPL,int flag)
|
||||||
if(OPL->status & OPL->statusmask)
|
if(OPL->status & OPL->statusmask)
|
||||||
{ /* IRQ on */
|
{ /* IRQ on */
|
||||||
OPL->status |= 0x80;
|
OPL->status |= 0x80;
|
||||||
/* callback user interrupt handler (IRQ is OFF to ON) */
|
|
||||||
if(OPL->IRQHandler) (OPL->IRQHandler)(OPL->IRQParam,1);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -276,8 +274,6 @@ static inline void OPL_STATUS_RESET(FM_OPL *OPL,int flag)
|
||||||
if (!(OPL->status & OPL->statusmask) )
|
if (!(OPL->status & OPL->statusmask) )
|
||||||
{
|
{
|
||||||
OPL->status &= 0x7f;
|
OPL->status &= 0x7f;
|
||||||
/* callback user interrupt handler (IRQ is ON to OFF) */
|
|
||||||
if(OPL->IRQHandler) (OPL->IRQHandler)(OPL->IRQParam,0);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -92,8 +92,6 @@ typedef struct fm_opl_f {
|
||||||
/* external event callback handler */
|
/* external event callback handler */
|
||||||
OPL_TIMERHANDLER TimerHandler; /* TIMER handler */
|
OPL_TIMERHANDLER TimerHandler; /* TIMER handler */
|
||||||
int TimerParam; /* TIMER parameter */
|
int TimerParam; /* TIMER parameter */
|
||||||
OPL_IRQHANDLER IRQHandler; /* IRQ handler */
|
|
||||||
int IRQParam; /* IRQ parameter */
|
|
||||||
OPL_UPDATEHANDLER UpdateHandler; /* stream update handler */
|
OPL_UPDATEHANDLER UpdateHandler; /* stream update handler */
|
||||||
int UpdateParam; /* stream update parameter */
|
int UpdateParam; /* stream update parameter */
|
||||||
} FM_OPL;
|
} FM_OPL;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue