[alsa-devel] [PATCH 0/2] pcm_file write file assert case handling
Adam Miartus
amiartus at de.adit-jv.com
Fri Jun 7 14:23:21 CEST 2019
patched possible case where failed file write can cause assert in pcm_file
plugin, by reporting error EPIPE and printing debug message.
reporting an error with debug hint message is preferred to assert, user
may have a way to recover in upper API level. providing a debug message
makes it easier to debug the issue from logs. previously, reaching assert
did not provide useful message to API level user.
Adam Miartus (2):
pcm_file: do not disrupt playback on output file write fail
pcm_file: report write output file error to api user
src/pcm/pcm_file.c | 63 +++++++++++++++++++++++++++++++++++++++---------------
1 file changed, 46 insertions(+), 17 deletions(-)
--
2.7.4
More information about the Alsa-devel
mailing list