File: csound-5.13.0-default-pulse.patch

package info (click to toggle)
csound 1%3A6.18.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 62,416 kB
  • sloc: ansic: 192,636; cpp: 14,151; javascript: 9,654; objc: 9,181; java: 3,337; python: 3,333; sh: 1,783; yacc: 1,255; xml: 985; perl: 635; lisp: 411; tcl: 341; lex: 217; makefile: 126
file content (15 lines) | stat: -rw-r--r-- 595 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- Csound5.13.0/Top/csound.c.orig	2010-12-27 17:56:15.000000000 +0000
+++ Csound5.13.0/Top/csound.c	2011-04-07 08:08:54.967713991 +0100
@@ -1005,11 +1005,7 @@
         max_len = 21;
         csoundCreateGlobalVariable(p, "_RTAUDIO", (size_t) max_len);
         s = csoundQueryGlobalVariable(p, "_RTAUDIO");
-#ifdef OLPC
-        strcpy(s, "alsa");
-#else
-        strcpy(s, "PortAudio");
-#endif
+        strcpy(s, "pulse");
         csoundCreateConfigurationVariable(p, "rtaudio", s, CSOUNDCFG_STRING,
                 0, NULL, &max_len,
                 "Real time audio module name", NULL);