mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	Use "8 bit raw midi" for control ports again
There is no need to encode the potential format in the format.dsp of control ports, this is just for legacy compatibility with JACK apps. The actual format can be negotiated with the types field. Fixes midi port visibility with apps compiled against 1.2, such as JACK apps in flatpaks.
This commit is contained in:
		
							parent
							
								
									617f1b8a38
								
							
						
					
					
						commit
						564c9b1ba5
					
				
					 15 changed files with 18 additions and 34 deletions
				
			
		| 
						 | 
				
			
			@ -772,7 +772,7 @@ static int make_stream_ports(struct stream *s)
 | 
			
		|||
			break;
 | 
			
		||||
		case ffado_stream_type_midi:
 | 
			
		||||
			props = pw_properties_new(
 | 
			
		||||
					PW_KEY_FORMAT_DSP, "32 bit raw UMP",
 | 
			
		||||
					PW_KEY_FORMAT_DSP, "8 bit raw midi",
 | 
			
		||||
					PW_KEY_PORT_NAME, port->name,
 | 
			
		||||
					PW_KEY_PORT_PHYSICAL, "true",
 | 
			
		||||
					PW_KEY_PORT_TERMINAL, "true",
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue