mirror of
				https://github.com/alsa-project/alsa-lib.git
				synced 2025-11-03 09:01:52 -05:00 
			
		
		
		
	fix compilation in pcm/pcm_hw.c - monotonic clock
This commit is contained in:
		
							parent
							
								
									542b12b888
								
							
						
					
					
						commit
						d555b15914
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
					@ -1006,9 +1006,9 @@ int snd_pcm_hw_open_fd(snd_pcm_t **pcmp, const char *name,
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
			monotonic = 1;
 | 
								monotonic = 1;
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
	}
 | 
						} else
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
	  else if (SNDRV_PROTOCOL_VERSION(2, 0, 5) <= ver) {
 | 
						  if (SNDRV_PROTOCOL_VERSION(2, 0, 5) <= ver) {
 | 
				
			||||||
		int on = 1;
 | 
							int on = 1;
 | 
				
			||||||
		if (ioctl(fd, SNDRV_PCM_IOCTL_TSTAMP, &on) < 0) {
 | 
							if (ioctl(fd, SNDRV_PCM_IOCTL_TSTAMP, &on) < 0) {
 | 
				
			||||||
			ret = -errno;
 | 
								ret = -errno;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue