FreeBSD Bugzilla – Attachment 252499 Details for
Bug 280611
audio/jack: Option for new OSS driver backend.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Add option for new OSS driver backend.
audio-jack-Option-for-new-OSS-driver-backend.patch (text/plain), 2.86 KB, created by
Florian Walpen
on 2024-08-04 13:14:32 UTC
(
hide
)
Description:
Add option for new OSS driver backend.
Filename:
MIME Type:
Creator:
Florian Walpen
Created:
2024-08-04 13:14:32 UTC
Size:
2.86 KB
patch
obsolete
>From 170b858e3f5432e5adc0e1fea6129d65985aad38 Mon Sep 17 00:00:00 2001 >From: Florian Walpen <dev@submerge.ch> >Date: Tue, 6 Feb 2024 16:43:42 +0100 >Subject: [PATCH] audio/jack: Option for new OSS driver backend. > >Add a non-default option to build the new OSS driver backend coming in >the next JACK release. The backend is a complete rewrite based on the >sosso library, with improved stability and low latency capabilities. Let >users preview and test the new backend before it becomes default. > >PR: 280611 >--- > audio/jack/Makefile | 7 ++++++- > audio/jack/distinfo | 3 +++ > audio/jack/files/jackd.in | 6 ++---- > 3 files changed, 11 insertions(+), 5 deletions(-) > >diff --git a/audio/jack/Makefile b/audio/jack/Makefile >index b0f34b0f5572..331f5d822fd3 100644 >--- a/audio/jack/Makefile >+++ b/audio/jack/Makefile >@@ -30,7 +30,7 @@ SHEBANG_LANG= python3 > > CONFIGURE_ARGS= --celt=no --samplerate=yes > >-OPTIONS_DEFINE= ALSA DBUS OPUS PROFILING >+OPTIONS_DEFINE= ALSA DBUS OPUS PROFILING SOSSO > OPTIONS_DEFAULT= DBUS OPUS > OPTIONS_SUB= yes > >@@ -50,6 +50,11 @@ OPUS_CONFIGURE_OFF= --opus=no > PROFILING_DESC= Build with profiling information > PROFILING_CONFIGURE_ON= --profile > >+# Let users test the new OSS driver backend coming in 1.9.23, see >+# https://github.com/jackaudio/jack2/pull/943 >+SOSSO_DESC= Build new OSS driver backend (sosso library) >+SOSSO_GH_TAGNAME= 0762eac06a8c327757acfa7c770e16d827610873 >+ > TESTING_UNSAFE= No function 'test' defined in ${WRKSRC}/wscript > > .include <bsd.port.pre.mk> >diff --git a/audio/jack/distinfo b/audio/jack/distinfo >index 4d372a443879..60a5a11358a4 100644 >--- a/audio/jack/distinfo >+++ b/audio/jack/distinfo >@@ -1,3 +1,6 @@ > TIMESTAMP = 1675342810 > SHA256 (jackaudio-jack2-v1.9.22_GH0.tar.gz) = 1e42b9fc4ad7db7befd414d45ab2f8a159c0b30fcd6eee452be662298766a849 > SIZE (jackaudio-jack2-v1.9.22_GH0.tar.gz) = 933448 >+TIMESTAMP = 1722598892 >+SHA256 (jackaudio-jack2-v1.9.22-0762eac06a8c327757acfa7c770e16d827610873_GH0.tar.gz) = d6207cfb28f5d8e3531d5a283a80631b94b3e633b9f51edecdf5d112e979a3e3 >+SIZE (jackaudio-jack2-v1.9.22-0762eac06a8c327757acfa7c770e16d827610873_GH0.tar.gz) = 967723 >diff --git a/audio/jack/files/jackd.in b/audio/jack/files/jackd.in >index e78285044ea7..8f8d617fe377 100644 >--- a/audio/jack/files/jackd.in >+++ b/audio/jack/files/jackd.in >@@ -9,8 +9,7 @@ > # > > : ${jackd_enable="NO"} >-: ${jackd_user="root"} >-: ${jackd_rtprio="NO"} >+: ${jackd_user=""} > : ${jackd_args="--no-realtime -doss -r48000 -p1024 -w32"} > > . /etc/rc.subr >@@ -32,8 +31,7 @@ check_config() { > fi > > # detect intent to use realtime priority >- if [ "$jackd_rtprio" = "YES" ] || \ >- { echo "$jackd_args" | grep -q -- "oss" && \ >+ if { echo "$jackd_args" | grep -q -- "oss" && \ > { echo "$jackd_args" | grep -qw -- "--realtime" || \ > echo "$jackd_args" | grep -qw -- "-[A-Za-mo-z]*R[A-Za-z]*"; }; }; then > # check that mac_priority(4) is enabled >-- >2.46.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
dev
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 280611
: 252499