diff options
Diffstat (limited to 'libao2/ao_pulse.c')
-rw-r--r-- | libao2/ao_pulse.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libao2/ao_pulse.c b/libao2/ao_pulse.c index af73a72a45..f94be77d5b 100644 --- a/libao2/ao_pulse.c +++ b/libao2/ao_pulse.c @@ -256,10 +256,10 @@ static void uninit(int immed) { /** Play the specified data to the pulseaudio server */ static int play(void* data, int len, int flags) { - if (pa_stream_write(stream, data, len, NULL, 0, PA_SEEK_RELATIVE) < 0) { - GENERIC_ERR_MSG(context, "pa_stream_write() failed"); - return -1; - } + if (pa_stream_write(stream, data, len, NULL, 0, PA_SEEK_RELATIVE) < 0) { + GENERIC_ERR_MSG(context, "pa_stream_write() failed"); + return -1; + } return len; } |