[Gambas-user] A "Callback" function doesn't work.

Jussi Lahtinen jussi.lahtinen at ...626...
Mon Jul 15 01:44:43 CEST 2013


Problem may be here:
"sizeof (jack_default_audio_sample_t) * nframes);"
"memcpy(outp, inp, SizeOf(gb.Float) * nframes)"

Is it really float, instead of single (in C float and double)?

Jussi



On Mon, Jul 15, 2013 at 12:38 AM, Tobias Boege <taboege at ...626...> wrote:

> On Sun, 14 Jul 2013, Ru Vuott wrote:
> > Hello Jussi,
> >
> >
> > >  but C code "jack_client_t *client;" creates pointer and allocation
> for the structure.
> >
> > But if I exclude the "callback" function, all the remaining works
> normally.  However I can try with allocation....
> >
> >
> > > Also you didn't mention how your code fails. I would expect SGN11.
> >
> > Yes, it does.
> >
>
> This changes the situation quite a bit. I thought "does not work" means
> "does nothing" and not "crashes". We must see the gdb backtrace at least to
> tell what happened...
>
> Regards,
> Tobi
>
>
> ------------------------------------------------------------------------------
> See everything from the browser to the database with AppDynamics
> Get end-to-end visibility with application monitoring from AppDynamics
> Isolate bottlenecks and diagnose root cause in seconds.
> Start your free trial of AppDynamics Pro today!
> http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>



More information about the User mailing list