mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 13:50:03 +00:00 
			
		
		
		
	Merge pull request #5577 from vitor-k/cubeb-volume
Update cubeb to latest and request a persistent stream session
This commit is contained in:
		
						commit
						7a8d576164
					
				
					 2 changed files with 2 additions and 2 deletions
				
			
		|  | @ -40,7 +40,7 @@ CubebSink::CubebSink(std::string_view target_device_name) : impl(std::make_uniqu | |||
|     params.channels = 2; | ||||
|     params.layout = CUBEB_LAYOUT_STEREO; | ||||
|     params.format = CUBEB_SAMPLE_S16NE; | ||||
|     params.prefs = CUBEB_STREAM_PREF_NONE; | ||||
|     params.prefs = CUBEB_STREAM_PREF_PERSIST; | ||||
| 
 | ||||
|     u32 minimum_latency = 100 * impl->sample_rate / 1000; // Firefox default
 | ||||
|     if (cubeb_get_min_latency(impl->ctx, ¶ms, &minimum_latency) != CUBEB_OK) { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue