Commit 0462f44e authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

PulseAudio: use existing helper

parent 9cbd4b66
...@@ -281,9 +281,8 @@ static void Play(aout_instance_t *aout) ...@@ -281,9 +281,8 @@ static void Play(aout_instance_t *aout)
if (pa_stream_write(s, ptr, len, data_free, 0, PA_SEEK_RELATIVE) < 0) if (pa_stream_write(s, ptr, len, data_free, 0, PA_SEEK_RELATIVE) < 0)
{ {
error(aout, "cannot write", sys->context);
block_Release(block); block_Release(block);
msg_Err(aout, "cannot write: %s",
pa_strerror(pa_context_errno(sys->context)));
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment