Fix audio sample exit when mute
This commit is contained in:
		
							parent
							
								
									8460c1ac42
								
							
						
					
					
						commit
						ce46fe7d80
					
				| @ -437,7 +437,8 @@ async fn start_pa() { | ||||
|                                 device = x; | ||||
|                             } | ||||
|                             if device == "Mute" { | ||||
|                                 break; | ||||
|                                 log::info!("Switch mute mode, skip sample audio."); | ||||
|                                 continue; | ||||
|                             } | ||||
|                             if !device.is_empty() { | ||||
|                                 device = crate::platform::linux::get_pa_source_name(&device); | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user