mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-11-03 09:01:50 -05:00 
			
		
		
		
	warn if ALSA wakes us up and there is actually nothing to do
This commit is contained in:
		
							parent
							
								
									6ff9c1fb62
								
							
						
					
					
						commit
						3294c89adb
					
				
					 3 changed files with 66 additions and 22 deletions
				
			
		| 
						 | 
				
			
			@ -1051,6 +1051,12 @@ int pa_alsa_recover_from_poll(snd_pcm_t *pcm, int revents) {
 | 
			
		|||
        pa_log_warn("Got POLLNVAL from ALSA");
 | 
			
		||||
    if (revents & POLLHUP)
 | 
			
		||||
        pa_log_warn("Got POLLHUP from ALSA");
 | 
			
		||||
    if (revents & POLLPRI)
 | 
			
		||||
        pa_log_warn("Got POLLPRI from ALSA");
 | 
			
		||||
    if (revents & POLLIN)
 | 
			
		||||
        pa_log_warn("Got POLLIN from ALSA");
 | 
			
		||||
    if (revents & POLLOUT)
 | 
			
		||||
        pa_log_warn("Got POLLOUT from ALSA");
 | 
			
		||||
 | 
			
		||||
    state = snd_pcm_state(pcm);
 | 
			
		||||
    pa_log_warn("PCM state is %s", snd_pcm_state_name(state));
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue