mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-30 21:30:04 +00:00 
			
		
		
		
	Increase mic stream volume to max in case the users mic is set low for some reason
This commit is contained in:
		
							parent
							
								
									5f532c2560
								
							
						
					
					
						commit
						ba4dfe4217
					
				
					 1 changed files with 4 additions and 0 deletions
				
			
		|  | @ -79,6 +79,10 @@ void CubebInput::StartSampling(const Frontend::Mic::Parameters& params) { | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     cubeb_stream_start(impl->stream); |     cubeb_stream_start(impl->stream); | ||||||
|  |     int ret = cubeb_stream_set_volume(impl->stream, 1.0); | ||||||
|  |     if (ret == CUBEB_ERROR_NOT_SUPPORTED) { | ||||||
|  |         LOG_WARNING(Audio, "Unabled to set volume for cubeb input"); | ||||||
|  |     } | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| void CubebInput::StopSampling() { | void CubebInput::StopSampling() { | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue