mirror of
				https://github.com/oSoWoSo/DistroHopper.git
				synced 2024-08-14 22:46:53 +00:00 
			
		
		
		
	Configure audio device to best match the display
This commit is contained in:
		
							parent
							
								
									9b5a6a44ac
								
							
						
					
					
						commit
						d0a59e161d
					
				
					 1 changed files with 3 additions and 2 deletions
				
			
		
							
								
								
									
										5
									
								
								quickemu
									
										
									
									
									
								
							
							
						
						
									
										5
									
								
								quickemu
									
										
									
									
									
								
							|  | @ -662,8 +662,9 @@ function vm_boot() { | |||
| 
 | ||||
|   # Setup the appropriate audio device based on the display output | ||||
|   case ${OUTPUT} in | ||||
|     spice|spice-app|none) AUDIO_DEV="spice,id=audio0";; | ||||
|     *) AUDIO_DEV="pa,id=audio0,out.mixing-engine=off,out.stream-name=${LAUNCHER}-${VMNAME},in.stream-name=${LAUNCHER}-${VMNAME}";; | ||||
|     none|spice|spice-app) AUDIO_DEV="spice,id=audio0";; | ||||
|     sdl) AUDIO_DEV="sdl,id=audio0";; | ||||
|     *) AUDIO_DEV="pa,id=audio0";; | ||||
|   esac | ||||
| 
 | ||||
|   # Determine a sane resolution for Linux guests. | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue