Re: [LAD] jack ringbuffer usage

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Raphaël BOLLEN <raphael.bollen@...>
Cc: Linux Audio Developers <linux-audio-dev@...>
Date: Monday, April 8, 2013 - 11:51 am

--001a11c32e10a0d44804d9d80e84
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On Mon, Apr 8, 2013 at 12:45 PM, Rapha=EBl BOLLEN
wrote:

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

--001a11c32e10a0d44804d9d80e84
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On Mon, Apr 8, 2013 at 12:45 PM, Rapha=EBl =
BOLLEN <raphael.bollen@mob=
istar.be
> wrote:> error: invalid conversion from 'void*&#=
39; to 'char*' [-fpermissive]
jack_ringbuffer_read() expects the buffer pointer to be of type=A0 =
char* not void*. The "char*" should just be interpreted=
as "pointer", as the data is data, which is not necessarily a ch=
ar.
Change your case from (void*) to (char*) and you won't need -=
fpermissive :)HTH, -H

--001a11c32e10a0d44804d9d80e84--

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[LAD] jack ringbuffer usage, Raphaël BOLLEN, (Mon Apr 8, 11:45 am)
Re: [LAD] jack ringbuffer usage, Harry van Haaren, (Mon Apr 8, 11:51 am)
Re: [LAD] jack ringbuffer usage, Jörn Nettingsmeier, (Thu Apr 11, 6:23 pm)
Re: [LAD] jack ringbuffer usage, Raphaël BOLLEN, (Mon Apr 8, 12:02 pm)
Re: [LAD] jack ringbuffer usage, Harry van Haaren, (Mon Apr 8, 12:09 pm)
Re: [LAD] jack ringbuffer usage, Raphaël BOLLEN, (Mon Apr 8, 12:23 pm)
Re: [LAD] jack ringbuffer usage, Paul Davis, (Mon Apr 8, 1:29 pm)
Re: [LAD] jack ringbuffer usage, Raphaël BOLLEN, (Mon Apr 8, 3:27 pm)
Re: [LAD] jack ringbuffer usage, Jörn Nettingsmeier, (Thu Apr 11, 9:35 pm)
Re: [LAD] jack ringbuffer usage, Raphaël BOLLEN, (Fri Apr 12, 8:17 am)
Re: [LAD] jack ringbuffer usage, Adrian Knoth, (Mon Apr 8, 12:24 pm)
Re: [LAD] jack ringbuffer usage, Raphaël BOLLEN, (Mon Apr 8, 1:16 pm)
Re: [LAD] jack ringbuffer usage, Adrian Knoth, (Mon Apr 8, 1:49 pm)
Re: [LAD] jack ringbuffer usage, Raphaël BOLLEN, (Mon Apr 8, 3:31 pm)
Re: [LAD] jack ringbuffer usage, Adrian Knoth, (Mon Apr 8, 3:48 pm)