[LAD] jack ringbuffer usage
Raphaël BOLLEN
raphael.bollen at mobistar.be
Mon Apr 8 12:01:56 UTC 2013
On 04/08/2013 01:51 PM, Harry van Haaren wrote:
> On Mon, Apr 8, 2013 at 12:45 PM, Raphaël BOLLEN <raphael.bollen at mobistar.be
> <mailto:raphael.bollen at mobistar.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
Hi Harry, thanks for the information.
--
Raphaël.
More information about the Linux-audio-dev
mailing list