ports/audio/jack/files/patch-jackd_jackd.c
Thomas Zander 8befac40da Enable COOKEDMODE for more versatile soundcard support; use GitHub
Detailed log:
* Add COOKEDMODE option that turns on SNDCTL_DSP_COOKEDMODE.
  Without the cooked mode Jack's OSS driver currently fails for some
  soundcards (it chooses wrong sample rate). It's better to have
  COOKEDMODE=on by default since it often appears broken otherwise.
  Professionals probably want COOKEDMODE=off, after they make sure their
  soundcard works with jack.
* Switch to github for fetching the sources.
* Include the merged upstream pull request #60 to enable the realtime
  mode (-R).
* Add USES=autoreconf (github source doesn't include a configure script)
* Install more manpages.

PR:		220785
Submitted by:	yuri@rawbw.com
MFH:		2017Q3
2017-08-12 08:26:24 +00:00

22 lines
747 B
C

--- jackd/jackd.c.orig 2017-07-17 17:10:09 UTC
+++ jackd/jackd.c
@@ -521,11 +521,17 @@ jack_drivers_load ()
static void copyright (FILE* file)
{
- fprintf (file, "jackd " VERSION "\n"
+ fprintf (file, "jackd " VERSION " (COOKEDMODE=%s)\n"
"Copyright 2001-2009 Paul Davis, Stephane Letz, Jack O'Quinn, Torben Hohn and others.\n"
"jackd comes with ABSOLUTELY NO WARRANTY\n"
"This is free software, and you are welcome to redistribute it\n"
- "under certain conditions; see the file COPYING for details\n\n");
+ "under certain conditions; see the file COPYING for details\n\n",
+#if defined(OPTION_COOKEDMODE)
+ "on"
+#else
+ "off"
+#endif
+ );
}
static void usage (FILE *file)