mirror of
				https://github.com/alsa-project/alsa-lib.git
				synced 2025-10-29 05:40:25 -04:00 
			
		
		
		
	Removed useless check
This commit is contained in:
		
							parent
							
								
									c580e02348
								
							
						
					
					
						commit
						7c7352a009
					
				
					 1 changed files with 0 additions and 2 deletions
				
			
		|  | @ -400,8 +400,6 @@ static int direct_loop(snd_pcm_t *handle, | |||
| 			printf("MMAP begin error: %s\n", snd_strerror(err)); | ||||
| 			exit(EXIT_FAILURE); | ||||
| 		} | ||||
| 		if (frames > period_size) | ||||
| 			frames = period_size; | ||||
| 		generate_sine(my_areas, offset, frames, &phase); | ||||
| 		err = snd_pcm_mmap_commit(handle, offset, frames); | ||||
| 		if (err < 0) { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Jaroslav Kysela
						Jaroslav Kysela