Hi,
On Sun, 8 Apr 2012 13:01:50 -0400
Egor Sanin <egor.sanin@email-addr-hidden> 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@email-addr-hidden - web: there-is.no-ip.org _______________________________________________ Linux-audio-dev mailing list Linux-audio-dev@email-addr-hidden http://lists.linuxaudio.org/listinfo/linux-audio-devReceived on Sun Apr 8 20:15:03 2012
This archive was generated by hypermail 2.1.8 : Sun Apr 08 2012 - 20:15:03 EEST