[alsa-devel] [PATCH 1/3] pcm_file: use EIO instead of EPIPE when failing to write output file

Takashi Iwai tiwai at suse.de
Wed Jul 3 14:23:22 CEST 2019


On Mon, 01 Jul 2019 15:25:16 +0200,
Adam Miartus wrote:
> 
> EPIPE is defined as XRUN which is not entirely correct in this condition
> 
> failing to write to a file in pcm_file plugin can not be simply recovered
> by a retry as user of the api might be led to believe when receiving EPIPE
> 
> use EIO instead to indicate a different kid of error that may not be
> recoverable by retry
> 
> Signed-off-by: Adam Miartus <amiartus at de.adit-jv.com>
> Reviewed-by: Timo Wischer <twischer at de.adit-jv.com>

Applied, thanks.


Takashi


More information about the Alsa-devel mailing list