On Mon, 21 Nov 2005, Eric Pouech wrote:
Peter Åstrand wrote:
Any ideas?
does this help (lines in patch are likely to be wrapped)?
Well, sort of. The error message is gone; MCIERR_UNRECOGNIZED_COMMAND is not returned any more.
However, something else is wrong: No recording file is saved. There should be a file called 0000.wav in the "Tal" directory, but no such file exists after recording. Here's the trace:
trace:mci:mciSendStringW (L"close ArticleEditor", (nil), 0, (nil)) trace:mci:mciSendStringW (L"open articleeditor wait", (nil), 0, (nil)) trace:mci:MCI_LoadMciDriver wDevID=0001 fixme:mci:MCI_LoadMciDriver Couldn't load driver for type L"ARTICLEEDITOR". If you don't have a windows installation accessible from Wine, you perhaps forgot to create a [mci] section in system.ini trace:mci:mciSendStringW (L"open "C:\Program Files\Studieknep\data\pcm\44.wav" alias ArticleEditor", (nil), 0, (nil)) trace:mci:MCI_LoadMciDriver wDevID=0001 trace:mci:mciSetDriverData (0001, 7c8ed780) trace:mci:MCI_LoadMciDriver Loaded driver 0x7c8e7c90 (L"WAVEAUDIO"), type is 522, cmdTable=0000ffff trace:mci:MCI_LoadMciDriver mcidev=1, uDevTyp=020A wDeviceID=0001 ! trace:mci:MCI_SetCommandTable (0x7fb2a89c, 0) trace:mci:MCI_IsCommandTableValid Dumping cmdTbl=0 [lpTable=0x7fb2a89c devType=0] trace:mci:MCI_GetCommandTable => 0 trace:mci:MCI_SetCommandTable (0x7fb2c720, 522) trace:mci:MCI_IsCommandTableValid Dumping cmdTbl=1 [lpTable=0x7fb2c720 devType=522] trace:mci:MCI_GetCommandTable => 1 trace:mci:mciSendStringW verb=L"open" on dev=L"c:\program files\studieknep\data\pcm\44.wav"; offset=2 trace:mci:MCI_ParseOptArgs args=L"alias articleeditor" offset=2 trace:mci:mciSendStringW [1, MCI_OPEN, 00000600, 00000000/(null) 00000000/(null) 00000000/(null) 7c8ec1ac/L"c:\program files\studieknep\data\pcm\44.wav" 7c8ec212/L"articleeditor" 00000000/(null)] trace:mci:mciGetDriverData (0001) trace:mci:mciSendStringW => 1/ 0 ((null)) trace:mci:mciSendStringW => 2/ 0 ((null)) trace:mci:mciSendStringW (L"record ArticleEditor", (nil), 0, (nil)) trace:mci:mciSendStringW verb=L"record" on dev=L"articleeditor"; offset=1 trace:mci:mciSendStringW [1, MCI_RECORD, 00000000, 00000000/(null) 00000000/(null) 00000000/(null) 00000000/(null) 00000000/(null) 00000000/(null)] trace:mci:mciGetDriverData (0001) trace:mci:mciSendStringW => 1/ 0 ((null)) trace:mci:mciSendStringW => 2/ 0 ((null)) trace:mci:mciSendCommandA (00000001, MCI_RECORD, 00000002, 7c8ed6c0) trace:mci:mciSendCommandW (00000001, MCI_RECORD, 00000002, 7c8ed6c0) trace:mci:mciGetDriverData (0001) fixme:mciwave:WAVE_mciRecord Should descend into data chunk. Please report. trace:mci:mciSendStringW (L"stop ArticleEditor", (nil), 0, (nil)) trace:mci:mciSendStringW verb=L"stop" on dev=L"articleeditor"; offset=1 trace:mci:mciSendStringW [1, MCI_STOP, 00000000, 00000000/(null) 00000000/(null) 00000000/(null) 00000000/(null) 00000000/(null) 00000000/(null)] trace:mci:mciGetDriverData (0001) trace:mci:mciSendCommandW => 00000000 trace:mci:mciSendStringW => 1/ 0 ((null)) trace:mci:mciSendStringW => 2/ 0 ((null)) trace:mci:mciSendStringW (L"save ArticleEditor "C:\Program Files\Studieknep\Tal\0000.wav"", (nil), 0, (nil)) trace:mci:mciSendStringW verb=L"save" on dev=L"articleeditor"; offset=1 trace:mci:MCI_ParseOptArgs args=L""c:\program files\studieknep\tal\0000.wav"" offset=1 trace:mci:MCI_ParseOptArgs args=L"\b798\7c96 " offset=1 trace:mci:mciSendStringW [1, MCI_SAVE, 00000100, 00000000/(null) 7c96b81c/L"\b798\7c96" 00000000/(null) 00000000/(null) 00000000/(null) 00000000/(null)] trace:mci:mciGetDriverData (0001) trace:mci:mciSendStringW => 1/ 0 ((null)) trace:mci:mciSendStringW => 2/ 0 ((null))
Does this look strange or normal?
Could it help with using one or several DLL files from Windows?
Regards,