mirror of
				https://github.com/alsa-project/alsa-lib.git
				synced 2025-11-03 09:01:52 -05:00 
			
		
		
		
	Removed IPC code from sequencer code
This commit is contained in:
		
							parent
							
								
									6746dabeb1
								
							
						
					
					
						commit
						fb07cd28e5
					
				
					 4 changed files with 1 additions and 25 deletions
				
			
		| 
						 | 
				
			
			@ -47,12 +47,6 @@ const unsigned int snd_seq_event_types[256] = {
 | 
			
		|||
	= _SND_SEQ_TYPE(SND_SEQ_EVFLG_VARIABLE),
 | 
			
		||||
	[SND_SEQ_EVENT_USR_VAR0 ... SND_SEQ_EVENT_USR_VAR4]
 | 
			
		||||
	= _SND_SEQ_TYPE(SND_SEQ_EVFLG_VARIABLE) | _SND_SEQ_TYPE(SND_SEQ_EVFLG_USERS),
 | 
			
		||||
#if 0 // NYI
 | 
			
		||||
	[SND_SEQ_EVENT_IPCSHM]
 | 
			
		||||
	= _SND_SEQ_TYPE(SND_SEQ_EVFLG_IPC),
 | 
			
		||||
	[SND_SEQ_EVENT_USR_VARIPC0 ... SND_SEQ_EVENT_USR_VARIPC4]
 | 
			
		||||
	= _SND_SEQ_TYPE(SND_SEQ_EVFLG_IPC) | _SND_SEQ_TYPE(SND_SEQ_EVFLG_USERS),
 | 
			
		||||
#endif
 | 
			
		||||
	[SND_SEQ_EVENT_NONE]
 | 
			
		||||
	= FIXED_EV(SND_SEQ_EVFLG_NONE),
 | 
			
		||||
};
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -429,7 +429,6 @@ long snd_midi_event_decode(snd_midi_event_t *dev, unsigned char *buf, long count
 | 
			
		|||
			return -ENOMEM;
 | 
			
		||||
		switch (ev->flags & SNDRV_SEQ_EVENT_LENGTH_MASK) {
 | 
			
		||||
		case SNDRV_SEQ_EVENT_LENGTH_FIXED:
 | 
			
		||||
		case SNDRV_SEQ_EVENT_LENGTH_VARIPC:
 | 
			
		||||
			return -EINVAL;	/* invalid event */
 | 
			
		||||
		}
 | 
			
		||||
		memcpy(dev->buf, ev->data.ext.ptr, qlen);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue