[LAD] jack ringbuffer usage

Harry van Haaren harryhaaren at gmail.com
Mon Apr 8 11:51:28 UTC 2013

On Mon, Apr 8, 2013 at 12:45 PM, Raphaël BOLLEN <raphael.bollen at mobistar.be>
> error: invalid conversion from 'void*' to 'char*' [-fpermissive]

jack_ringbuffer_read() expects the buffer pointer to be of type  char* not
The "char*" should just be interpreted as "pointer", as the data is data,
which is not necessarily a char.

Change your case from (void*) to (char*) and you won't need -fpermissive :)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxaudio.org/pipermail/linux-audio-dev/attachments/20130408/2a6112fb/attachment.html>

More information about the Linux-audio-dev mailing list