add autodetect audio driver capability to winmm, second try
Alexandre Julliard
julliard at winehq.org
Thu Jul 29 18:04:06 CDT 2004
James Hawkins <truiken at gmail.com> writes:
> + /* try to detect arts */
> + argv_new[2] = "ps awx|grep artsd|grep -v grep|grep artsd > /dev/null";
> + if(!spawnvp(_P_WAIT, "/bin/sh", argv_new))
> + {
> + driversFound[numFound] = "winearts.drv";
> + name[numFound] = "aRts";
> + numFound++;
> + }
This code does not belong in winmm. Autodetection in winmm should be
done by having the drivers themselves fail to load if the
corresponding support is missing.
--
Alexandre Julliard
julliard at winehq.org
More information about the wine-devel
mailing list