> In A, &pos refers to valid chunk of memory, thus when
Got it, thanks!
> In B, pos (IIRC) would be initialized to NULL as it is in the file scope.
But then why does jack_transport_query not give any error when it is
passed a NULL pointer in the form of pos?
If I remove the line
frame = pos->frame;
from B, the code runs, state is set properly and jackd doesn't report problems.
Thanks for you help.
Linux-audio-dev mailing list