zita-njbridge not working
Version, Distribution, Desktop Environment: 0.3.20, Arch Linux, KDE Plasma
Description of Problem:
I'm trying to achieve network audio setup.
Trying to use zita-j2n from zita-njbridge package to leads to it's crash, but it seems to work normal on JACK2.
$ zita-j2n --float 192.168.16.2 9999
Warning: memory lock failed.
Fatal error condition, terminating.
It doesn't even connect to n2j server, just crashes.
I cannot reproduce it on second, headless pc tho..
I managed to find what code in j2n is triggering this error.
File jacktx.cc, starting with 184 line.
// Check Jack freewheeling.
if (_freew)
{
if (_state == SEND)
{
// Jack entered freewheeling state.
// Send a 'suspend' packet.
if (_packq->wr_avail () > 0)
{
D = _packq->wr_datap ();
D->init_audio_data (Netdata::FL_SUSP, _sform, _nchan, 0, 0, 0);
_packq->wr_commit ();
_nettx->trigger ();
}
else
{
// Transmit queue is full.
_state = TERM; <----- ERROR IS COMING FROM HERE
report (_state);
return 0;
}
_state = SUSP;
report (_state);
}
}
else
{