mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-11-03 09:01:50 -05:00 
			
		
		
		
	alsa: pass SND_PCM_NONBLOCK when opening device during unsuspend, the same way we do it for initial opening
This commit is contained in:
		
							parent
							
								
									557c429510
								
							
						
					
					
						commit
						84ade2140e
					
				
					 2 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -897,7 +897,7 @@ static int unsuspend(struct userdata *u) {
 | 
			
		|||
    pa_log_info("Trying resume...");
 | 
			
		||||
 | 
			
		||||
    if ((err = snd_pcm_open(&u->pcm_handle, u->device_name, SND_PCM_STREAM_CAPTURE,
 | 
			
		||||
                            /*SND_PCM_NONBLOCK|*/
 | 
			
		||||
                            SND_PCM_NONBLOCK|
 | 
			
		||||
                            SND_PCM_NO_AUTO_RESAMPLE|
 | 
			
		||||
                            SND_PCM_NO_AUTO_CHANNELS|
 | 
			
		||||
                            SND_PCM_NO_AUTO_FORMAT)) < 0) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue