[PATCH 0/2] pcm_file write file assert case handling

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

 



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

_______________________________________________
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