os/mm/devsound/a3fintegrationtest/scripts/tsi_a3f_devsound_pcm_play2.script
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
     1 // Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
     2 // All rights reserved.
     3 // This component and the accompanying materials are made available
     4 // under the terms of "Eclipse Public License v1.0"
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 //
     8 // Initial Contributors:
     9 // Nokia Corporation - initial contribution.
    10 //
    11 // Contributors:
    12 //
    13 // Description:
    14 //
    15 
    16 LOAD_SUITE tsi_a3f_devsound.dll
    17 
    18 //! @SYMTestCaseID				MM-A3F-DEVSOUND-PLAY-PCM-I-0008
    19 //! @SYMTestCaseDesc			Positive: PCM 22.050k stereo playback (+ve)
    20 //! @SYMTestPriority			High
    21 //! @SYMTestType				CIT
    22 //! @SYMREQ 					7918
    23 //! @SYMPREQ					1540
    24 //! @SYMTestActions 			1.	Configure DevSound to play PCM16 raw audio data in stereo mode with sampling rate of 22.050 KHz.
    25 //! 							2.	Start playing and read recorded data from file.
    26 //! 							3.	Stop playback once EOF is reached.
    27 //! @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
    28 //! 							being executed as required throughout the test.
    29 
    30 RUN_TEST_STEP 600000 TSI_A3F_DEVSOUND MM-A3F-DEVSOUND-PLAY-PCM-I-0008 \tsi_a3f_devsound\tsi_a3f_devsound_play.ini
    31 TEST_COMPLETE
    32 
    33 
    34 //! @SYMTestCaseID				MM-A3F-DEVSOUND-PLAY-PCM-I-0009
    35 //! @SYMTestCaseDesc			Positive: PCM 32k mono playback (+ve)
    36 //! @SYMTestPriority			High
    37 //! @SYMTestType				CIT
    38 //! @SYMREQ 					7918
    39 //! @SYMPREQ					1540
    40 //! @SYMTestActions 			1.	Configure DevSound to play PCM16 raw audio data in mono mode with sampling rate of 32 KHz.
    41 //! 							2.	Start playing and read recorded data from file.
    42 //! 							3.	Stop playback once EOF is reached.
    43 //! @SYMTestExpectedResults 	Devsound to successfully play PCM16 raw audio data in mono mode with sampling rate of 32 KHz with all the DevSound callback functions
    44 //! 							being executed as required throughout the test.
    45 
    46 RUN_TEST_STEP 600000 TSI_A3F_DEVSOUND MM-A3F-DEVSOUND-PLAY-PCM-I-0009 \tsi_a3f_devsound\tsi_a3f_devsound_play.ini
    47 TEST_COMPLETE
    48 
    49 //! @SYMTestCaseID				MM-A3F-DEVSOUND-PLAY-PCM-I-0010
    50 //! @SYMTestCaseDesc			Positive: PCM 32k stereo playback (+ve)
    51 //! @SYMTestPriority			High
    52 //! @SYMTestType				CIT
    53 //! @SYMREQ 					7918
    54 //! @SYMPREQ					1540
    55 //! @SYMTestActions 			1.	Configure DevSound to play PCM16 raw audio data in stereo mode with sampling rate of 32 KHz.
    56 //! 							2.	Start playing and read recorded data from file.
    57 //! 							3.	Stop playback once EOF is reached.
    58 //! @SYMTestExpectedResults 	Devsound to successfully play PCM16 raw audio data in stereo mode with sampling rate of 32 KHz with all the DevSound callback functions
    59 //! 							being executed as required throughout the test.
    60 
    61 RUN_TEST_STEP 600000 TSI_A3F_DEVSOUND MM-A3F-DEVSOUND-PLAY-PCM-I-0010 \tsi_a3f_devsound\tsi_a3f_devsound_play.ini
    62 TEST_COMPLETE
    63 
    64 //! @SYMTestCaseID				MM-A3F-DEVSOUND-PLAY-PCM-I-0011
    65 //! @SYMTestCaseDesc			Positive: PCM 44.100k mono playback (+ve)
    66 //! @SYMTestPriority			High
    67 //! @SYMTestType				CIT
    68 //! @SYMREQ 					7918
    69 //! @SYMPREQ					1540
    70 //! @SYMTestActions 			1.	Configure DevSound to play PCM16 raw audio data in mono mode with sampling rate of 44.100 KHz.
    71 //! 							2.	Start playing and read recorded data from file.
    72 //! 							3.	Stop playback once EOF is reached.
    73 //! @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
    74 //! 							being executed as required throughout the test.
    75 
    76 RUN_TEST_STEP 600000 TSI_A3F_DEVSOUND MM-A3F-DEVSOUND-PLAY-PCM-I-0011 \tsi_a3f_devsound\tsi_a3f_devsound_play.ini
    77 TEST_COMPLETE
    78 
    79 //! @SYMTestCaseID				MM-A3F-DEVSOUND-PLAY-PCM-I-0012
    80 //! @SYMTestCaseDesc			Positive: PCM 44.100k stereo playback (+ve)
    81 //! @SYMTestPriority			High
    82 //! @SYMTestType				CIT
    83 //! @SYMREQ 					7918
    84 //! @SYMPREQ					1540
    85 //! @SYMTestActions 			1.	Configure DevSound to play PCM16 raw audio data in stereo mode with sampling rate of 44.100 KHz.
    86 //! 							2.	Start playing and read recorded data from file.
    87 //! 							3.	Stop playback once EOF is reached.
    88 //! @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
    89 //! 							being executed as required throughout the test.
    90 
    91 RUN_TEST_STEP 600000 TSI_A3F_DEVSOUND MM-A3F-DEVSOUND-PLAY-PCM-I-0012 \tsi_a3f_devsound\tsi_a3f_devsound_play.ini
    92 TEST_COMPLETE
    93 
    94 //! @SYMTestCaseID				MM-A3F-DEVSOUND-PLAY-PCM-I-0013
    95 //! @SYMTestCaseDesc			Positive: PCM 48k mono playback (+ve)
    96 //! @SYMTestPriority			High
    97 //! @SYMTestType				CIT
    98 //! @SYMREQ 					7918
    99 //! @SYMPREQ					1540
   100 //! @SYMTestActions 			1.	Configure DevSound to play PCM16 raw audio data in mono mode with sampling rate of 48 KHz.
   101 //! 							2.	Start playing and read recorded data from file.
   102 //! 							3.	Stop playback once EOF is reached.
   103 //! @SYMTestExpectedResults 	Devsound to successfully play PCM16 raw audio data in mono mode with sampling rate of 48 KHz with all the DevSound callback functions
   104 //! 							being executed as required throughout the test.
   105 
   106 RUN_TEST_STEP 600000 TSI_A3F_DEVSOUND MM-A3F-DEVSOUND-PLAY-PCM-I-0013 \tsi_a3f_devsound\tsi_a3f_devsound_play.ini
   107 TEST_COMPLETE
   108 
   109 //! @SYMTestCaseID				MM-A3F-DEVSOUND-PLAY-PCM-I-0014
   110 //! @SYMTestCaseDesc			Positive: PCM 48k stereo playback (+ve)
   111 //! @SYMTestPriority			High
   112 //! @SYMTestType				CIT
   113 //! @SYMREQ 					7918
   114 //! @SYMPREQ					1540
   115 //! @SYMTestActions 			1.	Configure DevSound to play PCM16 raw audio data in stereo mode with sampling rate of 48 KHz.
   116 //! 							2.	Start playing and read recorded data from file.
   117 //! 							3.	Stop playback once EOF is reached.
   118 //! @SYMTestExpectedResults 	Devsound to successfully play PCM16 raw audio data in stereo mode with sampling rate of 48 KHz with all the DevSound callback functions
   119 //! 							being executed as required throughout the test.
   120 
   121 RUN_TEST_STEP 600000 TSI_A3F_DEVSOUND MM-A3F-DEVSOUND-PLAY-PCM-I-0014 \tsi_a3f_devsound\tsi_a3f_devsound_play.ini
   122 TEST_COMPLETE
   123 
   124 //! @SYMTestCaseID				MM-A3F-DEVSOUND-PLAY-PCM-I-0015
   125 //! @SYMTestCaseDesc			Negative: Play empty PCM raw audio data file (-ve)
   126 //! @SYMTestPriority			High
   127 //! @SYMTestType				CIT
   128 //! @SYMREQ 					7927
   129 //! @SYMPREQ					1540
   130 //! @SYMTestStatus
   131 //! @SYMTestActions
   132 //! @SYMTestExpectedResults
   133 
   134 RUN_TEST_STEP 600000  TSI_A3F_DEVSOUND MM-A3F-DEVSOUND-PLAY-PCM-I-0015 \tsi_a3f_devsound\tsi_a3f_devsound_play.ini
   135 TEST_COMPLETE
   136