;=========================================================================== ; MODULE: CDManl.Txt ; AUTHOR: JohnMil ; DATE: 9/10/92 ; ; This data file is meant to act as a sanity check for the MCI CDAudio ; driver. It attempts to run a representative set of commands on a known ; CD -- specifically, "Living Sound Effects Volume 4" by Bainbridge Records. ; This data file asks the user whether or not the results were as expected. ; It is IMPERATIVE that all questions be phrased in a manner such that 'Yes' ; indicates the correct behaviour, and 'No' indicates an error. ; ; Rules for construction of this data file can be found in MCI\MCIGen\TestLoop. ; ;=========================================================================== ; ; ; ;==================== TestCase TC_CD_SANITY ;==================== ; close all * open cdaudio alias %alias% 0 * set %alias% time format tmsf 0 seek %alias% to 2 wait 0 status %alias% position 0 ?Is the position displayed in the beginning of track 2? play %alias% 0 ? Wait a few seconds. Did you hear 'This is the first audio...'? seek %alias% to end wait 0 status %alias% position 0 ?Does the position displayed correspond to the end of audio on the CD in track 30? seek %alias% to 18 wait 0 status %alias% current track 0 18 play %alias% 0 status %alias% position 0 ?Does the current position seem reasonable? (should be on track 18 or soon after. status %alias% position 0 ?Is the current position an appropriate amount after the last position returned? seek %alias% to 16 0 play %alias% 0 ?Wait for a few seconds, then select 'yes' to pause playback. Did you hear 'Track 16. If it...'? pause %alias% 0 ?Has the audio playback paused? play %alias% 0 ?Did the audio start up again from where it left off? play %alias% from 23 to 24 0 ?Let the CD play until it stops. Did you hear, 'Track 23 Here...' and NO 'Pete & re-Pete'? play %alias% from 19 to 21 0 ?Wait for ~20 seconds. Did you hear 'This is Track 19...' then 'Pete & re-Pete...'? seek %alias% to 30 wait 0 play %alias% 0 ?Listen until playback stops. Did you hear 'Pete & re-Pete...' once? stop %alias% 0 seek %alias% to start 0 close %alias% 0