linux-pulseaudio: Use inline for small functions

master
jp9000 2014-10-06 05:37:55 -04:00
parent e78c54e8e5
commit 164f9b4517
1 changed files with 1 additions and 1 deletions

View File

@ -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;