mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-11-03 09:01:50 -05:00 
			
		
		
		
	reset rewind_requested when we enter suspend mode
This commit is contained in:
		
							parent
							
								
									a9e9ab32a2
								
							
						
					
					
						commit
						537424a9a9
					
				
					 1 changed files with 4 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -1519,6 +1519,10 @@ int pa_sink_process_msg(pa_msgobject *o, int code, void *userdata, int64_t offse
 | 
			
		|||
        case PA_SINK_MESSAGE_SET_STATE:
 | 
			
		||||
 | 
			
		||||
            s->thread_info.state = PA_PTR_TO_UINT(userdata);
 | 
			
		||||
 | 
			
		||||
            if (s->thread_info.state == PA_SINK_SUSPENDED)
 | 
			
		||||
                s->thread_info.rewind_requested = FALSE;
 | 
			
		||||
 | 
			
		||||
            return 0;
 | 
			
		||||
 | 
			
		||||
        case PA_SINK_MESSAGE_DETACH:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue