mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-10-29 05:40:23 -04:00 
			
		
		
		
	Corrected a bogus comment.
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1716 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
		
							parent
							
								
									eaafb79858
								
							
						
					
					
						commit
						6687dd0131
					
				
					 1 changed files with 1 additions and 2 deletions
				
			
		|  | @ -753,8 +753,7 @@ static void io_event_cb(pa_mainloop_api* m, pa_io_event* e, int fd, | ||||||
|     part2_length = buffer[1].len / sizeof(float); |     part2_length = buffer[1].len / sizeof(float); | ||||||
| 
 | 
 | ||||||
|     /* If the amount of free space is not a multiple of the frame size, we have
 |     /* If the amount of free space is not a multiple of the frame size, we have
 | ||||||
|        to adjust the lengths in order to not get confused with which sample is |        to truncate the lengths so that we process only complete frames. */ | ||||||
|        which channel. */ |  | ||||||
|     if ((rem = (part1_length + part2_length) % u->channels) != 0) { |     if ((rem = (part1_length + part2_length) % u->channels) != 0) { | ||||||
|         if (part2_length >= rem) { |         if (part2_length >= rem) { | ||||||
|             part2_length -= rem; |             part2_length -= rem; | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Tanu Kaskinen
						Tanu Kaskinen