mirror of
				https://github.com/alsa-project/alsa-lib.git
				synced 2025-11-03 09:01:52 -05:00 
			
		
		
		
	Fix partial commit in drain
Fix the partial commit in draining with rate plugin.
This commit is contained in:
		
							parent
							
								
									3047f8fa5a
								
							
						
					
					
						commit
						3403d9e622
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -1046,7 +1046,7 @@ static int snd_pcm_rate_commit_area(snd_pcm_t *pcm, snd_pcm_rate_t *rate,
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
		xfer = cont;
 | 
							xfer = cont;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		if (xfer == rate->gen.slave->period_size)
 | 
							if (xfer == slave_size)
 | 
				
			||||||
			return 1;
 | 
								return 1;
 | 
				
			||||||
		
 | 
							
 | 
				
			||||||
		/* commit second fragment */
 | 
							/* commit second fragment */
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue