mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	pulse-server: remove unused field
And it's not quite useful to debug the value either.
This commit is contained in:
		
							parent
							
								
									ac919e2a10
								
							
						
					
					
						commit
						6394537dbd
					
				
					 3 changed files with 5 additions and 5 deletions
				
			
		| 
						 | 
				
			
			@ -1139,7 +1139,7 @@ do_process_done(struct spa_loop *loop,
 | 
			
		|||
			stream->underrun_for = 0;
 | 
			
		||||
			stream->playing_for = 0;
 | 
			
		||||
			if (pd->underrun)
 | 
			
		||||
				stream_send_underflow(stream, stream->read_index, pd->underrun_for);
 | 
			
		||||
				stream_send_underflow(stream, stream->read_index);
 | 
			
		||||
			else
 | 
			
		||||
				stream_send_started(stream);
 | 
			
		||||
		}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -183,15 +183,15 @@ uint32_t stream_pop_missing(struct stream *stream)
 | 
			
		|||
	return missing;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
int stream_send_underflow(struct stream *stream, int64_t offset, uint32_t underrun_for)
 | 
			
		||||
int stream_send_underflow(struct stream *stream, int64_t offset)
 | 
			
		||||
{
 | 
			
		||||
	struct client *client = stream->client;
 | 
			
		||||
	struct impl *impl = client->impl;
 | 
			
		||||
	struct message *reply;
 | 
			
		||||
 | 
			
		||||
	if (ratelimit_test(&impl->rate_limit, stream->timestamp, SPA_LOG_LEVEL_INFO)) {
 | 
			
		||||
		pw_log_info("[%s]: UNDERFLOW channel:%u offset:%" PRIi64 " underrun:%u",
 | 
			
		||||
			    client->name, stream->channel, offset, underrun_for);
 | 
			
		||||
		pw_log_info("[%s]: UNDERFLOW channel:%u offset:%" PRIi64,
 | 
			
		||||
			    client->name, stream->channel, offset);
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	reply = message_alloc(impl, -1, 0);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -115,7 +115,7 @@ void stream_free(struct stream *stream);
 | 
			
		|||
void stream_flush(struct stream *stream);
 | 
			
		||||
uint32_t stream_pop_missing(struct stream *stream);
 | 
			
		||||
 | 
			
		||||
int stream_send_underflow(struct stream *stream, int64_t offset, uint32_t underrun_for);
 | 
			
		||||
int stream_send_underflow(struct stream *stream, int64_t offset);
 | 
			
		||||
int stream_send_overflow(struct stream *stream);
 | 
			
		||||
int stream_send_killed(struct stream *stream);
 | 
			
		||||
int stream_send_started(struct stream *stream);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue