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

Jussi Lahtinen jussi.lahtinen at ...626...
Wed Jul 17 16:04:37 CEST 2013


I think this is correct way to call jack_client_open, since "status" is
declared in c code.
Though status is enum word, not short...

Dim status As Short

client = jack_client_open(nomeClient, options, VarPtr(status), Null)



 > 2. You should confirm size of jack_default_audio_sample_t.
>
> confirm... where ?
>

Compile piece of c code:

#include <jack/jack.h>

jack_default_audio_sample_t test;

printf ("%d\n", sizeof(test));

Documentation says it can be float or double (in Gambas single and float).
http://jackaudio.org/files/docs/html/types_8h.html#ae42bb7c4f7929176563585b2e3e8ebf6

Even if this doesn't fix the problem it may be part of it, and mess up bt.


Jussi



More information about the User mailing list