Re: Don't fall back to OSS when Drivers=""
Ditto, was there something wrong with this one?
Mike Hearn <mike_at_navi.cx> Don't fall back to OSS when Drivers=""
--- dlls/winmm/lolvldrv.c.~1.58.~ 2004-06-01 20:40:48.000000000 +0100 +++ dlls/winmm/lolvldrv.c 2004-08-03 22:01:16.795976000 +0100 @@ -731,6 +731,9 @@ size = sizeof(buffer); if (!RegQueryValueExA(hKey, "Drivers", 0, &type, (LPVOID)buffer, &size)) { p1 = buffer; + + if (!*p1) return TRUE; /* if Drivers="" don't load sound */ + while (p1) { p2 = strchr(p1, ';'); if (p2) *p2++ = '\0';
Mike Hearn <m.hearn(a)signal.qinetiq.com> writes:
Ditto, was there something wrong with this one?
Not sure I see the point, could you please elaborate on what you are trying to achieve here? -- Alexandre Julliard julliard(a)winehq.org
Not sure I see the point, could you please elaborate on what you are trying to achieve here?
Setting Drivers="" in the config file is supposed to prevent sound from being used at all - there are actually howtos and such on the net that say this and it's sometimes given as tech support advice, so I assumed it worked. But, it doesn't seem to - Drivers="" always causes wineoss.drv to be loaded instead. So this patch lets you to make the app think there are no sound cards in the machine.
participants (2)
-
Alexandre Julliard -
Mike Hearn