Import of pkgsrc-2016Q3

This commit is contained in:
2016-10-14 07:49:11 +02:00
committed by Lionel Sambuc
parent 9d819b6d54
commit 1242aa1e36
35952 changed files with 949749 additions and 377083 deletions

View File

@@ -1,4 +1,4 @@
$NetBSD: patch-src_modules_module-detect.c,v 1.2 2014/06/25 15:26:40 ryoon Exp $
$NetBSD: patch-src_modules_module-detect.c,v 1.4 2016/01/22 19:29:11 ryoon Exp $
Hack to set proper sound device on NetBSD.
@@ -14,7 +14,7 @@ Hack to set proper sound device on NetBSD.
+ * And only primary sound device will be used (n=1).
+ */
+ char args[64];
+ pa_snprintf(args, sizeof(args), "device=/dev/audio");
+ pa_snprintf(args, sizeof(args), "mmap=0 device=/dev/audio");
+ if (!pa_module_load(c, "module-oss", args))
+ exit(1);
+ n = 1;