Date: Fri, 23 Apr 2010 11:57:36 GMT From: Ivan Klymenko <fidaj@ukr.net> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/145989: audio/qjackctl - jackd does not start from not root user Message-ID: <201004231157.o3NBvajK059556@www.freebsd.org> Resent-Message-ID: <201004231715.o3NHFhHG083726@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 145989 >Category: ports >Synopsis: audio/qjackctl - jackd does not start from not root user >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Apr 23 17:15:43 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Ivan Klymenko >Release: FreeBSD 9.0-CURRENT amd64 >Organization: individual >Environment: >Description: If this option "realtime" is not specified in qjackctl, then tries to start jackd with realtime priority - that will not be successful for not root user. For the successful launch jackd should add the option "-r" >How-To-Repeat: >Fix: Patch attached with submission follows: --- src/qjackctlMainForm.cpp.orig 2010-04-23 14:36:05.000000000 +0300 +++ src/qjackctlMainForm.cpp 2010-04-23 14:36:32.000000000 +0300 @@ -805,6 +805,8 @@ if (m_preset.iPriority > 0 && !bCoreaudio) args.append("-P" + QString::number(m_preset.iPriority)); } + else + args.append("-r"); if (m_preset.iPortMax > 0 && m_preset.iPortMax != 256) args.append("-p" + QString::number(m_preset.iPortMax)); if (m_preset.iTimeout > 0 && m_preset.iTimeout != 500) >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201004231157.o3NBvajK059556>