[alsa-devel] [tinycompress][PATCH 0/2] Fixes for write loop logic

Richard Fitzgerald rf at opensource.wolfsonmicro.com
Wed Jun 5 14:08:27 CEST 2013


Two small patches which correct the logic of compress_write()
so that it will work correctly if asked to write a buffer
shorter than the fragment length. The first patch is needed
to ensure that if the client requests auto-configuration
of fragment size the internal copy of the config contains the
configured fragment size. The second patch contains the actual
fix to the write loop logic.

Richard Fitzgerald (2):
  compress: copy final version of config struct
  compress: do not poll if enough space to write remaining data

 compress.c |   13 ++++++-------
 1 files changed, 6 insertions(+), 7 deletions(-)

-- 
1.7.2.5



More information about the Alsa-devel mailing list