From cf19a0d3ccfac74df1ea676f4099fba1ec384e12 Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 3 Sep 2020 22:40:20 +0200 Subject: ao_alsa: make partial writes an error message And I think "partial write" is easier to understand than "short write". --- audio/out/ao_alsa.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'audio/out/ao_alsa.c') diff --git a/audio/out/ao_alsa.c b/audio/out/ao_alsa.c index 552982ffb2..24f3355047 100644 --- a/audio/out/ao_alsa.c +++ b/audio/out/ao_alsa.c @@ -1086,8 +1086,8 @@ static bool audio_write(struct ao *ao, void **data, int samples) CHECK_ALSA_ERROR("pcm write error"); if (err >= 0 && err != samples) { - MP_WARN(ao, "unexpected short write (%d of %d frames), dropping audio\n", - (int)err, samples); + MP_ERR(ao, "unexpected partial write (%d of %d frames), dropping audio\n", + (int)err, samples); } return true; -- cgit v1.2.3