mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-11-03 09:01:50 -05:00 
			
		
		
		
	properly account for seeks in the requested_bytes counter
This commit is contained in:
		
							parent
							
								
									380e97a596
								
							
						
					
					
						commit
						373b5efe51
					
				
					 11 changed files with 55 additions and 50 deletions
				
			
		| 
						 | 
				
			
			@ -235,7 +235,7 @@ static void sink_input_process_rewind_cb(pa_sink_input *i, size_t nbytes) {
 | 
			
		|||
        if (amount > 0) {
 | 
			
		||||
            unsigned c;
 | 
			
		||||
 | 
			
		||||
            pa_memblockq_seek(u->memblockq, - (int64_t) amount, PA_SEEK_RELATIVE);
 | 
			
		||||
            pa_memblockq_seek(u->memblockq, - (int64_t) amount, PA_SEEK_RELATIVE, TRUE);
 | 
			
		||||
 | 
			
		||||
            pa_log_debug("Resetting plugin");
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue