Audio CD Driver Test Cases (Windows CE 5.0)
The following table shows the test cases for the Audio CD Driver Test.
Test case | Description |
---|---|
1001: Raw read & compare 1st sector of each track | Reads in raw mode the first sector of each track by using the IOCTL_CDROM_READ_SG IOCTL. The test then compares the returned data to data from the same sector read by using the IOCTL_CDROM_RAW_READ IOCTL.
This test case fails if the data read by IOCTL_CDROM_READ_SG differs from the data read by IOCTL_CDROM_RAW_READ, or if either IOCTL is not supported. |
1002: Raw read twice & compare all CD data 32 sectors/read | Reads each sector from the CD, 32 sectors at a time, first by using the IOCTL_CDROM_READ_SG IOCTL and then by using the IOCTL_CDROM_RAW_READ IOCTL. The test then compares the returned data.
This test case tolerates inconsistencies in the data returned by each IOCTL. Verify that the output log does not contain warnings of bit errors. This test case fails if either IOCTL is not supported. |
1003: Raw read and measure throughput using 32 sectors/read | Reads each sector from the CD 32 sectors at a time by using the IOCTL_CDROM_READ_SG IOCTL, and measures and records throughput.
This test case fails if throughput is not adequate to support digital audio playback. This test case fails if the IOCTL is not supported. |
2001: Make summary .wav file w/first 500 sectors of each track | Reads the first 500 sectors, one sector at a time, of each track by using the IOCTL_CDROM_READ_SG IOTCL, and saves data to a .wav file. Play back the resulting .wav file on the development workstation to verify audio integrity, and then delete the .wav file.
This test case fails if it cannot open the .wav file. For information about specifying the directory in which to place the .wav file by using the This test case fails if the IOCTL is not supported. |
2002: Convert entire track to .wav file, 32 sectors/read | Reads an entire track, 32 sectors at a time, and saves data to a .wav file. Specify the track to read by using the /track command-line parameter. Play back the resulting .wav file on the development workstation to verify audio integrity, and then delete the .wav file.
This test case fails if it cannot open the .wav file. For information about specifying the directory in which to place the .wav file by using the This test case fails if the IOCTL is not supported. |
3001: Play 10s at each track | Assesses the functionality of the IOCTL_CDROM_PLAY_AUDIO_MSF and IOCTL_CDROM_STOP_AUDIO_MSF IOCTLs by playing the first 10 seconds of each track, starting with the first track and ending with the last track. During playback, the test records information about the state of the drive.
This test fails if either IOCTL is not supported, or if the IOCTL_CDROM_READ_Q_CHANNEL IOCTL does not support the IOCTL_CDROM_CURRENT_POSITION IOCTL. |
3002: Play 10s at each track in reverse order | Assesses the functionality of the IOCTL_CDROM_PLAY_AUDIO_MSF and IOCTL_CDROM_STOP_AUDIO_MSF IOCTLs by playing the first 10 seconds of each track, starting with the last track and ending with the first track. During playback, the test records information about the state of the drive.
This test fails if either IOCTL is not supported, or if the IOCTL_CDROM_READ_Q_CHANNEL IOCTL does not support the IOCTL_CDROM_CURRENT_POSITION IOCTL. |
3003: Seek to the start of each track | Assesses the functionality of the IOCTL_CDROM_SEEK_AUDIO_MSF IOCTL by seeking the start of each track, starting with the first track and ending with the last track.
This test fails if the IOCTL is not supported, or if the IOCTL_CDROM_READ_Q_CHANNEL IOCTL does not support the IOCTL_CDROM_CURRENT_POSITION IOCTL. |
3004: Seek to the start of each track in reverse order | Assesses the functionality of the IOCTL_CDROM_SEEK_AUDIO_MSF IOCTL by seeking the start of each track, starting with the last track and ending with the first track.
This test fails if the IOCTL is not supported, or if the IOCTL_CDROM_READ_Q_CHANNEL IOCTL does not support the IOCTL_CDROM_CURRENT_POSITION IOCTL. |
3005: Play, pause, and resume each track | Assesses the functionality of the IOCTL_CDROM_PLAY_AUDIO_MSF and IOCTL_CDROM_PAUSE_AUDIO_MSF IOCTLs by alternating between playing and pausing for 10 seconds at the start of each track, starting with the first track and ending with the last track. During playback, the test records information about the state of the drive.
This test fails if the IOCTL is not supported, or if the IOCTL_CDROM_READ_Q_CHANNEL IOCTL does not support the IOCTL_CDROM_CURRENT_POSITION IOCTL. |
See Also
Audio CD Driver Test | Modifying the Audio CD Driver Test
Send Feedback on this topic to the authors