Re: [LAD] jack ringbuffer usage

From: Jörn Nettingsmeier <nettings@email-addr-hidden>
Date: Thu Apr 11 2013 - 21:23:32 EEST

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@email-addr-hidden <mailto:raphael.bollen@email-addr-hidden>> 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
(void *)?
or am i misunderstanding something?

-- 
Jörn Nettingsmeier
Lortzingstr. 11, 45128 Essen, Tel. +49 177 7937487
Meister für Veranstaltungstechnik (Bühne/Studio)
Tonmeister VDT
http://stackingdwarves.net
_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-dev
Received on Fri Apr 12 00:15:01 2013

This archive was generated by hypermail 2.1.8 : Fri Apr 12 2013 - 00:15:01 EEST