1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/os/mm/devsound/a3fintegrationtest/scripts/tsi_a3f_devsound_pcm_play.script Fri Jun 15 03:10:57 2012 +0200
1.3 @@ -0,0 +1,122 @@
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-0001
1.22 +//! @SYMTestCaseDesc Positive: PCM 8k mono 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 mono mode with sampling rate of 8 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 mono mode with sampling rate of 8 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-0001 \tsi_a3f_devsound\tsi_a3f_devsound_play.ini
1.34 +TEST_COMPLETE
1.35 +
1.36 +//! @SYMTestCaseID MM-A3F-DEVSOUND-PLAY-PCM-I-0002
1.37 +//! @SYMTestCaseDesc Positive: PCM 8k stereo playback (+ve)
1.38 +//! @SYMTestPriority High
1.39 +//! @SYMTestType CIT
1.40 +//! @SYMREQ 7918
1.41 +//! @SYMPREQ 1540
1.42 +//! @SYMTestActions 1. Configure DevSound to play PCM16 raw audio data in stereo mode with sampling rate of 8 KHz.
1.43 +//! 2. Start playing and read recorded data from file.
1.44 +//! 3. Stop playback once EOF is reached.
1.45 +//! @SYMTestExpectedResults Devsound to successfully play PCM16 raw audio data in stereo mode with sampling rate of 8 KHz with all the DevSound callback functions
1.46 +//! being executed as required throughout the test.
1.47 +
1.48 +RUN_TEST_STEP 600000 TSI_A3F_DEVSOUND MM-A3F-DEVSOUND-PLAY-PCM-I-0002 \tsi_a3f_devsound\tsi_a3f_devsound_play.ini
1.49 +TEST_COMPLETE
1.50 +
1.51 +//! @SYMTestCaseID MM-A3F-DEVSOUND-PLAY-PCM-I-0003
1.52 +//! @SYMTestCaseDesc Positive: PCM 11.025k mono playback (+ve)
1.53 +//! @SYMTestPriority High
1.54 +//! @SYMTestType CIT
1.55 +//! @SYMREQ 7918
1.56 +//! @SYMPREQ 1540
1.57 +//! @SYMTestActions 1. Configure DevSound to play PCM16 raw audio data in mono mode with sampling rate of 11.025 KHz.
1.58 +//! 2. Start playing and read recorded data from file.
1.59 +//! 3. Stop playback once EOF is reached.
1.60 +//! @SYMTestExpectedResults Devsound to successfully play PCM16 raw audio data in mono mode with sampling rate of 11.025 KHz with all the DevSound callback functions
1.61 +//! being executed as required throughout the test.
1.62 +
1.63 +RUN_TEST_STEP 600000 TSI_A3F_DEVSOUND MM-A3F-DEVSOUND-PLAY-PCM-I-0003 \tsi_a3f_devsound\tsi_a3f_devsound_play.ini
1.64 +TEST_COMPLETE
1.65 +
1.66 +//! @SYMTestCaseID MM-A3F-DEVSOUND-PLAY-PCM-I-0004
1.67 +//! @SYMTestCaseDesc Positive: PCM 11.025k stereo playback (+ve)
1.68 +//! @SYMTestPriority High
1.69 +//! @SYMTestType CIT
1.70 +//! @SYMREQ 7918
1.71 +//! @SYMPREQ 1540
1.72 +//! @SYMTestActions 1. Configure DevSound to play PCM16 raw audio data in stereo mode with sampling rate of 11.025 KHz.
1.73 +//! 2. Start playing and read recorded data from file.
1.74 +//! 3. Stop playback once EOF is reached.
1.75 +//! @SYMTestExpectedResults Devsound to successfully play PCM16 raw audio data in stereo mode with sampling rate of 11.025 KHz with all the DevSound callback functions
1.76 +//! being executed as required throughout the test.
1.77 +
1.78 +RUN_TEST_STEP 600000 TSI_A3F_DEVSOUND MM-A3F-DEVSOUND-PLAY-PCM-I-0004 \tsi_a3f_devsound\tsi_a3f_devsound_play.ini
1.79 +TEST_COMPLETE
1.80 +
1.81 +//! @SYMTestCaseID MM-A3F-DEVSOUND-PLAY-PCM-I-0005
1.82 +//! @SYMTestCaseDesc Positive: PCM 16k mono playback (+ve)
1.83 +//! @SYMTestPriority High
1.84 +//! @SYMTestType CIT
1.85 +//! @SYMREQ 7918
1.86 +//! @SYMPREQ 1540
1.87 +//! @SYMTestActions 1. Configure DevSound to play PCM16 raw audio data in mono mode with sampling rate of 16 KHz.
1.88 +//! 2. Start playing and read recorded data from file.
1.89 +//! 3. Stop playback once EOF is reached.
1.90 +//! @SYMTestExpectedResults Devsound to successfully play PCM16 raw audio data in mono mode with sampling rate of 16 KHz with all the DevSound callback functions
1.91 +//! being executed as required throughout the test.
1.92 +
1.93 +RUN_TEST_STEP 600000 TSI_A3F_DEVSOUND MM-A3F-DEVSOUND-PLAY-PCM-I-0005 \tsi_a3f_devsound\tsi_a3f_devsound_play.ini
1.94 +TEST_COMPLETE
1.95 +
1.96 +//! @SYMTestCaseID MM-A3F-DEVSOUND-PLAY-PCM-I-0006
1.97 +//! @SYMTestCaseDesc Positive: PCM 16k stereo playback (+ve)
1.98 +//! @SYMTestPriority High
1.99 +//! @SYMTestType CIT
1.100 +//! @SYMREQ 7918
1.101 +//! @SYMPREQ 1540
1.102 +//! @SYMTestActions 1. Configure DevSound to play PCM16 raw audio data in stereo mode with sampling rate of 16 KHz.
1.103 +//! 2. Start playing and read recorded data from file.
1.104 +//! 3. Stop playback once EOF is reached.
1.105 +//! @SYMTestExpectedResults Devsound to successfully play PCM16 raw audio data in stereo mode with sampling rate of 16 KHz with all the DevSound callback functions
1.106 +//! being executed as required throughout the test.
1.107 +
1.108 +RUN_TEST_STEP 600000 TSI_A3F_DEVSOUND MM-A3F-DEVSOUND-PLAY-PCM-I-0006 \tsi_a3f_devsound\tsi_a3f_devsound_play.ini
1.109 +TEST_COMPLETE
1.110 +
1.111 +//! @SYMTestCaseID MM-A3F-DEVSOUND-PLAY-PCM-I-0007
1.112 +//! @SYMTestCaseDesc Positive: PCM 22.050k mono playback (+ve)
1.113 +//! @SYMTestPriority High
1.114 +//! @SYMTestType CIT
1.115 +//! @SYMREQ 7918
1.116 +//! @SYMPREQ 1540
1.117 +//! @SYMTestActions 1. Configure DevSound to play PCM16 raw audio data in mono mode with sampling rate of 22.050 KHz.
1.118 +//! 2. Start playing and read recorded data from file.
1.119 +//! 3. Stop playback once EOF is reached.
1.120 +//! @SYMTestExpectedResults Devsound to successfully play PCM16 raw audio data in mono mode with sampling rate of 22.050 KHz with all the DevSound callback functions
1.121 +//! being executed as required throughout the test.
1.122 +
1.123 +RUN_TEST_STEP 600000 TSI_A3F_DEVSOUND MM-A3F-DEVSOUND-PLAY-PCM-I-0007 \tsi_a3f_devsound\tsi_a3f_devsound_play.ini
1.124 +TEST_COMPLETE
1.125 +