77e7feb02b
ports ok claudio@ (maintainer)
17 lines
709 B
Plaintext
17 lines
709 B
Plaintext
$OpenBSD: patch-src_snd_dma_c,v 1.2 2010/09/01 00:29:07 jakemsr Exp $
|
|
--- src/snd_dma.c.orig Mon Mar 15 04:50:39 2004
|
|
+++ src/snd_dma.c Mon May 3 17:43:55 2010
|
|
@@ -164,10 +164,10 @@ void S_Init (void)
|
|
struct stat st;
|
|
|
|
/* load sound driver */
|
|
- snddriver = Cvar_Get("snddriver", "oss", CVAR_ARCHIVE);
|
|
+ snddriver = Cvar_Get("snddriver", "sndio", CVAR_ARCHIVE);
|
|
|
|
Com_Printf("loading %s sound output driver", snddriver->string);
|
|
- snprintf(fn, MAX_OSPATH, PKGLIBDIR"/snd_%s.so", snddriver->string);
|
|
+ snprintf(fn, MAX_OSPATH, PKGLIBDIR"/snd_%s.so", "sndio");
|
|
if (stat(fn, &st) == -1) {
|
|
Com_Printf("\nload %s failed: %s\n", fn, strerror(errno));
|
|
return;
|