mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-10-29 05:40:27 -04:00 
			
		
		
		
	alsa: fix some signedness warnings
This commit is contained in:
		
							parent
							
								
									d247db8d26
								
							
						
					
					
						commit
						9d0be53be9
					
				
					 1 changed files with 4 additions and 5 deletions
				
			
		|  | @ -123,9 +123,9 @@ typedef struct { | |||
| 	struct spa_hook stream_listener; | ||||
| 
 | ||||
| 	int64_t delay; | ||||
| 	int64_t transfered; | ||||
| 	int64_t buffered; | ||||
| 	uint64_t now; | ||||
| 	uint64_t transfered; | ||||
| 	uint64_t buffered; | ||||
| 	int64_t now; | ||||
| 	uintptr_t seq; | ||||
| 
 | ||||
| 	struct spa_audio_info_raw format; | ||||
|  | @ -448,9 +448,8 @@ static void on_stream_process(void *data) | |||
| 	pw_stream_get_time_n(pw->stream, &pwt, sizeof(pwt)); | ||||
| 
 | ||||
| 	delay = pwt.delay; | ||||
| 	if (pwt.rate.num != 0) { | ||||
| 	if (pwt.rate.num != 0) | ||||
| 		delay = delay * io->rate * pwt.rate.num / pwt.rate.denom; | ||||
| 	} | ||||
| 
 | ||||
| 	before = hw_avail = snd_pcm_ioplug_hw_avail(io, pw->hw_ptr, io->appl_ptr); | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Wim Taymans
						Wim Taymans