pkgsrc/audio/csound-dev/patches/patch-ao
ben 372048f0b9 Add csound-dev-4.24.1 as a replacement for the unmaintained and out-of-date
csound package.

Csound is a software synthesis package in the tradition of so-called
music-N languages, among which the best-known is Music V.  It consists
of an orchestra- and score-driven executable, written in C for
portability.  Since Csound is a computational language, it is highly
flexible and efficient; complexity is gained only at the expense of
computation time.  Basically Csound reads some files and creates the
result as a file on disk or, on faster machines, through a DAC in real
time.

This version of csound implements localization and realtime audio as
plugins.  As a result you need to set the OPCDIR environment variable,
and for realtime audio use "-o devaudio" rather than "-o /dev/audio".
2003-12-13 20:26:03 +00:00

13 lines
440 B
Text

$NetBSD: patch-ao,v 1.1 2003/12/13 20:26:03 ben Exp $
--- globals.c.orig 2003-02-25 19:24:01.000000000 -0800
+++ globals.c
@@ -253,7 +253,7 @@ void globalsRESET(void *csound)
cs_globals->O.sfwrite = 1;
cs_globals->O.sfheader = 1;
cs_globals->O.displays = 1;
-#ifdef LINUX
+#if defined(LINUX) && !defined(__NetBSD__)
cs_globals->O.msglevel = 231;
#elif defined(WIN32)
cs_globals->O.msglevel = 135;