mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	audio: remove layout from audio
Make special format types for planar and interleaved instead of having a field. Add enum for audio channel positions Add some default audio channel layouts Place the channel layout in the audio format when possible alsa: place audio channel positions in format Add sse optimized channel mixing for some common cases Remove name from port info, it's not mandatory and in the properties Add direction to port info
This commit is contained in:
		
							parent
							
								
									fb3379e587
								
							
						
					
					
						commit
						5196f7f053
					
				
					 38 changed files with 981 additions and 369 deletions
				
			
		| 
						 | 
				
			
			@ -777,8 +777,8 @@ static void port_marshal_info(void *object, struct pw_port_info *info)
 | 
			
		|||
	spa_pod_builder_add(b,
 | 
			
		||||
			    "[",
 | 
			
		||||
			    "i", info->id,
 | 
			
		||||
			    "i", info->direction,
 | 
			
		||||
			    "l", info->change_mask,
 | 
			
		||||
			    "s", info->name,
 | 
			
		||||
			    "i", n_items, NULL);
 | 
			
		||||
 | 
			
		||||
	for (i = 0; i < n_items; i++) {
 | 
			
		||||
| 
						 | 
				
			
			@ -803,8 +803,8 @@ static int port_demarshal_info(void *object, void *data, size_t size)
 | 
			
		|||
	if (spa_pod_parser_get(&prs,
 | 
			
		||||
			"["
 | 
			
		||||
			"i", &info.id,
 | 
			
		||||
			"i", &info.direction,
 | 
			
		||||
			"l", &info.change_mask,
 | 
			
		||||
			"s", &info.name,
 | 
			
		||||
			"i", &props.n_items, NULL) < 0)
 | 
			
		||||
		return -EINVAL;
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue