mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	midi: simplify some things
This commit is contained in:
		
							parent
							
								
									7df66cd6ad
								
							
						
					
					
						commit
						cc1ed84f9f
					
				
					 2 changed files with 62 additions and 70 deletions
				
			
		| 
						 | 
				
			
			@ -50,8 +50,6 @@ struct midi_track {
 | 
			
		|||
	int64_t tick;
 | 
			
		||||
	uint8_t running_status;
 | 
			
		||||
	unsigned int eof:1;
 | 
			
		||||
 | 
			
		||||
	struct spa_list events;
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
struct midi_file {
 | 
			
		||||
| 
						 | 
				
			
			@ -79,7 +77,3 @@ int midi_file_add_track(struct midi_file *mf, struct midi_track *track);
 | 
			
		|||
 | 
			
		||||
int midi_file_peek_event(struct midi_file *mf, struct midi_event *event);
 | 
			
		||||
int midi_file_consume_event(struct midi_file *mf, struct midi_event *event);
 | 
			
		||||
 | 
			
		||||
int midi_file_add_event(struct midi_file *mf, struct midi_track *track, struct midi_event *event);
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue