Damjan Jovanovic wrote:
- Most importantly: Why is it necessary to add
CAPTURE to system.ini? Perhaps the "alias" argument isn't correctly handled?
Yes wine's MCI is broken: the parsing of some formats of MCI commands is incorrect, one of the examples I clearly remember being:
"open G: type cdaudio alias cd" and wine complains that it could not load driver for type G: (whereas the driver type is cdaudio, no?) and you have to add "G:=mcicda.dll" in system.ini
Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
I'm having a simular problem with G711Tool.exe
0009:trace:mci:mciSendStringW (L"open waveaudio alias snd", 0x40371358, 512, (nil)) 0009:trace:mci:MCI_LoadMciDriver wDevID=0001 0009:trace:mci:mciSetDriverData (0001, 40371848) 0009:trace:mci:MCI_LoadMciDriver Loaded driver 0x40371a98 (L"WAVEAUDIO"), type is 522, cmdTable=0000ffff 0009:trace:mci:MCI_LoadMciDriver mcidev=1, uDevTyp=020A wDeviceID=0001 ! 0009:trace:mci:MCI_SetCommandTable (0x408bca7c, 0) 0009:trace:mci:MCI_IsCommandTableValid Dumping cmdTbl=0 [lpTable=0x408bca7c devType=0] 0009:trace:mci:MCI_GetCommandTable => 0 0009:trace:mci:MCI_SetCommandTable (0x408be900, 522) 0009:trace:mci:MCI_IsCommandTableValid Dumping cmdTbl=1 [lpTable=0x408be900 devType=522] 0009:trace:mci:MCI_GetCommandTable => 1 0009:trace:mci:mciSendStringW verb=L"open" on dev=L"waveaudio"; offset=2 0009:trace:mci:MCI_ParseOptArgs args=L"alias snd" offset=2 0009:trace:mci:mciSendStringW [1, MCI_OPEN, 00002400, 00000000/(null) 00000000/(null) 4037176a/L"waveaudio" 00000000/(null) 4037178a/L"snd" 00000000/(null)] 0009:trace:mci:mciGetDriverData (0001) 0009:trace:mci:mciSendStringW => 1/ 0 (L"") 0009:trace:mci:mciSendStringW => 2/ 0 (L"1") 0009:trace:mci:mciSendStringW (L"capability snd can play", 0x40371318, 512, (nil)) 0009:trace:mci:mciSendStringW verb=L"capability" on dev=L"snd"; offset=2 0009:trace:mci:MCI_ParseOptArgs args=L"can play" offset=2 0009:trace:mci:mciSendStringW [1, MCI_GETDEVCAPS, 00000100, 00000000/(null) 00000000/(null) 00000008/#0008 00000000/(null) 00000000/(null) 00000000/(null)] 0009:trace:mci:mciGetDriverData (0001) 0009:trace:mci:mciSendStringW => 1/ 10000 (L"") 0009:trace:mci:mciSendStringW => 2/ 0 (L"true") 0009:trace:mci:mciSendStringW (L"close snd", 0x40371318, 512, (nil)) 0009:trace:mci:mciSendStringW verb=L"close" on dev=L"snd"; offset=1 0009:trace:mci:mciSendStringW [1, MCI_CLOSE, 00000000, 00000000/(null) 00000000/(null) 00000000/(null) 00000000/(null) 00000000/(null) 00000000/(null)] 0009:trace:mci:MCI_Close (0001, 00000000, 0x4083f408) 0009:trace:mci:mciGetDriverData (0001) 0009:trace:mci:mciGetDriverData (0001) 0009:trace:mci:mciSetDriverData (0001, 00000000) 0009:trace:mci:mciGetDriverData (ffffffff) 0009:warn:mci:mciGetDriverData Bad uDeviceID 0009:trace:mci:mciSendStringW => 1/ 0 (L"") 0009:trace:mci:mciSendStringW => 2/ 0 (L"") 0009:trace:mci:mciSendStringW (L"capability waveaudio can save", 0x40371318, 512, (nil)) 0009:trace:mci:mciSendStringW (L"open waveaudio wait", (nil), 0, (nil)) 0009:trace:mci:MCI_LoadMciDriver wDevID=0001 0009:trace:mci:mciSetDriverData (0001, 40371998) 0009:trace:mci:MCI_LoadMciDriver Loaded driver 0x40371970 (L"WAVEAUDIO"), type is 522, cmdTable=0000ffff 0009:trace:mci:MCI_LoadMciDriver mcidev=1, uDevTyp=020A wDeviceID=0001 ! 0009:trace:mci:mciSendStringW verb=L"open" on dev=L"waveaudio"; offset=2 0009:trace:mci:MCI_ParseOptArgs args=L"wait" offset=2 0009:trace:mci:mciSendStringW [1, MCI_OPEN, 00002002, 00000000/(null) 00000000/(null) 40371802/L"waveaudio" 00000000/(null) 00000000/(null) 00000000/(null)] 0009:trace:mci:mciGetDriverData (0001) 0009:trace:mci:mciSendStringW => 1/ 0 ((null)) 0009:trace:mci:mciSendStringW => 2/ 0 ((null)) 0009:trace:mci:mciSendStringW verb=L"capability" on dev=L"waveaudio"; offset=2 0009:trace:mci:MCI_ParseOptArgs args=L"can save" offset=2 0009:trace:mci:mciSendStringW [1, MCI_GETDEVCAPS, 00000100, 00000000/(null) 00000000/(null) 00000009/#0009 00000000/(null) 00000000/(null) 00000000/(null)] 0009:trace:mci:mciGetDriverData (0001) 0009:trace:mci:mciSendStringW => 1/ 10000 (L"") 0009:trace:mci:mciSendStringW => 2/ 0 (L"true") 0009:trace:mci:mciSendStringW (L"capability waveaudio can record", 0x40371318, 512, (nil)) 0009:trace:mci:mciSendStringW verb=L"capability" on dev=L"waveaudio"; offset=2 0009:trace:mci:MCI_ParseOptArgs args=L"can record" offset=2 0009:trace:mci:mciSendStringW [1, MCI_GETDEVCAPS, 00000100, 00000000/(null) 00000000/(null) 00000001/#0001 00000000/(null) 00000000/(null) 00000000/(null)] 0009:trace:mci:mciGetDriverData (0001) 0009:trace:mci:mciSendStringW => 1/ 10000 (L"") 0009:trace:mci:mciSendStringW => 2/ 0 (L"true") 0009:trace:mci:mciSendStringW (L"close all", 0x403768a8, 512, (nil)) 0009:trace:mci:mciSendStringW (L"open all wait", (nil), 0, (nil)) 0009:trace:mci:MCI_LoadMciDriver wDevID=0002 0009:trace:mci:mciSendStringW (L"close all", 0x40376930, 512, (nil)) 0009:trace:mci:mciSendStringW (L"open all wait", (nil), 0, (nil)) 0009:trace:mci:MCI_LoadMciDriver wDevID=0002 0009:trace:mci:mciSendStringW (L"close all", 0x40376930, 512, (nil)) 0009:trace:mci:mciSendStringW (L"open all wait", (nil), 0, (nil)) 0009:trace:mci:MCI_LoadMciDriver wDevID=0002 0009:trace:mci:mciSendStringW (L"status snd mode", 0x403769b0, 512, (nil)) 0009:trace:mci:mciSendStringW (L"open snd wait", (nil), 0, (nil)) 0009:trace:mci:MCI_LoadMciDriver wDevID=0002 0009:fixme:mci:MCI_LoadMciDriver Couldn't load driver for type L"SND". If you don't have a windows installation accessible from Wine, you perhaps forgot to create a [mci] section in system.ini