mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	module-raop: only set softVolume when valid
This commit is contained in:
		
							parent
							
								
									b8d07e40d6
								
							
						
					
					
						commit
						82b9fa118f
					
				
					 1 changed files with 3 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -1643,10 +1643,10 @@ static void stream_props_changed(struct impl *impl, uint32_t id, const struct sp
 | 
			
		|||
				impl->volume = volume;
 | 
			
		||||
 | 
			
		||||
				rtsp_send_volume(impl);
 | 
			
		||||
			}
 | 
			
		||||
				spa_pod_builder_prop(&b, SPA_PROP_softVolumes, 0);
 | 
			
		||||
				spa_pod_builder_array(&b, sizeof(float), SPA_TYPE_Float,
 | 
			
		||||
						n_vols, soft_vols);
 | 
			
		||||
			}
 | 
			
		||||
			spa_pod_builder_raw_padded(&b, prop, SPA_POD_PROP_SIZE(prop));
 | 
			
		||||
			break;
 | 
			
		||||
		}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue