Hi,
On Sun, 8 Apr 2012 13:01:50 -0400
Egor Sanin <egor.sanin(a)gmail.com> wrote:
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.
I didn't look at the jack api, but calling jack_transport_query with a
null-pointer might be valid. In that case jack assumes you're not
interested in position data. iow, the jack authors didn't forget to
check for null-pointers.
Dennis
--
Dennis Schulmeister - Schifferstr. 1 - 76189 Karlsruhe - Germany
Tel: +49 721/5978883 - Fax: +49 721/5978882 - Mob: +49 152/01994400
eMail: dennis(a)windows3.de - web:
there-is.no-ip.org