On 04/03/2013 07:13 AM, Charles Keepax wrote:
The compress API for non-memory mapped DSPs shares a copy callback for both read and write, however the file operation of write passes a const buffer. Thus we can't maintain const correctness for the copy callback and support both read and write. This patch seperates the read and write callbacks in the compressed API.
Why not remove the const to make this consistent with the PCM interface? -Pierre _______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxx http://mailman.alsa-project.org/mailman/listinfo/alsa-devel