Re: [LAD] jack ringbuffer usage

From: Harry van Haaren <harryhaaren@email-addr-hidden>
Date: Mon Apr 08 2013 - 14:51:28 EEST

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

jack_ringbuffer_read() expects the buffer pointer to be of type char* not
void*.
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 :)
HTH, -H

_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-dev
Received on Mon Apr 8 16:15:05 2013

This archive was generated by hypermail 2.1.8 : Mon Apr 08 2013 - 16:15:05 EEST