Comment 101 for bug 1551041

Revision history for this message
Raymond (superquad-vortex2) wrote :

You just use any editor to replace this line in au88x0_pcm.c

  return (bytes_to_frames(substream->runtime, current_ptr));

by following lines

 current_ptr = bytes_to_frames(substream->runtime, current_ptr);
 if (current_ptr >= substream->runtime->buffer_size)
 current_ptr = 0;
 return current_ptr;