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