Hi,
this is my second call for participation, as only Jeff Zaroyko responded to the first one.
I wrote a testsuite for mcicda (play music from CD-ROM using the MCI). Wine's testbot job #4330 at https://testbot.winehq.org/JobDetails.pl?Key=4330 contains both a patch and binary of what I'd initially want to test about mcida.dll, solely lacking compatibility fixes that testing on YOUR machine will show to be necessary.
Please download the executable or compile the patch and execute it in MS-Windows: mcicda_test.exe mcicda mcicda.c:270: CD length 69:23:66 mcicda.c:325: track #1 length 989547ms mcicda.c:375: track #1 length: 16m:29s:41frames mcicda.c:410: last track length: 03m:28s:19frames mcicda.c:418: last track position: 65m:57s:47frames mcicda: 112 tests executed (0 marked as todo, 0 failures), 0 skipped.
BTW, I wrote patches to make all these tests succeed in Wine. Before submission, I'd appreciate some more test data.
Thank you for your participation, Jörg Höhle
On Fri, Aug 6, 2010 at 7:24 PM, Joerg-Cyril.Hoehle@t-systems.com wrote:
Hi,
this is my second call for participation, as only Jeff Zaroyko responded to the first one.
I wrote a testsuite for mcicda (play music from CD-ROM using the MCI). Wine's testbot job #4330 at https://testbot.winehq.org/JobDetails.pl?Key=4330 contains both a patch and binary of what I'd initially want to test about mcida.dll, solely lacking compatibility fixes that testing on YOUR machine will show to be necessary.
Please download the executable or compile the patch and execute it in MS-Windows:
Take #2.
I had a look at the CD I claimed was data+audio with a CDBurnerXP. It's composed of two "sessions" one with audio tracks and the second session is composed of only a data track.
C:\Users\jeffz\Desktop>mcicda_test.exe mcicda.c:270: CD length 54:02:59 mcicda.c:325: track #1 length 76134ms mcicda.c:392: Tests skipped: Got no mixed data+audio CD. mcicda.c:410: last track length: 04m:37s:09frames mcicda.c:418: last track position: 49m:27s:50frames mcicda.c:425: Test failed: SEEK to 003B0436 position last + length: MCIERR_HARDWARE mcicda.c:436: Test failed: PLAY from 1 notify: MCIERR_HARDWARE mcicda.c:439: Tests skipped: Cannot manage to play track 1. mcicda: 64 tests executed (0 marked as todo, 2 failures), 2 skipped.
For comparison, I checked Jedi Knight: Dark Forces II CD1, it is shown to have one session with a data track followed by audio tracks:
C:\Users\jeffz\Desktop>wintest.exe mcishell mci.c:178: Type your commands to the MCI, end with Ctrl-Z/^D open cdaudio alias c mci.c:188: command: open cdaudio alias c mci.c:193: Response: 1 status c type track 1 mci.c:188: command: status c type track 1 mci.c:193: Response: other status c type track 2 mci.c:188: command: status c type track 2 mci.c:193: Response: audio
C:\Users\jeffz\Desktop>mcicda_test.exe mcicda.c:270: CD length 69:42:40 mcicda.c:325: track #1 length 3022801ms mcicda.c:375: track #1 length: 50m:22s:60frames mcicda.c:410: last track length: 02m:10s:50frames mcicda.c:418: last track position: 67m:33s:65frames mcicda.c:425: Test failed: SEEK to 00282C45 position last + length: MCIERR_HARDWARE mcicda.c:436: Test failed: PLAY from 8 notify: MCIERR_HARDWARE mcicda.c:439: Tests skipped: Cannot manage to play track 8. mcicda: 74 tests executed (0 marked as todo, 2 failures), 1 skipped.
And for the same cd as used earlier with only audio:
C:\Users\jeffz\Desktop>mcicda_test.exe mcicda.c:270: CD length 24:53:74 mcicda.c:325: track #1 length 252067ms mcicda.c:392: Tests skipped: Got no mixed data+audio CD. mcicda.c:410: last track length: 04m:54s:52frames mcicda.c:418: last track position: 20m:01s:22frames mcicda.c:425: Test failed: SEEK to 004A3718 position last + length: MCIERR_HARDWARE mcicda.c:436: Test failed: PLAY from 1 notify: MCIERR_HARDWARE mcicda.c:439: Tests skipped: Cannot manage to play track 1. mcicda: 64 tests executed (0 marked as todo, 2 failures), 2 skipped.
Blank CD: C:\Users\jeffz\Desktop>mcicda_test.exe mcicda.c:252: Test failed: info upc: MCIERR_HARDWARE mcicda.c:255: Test failed: info identity: MCIERR_HARDWARE mcicda.c:263: Test failed: STATUS number of tracks: MCIERR_HARDWARE mcicda.c:266: Test failed: number of tracks=0 mcicda.c:269: Test failed: status length: MCIERR_HARDWARE mcicda.c:274: Test failed: status position: MCIERR_HARDWARE mcicda.c:279: Test failed: status position start: MCIERR_HARDWARE mcicda.c:288: Test failed: play 02 to 01: MCIERR_HARDWARE mcicda.c:295: Test failed: seek to noflag: MCIERR_HARDWARE mcicda.c:298: Test failed: seek to start+end: MCIERR_HARDWARE mcicda.c:302: Test failed: seek to start: MCIERR_HARDWARE mcicda.c:313: Test failed: status position start (ms): MCIERR_HARDWAR mcicda.c:323: Test failed: status length (ms): MCIERR_HARDWARE mcicda.c:339: Test failed: STATUS type track 1: MCIERR_HARDWARE mcicda.c:340: Test failed: unknown track type feedabad mcicda.c:397: Tests skipped: Found no audio track. mcicda: 53 tests executed (0 marked as todo, 15 failures), 1 skipped.
A DVD:
C:\Users\jeffz\Desktop>mcicda_test.exe mcicda.c:229: Tests skipped: CD-ROM mode not ready mcicda: 21 tests executed (0 marked as todo, 0 failures), 1 skipped
Jeff
Jeff Zaroyko wrote:
Blank CD: mcicda.c:252: Test failed: info upc: MCIERR_HARDWARE mcicda.c:255: Test failed: info identity: MCIERR_HARDWARE mcicda.c:263: Test failed: STATUS number of tracks: MCIERR_HARDWARE mcicda.c:266: Test failed: number of tracks=0
I'll select an appropriate test based on Linux (and MacOS) results in Wine and add a skip.
mcicda.c:425: Test failed: SEEK to 003B0436 position last + length:
MCIERR_HARDWARE
mcicda.c:436: Test failed: PLAY from 1 notify: MCIERR_HARDWARE
I believe both errors have the same origin.
Here you really need to find out what command in the testsuite causes the seek&play tests to fail with MCIERR_HARDWARE since you said you could play music using MCI commands typed into the shell. Why can't the testsuite? Luckily, almost all mciSendCommand can be converted to an equivalent string form. Sadly, I have no clue what command may influence this -- perhaps MCI_RESUME?
It's composed of two "sessions"
That'll make for an interesting testcase once we get rid of the above MCIERR_HARDWARE issue.
Thank you again, Jörg Höhle
Here is my result on a real Vista box using the CD: Police -Greatest hits
mcicda.c:270: CD length 67:55:74 mcicda.c:275: Test failed: status position initially 00:02:33 mcicda.c:280: Test failed: status position start 00:02:33 mcicda.c:314: Test failed: status position initially 2441ms mcicda.c:325: track #1 length 192667ms mcicda.c:392: Tests skipped: Got no mixed data+audio CD. mcicda.c:410: last track length: 04m:12s:27frames mcicda.c:418: last track position: 63m:46s:05frames mcicda.c:425: Test failed: SEEK to 00203A43 position last + length: MCIERR_HARDWARE mcicda.c:436: Test failed: PLAY from 1 notify: MCIERR_HARDWARE mcicda.c:439: Tests skipped: Cannot manage to play track 1. mcicda: 64 tests executed (0 marked as todo, 5 failures), 2 skipped.
David
________________________________ De : "Joerg-Cyril.Hoehle@t-systems.com" Joerg-Cyril.Hoehle@t-systems.com À : wine-devel@winehq.org Envoyé le : Ven 6 août 2010, 11h 24min 55s Objet : Wine users with a CD-ROM drive, please test
Hi,
this is my second call for participation, as only Jeff Zaroyko responded to the first one.
I wrote a testsuite for mcicda (play music from CD-ROM using the MCI). Wine's testbot job #4330 at https://testbot.winehq.org/JobDetails.pl?Key=4330 contains both a patch and binary of what I'd initially want to test about mcida.dll,
solely lacking compatibility fixes that testing on YOUR machine will show to be necessary.
Please download the executable or compile the patch and execute it in MS-Windows: mcicda_test.exe mcicda mcicda.c:270: CD length 69:23:66 mcicda.c:325: track #1 length 989547ms mcicda.c:375: track #1 length: 16m:29s:41frames mcicda.c:410: last track length: 03m:28s:19frames mcicda.c:418: last track position: 65m:57s:47frames mcicda: 112 tests executed (0 marked as todo, 0 failures), 0 skipped.
BTW, I wrote patches to make all these tests succeed in Wine. Before submission, I'd appreciate some more test data.
Thank you for your participation, Jörg Höhle