[LAD] jack ringbuffer usage
nettings at stackingdwarves.net
Thu Apr 11 18:23:32 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
hmmm. isn't that a really outdated way of saying "generic pointer", like
C89 or so? maybe the ringbuffer implementation should be changed to
or am i misunderstanding something?
Lortzingstr. 11, 45128 Essen, Tel. +49 177 7937487
Meister für Veranstaltungstechnik (Bühne/Studio)
More information about the Linux-audio-dev