From 164f9b451738789d45dcac933ab01ba592876880 Mon Sep 17 00:00:00 2001 From: jp9000 Date: Mon, 6 Oct 2014 05:37:55 -0400 Subject: [PATCH] linux-pulseaudio: Use inline for small functions --- plugins/linux-pulseaudio/pulse-input.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/linux-pulseaudio/pulse-input.c b/plugins/linux-pulseaudio/pulse-input.c index a3feef63d..2e319f430 100644 --- a/plugins/linux-pulseaudio/pulse-input.c +++ b/plugins/linux-pulseaudio/pulse-input.c @@ -92,7 +92,7 @@ static enum speaker_layout pulse_channels_to_obs_speakers( /** * Get latency for a pulse audio stream */ -static int pulse_get_stream_latency(pa_stream *stream, int64_t *latency) +static inline int pulse_get_stream_latency(pa_stream *stream, int64_t *latency) { int ret; int sign;