Re: add autodetect audio driver capability to winmm, second try
29 Jul
2004
29 Jul
'04
11:04 p.m.
James Hawkins <truiken(a)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(a)winehq.org
7809
Age (days ago)
7809
Last active (days ago)
0 comments
1 participants
participants (1)
-
Alexandre Julliard