mirror of
				https://github.com/alsa-project/alsa-lib.git
				synced 2025-10-29 05:40:25 -04:00 
			
		
		
		
	seq: Fix typo of the group number in snd_seq_create_ump_endpoint()
The group number of UMP Endpoint client created by
snd_seq_create_ump_endpoint() is wrongly set due to a copy&paste
error.
Fixes: 6167b8ce3e ("seq: Add API helper functions for creating UMP Endpoint and Blocks")
Closes: https://github.com/alsa-project/alsa-lib/issues/440
Signed-off-by: Takashi Iwai <tiwai@suse.de>
			
			
This commit is contained in:
		
							parent
							
								
									df8f1cc1ec
								
							
						
					
					
						commit
						0c7086777a
					
				
					 1 changed files with 1 additions and 5 deletions
				
			
		|  | @ -582,11 +582,7 @@ int snd_seq_create_ump_endpoint(snd_seq_t *seq, | |||
| 				   SNDRV_SEQ_PORT_TYPE_MIDI_UMP | | ||||
| 				   SND_SEQ_PORT_TYPE_APPLICATION | | ||||
| 				   SNDRV_SEQ_PORT_TYPE_PORT); | ||||
| 	snd_seq_port_info_set_ump_group(pinfo, | ||||
| 					SND_SEQ_PORT_TYPE_MIDI_GENERIC | | ||||
| 				   SNDRV_SEQ_PORT_TYPE_MIDI_UMP | | ||||
| 				   SND_SEQ_PORT_TYPE_APPLICATION | | ||||
| 				   SNDRV_SEQ_PORT_TYPE_PORT); | ||||
| 	snd_seq_port_info_set_ump_group(pinfo, 0); | ||||
| 	err = snd_seq_create_port(seq, pinfo); | ||||
| 	if (err < 0) { | ||||
| 		SNDERR("Failed to create MIDI 2.0 port\n"); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Takashi Iwai
						Takashi Iwai