Re: Recording with Lexia (mci open new)

2006-06-25 Thread Eric Pouech
Damjan Jovanovic wrote: 3) 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:

Re: Recording with Lexia (mci open new)

2006-06-25 Thread Eric Pouech
I'm having a simular problem with G711Tool.exe 0009:trace:mci:mciSendStringW (Lopen waveaudio alias snd, 0x40371358, 512, (nil)) the same fix should do it... don't forget to apply (if you didn't do it yet) the latest changes to wine.inf so that mciwave.dll is you mci driver (and no longer

Re: Recording with Lexia (mci open new)

2006-06-19 Thread Robert Reif
Damjan Jovanovic wrote: 3) 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:

Re: Recording with Lexia (mci open new)

2006-06-10 Thread Eric Pouech
Peter Åstrand wrote: 1) I believe the mciwave.c patch below makes sense in any case, right? Without it freed memory is used. I don't see why ? wmw-openParms.lpstrElementName and filename is a pointer to the same memory, due to this statement in WAVE_mciOpen:

Re: Recording with Lexia (mci open new)

2006-06-09 Thread Damjan Jovanovic
3) 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

Re: Recording with Lexia (mci open new)

2006-06-09 Thread Peter Åstrand
On Thu, 8 Jun 2006, Peter Åstrand wrote: 2) Any ideas why open new works, even though MCIERR_MISSING_DEVICE_NAME is returned? because open new alias capture should create a new mci session of name capture (which is application defined), and mci supports the auto open feature, which is

Recording with Lexia (mci open new)

2006-06-08 Thread Peter Åstrand
Hi, I've patched Wine to make recordings work in Lexia (http://www.lexia.just.nu/, currently down). When I started out, recordings didn't work, and I was getting traces like: trace:mci:mciSendStringW (Lopen new type waveaudio alias capture, 0x7db2ebc8, 128, (nil)) fixme:mci:mciSendStringW

Re: Recording with Lexia (mci open new)

2006-06-08 Thread Eric Pouech
1) I believe the mciwave.c patch below makes sense in any case, right? Without it freed memory is used. I don't see why ? 2) Any ideas why open new works, even though MCIERR_MISSING_DEVICE_NAME is returned? because open new alias capture should create a new mci session of name

Re: Recording with Lexia (mci open new)

2006-06-08 Thread Peter Åstrand
1) I believe the mciwave.c patch below makes sense in any case, right? Without it freed memory is used. I don't see why ? wmw-openParms.lpstrElementName and filename is a pointer to the same memory, due to this statement in WAVE_mciOpen: memcpy(wmw-openParms, lpOpenParms,