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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxx>
> Reviewed-by: Timo Wischer <twischer@xxxxxxxxxxxxxx>

Applied, thanks.


Takashi
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
https://mailman.alsa-project.org/mailman/listinfo/alsa-devel



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux