mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 12:49:45 +00:00
mmdevapi: Add OSS to blacklist on linux.
This commit is contained in:
parent
bf58d81968
commit
3d6908c53d
@ -733,6 +733,10 @@ static void openal_setformat(MMDevice *This, DWORD freq)
|
||||
}
|
||||
|
||||
static int blacklist(const char *dev) {
|
||||
#ifdef __linux__
|
||||
if (strncmp(dev, "OSS ", 4))
|
||||
return 1;
|
||||
#endif
|
||||
if (strstr(dev, "ALSA") && strstr(dev, "hw:"))
|
||||
return 1;
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user