1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/os/mm/devsound/a3fintegrationtest/scripts/tsi_a3f_devsound_pcm_play2.script Fri Jun 15 03:10:57 2012 +0200
1.3 @@ -0,0 +1,136 @@
1.4 +// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
1.5 +// All rights reserved.
1.6 +// This component and the accompanying materials are made available
1.7 +// under the terms of "Eclipse Public License v1.0"
1.8 +// which accompanies this distribution, and is available
1.9 +// at the URL "http://www.eclipse.org/legal/epl-v10.html".
1.10 +//
1.11 +// Initial Contributors:
1.12 +// Nokia Corporation - initial contribution.
1.13 +//
1.14 +// Contributors:
1.15 +//
1.16 +// Description:
1.17 +//
1.18 +
1.19 +LOAD_SUITE tsi_a3f_devsound.dll
1.20 +
1.21 +//! @SYMTestCaseID MM-A3F-DEVSOUND-PLAY-PCM-I-0008
1.22 +//! @SYMTestCaseDesc Positive: PCM 22.050k stereo playback (+ve)
1.23 +//! @SYMTestPriority High
1.24 +//! @SYMTestType CIT
1.25 +//! @SYMREQ 7918
1.26 +//! @SYMPREQ 1540
1.27 +//! @SYMTestActions 1. Configure DevSound to play PCM16 raw audio data in stereo mode with sampling rate of 22.050 KHz.
1.28 +//! 2. Start playing and read recorded data from file.
1.29 +//! 3. Stop playback once EOF is reached.
1.30 +//! @SYMTestExpectedResults Devsound to successfully play PCM16 raw audio data in stereo mode with sampling rate of 22.050 KHz with all the DevSound callback functions
1.31 +//! being executed as required throughout the test.
1.32 +
1.33 +RUN_TEST_STEP 600000 TSI_A3F_DEVSOUND MM-A3F-DEVSOUND-PLAY-PCM-I-0008 \tsi_a3f_devsound\tsi_a3f_devsound_play.ini
1.34 +TEST_COMPLETE
1.35 +
1.36 +
1.37 +//! @SYMTestCaseID MM-A3F-DEVSOUND-PLAY-PCM-I-0009
1.38 +//! @SYMTestCaseDesc Positive: PCM 32k mono playback (+ve)
1.39 +//! @SYMTestPriority High
1.40 +//! @SYMTestType CIT
1.41 +//! @SYMREQ 7918
1.42 +//! @SYMPREQ 1540
1.43 +//! @SYMTestActions 1. Configure DevSound to play PCM16 raw audio data in mono mode with sampling rate of 32 KHz.
1.44 +//! 2. Start playing and read recorded data from file.
1.45 +//! 3. Stop playback once EOF is reached.
1.46 +//! @SYMTestExpectedResults Devsound to successfully play PCM16 raw audio data in mono mode with sampling rate of 32 KHz with all the DevSound callback functions
1.47 +//! being executed as required throughout the test.
1.48 +
1.49 +RUN_TEST_STEP 600000 TSI_A3F_DEVSOUND MM-A3F-DEVSOUND-PLAY-PCM-I-0009 \tsi_a3f_devsound\tsi_a3f_devsound_play.ini
1.50 +TEST_COMPLETE
1.51 +
1.52 +//! @SYMTestCaseID MM-A3F-DEVSOUND-PLAY-PCM-I-0010
1.53 +//! @SYMTestCaseDesc Positive: PCM 32k stereo playback (+ve)
1.54 +//! @SYMTestPriority High
1.55 +//! @SYMTestType CIT
1.56 +//! @SYMREQ 7918
1.57 +//! @SYMPREQ 1540
1.58 +//! @SYMTestActions 1. Configure DevSound to play PCM16 raw audio data in stereo mode with sampling rate of 32 KHz.
1.59 +//! 2. Start playing and read recorded data from file.
1.60 +//! 3. Stop playback once EOF is reached.
1.61 +//! @SYMTestExpectedResults Devsound to successfully play PCM16 raw audio data in stereo mode with sampling rate of 32 KHz with all the DevSound callback functions
1.62 +//! being executed as required throughout the test.
1.63 +
1.64 +RUN_TEST_STEP 600000 TSI_A3F_DEVSOUND MM-A3F-DEVSOUND-PLAY-PCM-I-0010 \tsi_a3f_devsound\tsi_a3f_devsound_play.ini
1.65 +TEST_COMPLETE
1.66 +
1.67 +//! @SYMTestCaseID MM-A3F-DEVSOUND-PLAY-PCM-I-0011
1.68 +//! @SYMTestCaseDesc Positive: PCM 44.100k mono playback (+ve)
1.69 +//! @SYMTestPriority High
1.70 +//! @SYMTestType CIT
1.71 +//! @SYMREQ 7918
1.72 +//! @SYMPREQ 1540
1.73 +//! @SYMTestActions 1. Configure DevSound to play PCM16 raw audio data in mono mode with sampling rate of 44.100 KHz.
1.74 +//! 2. Start playing and read recorded data from file.
1.75 +//! 3. Stop playback once EOF is reached.
1.76 +//! @SYMTestExpectedResults Devsound to successfully play PCM16 raw audio data in mono mode with sampling rate of 44.100 KHz with all the DevSound callback functions
1.77 +//! being executed as required throughout the test.
1.78 +
1.79 +RUN_TEST_STEP 600000 TSI_A3F_DEVSOUND MM-A3F-DEVSOUND-PLAY-PCM-I-0011 \tsi_a3f_devsound\tsi_a3f_devsound_play.ini
1.80 +TEST_COMPLETE
1.81 +
1.82 +//! @SYMTestCaseID MM-A3F-DEVSOUND-PLAY-PCM-I-0012
1.83 +//! @SYMTestCaseDesc Positive: PCM 44.100k stereo playback (+ve)
1.84 +//! @SYMTestPriority High
1.85 +//! @SYMTestType CIT
1.86 +//! @SYMREQ 7918
1.87 +//! @SYMPREQ 1540
1.88 +//! @SYMTestActions 1. Configure DevSound to play PCM16 raw audio data in stereo mode with sampling rate of 44.100 KHz.
1.89 +//! 2. Start playing and read recorded data from file.
1.90 +//! 3. Stop playback once EOF is reached.
1.91 +//! @SYMTestExpectedResults Devsound to successfully play PCM16 raw audio data in stereo mode with sampling rate of 44.100 KHz with all the DevSound callback functions
1.92 +//! being executed as required throughout the test.
1.93 +
1.94 +RUN_TEST_STEP 600000 TSI_A3F_DEVSOUND MM-A3F-DEVSOUND-PLAY-PCM-I-0012 \tsi_a3f_devsound\tsi_a3f_devsound_play.ini
1.95 +TEST_COMPLETE
1.96 +
1.97 +//! @SYMTestCaseID MM-A3F-DEVSOUND-PLAY-PCM-I-0013
1.98 +//! @SYMTestCaseDesc Positive: PCM 48k mono playback (+ve)
1.99 +//! @SYMTestPriority High
1.100 +//! @SYMTestType CIT
1.101 +//! @SYMREQ 7918
1.102 +//! @SYMPREQ 1540
1.103 +//! @SYMTestActions 1. Configure DevSound to play PCM16 raw audio data in mono mode with sampling rate of 48 KHz.
1.104 +//! 2. Start playing and read recorded data from file.
1.105 +//! 3. Stop playback once EOF is reached.
1.106 +//! @SYMTestExpectedResults Devsound to successfully play PCM16 raw audio data in mono mode with sampling rate of 48 KHz with all the DevSound callback functions
1.107 +//! being executed as required throughout the test.
1.108 +
1.109 +RUN_TEST_STEP 600000 TSI_A3F_DEVSOUND MM-A3F-DEVSOUND-PLAY-PCM-I-0013 \tsi_a3f_devsound\tsi_a3f_devsound_play.ini
1.110 +TEST_COMPLETE
1.111 +
1.112 +//! @SYMTestCaseID MM-A3F-DEVSOUND-PLAY-PCM-I-0014
1.113 +//! @SYMTestCaseDesc Positive: PCM 48k stereo playback (+ve)
1.114 +//! @SYMTestPriority High
1.115 +//! @SYMTestType CIT
1.116 +//! @SYMREQ 7918
1.117 +//! @SYMPREQ 1540
1.118 +//! @SYMTestActions 1. Configure DevSound to play PCM16 raw audio data in stereo mode with sampling rate of 48 KHz.
1.119 +//! 2. Start playing and read recorded data from file.
1.120 +//! 3. Stop playback once EOF is reached.
1.121 +//! @SYMTestExpectedResults Devsound to successfully play PCM16 raw audio data in stereo mode with sampling rate of 48 KHz with all the DevSound callback functions
1.122 +//! being executed as required throughout the test.
1.123 +
1.124 +RUN_TEST_STEP 600000 TSI_A3F_DEVSOUND MM-A3F-DEVSOUND-PLAY-PCM-I-0014 \tsi_a3f_devsound\tsi_a3f_devsound_play.ini
1.125 +TEST_COMPLETE
1.126 +
1.127 +//! @SYMTestCaseID MM-A3F-DEVSOUND-PLAY-PCM-I-0015
1.128 +//! @SYMTestCaseDesc Negative: Play empty PCM raw audio data file (-ve)
1.129 +//! @SYMTestPriority High
1.130 +//! @SYMTestType CIT
1.131 +//! @SYMREQ 7927
1.132 +//! @SYMPREQ 1540
1.133 +//! @SYMTestStatus
1.134 +//! @SYMTestActions
1.135 +//! @SYMTestExpectedResults
1.136 +
1.137 +RUN_TEST_STEP 600000 TSI_A3F_DEVSOUND MM-A3F-DEVSOUND-PLAY-PCM-I-0015 \tsi_a3f_devsound\tsi_a3f_devsound_play.ini
1.138 +TEST_COMPLETE
1.139 +