blob: aafaa7f35d2335529596d1afa1984034fb9f3a65 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
$NetBSD: patch-aj,v 1.6 2007/01/30 13:11:04 adam Exp $
--- dlls/wineoss.drv/oss.c.orig 2005-12-24 10:24:01.000000000 +0100
+++ dlls/wineoss.drv/oss.c
@@ -42,7 +42,9 @@ static LRESULT OSS_drvLoad(void)
{
TRACE("()\n");
OSS_WaveInit();
+#ifdef HAVE_OSS_MIDI
OSS_MidiInit();
+#endif
OSS_MixerInit();
OSS_AuxInit();
return 1;
@@ -55,7 +57,9 @@ static LRESULT OSS_drvFree(void)
{
TRACE("()\n");
OSS_WaveExit();
+#ifdef HAVE_OSS_MIDI
OSS_MidiExit();
+#endif
OSS_MixerExit();
OSS_AuxExit();
return 1;
|