mirror of
				https://github.com/alsa-project/alsa-lib.git
				synced 2025-11-03 09:01:52 -05:00 
			
		
		
		
	Fixed typos.
This commit is contained in:
		
							parent
							
								
									c39882f602
								
							
						
					
					
						commit
						d4d1405018
					
				
					 2 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
					@ -444,7 +444,7 @@ int snd_async_add_ctl_handler(snd_async_handler_t **handler, snd_ctl_t *ctl,
 | 
				
			||||||
	was_empty = list_empty(&ctl->async_handlers);
 | 
						was_empty = list_empty(&ctl->async_handlers);
 | 
				
			||||||
	list_add_tail(&h->hlist, &ctl->async_handlers);
 | 
						list_add_tail(&h->hlist, &ctl->async_handlers);
 | 
				
			||||||
	if (was_empty) {
 | 
						if (was_empty) {
 | 
				
			||||||
		err = snd_ctl_async(ctl, snd_async_get_signo(h), getpid());
 | 
							err = snd_ctl_async(ctl, snd_async_handler_get_signo(h), getpid());
 | 
				
			||||||
		if (err < 0) {
 | 
							if (err < 0) {
 | 
				
			||||||
			snd_async_del_handler(h);
 | 
								snd_async_del_handler(h);
 | 
				
			||||||
			return err;
 | 
								return err;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1441,7 +1441,7 @@ int snd_async_add_pcm_handler(snd_async_handler_t **handler, snd_pcm_t *pcm,
 | 
				
			||||||
	was_empty = list_empty(&pcm->async_handlers);
 | 
						was_empty = list_empty(&pcm->async_handlers);
 | 
				
			||||||
	list_add_tail(&h->hlist, &pcm->async_handlers);
 | 
						list_add_tail(&h->hlist, &pcm->async_handlers);
 | 
				
			||||||
	if (was_empty) {
 | 
						if (was_empty) {
 | 
				
			||||||
		err = snd_pcm_async(pcm, snd_async_signo(h), getpid());
 | 
							err = snd_pcm_async(pcm, snd_async_handler_get_signo(h), getpid());
 | 
				
			||||||
		if (err < 0) {
 | 
							if (err < 0) {
 | 
				
			||||||
			snd_async_del_handler(h);
 | 
								snd_async_del_handler(h);
 | 
				
			||||||
			return err;
 | 
								return err;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue