audio: UpdateHandler is not used anymore
Signed-off-by: Juan Quintela <quintela@redhat.com> Message-id: 20170425223739.6703-24-quintela@redhat.com Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
		
							parent
							
								
									e14e09c945
								
							
						
					
					
						commit
						b3b40917c7
					
				@ -1147,7 +1147,6 @@ int OPLWrite(FM_OPL *OPL,int a,int v)
 | 
				
			|||||||
	}
 | 
						}
 | 
				
			||||||
	else
 | 
						else
 | 
				
			||||||
	{	/* data port */
 | 
						{	/* data port */
 | 
				
			||||||
		if(OPL->UpdateHandler) OPL->UpdateHandler(OPL->UpdateParam,0);
 | 
					 | 
				
			||||||
#ifdef OPL_OUTPUT_LOG
 | 
					#ifdef OPL_OUTPUT_LOG
 | 
				
			||||||
	if(opl_dbg_fp)
 | 
						if(opl_dbg_fp)
 | 
				
			||||||
	{
 | 
						{
 | 
				
			||||||
@ -1197,7 +1196,6 @@ int OPLTimerOver(FM_OPL *OPL,int c)
 | 
				
			|||||||
		if( OPL->mode & 0x80 )
 | 
							if( OPL->mode & 0x80 )
 | 
				
			||||||
		{	/* CSM mode total level latch and auto key on */
 | 
							{	/* CSM mode total level latch and auto key on */
 | 
				
			||||||
			int ch;
 | 
								int ch;
 | 
				
			||||||
			if(OPL->UpdateHandler) OPL->UpdateHandler(OPL->UpdateParam,0);
 | 
					 | 
				
			||||||
			for(ch=0;ch<9;ch++)
 | 
								for(ch=0;ch<9;ch++)
 | 
				
			||||||
				CSMKeyControll( &OPL->P_CH[ch] );
 | 
									CSMKeyControll( &OPL->P_CH[ch] );
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
 | 
				
			|||||||
@ -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_UPDATEHANDLER UpdateHandler;	/* stream update handler   */
 | 
					 | 
				
			||||||
	int UpdateParam;					/* stream update parameter */
 | 
					 | 
				
			||||||
} FM_OPL;
 | 
					} FM_OPL;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* ---------- Generic interface section ---------- */
 | 
					/* ---------- Generic interface section ---------- */
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user