mmapitest/devsoundhaitest/scripts/multimedia-mmf-devsound-validation-automated-comb_pr.script
branchRCL_3
changeset 23 545d349d14da
equal deleted inserted replaced
20:67584cc761d1 23:545d349d14da
       
     1 //
       
     2 // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 // All rights reserved.
       
     4 // This component and the accompanying materials are made available
       
     5 // under the terms of "Eclipse Public License v1.0"
       
     6 // which accompanies this distribution, and is available
       
     7 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 //
       
     9 // Initial Contributors:
       
    10 // Nokia Corporation - initial contribution.
       
    11 //
       
    12 // Contributors:
       
    13 //
       
    14 // Description: 
       
    15 //
       
    16 //
       
    17 //! @file
       
    18 //! @SYMTestSuiteName multimedia-mmf-devsound-validation-automated-comb_pr
       
    19 //! @SYMScriptTestEnvironment This test script requires a basic ROM.
       
    20 //
       
    21 // Tests all public elements of the CMMFDevSound
       
    22 // classes as a means of confidence that the APIs work as expected.
       
    23 // 
       
    24 // The purpose is to provide a regression test suite of PublishedAll
       
    25 // APIs for: CMMFDevSound
       
    26 // The tests are fully automated.
       
    27 //
       
    28 
       
    29 
       
    30 
       
    31 LOAD_SUITE t_devsound
       
    32 
       
    33 
       
    34 
       
    35 
       
    36 START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PR-0001
       
    37 
       
    38 //!@SYMTestCaseID		MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PR-0001
       
    39 //!@SYMAPI
       
    40 //! TEST_BLOCK 001
       
    41 //!                CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TMMFState )
       
    42 //!                CMMFDevSound::SetPrioritySettings(const TMMFPrioritySettings {ref} )
       
    43 //!                CMMFDevSound::Capabilities()
       
    44 //!                CMMFDevSound::SetConfigL(const TMMFCapabilities {ref} )
       
    45 //!                CMMFDevSound::PlayInitL()
       
    46 //!                CMMFDevSound::RecordInitL()
       
    47 //!                CMMFDevSound::Stop()
       
    48 //!                
       
    49 //! TEST_BLOCK 002
       
    50 //!                CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState)
       
    51 //!                CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref})
       
    52 //!                CMMFDevSound::Capabilities()
       
    53 //!                CMMFDevSound::SetConfigL(TMMFCapabilities {ref})
       
    54 //!                CMMFDevSound::PlayInitL()
       
    55 //!@SYMAuthor			etorres
       
    56 //!@SYMCreationDate		7/28/2008 
       
    57 //!@SYMTestCaseDesc		Audio playback during voice recording
       
    58 //!@SYMTestActions
       
    59 //! TEST_BLOCK 001
       
    60 //!                1. Create Devsound instance 
       
    61 //!                2. Initialize Devsound (Mode = EMMFStateRecording; FourCC = AMR)
       
    62 //!                3. Set Priority (Priority = {Priority,PriorityVoiceRecording}; Preference = {PriorityPreference,PriorityPreferenceVoiceRecording} ; PriorityState = EMMFStateRecording)
       
    63 //!                4. Capabilities
       
    64 //!                5. Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz)
       
    65 //!                6. ReplaceFile (Filename={drive,mmc}\multimedia\mmf\devsound\Recording\PlayMP3DuringRecAMRNB.amr)
       
    66 //!                7. Record 20 s
       
    67 //!                8. Stop 5s
       
    68 //!                9. CloseFile
       
    69 //!                10. Initialize Devsound (Mode = EMMFStatePlaying; FourCC = AMR)
       
    70 //!                11. Set Priority (Priority = {Priority,PriorityAudioPlayback}; Preference = {PriorityPreference,PriorityPreferenceAudioPlayback}; PriorityState = EMMFStatePlaying)
       
    71 //!                12. Capabilities
       
    72 //!                13. Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz)
       
    73 //!                14. OpenFile (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\PlayMP3DuringRecAMRNB.amr)
       
    74 //!                15. Play EOF
       
    75 //!                16. CloseFile
       
    76 //!                17. Delete devsound instance
       
    77 //! TEST_BLOCK 002
       
    78 //!                1. Create Devsound instance 
       
    79 //!                2. Initialize Devsound (Mode = EMMFStatePlaying; FourCC = MP3)
       
    80 //!                3. Set Priority (Priority = {Priority,PriorityAudioPlayback}; Preference = {PriorityPreference,PriorityPreferenceNone}; PriorityState = EMMFStatePlaying)
       
    81 //!                4. Capabilities
       
    82 //!                5. Set Configuration 10s (Channels = EMMFMono; Rate = EMMFSampleRate44100Hz)
       
    83 //!                6. OpenFile (Filename= {drive,mmc}\multimedia\mmf\devsound\MP3\MP3_44.1k_128kbps_st_Test3.mp3)
       
    84 //!                7. Set expected play error( ExpectedPlayError=-21)
       
    85 //!                8. Play EOF
       
    86 //!                9. CloseFile
       
    87 //!                10. Delete devsound instance
       
    88 //!@SYMTestStatus		Verified
       
    89 //!@SYMTestPriority		High
       
    90 //!@SYMTestExpectedResults
       
    91 //!                Audio playback during voice recording
       
    92 //! TEST_BLOCK 001
       
    93 //!                Record AMR file during 20s and play recorded file
       
    94 //! TEST_BLOCK 002
       
    95 //!                Error expected -21 while trying to play MP3 file
       
    96 //!@SYMTestType			CIT
       
    97 
       
    98 
       
    99 	CONCURRENT
       
   100 
       
   101 
       
   102 
       
   103 	START_TEST_BLOCK	50	t_devsound	\multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_pr.ini
       
   104 		CREATE_OBJECT	CMMFDevSound		devsound1
       
   105 		COMMAND		devsound1		NewL
       
   106 		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0001-0001-InitializeL_command02
       
   107 		OUTSTANDING
       
   108 		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSound-Comb_Pr-0001-0001-SetPrioritySettings_command03
       
   109 		COMMAND		devsound1		Capabilities
       
   110 		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0001-0001-SetConfigL_command05
       
   111 		COMMAND		devsound1		ReplaceFile			MULTIMEDIA-MMF-DevSound-Comb_Pr-0001-0001-ReplaceFile_command06
       
   112 		COMMAND		devsound1		RecordInitL
       
   113 		ASYNC_DELAY  20000000 
       
   114 		COMMAND		devsound1		Stop
       
   115 		DELAY  5000000 
       
   116 		COMMAND		devsound1		CloseFile
       
   117 		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0001-0001-InitializeL_command10
       
   118 		OUTSTANDING
       
   119 		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSound-Comb_Pr-0001-0001-SetPrioritySettings_command11
       
   120 		COMMAND		devsound1		Capabilities
       
   121 		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0001-0001-SetConfigL_command13
       
   122 		COMMAND		devsound1		OpenFile			MULTIMEDIA-MMF-DevSound-Comb_Pr-0001-0001-OpenFile_command14
       
   123 		COMMAND		devsound1		PlayInitL
       
   124 		OUTSTANDING
       
   125 		COMMAND		devsound1		CloseFile
       
   126 		COMMAND		devsound1		~
       
   127 	END_TEST_BLOCK
       
   128 
       
   129 
       
   130 
       
   131 	START_TEST_BLOCK	175	t_devsound	\multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_pr.ini
       
   132 		CREATE_OBJECT	CMMFDevSound		devsound1
       
   133 		COMMAND		devsound1		NewL
       
   134 		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0001-0002-InitializeL_command02
       
   135 		OUTSTANDING
       
   136 		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSound-Comb_Pr-0001-0002-SetPrioritySettings_command03
       
   137 		COMMAND		devsound1		Capabilities
       
   138 		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0001-0002-SetConfigL_command05
       
   139 		DELAY  10000000 
       
   140 		COMMAND		devsound1		OpenFile			MULTIMEDIA-MMF-DevSound-Comb_Pr-0001-0002-OpenFile_command06
       
   141         COMMAND   !AsyncError=-21    devsound1 PlayInitL        
       
   142 		OUTSTANDING
       
   143 		COMMAND		devsound1		CloseFile
       
   144 		COMMAND		devsound1		~
       
   145 	END_TEST_BLOCK
       
   146 END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PR-0001
       
   147 
       
   148 
       
   149 
       
   150 
       
   151 START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PR-0002
       
   152 
       
   153 //!@SYMTestCaseID		MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PR-0002
       
   154 //!@SYMAPI
       
   155 //! TEST_BLOCK 001
       
   156 //!                CMMFDevSound::InitializeL(MDevSoundObserver{ref}, TFourCC , TMMFState)
       
   157 //!                CMMFDevSound::SetPrioritySettings(const TMMFPrioritySettings{ref})
       
   158 //!                CMMFDevSound::Capabilities()
       
   159 //!                CMMFDevSound::SetConfigL(const TMMFCapabilities{ref})
       
   160 //!                CMMFDevSound::PlayInitL()
       
   161 //!                CMMFDevSound::RecordInitL()
       
   162 //! TEST_BLOCK 002
       
   163 //!                CMMFDevSound::InitializeL(MDevSoundObserver , TFourCC , TMMFState)
       
   164 //!                CMMFDevSound::SetPrioritySettings(const TMMFPrioritySettings )
       
   165 //!                CMMFDevSound::Capabilities()
       
   166 //!                CMMFDevSound::SetConfigL(const TMMFCapabilities )
       
   167 //!                CMMFDevSound::PlayInitL()
       
   168 //!                CMMFDevSound::Stop()
       
   169 //!@SYMAuthor			jguillermo
       
   170 //!@SYMCreationDate		8/25/2008 
       
   171 //!@SYMTestCaseDesc		Incoming call during voice recording
       
   172 //!@SYMTestActions
       
   173 //! TEST_BLOCK 001
       
   174 //!                1. Create DevSound instance
       
   175 //!                2. Initialize DevSound (Mode = EMMFStateRecording; FourCC = AMR)
       
   176 //!                3. Set Priority ( Priority = {Priority,PriorityVoiceRecording}; Preference = {PriorityPreference,PriorityPreferenceVoiceRecording} ; PriorityState=EMMFStateRecording)
       
   177 //!                4. Capabilities
       
   178 //!                5. Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz)
       
   179 //!                6. Replace file (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\IncomingCallDuringRecAMRNB.amr)
       
   180 //!                7. Record 20 seconds
       
   181 //!                8. Close file and delay 15 seconds
       
   182 //!                9. Initialize DevSound (Mode = EMMFStatePlaying; FourCC = AMR)
       
   183 //!                10. Set Priority ( Priority = {Priority,PriorityAudioPlayback}; Preference = {PriorityPreference,PriorityPreferenceAudioPlayback}; PriorityState=EMMFStatePlaying)
       
   184 //!                11. Open file (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\IncomingCallDuringRecAMRNB.amr)
       
   185 //!                12. Play EOF
       
   186 //!                13. Close file
       
   187 //!                14. Delete DevSound instance
       
   188 //! TEST_BLOCK 002
       
   189 //!                1. Create DevSound instance
       
   190 //!                2. Initialize DevSound (Mode = EMMFStatePlaying; FourCC = MP3)
       
   191 //!                3. Set Priority ( Priority = {Priority,PriorityIncomingCall}; Preference = {PriorityPreference,PriorityPreferenceIncomingCall}; PriorityState=EMMFStatePlaying)
       
   192 //!                4. Capabilities
       
   193 //!                5. Set Configuration and delay 10 seconds (Channels = EMMFStereo; Rate = EMMFSampleRate44100Hz)
       
   194 //!                6. Open file (Filename = {drive,mmc}\multimedia\mmf\devsound\MP3\MP3_44.1k_128kbps_st_Test3.mp3)
       
   195 //!                7. Play 10 seconds
       
   196 //!                8. Stop
       
   197 //!                9. Close file
       
   198 //!                10. Delete DevSound instance
       
   199 //!                
       
   200 //!@SYMTestStatus		Verified
       
   201 //!@SYMTestPriority		High
       
   202 //!@SYMTestExpectedResults
       
   203 //!                Incoming call during voice recording
       
   204 //! TEST_BLOCK 001
       
   205 //!                Record AMR file with expected error -13
       
   206 //! TEST_BLOCK 002
       
   207 //!                MP3 playback for 10s
       
   208 //!@SYMTestType			CIT
       
   209 
       
   210 
       
   211 	CONCURRENT
       
   212 
       
   213 
       
   214 
       
   215 	START_TEST_BLOCK	100	t_devsound	\multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_pr.ini
       
   216 		CREATE_OBJECT	CMMFDevSound		devsound1
       
   217 		COMMAND		devsound1		NewL
       
   218 		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0002-0001-InitializeL_command02
       
   219 		OUTSTANDING
       
   220 		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSound-Comb_Pr-0002-0001-SetPrioritySettings_command03
       
   221 		COMMAND		devsound1		Capabilities
       
   222 		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0002-0001-SetConfigL_command05
       
   223 		COMMAND		devsound1		ReplaceFile			MULTIMEDIA-MMF-DevSound-Comb_Pr-0002-0001-ReplaceFile_command06
       
   224 		COMMAND		!AsyncError=-13    devsound1		RecordInitL
       
   225 		ASYNC_DELAY  20000000 
       
   226 		COMMAND		devsound1		CloseFile
       
   227 		DELAY  15000000 
       
   228 		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0002-0001-InitializeL_command10
       
   229 		OUTSTANDING
       
   230 		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSound-Comb_Pr-0002-0001-SetPrioritySettings_command11
       
   231 		COMMAND		devsound1		OpenFile			MULTIMEDIA-MMF-DevSound-Comb_Pr-0002-0001-OpenFile_command12
       
   232 		COMMAND		devsound1		PlayInitL
       
   233 		OUTSTANDING
       
   234 		COMMAND		devsound1		CloseFile
       
   235 		COMMAND		devsound1		~
       
   236 	END_TEST_BLOCK
       
   237 
       
   238 
       
   239 
       
   240 	START_TEST_BLOCK	100	t_devsound	\multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_pr.ini
       
   241 		CREATE_OBJECT	CMMFDevSound		devsound1
       
   242 		COMMAND		devsound1		NewL
       
   243 		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0002-0002-InitializeL_command02
       
   244 		OUTSTANDING
       
   245 		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSound-Comb_Pr-0002-0002-SetPrioritySettings_command03
       
   246 		COMMAND		devsound1		Capabilities
       
   247 		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0002-0002-SetConfigL_command05
       
   248 		DELAY  10000000 
       
   249 		COMMAND		devsound1		OpenFile			MULTIMEDIA-MMF-DevSound-Comb_Pr-0002-0002-OpenFile_command06
       
   250 		COMMAND		devsound1		PlayInitL
       
   251 		ASYNC_DELAY  10000000 
       
   252 		COMMAND		devsound1		Stop
       
   253 		COMMAND		devsound1		CloseFile
       
   254 		COMMAND		devsound1		~
       
   255 	END_TEST_BLOCK
       
   256 END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PR-0002
       
   257 
       
   258 
       
   259 
       
   260 
       
   261 START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PR-0003
       
   262 
       
   263 //!@SYMTestCaseID		MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PR-0003
       
   264 //!@SYMAPI
       
   265 //! TEST_BLOCK 001
       
   266 //!                CMMFDevSound::InitializeL(MDevSoundObserver{ref}, TFourCC , TMMFState)
       
   267 //!                CMMFDevSound::SetPrioritySettings(const TMMFPrioritySettings{ref})
       
   268 //!                CMMFDevSound::Capabilities()
       
   269 //!                CMMFDevSound::SetConfigL(const TMMFCapabilities{ref})
       
   270 //!                CMMFDevSound::PlayInitL()
       
   271 //!                CMMFDevSound::RecordInitL()
       
   272 //! TEST_BLOCK 002
       
   273 //!                CMMFDevSound::InitializeL(MDevSoundObserver , TFourCC , TMMFState)
       
   274 //!                CMMFDevSound::SetPrioritySettings(const TMMFPrioritySettings )
       
   275 //!                CMMFDevSound::Capabilities()
       
   276 //!                CMMFDevSound::SetConfigL(const TMMFCapabilities )
       
   277 //!                CMMFDevSound::PlayInitL()
       
   278 //!@SYMAuthor			etorres
       
   279 //!@SYMCreationDate		7/28/2008 
       
   280 //!@SYMTestCaseDesc		Mixing rule - Stop and perform
       
   281 //!@SYMTestActions
       
   282 //! TEST_BLOCK 001
       
   283 //!                1. Create Devsound instance 
       
   284 //!                2. Initialize Devsound (Mode = EMMFStateRecording; FourCC = AMR)
       
   285 //!                3. Set Priority (Priority = {Priority,PriorityVoiceRecording}; Preference = {PriorityPreference,PriorityPreferenceVoiceRecording} ; PriorityState = EMMFStateRecording)
       
   286 //!                4. Capabilities
       
   287 //!                5. Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz)
       
   288 //!                6. ReplaceFile (Filename={drive,mmc}\multimedia\mmf\devsound\Recording\MixingRuleSR.amr)
       
   289 //!                7. Record 20 s
       
   290 //!                8. Stop 5s
       
   291 //!                9. CloseFile
       
   292 //!                10. Initialize Devsound (Mode = EMMFStatePlaying; FourCC = AMR)
       
   293 //!                11. Set Priority (Priority = {Priority,PriorityAudioPlayback}; Preference = {PriorityPreference,PriorityPreferenceAudioPlayback}; PriorityState = EMMFStatePlaying)
       
   294 //!                12. Capabilities
       
   295 //!                13. Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz)
       
   296 //!                14. OpenFile (Filename={drive,mmc}\multimedia\mmf\devsound\Recording\MixingRuleSR.amr)
       
   297 //!                15. Play EOF
       
   298 //!                16. CloseFile
       
   299 //!                17. Delete devsound instance
       
   300 //! TEST_BLOCK 002
       
   301 //!                1. Create Devsound instance 
       
   302 //!                2. Initialize Devsound (Mode = EMMFStatePlaying; FourCC = MP3)
       
   303 //!                3. Set Priority (Priority = {Priority,PriorityAudioPlayback}; Preference = {PriorityPreference,PriorityPreferenceNone}; PriorityState = EMMFStatePlaying)
       
   304 //!                4. Capabilities
       
   305 //!                5. Set Configuration 10s (Channels = EMMFMono; Rate = EMMFSampleRate44100Hz)
       
   306 //!                6. OpenFile (Filename={drive,mmc}\multimedia\mmf\devsound\MP3\MP3_44.1k_128kbps_st_Test3.mp3)
       
   307 //!                7. Set expected play error( ExpectedPlayError=-21)
       
   308 //!                8. Play EOF
       
   309 //!                9. CloseFile
       
   310 //!                10. Delete devsound instance
       
   311 //!@SYMTestStatus		Verified
       
   312 //!@SYMTestPriority		High
       
   313 //!@SYMTestExpectedResults
       
   314 //!                Mixing rule - Stop and perform
       
   315 //! TEST_BLOCK 001
       
   316 //!                Record AMR for 20s and playback until EOF
       
   317 //! TEST_BLOCK 002
       
   318 //!                MP3 playback with expected error -21
       
   319 //!@SYMTestType			CIT
       
   320 
       
   321 
       
   322 	CONCURRENT
       
   323 
       
   324 
       
   325 
       
   326 	START_TEST_BLOCK	50	t_devsound	\multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_pr.ini
       
   327 		CREATE_OBJECT	CMMFDevSound		devsound1
       
   328 		COMMAND		devsound1		NewL
       
   329 		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0003-0001-InitializeL_command02
       
   330 		OUTSTANDING
       
   331 		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSound-Comb_Pr-0003-0001-SetPrioritySettings_command03
       
   332 		COMMAND		devsound1		Capabilities
       
   333 		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0003-0001-SetConfigL_command05
       
   334 		COMMAND		devsound1		ReplaceFile			MULTIMEDIA-MMF-DevSound-Comb_Pr-0003-0001-ReplaceFile_command06
       
   335 		COMMAND		devsound1		RecordInitL
       
   336 		ASYNC_DELAY  20000000 
       
   337 		COMMAND		devsound1		Stop
       
   338 		DELAY  5000000 
       
   339 		COMMAND		devsound1		CloseFile
       
   340 		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0003-0001-InitializeL_command10
       
   341 		OUTSTANDING
       
   342 		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSound-Comb_Pr-0003-0001-SetPrioritySettings_command11
       
   343 		COMMAND		devsound1		Capabilities
       
   344 		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0003-0001-SetConfigL_command13
       
   345 		COMMAND		devsound1		OpenFile			MULTIMEDIA-MMF-DevSound-Comb_Pr-0003-0001-OpenFile_command14
       
   346 		COMMAND		devsound1		PlayInitL
       
   347 		OUTSTANDING
       
   348 		COMMAND		devsound1		CloseFile
       
   349 		COMMAND		devsound1		~
       
   350 	END_TEST_BLOCK
       
   351 
       
   352 
       
   353 
       
   354 	START_TEST_BLOCK	175	t_devsound	\multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_pr.ini
       
   355 		CREATE_OBJECT	CMMFDevSound		devsound1
       
   356 		COMMAND		devsound1		NewL
       
   357 		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0003-0002-InitializeL_command02
       
   358 		OUTSTANDING
       
   359 		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSound-Comb_Pr-0003-0002-SetPrioritySettings_command03
       
   360 		COMMAND		devsound1		Capabilities
       
   361 		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0003-0002-SetConfigL_command05
       
   362 		DELAY  10000000 
       
   363 		COMMAND		devsound1		OpenFile			MULTIMEDIA-MMF-DevSound-Comb_Pr-0003-0002-OpenFile_command06
       
   364 		COMMAND		!AsyncError=-21    devsound1		PlayInitL
       
   365 		OUTSTANDING
       
   366 		COMMAND		devsound1		CloseFile
       
   367 		COMMAND		devsound1		~
       
   368 	END_TEST_BLOCK
       
   369 END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PR-0003
       
   370 
       
   371 
       
   372 
       
   373 
       
   374 START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PR-0004
       
   375 
       
   376 //!@SYMTestCaseID		MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PR-0004
       
   377 //!@SYMAPI
       
   378 //! TEST_BLOCK 001
       
   379 //!                CMMFDevSound::InitializeL(MDevSoundObserver , TFourCC , TMMFState)
       
   380 //!                CMMFDevSound::SetPrioritySettings(const TMMFPrioritySettings )
       
   381 //!                CMMFDevSound::Capabilities()
       
   382 //!                CMMFDevSound::SetConfigL(const TMMFCapabilities )
       
   383 //!                CMMFDevSound::PlayInitL()
       
   384 //!                CMMFDevSound::Stop()
       
   385 //! TEST_BLOCK 002
       
   386 //!                CMMFDevSound::InitializeL(MDevSoundObserver , TFourCC , TMMFState)
       
   387 //!                CMMFDevSound::SetPrioritySettings(const TMMFPrioritySettings )
       
   388 //!                CMMFDevSound::Capabilities()
       
   389 //!                CMMFDevSound::SetConfigL(const TMMFCapabilities )
       
   390 //!                CMMFDevSound::PlayInitL()
       
   391 //!                CMMFDevSound::RecordInitL()
       
   392 //!                CMMFDevSound::Stop()
       
   393 //! TEST_BLOCK 003
       
   394 //!                CMMFDevSound::InitializeL(MDevSoundObserver , TFourCC , TMMFState)
       
   395 //!                CMMFDevSound::SetPrioritySettings(const TMMFPrioritySettings )
       
   396 //!                CMMFDevSound::Capabilities()
       
   397 //!                CMMFDevSound::SetConfigL(const TMMFCapabilities )
       
   398 //!                CMMFDevSound::PlayInitL()
       
   399 //!                CMMFDevSound::Stop()
       
   400 //!@SYMAuthor			etorres
       
   401 //!@SYMCreationDate		7/28/2008 
       
   402 //!@SYMTestCaseDesc		PCM playback during audio playback recording
       
   403 //!@SYMTestActions
       
   404 //! TEST_BLOCK 001
       
   405 //!                1. Create Devsound instance 
       
   406 //!                2. Initialize Devsound (Mode = EMMFStatePlaying; FourCC = MP3)
       
   407 //!                3. Set Priority (Priority = {Priority,PriorityAudioPlayback}; Preference = {PriorityPreference,PriorityPreferenceNone}; PriorityState = EMMFStatePlaying)
       
   408 //!                4. Capabilities
       
   409 //!                5. Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate44100Hz)
       
   410 //!                6. OpenFile (Filename={drive,mmc}\multimedia\mmf\devsound\MP3\MP3_44.1k_128kbps_st_Test3.mp3)
       
   411 //!                7. Set Expected Play Error(ExpectedPlayError=-13)
       
   412 //!                8. Play 30 s
       
   413 //!                9. Stop
       
   414 //!                10. CloseFile
       
   415 //!                11. Delete devsound instance
       
   416 //! TEST_BLOCK 002
       
   417 //!                1. Create Devsound instance 
       
   418 //!                2. Initialize Devsound (Mode = EMMFStateRecording; FourCC = AMR)
       
   419 //!                3. Set Priority (Priority = {Priority,PriorityVoiceRecording}; Preference = {PriorityPreference,PriorityPreferenceVoiceRecording} ; PriorityState = EMMFStateRecording)
       
   420 //!                4. Capabilities
       
   421 //!                5. Set Configuration 10 s(Channels = EMMFMono; Rate = EMMFSampleRate8000Hz)
       
   422 //!                6. ReplaceFile (Filename={drive,mmc}\multimedia\mmf\devsound\Recording\PlayPCMDuringPlayRec.amr)
       
   423 //!                7. Record 20 s
       
   424 //!                8. Stop 5s
       
   425 //!                9. CloseFile
       
   426 //!                10. Initialize Devsound (Mode = EMMFStatePlaying; FourCC = AMR)
       
   427 //!                11. Set Priority (Priority = {Priority,PriorityAudioPlayback}; Preference = {PriorityPreference,PriorityPreferenceAudioPlayback}; PriorityState = EMMFStatePlaying)
       
   428 //!                12. Capabilities
       
   429 //!                13. Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz)
       
   430 //!                14. OpenFile (Filename={drive,mmc}\multimedia\mmf\devsound\Recording\PlayPCMDuringPlayRec.amr)
       
   431 //!                15. Play EOF
       
   432 //!                16. CloseFile
       
   433 //!                17. Delete devsound instance
       
   434 //! TEST_BLOCK 003
       
   435 //!                1. Create Devsound instance 
       
   436 //!                2. Initialize Devsound (Mode = EMMFStatePlaying; FourCC = {SpecialFourCC,RAW})
       
   437 //!                3. Set Priority (Priority = {Priority,PriorityAudioPlayback}; Preference = {PriorityPreference,PriorityPreferenceNone}; PriorityState = EMMFStatePlaying)
       
   438 //!                4. Capabilities
       
   439 //!                5. Set Configuration 20 s(Channels = EMMFMono; Rate = EMMFSampleRate48000Hz)
       
   440 //!                6. OpenFile (Filename={drive,mmc}\multimedia\mmf\devsound\PCM\PCM_48k_16b_signed_st_Test1.pcm)
       
   441 //!                7. Set Expected Play Error (ExpectedPlayError=-21)
       
   442 //!                8. Play EOF
       
   443 //!                9. CloseFile
       
   444 //!                10. Delete devsound instance
       
   445 //!@SYMTestStatus		Verified
       
   446 //!@SYMTestPriority		High
       
   447 //!@SYMTestExpectedResults
       
   448 //!                PCM playback during audio playback recording
       
   449 //! TEST_BLOCK 001
       
   450 //!                MP3 playback with expected error -13
       
   451 //! TEST_BLOCK 002
       
   452 //!                AMR record for 20s and playback until EOF
       
   453 //! TEST_BLOCK 003
       
   454 //!                RAW playback with expected error -21
       
   455 //!@SYMTestType			CIT
       
   456 
       
   457 
       
   458 	CONCURRENT
       
   459 
       
   460 
       
   461 
       
   462 	START_TEST_BLOCK	80	t_devsound	\multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_pr.ini
       
   463 		CREATE_OBJECT	CMMFDevSound		devsound1
       
   464 		COMMAND		devsound1		NewL
       
   465 		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0004-0001-InitializeL_command02
       
   466 		OUTSTANDING
       
   467 		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSound-Comb_Pr-0004-0001-SetPrioritySettings_command03
       
   468 		COMMAND		devsound1		Capabilities
       
   469 		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0004-0001-SetConfigL_command05
       
   470 		COMMAND		devsound1		OpenFile			MULTIMEDIA-MMF-DevSound-Comb_Pr-0004-0001-OpenFile_command06
       
   471 		COMMAND		!AsyncError=-13    devsound1		PlayInitL
       
   472 		ASYNC_DELAY  30000000 
       
   473 		COMMAND		devsound1		Stop
       
   474 		COMMAND		devsound1		CloseFile
       
   475 		COMMAND		devsound1		~
       
   476 	END_TEST_BLOCK
       
   477 
       
   478 
       
   479 
       
   480 	START_TEST_BLOCK	80	t_devsound	\multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_pr.ini
       
   481 		CREATE_OBJECT	CMMFDevSound		devsound1
       
   482 		COMMAND		devsound1		NewL
       
   483 		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0004-0002-InitializeL_command02
       
   484 		OUTSTANDING
       
   485 		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSound-Comb_Pr-0004-0002-SetPrioritySettings_command03
       
   486 		COMMAND		devsound1		Capabilities
       
   487 		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0004-0002-SetConfigL_command05
       
   488 		DELAY  10000000 
       
   489 		COMMAND		devsound1		ReplaceFile			MULTIMEDIA-MMF-DevSound-Comb_Pr-0004-0002-ReplaceFile_command06
       
   490 		COMMAND		devsound1		RecordInitL
       
   491 		ASYNC_DELAY  20000000 
       
   492 		COMMAND		devsound1		Stop
       
   493 		DELAY  5000000 
       
   494 		COMMAND		devsound1		CloseFile
       
   495 		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0004-0002-InitializeL_command10
       
   496 		OUTSTANDING
       
   497 		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSound-Comb_Pr-0004-0002-SetPrioritySettings_command11
       
   498 		COMMAND		devsound1		Capabilities
       
   499 		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0004-0002-SetConfigL_command13
       
   500 		COMMAND		devsound1		OpenFile			MULTIMEDIA-MMF-DevSound-Comb_Pr-0004-0002-OpenFile_command14
       
   501 		COMMAND		devsound1		PlayInitL
       
   502 		OUTSTANDING
       
   503 		COMMAND		devsound1		CloseFile
       
   504 		COMMAND		devsound1		~
       
   505 	END_TEST_BLOCK
       
   506 
       
   507 
       
   508 
       
   509 	START_TEST_BLOCK	80	t_devsound	\multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_pr.ini
       
   510 		CREATE_OBJECT	CMMFDevSound		devsound1
       
   511 		COMMAND		devsound1		NewL
       
   512 		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0004-0003-InitializeL_command02
       
   513 		OUTSTANDING
       
   514 		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSound-Comb_Pr-0004-0003-SetPrioritySettings_command03
       
   515 		COMMAND		devsound1		Capabilities
       
   516 		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0004-0003-SetConfigL_command05
       
   517 		DELAY  20000000 
       
   518 		COMMAND		devsound1		OpenFile			MULTIMEDIA-MMF-DevSound-Comb_Pr-0004-0003-OpenFile_command06
       
   519 		COMMAND		!AsyncError=-21    devsound1		PlayInitL
       
   520 		OUTSTANDING
       
   521 		COMMAND		devsound1		CloseFile
       
   522 		COMMAND		devsound1		~
       
   523 	END_TEST_BLOCK
       
   524 END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PR-0004
       
   525 
       
   526 
       
   527 
       
   528 
       
   529 START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PR-0005
       
   530 
       
   531 //!@SYMTestCaseID		MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PR-0005
       
   532 //!@SYMAPI
       
   533 //! TEST_BLOCK 001
       
   534 //!                CMMFDevSound::InitializeL(MDevSoundObserver , TFourCC , TMMFState)
       
   535 //!                CMMFDevSound::SetPrioritySettings(const TMMFPrioritySettings )
       
   536 //!                CMMFDevSound::Capabilities()
       
   537 //!                CMMFDevSound::SetConfigL(const TMMFCapabilities )
       
   538 //!                CMMFDevSound::PlayInitL()
       
   539 //!                CMMFDevSound::Stop()
       
   540 //! TEST_BLOCK 002
       
   541 //!                CMMFDevSound::InitializeL(MDevSoundObserver , TFourCC , TMMFState)
       
   542 //!                CMMFDevSound::SetPrioritySettings(const TMMFPrioritySettings )
       
   543 //!                CMMFDevSound::Capabilities()
       
   544 //!                CMMFDevSound::SetConfigL(const TMMFCapabilities )
       
   545 //!                CMMFDevSound::PlayInitL()
       
   546 //!                CMMFDevSound::Stop()
       
   547 //!@SYMAuthor			fperez
       
   548 //!@SYMCreationDate		8/25/2008 
       
   549 //!@SYMTestCaseDesc		 Mix 16k mono AMR-WB playback with AMR-NB recording
       
   550 //!@SYMTestActions
       
   551 //! TEST_BLOCK 001
       
   552 //!                1. Create Devsound instance 
       
   553 //!                2. Initialize Devsound (Mode= EMMFStatePlaying; FourCC= AWB)
       
   554 //!                3. Set Priority (Priority= {Priority,PriorityAudioPlayback}; Preference= {PriorityPreference,PriorityPreferenceNone}; PriorityState= EMMFStatePlaying)
       
   555 //!                4. Capabilities 
       
   556 //!                5. Set Configuration(Channels= EMMFMono; Rate= EMMFSampleRate16000Hz) 
       
   557 //!                6. Open file (Filename = {drive,mmc}\multimedia\mmf\devsound\AMR-WB\AMRWB_16k_23.85kbps_mono_speech.awb)
       
   558 //!                7. Play 30 seconds 
       
   559 //!                8. Stop
       
   560 //!                9. CloseFile
       
   561 //!                10. Delete devsound instance
       
   562 //!                
       
   563 //! TEST_BLOCK 002
       
   564 //!                1. Create Devsound instance 
       
   565 //!                2. Initialize Devsound (Mode= EMMFStateRecording; FourCC= AMR)
       
   566 //!                3. Set Priority (Priority= {Priority,PriorityVoiceRecording}; Preference= {PriorityPreference,PriorityPreferenceVoiceRecording} ; PriorityState= EMMFStateRecording)
       
   567 //!                4. Capabilities
       
   568 //!                5. Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz) and delay 10 seconds
       
   569 //!                6. ReplaceFile (Filename= {drive,mmc}\multimedia\mmf\devsound\Recording\MixPlayAMRWBWithRecAMRNB.amr)
       
   570 //!                7. Record 10 seconds
       
   571 //!                8. Stop 15 seconds
       
   572 //!                9. CloseFile
       
   573 //!                10. Initialize Devsound (Mode= EMMFStatePlaying; FourCC= AMR)
       
   574 //!                11. Set Priority (Priority= {Priority,PriorityAudioPlayback}; Preference= {PriorityPreference,PriorityPreferenceAudioPlayback}; PriorityState= EMMFStatePlaying)
       
   575 //!                12. Capabilities
       
   576 //!                13. Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz) 
       
   577 //!                14. OpenFile (Filename= {drive,mmc}\multimedia\mmf\devsound\Recording\MixPlayAMRWBWithRecAMRNB.amr)
       
   578 //!                15. Play
       
   579 //!                16. CloseFile
       
   580 //!                17. Delete devsound instance
       
   581 //!                
       
   582 
       
   583 //!@SYMTestStatus		Verified
       
   584 //!@SYMTestPriority		High
       
   585 //!@SYMTestExpectedResults
       
   586 //!                Mix 16k mono AMR-WB playback with AMR-NB recording
       
   587 //! TEST_BLOCK 001
       
   588 //!                AMR-WB 16HKz mono playback
       
   589 //! TEST_BLOCK 002
       
   590 //!                AMR-NB 8KHz mono playback and recording
       
   591 //!@SYMTestType			CIT
       
   592 
       
   593 
       
   594 	CONCURRENT
       
   595 
       
   596 
       
   597 
       
   598 	START_TEST_BLOCK	40	t_devsound	\multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_pr.ini
       
   599 		CREATE_OBJECT	CMMFDevSound		devsound1
       
   600 		COMMAND		devsound1		NewL
       
   601 		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0005-0001-InitializeL_command02
       
   602 		OUTSTANDING
       
   603 		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSound-Comb_Pr-0005-0001-SetPrioritySettings_command03
       
   604 		COMMAND		devsound1		Capabilities
       
   605 		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0005-0001-SetConfigL_command05
       
   606 		COMMAND		devsound1		OpenFile			MULTIMEDIA-MMF-DevSound-Comb_Pr-0005-0001-OpenFile_command06
       
   607 		COMMAND		!AsyncError=-13    devsound1		PlayInitL
       
   608 		ASYNC_DELAY  30000000 
       
   609 		COMMAND		devsound1		Stop
       
   610 		COMMAND		devsound1		CloseFile
       
   611 		COMMAND		devsound1		~
       
   612 	END_TEST_BLOCK
       
   613 
       
   614 
       
   615 
       
   616 	START_TEST_BLOCK	100	t_devsound	\multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_pr.ini
       
   617 		CREATE_OBJECT	CMMFDevSound		devsound1
       
   618 		COMMAND		devsound1		NewL
       
   619 		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0005-0002-InitializeL_command02
       
   620 		OUTSTANDING
       
   621 		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSound-Comb_Pr-0005-0002-SetPrioritySettings_command03
       
   622 		COMMAND		devsound1		Capabilities
       
   623 		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0005-0002-SetConfigL_command05
       
   624 		DELAY  10000000 
       
   625 		COMMAND		devsound1		ReplaceFile			MULTIMEDIA-MMF-DevSound-Comb_Pr-0005-0002-ReplaceFile_command06
       
   626 		COMMAND		devsound1		RecordInitL
       
   627 		ASYNC_DELAY  10000000 
       
   628 		COMMAND		devsound1		Stop
       
   629 		DELAY  15000000 
       
   630 		COMMAND		devsound1		CloseFile
       
   631 		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0005-0002-InitializeL_command10
       
   632 		OUTSTANDING
       
   633 		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSound-Comb_Pr-0005-0002-SetPrioritySettings_command11
       
   634 		COMMAND		devsound1		Capabilities
       
   635 		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0005-0002-SetConfigL_command13
       
   636 		COMMAND		devsound1		OpenFile			MULTIMEDIA-MMF-DevSound-Comb_Pr-0005-0002-OpenFile_command14
       
   637 		COMMAND		devsound1		PlayInitL
       
   638 		OUTSTANDING
       
   639 		COMMAND		devsound1		CloseFile
       
   640 		COMMAND		devsound1		~
       
   641 	END_TEST_BLOCK
       
   642 END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PR-0005
       
   643 
       
   644 
       
   645 
       
   646 
       
   647 START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PR-0006
       
   648 
       
   649 //!@SYMTestCaseID		MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PR-0006
       
   650 //!@SYMAPI
       
   651 //! TEST_BLOCK 001
       
   652 //!                CMMFDevSound::InitializeL(MDevSoundObserver , TFourCC , TMMFState)
       
   653 //!                CMMFDevSound::SetPrioritySettings(const TMMFPrioritySettings )
       
   654 //!                CMMFDevSound::Capabilities()
       
   655 //!                CMMFDevSound::SetConfigL(const TMMFCapabilities )
       
   656 //!                CMMFDevSound::PlayInitL()
       
   657 //!                CMMFDevSound::Stop()
       
   658 //! TEST_BLOCK 002
       
   659 //!                CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState)
       
   660 //!                CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref})
       
   661 //!                CMMFDevSound::Capabilities()
       
   662 //!                CMMFDevSound::SetConfigL(TMMFCapabilities {ref})
       
   663 //!                CMMFDevSound::PlayInitL()
       
   664 //!                CMMFDevSound::RecordInitL()
       
   665 //!                CMMFDevSound::Stop()
       
   666 //!@SYMAuthor			fperez
       
   667 //!@SYMCreationDate		8/25/2008 
       
   668 //!@SYMTestCaseDesc		 Mix 44.1k stereo MP3 playback with AMR-NB recording
       
   669 //!@SYMTestActions
       
   670 //! TEST_BLOCK 001
       
   671 //!                1. Create Devsound instance 
       
   672 //!                2. Initialize Devsound (Mode= EMMFStatePlaying; FourCC= MP3)
       
   673 //!                3. Set Priority (Priority= {Priority,PriorityAudioPlayback}; Preference= {PriorityPreference,PriorityPreferenceNone}; PriorityState= EMMFStatePlaying)
       
   674 //!                4. Capabilities
       
   675 //!                5. Set Configuration (Channels = EMMFStereo; Rate = EMMFSampleRate44100Hz) 
       
   676 //!                6. OpenFile (Filename= {drive,mmc}\multimedia\mmf\devsound\MP3\MP3_44.1k_128kbps_st_Test3.mp3)
       
   677 //!                7. Play 30 seconds
       
   678 //!                8. Stop 
       
   679 //!                9. CloseFile
       
   680 //!                10. Delete devsound instance
       
   681 //!                
       
   682 //! TEST_BLOCK 002
       
   683 //!                1. Create Devsound instance 
       
   684 //!                2. Initialize Devsound (Mode= EMMFStateRecording; FourCC= AMR)
       
   685 //!                3. Set Priority (Priority= {Priority,PriorityVoiceRecording}; Preference= {PriorityPreference,PriorityPreferenceVoiceRecording} ; PriorityState= EMMFStateRecording)
       
   686 //!                4. Capabilities
       
   687 //!                5. Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz) and delay 10 seconds
       
   688 //!                6. ReplaceFile (Filename= {drive,mmc}\multimedia\mmf\devsound\Recording\MixPlayAMRWBWithRecAMRNB.amr)
       
   689 //!                7. Record 10 seconds
       
   690 //!                8. Stop 15 seconds
       
   691 //!                9. CloseFile
       
   692 //!                10. Initialize Devsound (Mode= EMMFStatePlaying; FourCC= AMR)
       
   693 //!                11. Set Priority (Priority= {Priority,PriorityAudioPlayback}; Preference= {PriorityPreference,PriorityPreferenceAudioPlayback}; PriorityState= EMMFStatePlaying)
       
   694 //!                12. Capabilities
       
   695 //!                13. Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz) 
       
   696 //!                14. OpenFile (Filename= {drive,mmc}\multimedia\mmf\devsound\Recording\MixPlayAMRWBWithRecAMRNB.amr)
       
   697 //!                15. Play
       
   698 //!                16. CloseFile
       
   699 //!                17. Delete devsound instance
       
   700 //!                
       
   701 
       
   702 //!@SYMTestStatus		Verified
       
   703 //!@SYMTestPriority		High
       
   704 //!@SYMTestExpectedResults
       
   705 //!                Mix 44.1k stereo MP3 playback with AMR-NB recording
       
   706 //! TEST_BLOCK 001
       
   707 //!                MP3 44.1 KHz stereo playback
       
   708 //! TEST_BLOCK 002
       
   709 //!                AMR 8 KHz mono recording and playback
       
   710 //!@SYMTestType			CIT
       
   711 
       
   712 
       
   713 	CONCURRENT
       
   714 
       
   715 
       
   716 
       
   717 	START_TEST_BLOCK	40	t_devsound	\multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_pr.ini
       
   718 		CREATE_OBJECT	CMMFDevSound		devsound1
       
   719 		COMMAND		devsound1		NewL
       
   720 		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0006-0001-InitializeL_command02
       
   721 		OUTSTANDING
       
   722 		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSound-Comb_Pr-0006-0001-SetPrioritySettings_command03
       
   723 		COMMAND		devsound1		Capabilities
       
   724 		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0006-0001-SetConfigL_command05
       
   725 		COMMAND		devsound1		OpenFile			MULTIMEDIA-MMF-DevSound-Comb_Pr-0006-0001-OpenFile_command06
       
   726 		COMMAND		!AsyncError=-13    devsound1		PlayInitL
       
   727 		ASYNC_DELAY  30000000 
       
   728 		COMMAND		devsound1		Stop
       
   729 		COMMAND		devsound1		CloseFile
       
   730 		COMMAND		devsound1		~
       
   731 	END_TEST_BLOCK
       
   732 
       
   733 
       
   734 
       
   735 	START_TEST_BLOCK	100	t_devsound	\multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_pr.ini
       
   736 		CREATE_OBJECT	CMMFDevSound		devsound1
       
   737 		COMMAND		devsound1		NewL
       
   738 		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0006-0002-InitializeL_command02
       
   739 		OUTSTANDING
       
   740 		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSound-Comb_Pr-0006-0002-SetPrioritySettings_command03
       
   741 		COMMAND		devsound1		Capabilities
       
   742 		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0006-0002-SetConfigL_command05
       
   743 		DELAY  10000000 
       
   744 		COMMAND		devsound1		ReplaceFile			MULTIMEDIA-MMF-DevSound-Comb_Pr-0006-0002-ReplaceFile_command06
       
   745 		COMMAND		devsound1		RecordInitL
       
   746 		ASYNC_DELAY  10000000 
       
   747 		COMMAND		devsound1		Stop
       
   748 		DELAY  15000000 
       
   749 		COMMAND		devsound1		CloseFile
       
   750 		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0006-0002-InitializeL_command10
       
   751 		OUTSTANDING
       
   752 		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSound-Comb_Pr-0006-0002-SetPrioritySettings_command11
       
   753 		COMMAND		devsound1		Capabilities
       
   754 		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0006-0002-SetConfigL_command13
       
   755 		COMMAND		devsound1		OpenFile			MULTIMEDIA-MMF-DevSound-Comb_Pr-0006-0002-OpenFile_command14
       
   756 		COMMAND		devsound1		PlayInitL
       
   757 		OUTSTANDING
       
   758 		COMMAND		devsound1		CloseFile
       
   759 		COMMAND		devsound1		~
       
   760 	END_TEST_BLOCK
       
   761 END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PR-0006
       
   762 
       
   763 
       
   764 
       
   765 
       
   766 START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PR-0007
       
   767 
       
   768 //!@SYMTestCaseID		MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PR-0007
       
   769 //!@SYMAPI
       
   770 //! TEST_BLOCK 001
       
   771 //!                CMMFDevSound::InitializeL(MDevSoundObserver , TFourCC , TMMFState)
       
   772 //!                CMMFDevSound::SetPrioritySettings(const TMMFPrioritySettings )
       
   773 //!                CMMFDevSound::Capabilities()
       
   774 //!                CMMFDevSound::SetConfigL(const TMMFCapabilities )
       
   775 //!                CMMFDevSound::PlayInitL()
       
   776 //!                CMMFDevSound::Stop()
       
   777 //! TEST_BLOCK 002
       
   778 //!                CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState)
       
   779 //!                CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref})
       
   780 //!                CMMFDevSound::Capabilities()
       
   781 //!                CMMFDevSound::SetConfigL(TMMFCapabilities {ref})
       
   782 //!                CMMFDevSound::PlayInitL()
       
   783 //!                CMMFDevSound::RecordInitL()
       
   784 //!                CMMFDevSound::Stop()
       
   785 //!@SYMAuthor			fperez
       
   786 //!@SYMCreationDate		8/25/2008 
       
   787 //!@SYMTestCaseDesc		 Mix 44.1k stereo MP3 playback with AMR-WB recording
       
   788 //!@SYMTestActions
       
   789 //! TEST_BLOCK 001
       
   790 //!                1. Create Devsound instance 
       
   791 //!                2. Initialize Devsound (Mode= EMMFStatePlaying; FourCC= MP3)
       
   792 //!                3. Set Priority (Priority= {Priority,PriorityAudioPlayback}; Preference= {PriorityPreference,PriorityPreferenceNone}; PriorityState= EMMFStatePlaying)
       
   793 //!                4. Capabilities
       
   794 //!                5. Set Configuration (Channels = EMMFStereo; Rate = EMMFSampleRate44100Hz) 
       
   795 //!                6. OpenFile (Filename= {drive,mmc}\multimedia\mmf\devsound\MP3\MP3_44.1k_128kbps_st_Test3.mp3)
       
   796 //!                7. Play 30 seconds
       
   797 //!                8. Stop 
       
   798 //!                9. CloseFile
       
   799 //!                10. Delete devsound instance
       
   800 //!                
       
   801 //! TEST_BLOCK 002
       
   802 //!                1. Create Devsound instance 
       
   803 //!                2. Initialize Devsound (Mode= EMMFStateRecording; FourCC= AWB)
       
   804 //!                3. Set Priority (Priority= {Priority,PriorityVoiceRecording}; Preference= {PriorityPreference,PriorityPreferenceVoiceRecording} ; PriorityState= EMMFStateRecording)
       
   805 //!                4. Capabilities
       
   806 //!                5. Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate16000Hz) and delay 10 seconds
       
   807 //!                6. ReplaceFile (Filename= {drive,mmc}\multimedia\mmf\devsound\Recording\MixPlayMP3WithRecAMRWB.awb)
       
   808 //!                7. Record 10 seconds
       
   809 //!                8. Stop 15 seconds
       
   810 //!                9. CloseFile
       
   811 //!                10. Initialize Devsound (Mode= EMMFStatePlaying; FourCC= AWB)
       
   812 //!                11. Set Priority (Priority= {Priority,PriorityAudioPlayback}; Preference= {PriorityPreference,PriorityPreferenceAudioPlayback}; PriorityState= EMMFStatePlaying)
       
   813 //!                12. Capabilities
       
   814 //!                13. Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate16000Hz) 
       
   815 //!                14. OpenFile (Filename= {drive,mmc}\multimedia\mmf\devsound\Recording\MixPlayMP3WithRecAMRWB.awb)
       
   816 //!                15. Play
       
   817 //!                16. CloseFile
       
   818 //!                17. Delete devsound instance
       
   819 //!                
       
   820 //!@SYMTestStatus		Verified
       
   821 //!@SYMTestPriority		High
       
   822 //!@SYMTestExpectedResults
       
   823 //!                Mix 44.1k stereo MP3 playback with AMR-WB recording
       
   824 //! TEST_BLOCK 001
       
   825 //!                MP3 44.1 KHz stereo playback
       
   826 //! TEST_BLOCK 002
       
   827 //!                AMR-WB 16KHz  stereo recording and playback
       
   828 //!@SYMTestType			CIT
       
   829 
       
   830 
       
   831 	CONCURRENT
       
   832 
       
   833 
       
   834 
       
   835 	START_TEST_BLOCK	60	t_devsound	\multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_pr.ini
       
   836 		CREATE_OBJECT	CMMFDevSound		devsound1
       
   837 		COMMAND		devsound1		NewL
       
   838 		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0007-0001-InitializeL_command02
       
   839 		OUTSTANDING
       
   840 		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSound-Comb_Pr-0007-0001-SetPrioritySettings_command03
       
   841 		COMMAND		devsound1		Capabilities
       
   842 		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0007-0001-SetConfigL_command05
       
   843 		COMMAND		devsound1		OpenFile			MULTIMEDIA-MMF-DevSound-Comb_Pr-0007-0001-OpenFile_command06
       
   844 		COMMAND		!AsyncError=-13    devsound1		PlayInitL
       
   845 		ASYNC_DELAY  30000000 
       
   846 		COMMAND		devsound1		Stop
       
   847 		COMMAND		devsound1		CloseFile
       
   848 		COMMAND		devsound1		~
       
   849 	END_TEST_BLOCK
       
   850 
       
   851 
       
   852 
       
   853 	START_TEST_BLOCK	100	t_devsound	\multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_pr.ini
       
   854 		CREATE_OBJECT	CMMFDevSound		devsound1
       
   855 		COMMAND		devsound1		NewL
       
   856 		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0007-0002-InitializeL_command02
       
   857 		OUTSTANDING
       
   858 		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSound-Comb_Pr-0007-0002-SetPrioritySettings_command03
       
   859 		COMMAND		devsound1		Capabilities
       
   860 		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0007-0002-SetConfigL_command05
       
   861 		DELAY  10000000 
       
   862 		COMMAND		devsound1		ReplaceFile			MULTIMEDIA-MMF-DevSound-Comb_Pr-0007-0002-ReplaceFile_command06
       
   863 		COMMAND		devsound1		RecordInitL
       
   864 		ASYNC_DELAY  10000000 
       
   865 		COMMAND		devsound1		Stop
       
   866 		DELAY  15000000 
       
   867 		COMMAND		devsound1		CloseFile
       
   868 		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0007-0002-InitializeL_command10
       
   869 		OUTSTANDING
       
   870 		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSound-Comb_Pr-0007-0002-SetPrioritySettings_command11
       
   871 		COMMAND		devsound1		Capabilities
       
   872 		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0007-0002-SetConfigL_command13
       
   873 		COMMAND		devsound1		OpenFile			MULTIMEDIA-MMF-DevSound-Comb_Pr-0007-0002-OpenFile_command14
       
   874 		COMMAND		devsound1		PlayInitL
       
   875 		OUTSTANDING
       
   876 		COMMAND		devsound1		CloseFile
       
   877 		COMMAND		devsound1		~
       
   878 	END_TEST_BLOCK
       
   879 END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PR-0007
       
   880 
       
   881 
       
   882 
       
   883 
       
   884 START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PR-0008
       
   885 
       
   886 //!@SYMTestCaseID		MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PR-0008
       
   887 //!@SYMAPI
       
   888 //! TEST_BLOCK 001
       
   889 //!                CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState)
       
   890 //!                CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref})
       
   891 //!                CMMFDevSound::Capabilities()
       
   892 //!                CMMFDevSound::SetConfigL(TMMFCapabilities {ref})
       
   893 //!                CMMFDevSound::PlayInitL()
       
   894 //!                CMMFDevSound::Stop()
       
   895 //! TEST_BLOCK 002
       
   896 //!                CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState)
       
   897 //!                CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref})
       
   898 //!                CMMFDevSound::Capabilities()
       
   899 //!                CMMFDevSound::SetConfigL(TMMFCapabilities {ref})
       
   900 //!                CMMFDevSound::PlayInitL()
       
   901 //!                CMMFDevSound::RecordInitL()
       
   902 //!                CMMFDevSound::Stop()
       
   903 //!@SYMAuthor			fperez
       
   904 //!@SYMCreationDate		8/11/2008 
       
   905 //!@SYMTestCaseDesc		 Mix 48k stereo PCM playback with PCM recording
       
   906 //!@SYMTestActions
       
   907 //! TEST_BLOCK 001
       
   908 //!                1. Create Devsound instance 
       
   909 //!                2. Initialize Devsound (Mode= EMMFStatePlaying; FourCC= {SpecialFourCC,RAW})
       
   910 //!                3. Set Priority (Priority= {Priority,PriorityAudioPlayback}; Preference= {PriorityPreference,PriorityPreferenceNone}; PriorityState= EMMFStatePlaying)
       
   911 //!                4. Capabilities
       
   912 //!                5. Set Configuration (Channels= EMMFStereo; Rate= EMMFSampleRate48000Hz) 
       
   913 //!                6. OpenFile (Filename= {drive,mmc}\multimedia\mmf\devsound\PCM\PCM_8k_16b_signed_st_Test1.pcm)
       
   914 //!                7. Play 30 seconds
       
   915 //!                8. Stop 
       
   916 //!                9. CloseFile
       
   917 //!                10. Delete devsound instance
       
   918 //!                
       
   919 //! TEST_BLOCK 002
       
   920 //!                1. Create Devsound instance 
       
   921 //!                2. Initialize Devsound (Mode= EMMFStateRecording; FourCC= {SpecialFourCC,RAW})
       
   922 //!                3. Set Priority (Priority= {Priority,PriorityVoiceRecording}; Preference= {PriorityPreference,PriorityPreferenceVoiceRecording} ; PriorityState= EMMFStateRecording)
       
   923 //!                4. Capabilities
       
   924 //!                5. Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz) and delay 10 seconds
       
   925 //!                6. ReplaceFile (Filename= {drive,mmc}\multimedia\mmf\devsound\codec_mixing\MixPlayPCMWithRecPCM.pcm)
       
   926 //!                7. Record 10 seconds
       
   927 //!                8. Stop 15 seconds
       
   928 //!                9. CloseFile
       
   929 //!                10. Initialize Devsound (Mode= EMMFStatePlaying; FourCC= {SpecialFourCC,RAW})
       
   930 //!                11. Set Priority (Priority= {Priority,PriorityAudioPlayback}; Preference= {PriorityPreference,PriorityPreferenceAudioPlayback}; PriorityState= EMMFStatePlaying)
       
   931 //!                12. Capabilities
       
   932 //!                13. Set Configuration (Channels= EMMFMono; Rate= EMMFSampleRate8000Hz) 
       
   933 //!                14. OpenFile (Filename= {drive,mmc}\multimedia\mmf\devsound\codec_mixing\MixPlayPCMWithRecPCM.pcm)
       
   934 //!                15. Play
       
   935 //!                16. CloseFile
       
   936 //!                17. Delete devsound instance
       
   937 //!                
       
   938 //!@SYMTestStatus		Verified
       
   939 //!@SYMTestPriority		High
       
   940 //!@SYMTestExpectedResults
       
   941 //!                Mix 48k stereo PCM playback with PCM recording
       
   942 //! TEST_BLOCK 001
       
   943 //!                PCM 8KHz stereo playback
       
   944 //! TEST_BLOCK 002
       
   945 //!                PCM 8 HKz mono recording and playback
       
   946 //!@SYMTestType			CIT
       
   947 
       
   948 
       
   949 	CONCURRENT
       
   950 
       
   951 
       
   952 
       
   953 	START_TEST_BLOCK	80	t_devsound	\multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_pr.ini
       
   954 		CREATE_OBJECT	CMMFDevSound		devsound1
       
   955 		COMMAND		devsound1		NewL
       
   956 		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0008-0001-InitializeL_command02
       
   957 		OUTSTANDING
       
   958 		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSound-Comb_Pr-0008-0001-SetPrioritySettings_command03
       
   959 		COMMAND		devsound1		Capabilities
       
   960 		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0008-0001-SetConfigL_command05
       
   961 		COMMAND		devsound1		OpenFile			MULTIMEDIA-MMF-DevSound-Comb_Pr-0008-0001-OpenFile_command06
       
   962 		COMMAND		devsound1		PlayInitL
       
   963 		ASYNC_DELAY  30000000 
       
   964 		COMMAND		devsound1		Stop
       
   965 		COMMAND		devsound1		CloseFile
       
   966 		COMMAND		devsound1		~
       
   967 	END_TEST_BLOCK
       
   968 
       
   969 
       
   970 
       
   971 	START_TEST_BLOCK	200	t_devsound	\multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_pr.ini
       
   972 		CREATE_OBJECT	CMMFDevSound		devsound1
       
   973 		COMMAND		devsound1		NewL
       
   974 		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0008-0002-InitializeL_command02
       
   975 		OUTSTANDING
       
   976 		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSound-Comb_Pr-0008-0002-SetPrioritySettings_command03
       
   977 		COMMAND		devsound1		Capabilities
       
   978 		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0008-0002-SetConfigL_command05
       
   979 		DELAY  10000000 
       
   980 		COMMAND		devsound1		ReplaceFile			MULTIMEDIA-MMF-DevSound-Comb_Pr-0008-0002-ReplaceFile_command06
       
   981 		COMMAND		devsound1		RecordInitL
       
   982 		ASYNC_DELAY  10000000 
       
   983 		COMMAND		devsound1		Stop
       
   984 		DELAY  15000000 
       
   985 		COMMAND		devsound1		CloseFile
       
   986 		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0008-0002-InitializeL_command10
       
   987 		OUTSTANDING
       
   988 		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSound-Comb_Pr-0008-0002-SetPrioritySettings_command11
       
   989 		COMMAND		devsound1		Capabilities
       
   990 		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0008-0002-SetConfigL_command13
       
   991 		COMMAND		devsound1		OpenFile			MULTIMEDIA-MMF-DevSound-Comb_Pr-0008-0002-OpenFile_command14
       
   992 		COMMAND		devsound1		PlayInitL
       
   993 		OUTSTANDING
       
   994 		COMMAND		devsound1		CloseFile
       
   995 		COMMAND		devsound1		~
       
   996 	END_TEST_BLOCK
       
   997 END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PR-0008
       
   998 
       
   999 
       
  1000 
       
  1001 
       
  1002 START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PR-0009
       
  1003 
       
  1004 //!@SYMTestCaseID		MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PR-0009
       
  1005 //!@SYMAPI
       
  1006 //! TEST_BLOCK 001
       
  1007 //!                CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState)
       
  1008 //!                CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref})
       
  1009 //!                CMMFDevSound::Capabilities()
       
  1010 //!                CMMFDevSound::SetConfigL(TMMFCapabilities {ref})
       
  1011 //!                CMMFDevSound::PlayInitL()
       
  1012 //! TEST_BLOCK 002
       
  1013 //!                CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState)
       
  1014 //!                CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref})
       
  1015 //!                CMMFDevSound::Capabilities()
       
  1016 //!                CMMFDevSound::SetConfigL(TMMFCapabilities {ref})
       
  1017 //!                CMMFDevSound::PlayInitL()
       
  1018 //! TEST_BLOCK 003
       
  1019 //!                CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState)
       
  1020 //!                CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref})
       
  1021 //!                CMMFDevSound::Capabilities()
       
  1022 //!                CMMFDevSound::SetConfigL(TMMFCapabilities {ref})
       
  1023 //!                CMMFDevSound::PlayInitL()
       
  1024 //!@SYMAuthor			ddamian
       
  1025 //!@SYMCreationDate		8/11/2008 
       
  1026 //!@SYMTestCaseDesc		44.1k audio playback during VoIP call - AMR-WB
       
  1027 //!@SYMTestActions
       
  1028 //! TEST_BLOCK 001
       
  1029 //!                1.- Create DevSound instance
       
  1030 //!                2.- Initialize DevSound ( Mode = EMMFStatePlaying; FourCC = AWB)
       
  1031 //!                3.- Set Priority settings (Priority = {Priority,PriorityVoipCallDown}; Preference = {PriorityPreference,PriorityPreferenceVoipCallDown}; PriorityState = EMMFStatePlaying)
       
  1032 //!                4.- Capabilities
       
  1033 //!                5.- Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate16000Hz)
       
  1034 //!                6.- Open file (Filename = {drive,mmc}\multimedia\mmf\devsound\AMR-WB\AMRWB_16k_23.85kbps_mono_speech.awb)
       
  1035 //!                7.- Play 30 sec
       
  1036 //!                8.- Stop
       
  1037 //!                9.- Close File
       
  1038 //!                10.- Destroy DevSound instance
       
  1039 //! TEST_BLOCK 002
       
  1040 //!                1.- Create DevSound instance
       
  1041 //!                2.- Initialize DevSound ( Mode = EMMFStateRecording; FourCC = AWB)
       
  1042 //!                3.- Set Priority settings (Priority = {Priority,PriorityVoipCallUp}; Preference = {PriorityPreference,PriorityPreferenceVoipCallUp}; PriorityState = EMMFStateRecording)
       
  1043 //!                4.- Capabilities
       
  1044 //!                5.- Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate16000Hz)
       
  1045 //!                6.- Replace File (Filename = {drive,mmc}\multimedia\mmf\devsound\recording\PlayMP3DuringVoIPCallAMRWB.awb)
       
  1046 //!                7.- Record Init 30s
       
  1047 //!                8.- Stop and wait 5 sec.
       
  1048 //!                9.- Close File
       
  1049 //!                10.- Initialize DevSound ( Mode = EMMFStatePlaying; FourCC = AWB)
       
  1050 //!                11.- Set Priority settings (Priority ={Priority,PriorityAudioPlayback}; Preference = {PriorityPreference,PriorityPreferenceAudioPlayback}; PriorityState = EMMFStatePlaying)
       
  1051 //!                12.- Capabilities
       
  1052 //!                13.- Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate16000Hz)
       
  1053 //!                14.- Open File (Filename = {drive,mmc}\multimedia\mmf\devsound\recording\PlayMP3DuringVoIPCallAMRWB.awb)
       
  1054 //!                15.- Play EOF
       
  1055 //!                16.- Close file
       
  1056 //!                17.- Destroy DevSound instance
       
  1057 //! TEST_BLOCK 003
       
  1058 //!                1.- Create DevSound instance
       
  1059 //!                2.- Initialize DevSound ( Mode = EMMFStatePlaying; FourCC = MP3)
       
  1060 //!                3.- Set Priority settings (Priority ={Priority,PriorityAudioPlayback}; Preference = {PriorityPreference,PriorityPreferenceAudioPlayback}; PriorityState = EMMFStatePlaying)
       
  1061 //!                4.- Capabilities
       
  1062 //!                5.- Set Configuration and wait 10 seconds (Channels = EMMFStereo; Rate =EMMFSampleRate44100Hz)
       
  1063 //!                6.- Open file (Filename = {drive,mmc}\multimedia\mmf\devsound\MP3\MP3_44.1k_128kbps_st_Test3.mp3)
       
  1064 //!                7.- Play 10 sec
       
  1065 //!                8.- Stop
       
  1066 //!                9.- Close File
       
  1067 //!                10.- Destroy DevSound instance
       
  1068 //!@SYMTestStatus		Verified
       
  1069 //!@SYMTestPriority		High
       
  1070 //!@SYMTestExpectedResults
       
  1071 //!                44.1k audio playback during VoIP call - AMR-WB
       
  1072 //! TEST_BLOCK 001
       
  1073 //!                AMR-WB 16 KHz mono playback as VoIPCallDown
       
  1074 //! TEST_BLOCK 002
       
  1075 //!                AMR-NB 16 KHz mono recording and playback as VoIPCall
       
  1076 //! TEST_BLOCK 003
       
  1077 //!                MP3 44.1 KHz stereo playback as audio playback
       
  1078 //!@SYMTestType			CIT
       
  1079 
       
  1080 
       
  1081 	CONCURRENT
       
  1082 
       
  1083 
       
  1084 
       
  1085 	START_TEST_BLOCK	100	t_devsound	\multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_pr.ini
       
  1086 		CREATE_OBJECT	CMMFDevSound		devsound1
       
  1087 		COMMAND		devsound1		NewL
       
  1088 		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0009-0001-InitializeL_command02
       
  1089 		OUTSTANDING
       
  1090 		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSound-Comb_Pr-0009-0001-SetPrioritySettings_command03
       
  1091 		COMMAND		devsound1		Capabilities
       
  1092 		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0009-0001-SetConfigL_command05
       
  1093 		COMMAND		devsound1		OpenFile			MULTIMEDIA-MMF-DevSound-Comb_Pr-0009-0001-OpenFile_command06
       
  1094 		COMMAND		devsound1		PlayInitL
       
  1095 		ASYNC_DELAY  30000000 
       
  1096 		COMMAND		devsound1		Stop
       
  1097 		COMMAND		devsound1		CloseFile
       
  1098 		COMMAND		devsound1		~
       
  1099 	END_TEST_BLOCK
       
  1100 
       
  1101 
       
  1102 
       
  1103 	START_TEST_BLOCK	100	t_devsound	\multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_pr.ini
       
  1104 		CREATE_OBJECT	CMMFDevSound		devsound1
       
  1105 		COMMAND		devsound1		NewL
       
  1106 		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0009-0002-InitializeL_command02
       
  1107 		OUTSTANDING
       
  1108 		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSound-Comb_Pr-0009-0002-SetPrioritySettings_command03
       
  1109 		COMMAND		devsound1		Capabilities
       
  1110 		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0009-0002-SetConfigL_command05
       
  1111 		COMMAND		devsound1		ReplaceFile			MULTIMEDIA-MMF-DevSound-Comb_Pr-0009-0002-ReplaceFile_command06
       
  1112 		COMMAND		devsound1		RecordInitL
       
  1113 		ASYNC_DELAY  30000000 
       
  1114 		COMMAND		devsound1		Stop
       
  1115 		DELAY  5000000 
       
  1116 		COMMAND		devsound1		CloseFile
       
  1117 		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0009-0002-InitializeL_command10
       
  1118 		OUTSTANDING
       
  1119 		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSound-Comb_Pr-0009-0002-SetPrioritySettings_command11
       
  1120 		COMMAND		devsound1		Capabilities
       
  1121 		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0009-0002-SetConfigL_command13
       
  1122 		COMMAND		devsound1		OpenFile			MULTIMEDIA-MMF-DevSound-Comb_Pr-0009-0002-OpenFile_command14
       
  1123 		COMMAND		devsound1		PlayInitL
       
  1124 		OUTSTANDING
       
  1125 		COMMAND		devsound1		CloseFile
       
  1126 		COMMAND		devsound1		~
       
  1127 	END_TEST_BLOCK
       
  1128 
       
  1129 
       
  1130 
       
  1131 	START_TEST_BLOCK	100	t_devsound	\multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_pr.ini
       
  1132 		CREATE_OBJECT	CMMFDevSound		devsound1
       
  1133 		COMMAND		devsound1		NewL
       
  1134 		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0009-0003-InitializeL_command02
       
  1135 		OUTSTANDING
       
  1136 		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSound-Comb_Pr-0009-0003-SetPrioritySettings_command03
       
  1137 		COMMAND		devsound1		Capabilities
       
  1138 		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0009-0003-SetConfigL_command05
       
  1139 		DELAY  10000000 
       
  1140 		COMMAND		devsound1		OpenFile			MULTIMEDIA-MMF-DevSound-Comb_Pr-0009-0003-OpenFile_command06
       
  1141 		COMMAND		devsound1		PlayInitL
       
  1142 		ASYNC_DELAY  10000000 
       
  1143 		COMMAND		devsound1		Stop
       
  1144 		COMMAND		devsound1		CloseFile
       
  1145 		COMMAND		devsound1		~
       
  1146 	END_TEST_BLOCK
       
  1147 END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PR-0009
       
  1148 
       
  1149 
       
  1150 
       
  1151 
       
  1152 START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PR-0010
       
  1153 
       
  1154 //!@SYMTestCaseID		MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PR-0010
       
  1155 //!@SYMAPI
       
  1156 //! TEST_BLOCK 001
       
  1157 //!                CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState)
       
  1158 //!                CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref})
       
  1159 //!                CMMFDevSound::Capabilities()
       
  1160 //!                CMMFDevSound::SetConfigL(TMMFCapabilities {ref})
       
  1161 //!                CMMFDevSound::PlayInitL()
       
  1162 //!                CMMFDevSound::Stop()
       
  1163 //! TEST_BLOCK 002
       
  1164 //!                CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState)
       
  1165 //!                CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref})
       
  1166 //!                CMMFDevSound::Capabilities()
       
  1167 //!                CMMFDevSound::SetConfigL(TMMFCapabilities {ref})
       
  1168 //!                CMMFDevSound::PlayInitL()
       
  1169 //!                CMMFDevSound::RecordInitL()
       
  1170 //!                CMMFDevSound::Stop()
       
  1171 //! TEST_BLOCK 003
       
  1172 //!                CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState)
       
  1173 //!                CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref})
       
  1174 //!                CMMFDevSound::Capabilities()
       
  1175 //!                CMMFDevSound::SetConfigL(TMMFCapabilities {ref})
       
  1176 //!                CMMFDevSound::PlayInitL()
       
  1177 //!                CMMFDevSound::Stop()
       
  1178 //! TEST_BLOCK 004
       
  1179 //!                CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState)
       
  1180 //!                CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref})
       
  1181 //!                CMMFDevSound::Capabilities()
       
  1182 //!                CMMFDevSound::SetConfigL(TMMFCapabilities {ref})
       
  1183 //!                CMMFDevSound::PlayInitL()
       
  1184 //!                CMMFDevSound::RecordInitL()
       
  1185 //!                CMMFDevSound::Stop()
       
  1186 //!@SYMAuthor			fperez
       
  1187 //!@SYMCreationDate		8/25/2008 
       
  1188 //!@SYMTestCaseDesc		SWIS playback and voice recording during VoIP call
       
  1189 //!@SYMTestActions
       
  1190 //! TEST_BLOCK 001
       
  1191 //!                1.- Create DevSound instance
       
  1192 //!                2.- Initialize DevSound ( Mode = EMMFStatePlaying; FourCC = AMR)
       
  1193 //!                3.- Set Priority settings (Priority = {Priority,PriorityVoipCallDown}; Preference = {PriorityPreference,PriorityPreferenceVoipCallDown}; PriorityState = EMMFStatePlaying)
       
  1194 //!                4.- Capabilities
       
  1195 //!                5.- Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz)
       
  1196 //!                6.- Open file (Filename = {drive,mmc}\multimedia\mmf\devsound\AMR-NB\AMRNB_8k_12.2kbps_mono_speech.amr)
       
  1197 //!                7.- Play 50 sec
       
  1198 //!                8.- Stop
       
  1199 //!                9.- Close File
       
  1200 //!                10.- Destroy DevSound instance
       
  1201 //! TEST_BLOCK 002
       
  1202 //!                1.- Create DevSound instance
       
  1203 //!                2.- Initialize DevSound ( Mode = EMMFStateRecording; FourCC = AMR)
       
  1204 //!                3.- Set Priority settings (Priority = {Priority,PriorityVoipCallUp}; Preference = {PriorityPreference,PriorityPreferenceVoipCallUp}; PriorityState = EMMFStateRecording)
       
  1205 //!                4.- Capabilities
       
  1206 //!                5.- Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz)
       
  1207 //!                6.- Replace File (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\voip_call\PlaySWISAndRecAMRNBDuringVoIPCall1.amr)
       
  1208 //!                7.- Record 50 sec.
       
  1209 //!                8.- Stop and wait 5 sec.
       
  1210 //!                9.- Close File
       
  1211 //!                10.- Initialize DevSound ( Mode = EMMFStatePlaying; FourCC = AMR)
       
  1212 //!                11.- Set Priority settings (Priority ={Priority,PriorityAudioPlayback}; Preference = {PriorityPreference,PriorityPreferenceAudioPlayback}; PriorityState = EMMFStatePlaying)
       
  1213 //!                12.- Capabilities
       
  1214 //!                13.- Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz)
       
  1215 //!                14.- Open File (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\voip_call\PlaySWISAndRecAMRNBDuringVoIPCall1.amr)
       
  1216 //!                15.- Play
       
  1217 //!                16.- Close file
       
  1218 //!                17.- Destroy DevSound instance
       
  1219 //! TEST_BLOCK 003
       
  1220 //!                1.- Create DevSound instance
       
  1221 //!                2.- Initialize DevSound ( Mode = EMMFStatePlaying; FourCC = MP3)
       
  1222 //!                3.- Set Priority settings (Priority = {Priority,PrioritySWISPlayback}; Preference = {PriorityPreference,PriorityPreferenceSWISPlayback}; PriorityState = EMMFStatePlaying)
       
  1223 //!                4.- Capabilities
       
  1224 //!                5.- Set Configuration (Channels = EMMFStereo; Rate = EMMFSampleRate44100Hz). Wait 10 seconds
       
  1225 //!                6.- Open file (Filename = {drive,mmc}\multimedia\mmf\devsound\MP3\MP3_44.1k_128kbps_st_Test3.mp3)
       
  1226 //!                7.- Play 20 seconds
       
  1227 //!                8.- Stop
       
  1228 //!                9.- Close File
       
  1229 //!                10.- Destroy DevSound instance
       
  1230 //! TEST_BLOCK 004
       
  1231 //!                1.- Create DevSound instance
       
  1232 //!                2.- Initialize DevSound  ( Mode = EMMFStateRecording; FourCC = AMR)
       
  1233 //!                3.- Set priority settings (Priority = {Priority,PriorityVoiceRecording}; Preference = {PriorityPreference,PriorityPreferenceVoiceRecording} ; PriorityState = EMMFStateRecording)
       
  1234 //!                4.- Capabilities
       
  1235 //!                5.- SetConfiguration and wait 20 sec (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz)
       
  1236 //!                6.- Replace File (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\voip_call\PlaySWISAndRecAMRNBDuringVoIPCall2.amr)
       
  1237 //!                7.- Record 20 seconds
       
  1238 //!                8.- Stop and wait 70 seconds
       
  1239 //!                9.- Close File
       
  1240 //!                10.- initialize DevSound ( Mode = EMMFStatePlaying; FourCC = AMR)
       
  1241 //!                11.- Set priority settings (Priority = {Priority,PriorityAudioPlayback}; Preference = {PriorityPreference,PriorityPreferenceAudioPlayback}; PriorityState = EMMFStatePlaying)
       
  1242 //!                12.- Capabilities
       
  1243 //!                13.- Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz)
       
  1244 //!                14.- Open File (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\voip_call\PlaySWISAndRecAMRNBDuringVoIPCall2.amr)
       
  1245 //!                15..- Play
       
  1246 //!                16.- Close File
       
  1247 //!                17.- Destroy Data
       
  1248 //!@SYMTestStatus		Verified
       
  1249 //!@SYMTestPriority		High
       
  1250 //!@SYMTestExpectedResults
       
  1251 //!                SWIS playback and voice recording during VoIP call
       
  1252 //! TEST_BLOCK 001
       
  1253 //!                AMR-NB playback as VoIPCallDown
       
  1254 //! TEST_BLOCK 002
       
  1255 //!                AMR-NB record and playback as VoIPCallUp
       
  1256 //! TEST_BLOCK 003
       
  1257 //!                MP3 playback as SWIS playback
       
  1258 //! TEST_BLOCK 004
       
  1259 //!                AMR-NB record and playback as voice recording
       
  1260 //!@SYMTestType			CIT
       
  1261 
       
  1262 
       
  1263 	CONCURRENT
       
  1264 
       
  1265 
       
  1266 
       
  1267 	START_TEST_BLOCK	300	t_devsound	\multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_pr.ini
       
  1268 		CREATE_OBJECT	CMMFDevSound		devsound1
       
  1269 		COMMAND		devsound1		NewL
       
  1270 		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0010-0001-InitializeL_command02
       
  1271 		OUTSTANDING
       
  1272 		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSound-Comb_Pr-0010-0001-SetPrioritySettings_command03
       
  1273 		COMMAND		devsound1		Capabilities
       
  1274 		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0010-0001-SetConfigL_command05
       
  1275 		COMMAND		devsound1		OpenFile			MULTIMEDIA-MMF-DevSound-Comb_Pr-0010-0001-OpenFile_command06
       
  1276 		COMMAND		devsound1		PlayInitL
       
  1277 		ASYNC_DELAY  50000000 
       
  1278 		COMMAND		devsound1		Stop
       
  1279 		COMMAND		devsound1		CloseFile
       
  1280 		COMMAND		devsound1		~
       
  1281 	END_TEST_BLOCK
       
  1282 
       
  1283 
       
  1284 
       
  1285 	START_TEST_BLOCK	300	t_devsound	\multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_pr.ini
       
  1286 		CREATE_OBJECT	CMMFDevSound		devsound1
       
  1287 		COMMAND		devsound1		NewL
       
  1288 		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0010-0002-InitializeL_command02
       
  1289 		OUTSTANDING
       
  1290 		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSound-Comb_Pr-0010-0002-SetPrioritySettings_command03
       
  1291 		COMMAND		devsound1		Capabilities
       
  1292 		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0010-0002-SetConfigL_command05
       
  1293 		COMMAND		devsound1		ReplaceFile			MULTIMEDIA-MMF-DevSound-Comb_Pr-0010-0002-ReplaceFile_command06
       
  1294 		COMMAND		devsound1		RecordInitL
       
  1295 		ASYNC_DELAY  50000000 
       
  1296 		COMMAND		devsound1		Stop
       
  1297 		DELAY  5000000 
       
  1298 		COMMAND		devsound1		CloseFile
       
  1299 		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0010-0002-InitializeL_command10
       
  1300 		OUTSTANDING
       
  1301 		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSound-Comb_Pr-0010-0002-SetPrioritySettings_command11
       
  1302 		COMMAND		devsound1		Capabilities
       
  1303 		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0010-0002-SetConfigL_command13
       
  1304 		COMMAND		devsound1		OpenFile			MULTIMEDIA-MMF-DevSound-Comb_Pr-0010-0002-OpenFile_command14
       
  1305 		COMMAND		devsound1		PlayInitL
       
  1306 		OUTSTANDING
       
  1307 		COMMAND		devsound1		CloseFile
       
  1308 		COMMAND		devsound1		~
       
  1309 	END_TEST_BLOCK
       
  1310 
       
  1311 
       
  1312 
       
  1313 	START_TEST_BLOCK	300	t_devsound	\multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_pr.ini
       
  1314 		CREATE_OBJECT	CMMFDevSound		devsound1
       
  1315 		COMMAND		devsound1		NewL
       
  1316 		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0010-0003-InitializeL_command02
       
  1317 		OUTSTANDING
       
  1318 		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSound-Comb_Pr-0010-0003-SetPrioritySettings_command03
       
  1319 		COMMAND		devsound1		Capabilities
       
  1320 		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0010-0003-SetConfigL_command05
       
  1321 		DELAY  10000000 
       
  1322 		COMMAND		devsound1		OpenFile			MULTIMEDIA-MMF-DevSound-Comb_Pr-0010-0003-OpenFile_command06
       
  1323 		COMMAND		devsound1		PlayInitL
       
  1324 		ASYNC_DELAY  20000000 
       
  1325 		COMMAND		devsound1		Stop
       
  1326 		COMMAND		devsound1		CloseFile
       
  1327 		COMMAND		devsound1		~
       
  1328 	END_TEST_BLOCK
       
  1329 
       
  1330 
       
  1331 
       
  1332 	START_TEST_BLOCK	300	t_devsound	\multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_pr.ini
       
  1333 		CREATE_OBJECT	CMMFDevSound		devsound1
       
  1334 		COMMAND		devsound1		NewL
       
  1335 		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0010-0004-InitializeL_command02
       
  1336 		OUTSTANDING
       
  1337 		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSound-Comb_Pr-0010-0004-SetPrioritySettings_command03
       
  1338 		COMMAND		devsound1		Capabilities
       
  1339 		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0010-0004-SetConfigL_command05
       
  1340 		DELAY  20000000 
       
  1341 		COMMAND		devsound1		ReplaceFile			MULTIMEDIA-MMF-DevSound-Comb_Pr-0010-0004-ReplaceFile_command06
       
  1342 		COMMAND		devsound1		RecordInitL
       
  1343 		ASYNC_DELAY  20000000 
       
  1344 		COMMAND		devsound1		Stop
       
  1345 		DELAY  70000000 
       
  1346 		COMMAND		devsound1		CloseFile
       
  1347 		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0010-0004-InitializeL_command10
       
  1348 		OUTSTANDING
       
  1349 		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSound-Comb_Pr-0010-0004-SetPrioritySettings_command11
       
  1350 		COMMAND		devsound1		Capabilities
       
  1351 		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0010-0004-SetConfigL_command13
       
  1352 		COMMAND		devsound1		OpenFile			MULTIMEDIA-MMF-DevSound-Comb_Pr-0010-0004-OpenFile_command14
       
  1353 		COMMAND		devsound1		PlayInitL
       
  1354 		OUTSTANDING
       
  1355 		COMMAND		devsound1		CloseFile
       
  1356 		COMMAND		devsound1		~
       
  1357 	END_TEST_BLOCK
       
  1358 END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PR-0010
       
  1359 
       
  1360 
       
  1361 
       
  1362 
       
  1363 START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PR-0011
       
  1364 
       
  1365 //!@SYMTestCaseID		MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PR-0011
       
  1366 //!@SYMAPI
       
  1367 //! TEST_BLOCK 001
       
  1368 //!                CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState)
       
  1369 //!                CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref})
       
  1370 //!                CMMFDevSound::Capabilities()
       
  1371 //!                CMMFDevSound::SetConfigL(TMMFCapabilities {ref})
       
  1372 //!                CMMFDevSound::PlayInitL()
       
  1373 //!                CMMFDevSound::Stop()
       
  1374 //! TEST_BLOCK 002
       
  1375 //!                CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState)
       
  1376 //!                CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref})
       
  1377 //!                CMMFDevSound::Capabilities()
       
  1378 //!                CMMFDevSound::SetConfigL(TMMFCapabilities {ref})
       
  1379 //!                CMMFDevSound::PlayInitL()
       
  1380 //!                CMMFDevSound::RecordInitL()
       
  1381 //!                CMMFDevSound::Stop()
       
  1382 //! TEST_BLOCK 003
       
  1383 //!                CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState)
       
  1384 //!                CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref})
       
  1385 //!                CMMFDevSound::Capabilities()
       
  1386 //!                CMMFDevSound::SetConfigL(TMMFCapabilities {ref})
       
  1387 //!                CMMFDevSound::RecordInitL()
       
  1388 //!                CMMFDevSound::Stop()
       
  1389 //!@SYMAuthor			fperez
       
  1390 //!@SYMCreationDate		8/25/2008 
       
  1391 //!@SYMTestCaseDesc		Voice recording during VoIP call - AMR-NB
       
  1392 //!@SYMTestActions
       
  1393 //! TEST_BLOCK 001
       
  1394 //!                1.- Create DevSound instance
       
  1395 //!                2.- Initialize DevSound ( Mode = EMMFStatePlaying; FourCC = AMR)
       
  1396 //!                3.- Set Priority settings (Priority = {Priority,PriorityVoipCallDown}; Preference = {PriorityPreference,PriorityPreferenceVoipCallDown}; PriorityState = EMMFStatePlaying)
       
  1397 //!                4.- Capabilities
       
  1398 //!                5.- Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz)
       
  1399 //!                6.- Open file (Filename = {drive,mmc}\multimedia\mmf\devsound\AMR-NB\AMRNB_8k_12.2kbps_mono_speech.amr)
       
  1400 //!                7.- Play 30 sec
       
  1401 //!                8.- Stop
       
  1402 //!                9.- Close File
       
  1403 //!                10.- Destroy DevSound instance
       
  1404 //! TEST_BLOCK 002
       
  1405 //!                1.- Create DevSound instance
       
  1406 //!                2.- Initialize DevSound ( Mode = EMMFStateRecording; FourCC = AMR)
       
  1407 //!                3.- Set Priority settings (Priority = {Priority,PriorityVoipCallUp}; Preference = {PriorityPreference,PriorityPreferenceVoipCallUp}; PriorityState = EMMFStateRecording)
       
  1408 //!                4.- Capabilities
       
  1409 //!                5.- Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz)
       
  1410 //!                6.- Replace File (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\voip_call\RecAMRNBDuringVoIPCallAMRNB1.amr)
       
  1411 //!                7.- Record 30 sec.
       
  1412 //!                8.- Stop and wait 5 sec.
       
  1413 //!                9.- Close File
       
  1414 //!                10.- Initialize DevSound ( Mode = EMMFStatePlaying; FourCC = AMR)
       
  1415 //!                11.- Set Priority settings (Priority ={Priority,PriorityAudioPlayback}; Preference = {PriorityPreference,PriorityPreferenceAudioPlayback}; PriorityState = EMMFStatePlaying)
       
  1416 //!                12.- Capabilities
       
  1417 //!                13.- Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz)
       
  1418 //!                14.- Open File (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\voip_call\RecAMRNBDuringVoIPCallAMRNB1.amr)
       
  1419 //!                15.- Play file and wait 5 sec
       
  1420 //!                16.- Close file
       
  1421 //!                17.- Initialize DevSound ( Mode = EMMFStatePlaying; FourCC = AMR)
       
  1422 //!                18.- Set Priority settings (Priority ={Priority,PriorityAudioPlayback}; Preference = {PriorityPreference,PriorityPreferenceAudioPlayback}; PriorityState = EMMFStatePlaying)
       
  1423 //!                19.- Capabilities
       
  1424 //!                20.- Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz)
       
  1425 //!                21.- Open File (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\voip_call\RecAMRNBDuringVoIPCallAMRNB2.amr)
       
  1426 //!                22.- Play file
       
  1427 //!                23.- Close file
       
  1428 //!                24.- Destroy DevSound instance
       
  1429 //! TEST_BLOCK 003
       
  1430 //!                1.- Create DevSound instance
       
  1431 //!                2.- Initialize DevSound ( Mode = EMMFStateRecording; FourCC = AMR)
       
  1432 //!                3.- Set Priority settings (Priority = {Priority,PriorityVoiceRecording}; Preference = {PriorityPreference,PriorityPreferenceVoiceRecording} ; PriorityState = EMMFStateRecording)
       
  1433 //!                4.- Capabilities
       
  1434 //!                5.- Set Configuration and wait 10 sec (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz)
       
  1435 //!                6.- Replace File (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\voip_call\RecAMRNBDuringVoIPCallAMRNB2.amr)
       
  1436 //!                7.- Record 10 sec.
       
  1437 //!                8.- Stop
       
  1438 //!                9.- Close File
       
  1439 //!                10.- Destroy DevSound instance
       
  1440 //!@SYMTestStatus		Verified
       
  1441 //!@SYMTestPriority		High
       
  1442 //!@SYMTestExpectedResults
       
  1443 //!                Voice recording during VoIP call - AMR-NB
       
  1444 //! TEST_BLOCK 001
       
  1445 //!                AMR-NB playback as VoIPCallDown
       
  1446 //! TEST_BLOCK 002
       
  1447 //!                AMR-NB recording and playback as VoIPCallUp
       
  1448 //! TEST_BLOCK 003
       
  1449 //!                AMR-NB playback as Voice recording
       
  1450 //!@SYMTestType			CIT
       
  1451 
       
  1452 
       
  1453 	CONCURRENT
       
  1454 
       
  1455 
       
  1456 
       
  1457 	START_TEST_BLOCK	300	t_devsound	\multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_pr.ini
       
  1458 		CREATE_OBJECT	CMMFDevSound		devsound1
       
  1459 		COMMAND		devsound1		NewL
       
  1460 		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0011-0001-InitializeL_command02
       
  1461 		OUTSTANDING
       
  1462 		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSound-Comb_Pr-0011-0001-SetPrioritySettings_command03
       
  1463 		COMMAND		devsound1		Capabilities
       
  1464 		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0011-0001-SetConfigL_command05
       
  1465 		COMMAND		devsound1		OpenFile			MULTIMEDIA-MMF-DevSound-Comb_Pr-0011-0001-OpenFile_command06
       
  1466 		COMMAND		devsound1		PlayInitL
       
  1467 		ASYNC_DELAY  30000000 
       
  1468 		COMMAND		devsound1		Stop
       
  1469 		COMMAND		devsound1		CloseFile
       
  1470 		COMMAND		devsound1		~
       
  1471 	END_TEST_BLOCK
       
  1472 
       
  1473 
       
  1474 
       
  1475 	START_TEST_BLOCK	300	t_devsound	\multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_pr.ini
       
  1476 		CREATE_OBJECT	CMMFDevSound		devsound1
       
  1477 		COMMAND		devsound1		NewL
       
  1478 		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0011-0002-InitializeL_command02
       
  1479 		OUTSTANDING
       
  1480 		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSound-Comb_Pr-0011-0002-SetPrioritySettings_command03
       
  1481 		COMMAND		devsound1		Capabilities
       
  1482 		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0011-0002-SetConfigL_command05
       
  1483 		COMMAND		devsound1		ReplaceFile			MULTIMEDIA-MMF-DevSound-Comb_Pr-0011-0002-ReplaceFile_command06
       
  1484 		COMMAND		devsound1		RecordInitL
       
  1485 		ASYNC_DELAY  30000000 
       
  1486 		COMMAND		devsound1		Stop
       
  1487 		DELAY  5000000 
       
  1488 		COMMAND		devsound1		CloseFile
       
  1489 		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0011-0002-InitializeL_command10
       
  1490 		OUTSTANDING
       
  1491 		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSound-Comb_Pr-0011-0002-SetPrioritySettings_command11
       
  1492 		COMMAND		devsound1		Capabilities
       
  1493 		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0011-0002-SetConfigL_command13
       
  1494 		COMMAND		devsound1		OpenFile			MULTIMEDIA-MMF-DevSound-Comb_Pr-0011-0002-OpenFile_command14
       
  1495 		COMMAND		devsound1		PlayInitL
       
  1496 		DELAY  5000000 
       
  1497 		OUTSTANDING
       
  1498 		COMMAND		devsound1		CloseFile
       
  1499 		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0011-0002-InitializeL_command17
       
  1500 		OUTSTANDING
       
  1501 		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSound-Comb_Pr-0011-0002-SetPrioritySettings_command18
       
  1502 		COMMAND		devsound1		Capabilities
       
  1503 		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0011-0002-SetConfigL_command20
       
  1504 		COMMAND		devsound1		OpenFile			MULTIMEDIA-MMF-DevSound-Comb_Pr-0011-0002-OpenFile_command21
       
  1505 		COMMAND		devsound1		PlayInitL
       
  1506 		OUTSTANDING
       
  1507 		COMMAND		devsound1		CloseFile
       
  1508 		COMMAND		devsound1		~
       
  1509 	END_TEST_BLOCK
       
  1510 
       
  1511 
       
  1512 
       
  1513 	START_TEST_BLOCK	300	t_devsound	\multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_pr.ini
       
  1514 		CREATE_OBJECT	CMMFDevSound		devsound1
       
  1515 		COMMAND		devsound1		NewL
       
  1516 		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0011-0003-InitializeL_command02
       
  1517 		OUTSTANDING
       
  1518 		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSound-Comb_Pr-0011-0003-SetPrioritySettings_command03
       
  1519 		COMMAND		devsound1		Capabilities
       
  1520 		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0011-0003-SetConfigL_command05
       
  1521 		DELAY  10000000 
       
  1522 		COMMAND		devsound1		ReplaceFile			MULTIMEDIA-MMF-DevSound-Comb_Pr-0011-0003-ReplaceFile_command06
       
  1523 		COMMAND		devsound1		RecordInitL
       
  1524 		ASYNC_DELAY  10000000 
       
  1525 		COMMAND		devsound1		Stop
       
  1526 		COMMAND		devsound1		CloseFile
       
  1527 		COMMAND		devsound1		~
       
  1528 	END_TEST_BLOCK
       
  1529 END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PR-0011
       
  1530 
       
  1531 
       
  1532 
       
  1533 
       
  1534 START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PR-0012
       
  1535 
       
  1536 //!@SYMTestCaseID		MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PR-0012
       
  1537 //!@SYMAPI
       
  1538 //! TEST_BLOCK 001
       
  1539 //!                CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState)
       
  1540 //!                CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref})
       
  1541 //!                CMMFDevSound::Capabilities()
       
  1542 //!                CMMFDevSound::SetConfigL(TMMFCapabilities {ref})
       
  1543 //!                CMMFDevSound::PlayInitL()
       
  1544 //!                CMMFDevSound::Stop()
       
  1545 //! TEST_BLOCK 002
       
  1546 //!                CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState)
       
  1547 //!                CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref})
       
  1548 //!                CMMFDevSound::Capabilities()
       
  1549 //!                CMMFDevSound::SetConfigL(TMMFCapabilities {ref})
       
  1550 //!                CMMFDevSound::PlayInitL()
       
  1551 //!                CMMFDevSound::RecordInitL()
       
  1552 //!                CMMFDevSound::Stop()
       
  1553 //! TEST_BLOCK 003
       
  1554 //!                CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState)
       
  1555 //!                CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref})
       
  1556 //!                CMMFDevSound::Capabilities()
       
  1557 //!                CMMFDevSound::SetConfigL(TMMFCapabilities {ref})
       
  1558 //!                CMMFDevSound::RecordInitL()
       
  1559 //!                CMMFDevSound::Stop()
       
  1560 //!@SYMAuthor			fperez
       
  1561 //!@SYMCreationDate		8/25/2008 
       
  1562 //!@SYMTestCaseDesc		Voice recording during VoIP call - AMR-WB
       
  1563 //!@SYMTestActions
       
  1564 //! TEST_BLOCK 001
       
  1565 //!                1.- Create DevSound instance
       
  1566 //!                2.- Initialize DevSound ( Mode = EMMFStatePlaying; FourCC = AWB)
       
  1567 //!                3.- Set Priority settings (Priority = {Priority,PriorityVoipCallDown}; Preference = {PriorityPreference,PriorityPreferenceVoipCallDown}; PriorityState = EMMFStatePlaying)
       
  1568 //!                4.- Capabilities
       
  1569 //!                5.- Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate16000Hz)
       
  1570 //!                6.- Open file (Filename = {drive,mmc}\multimedia\mmf\devsound\AMR-WB\AMRWB_16k_23.85kbps_mono_speech.awb)
       
  1571 //!                7.- Play 30 sec
       
  1572 //!                8.- Stop
       
  1573 //!                9.- Close File
       
  1574 //!                10.- Destroy DevSound instance
       
  1575 //! TEST_BLOCK 002
       
  1576 //!                1.- Create DevSound instance
       
  1577 //!                2.- Initialize DevSound ( Mode = EMMFStateRecording; FourCC = AWB)
       
  1578 //!                3.- Set Priority settings (Priority = {Priority,PriorityVoipCallUp}; Preference = {PriorityPreference,PriorityPreferenceVoipCallUp}; PriorityState = EMMFStateRecording)
       
  1579 //!                4.- Capabilities
       
  1580 //!                5.- Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate16000Hz)
       
  1581 //!                6.- Replace File (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\voip_call\RecAMRNBDuringVoIPCallAMRWB.awb)
       
  1582 //!                7.- Record 30 sec.
       
  1583 //!                8.- Stop and wait 5 sec.
       
  1584 //!                9.- Close File
       
  1585 //!                10.- Initialize DevSound ( Mode = EMMFStatePlaying; FourCC = AWB)
       
  1586 //!                11.- Set Priority settings (Priority ={Priority,PriorityAudioPlayback}; Preference = {PriorityPreference,PriorityPreferenceAudioPlayback}; PriorityState = EMMFStatePlaying)
       
  1587 //!                12.- Capabilities
       
  1588 //!                13.- Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate16000Hz)
       
  1589 //!                14.- Open File (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\voip_call\RecAMRNBDuringVoIPCallAMRWB.awb)
       
  1590 //!                15.- Play file and wait 5 sec
       
  1591 //!                16.- Close file
       
  1592 //!                17.- Initialize DevSound ( Mode = EMMFStatePlaying; FourCC = AMR)
       
  1593 //!                18.- Set Priority settings (Priority ={Priority,PriorityAudioPlayback}; Preference = {PriorityPreference,PriorityPreferenceAudioPlayback}; PriorityState = EMMFStatePlaying)
       
  1594 //!                19.- Capabilities
       
  1595 //!                20.- Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz)
       
  1596 //!                21.- Open File (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\voip_call\RecAMRNBDuringVoIPCallAMRWB.amr)
       
  1597 //!                22.- Play file
       
  1598 //!                23.- Close file
       
  1599 //!                24.- Destroy DevSound instance
       
  1600 //! TEST_BLOCK 003
       
  1601 //!                1.- Create DevSound instance
       
  1602 //!                2.- Initialize DevSound ( Mode = EMMFStateRecording; FourCC = AMR)
       
  1603 //!                3.- Set Priority settings (Priority = {Priority,PriorityVoiceRecording}; Preference = {PriorityPreference,PriorityPreferenceVoiceRecording} ; PriorityState = EMMFStateRecording)
       
  1604 //!                4.- Capabilities
       
  1605 //!                5.- Set Configuration and wait 10 sec (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz)
       
  1606 //!                6.- Replace File (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\voip_call\RecAMRNBDuringVoIPCallAMRNB2.amr)
       
  1607 //!                7.- Record 10 sec.
       
  1608 //!                8.- Stop
       
  1609 //!                9.- Close File
       
  1610 //!                10.- Destroy DevSound instance
       
  1611 //!@SYMTestStatus		Verified
       
  1612 //!@SYMTestPriority		High
       
  1613 //!@SYMTestExpectedResults
       
  1614 //!                Voice recording during VoIP call - AMR-WB
       
  1615 //! TEST_BLOCK 001
       
  1616 //!                AMR Playback as VoIPCallDown
       
  1617 //! TEST_BLOCK 002
       
  1618 //!                AMR-WB recording and playback as VoIPCallUp
       
  1619 //! TEST_BLOCK 003
       
  1620 //!                AMR-NB playback as Voice recording
       
  1621 //!@SYMTestType			CIT
       
  1622 
       
  1623 
       
  1624 	CONCURRENT
       
  1625 
       
  1626 
       
  1627 
       
  1628 	START_TEST_BLOCK	300	t_devsound	\multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_pr.ini
       
  1629 		CREATE_OBJECT	CMMFDevSound		devsound1
       
  1630 		COMMAND		devsound1		NewL
       
  1631 		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0012-0001-InitializeL_command02
       
  1632 		OUTSTANDING
       
  1633 		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSound-Comb_Pr-0012-0001-SetPrioritySettings_command03
       
  1634 		COMMAND		devsound1		Capabilities
       
  1635 		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0012-0001-SetConfigL_command05
       
  1636 		COMMAND		devsound1		OpenFile			MULTIMEDIA-MMF-DevSound-Comb_Pr-0012-0001-OpenFile_command06
       
  1637 		COMMAND		devsound1		PlayInitL
       
  1638 		ASYNC_DELAY  30000000 
       
  1639 		COMMAND		devsound1		Stop
       
  1640 		COMMAND		devsound1		CloseFile
       
  1641 		COMMAND		devsound1		~
       
  1642 	END_TEST_BLOCK
       
  1643 
       
  1644 
       
  1645 
       
  1646 	START_TEST_BLOCK	300	t_devsound	\multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_pr.ini
       
  1647 		CREATE_OBJECT	CMMFDevSound		devsound1
       
  1648 		COMMAND		devsound1		NewL
       
  1649 		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0012-0002-InitializeL_command02
       
  1650 		OUTSTANDING
       
  1651 		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSound-Comb_Pr-0012-0002-SetPrioritySettings_command03
       
  1652 		COMMAND		devsound1		Capabilities
       
  1653 		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0012-0002-SetConfigL_command05
       
  1654 		COMMAND		devsound1		ReplaceFile			MULTIMEDIA-MMF-DevSound-Comb_Pr-0012-0002-ReplaceFile_command06
       
  1655 		COMMAND		devsound1		RecordInitL
       
  1656 		ASYNC_DELAY  30000000 
       
  1657 		COMMAND		devsound1		Stop
       
  1658 		DELAY  5000000 
       
  1659 		COMMAND		devsound1		CloseFile
       
  1660 		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0012-0002-InitializeL_command10
       
  1661 		OUTSTANDING
       
  1662 		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSound-Comb_Pr-0012-0002-SetPrioritySettings_command11
       
  1663 		COMMAND		devsound1		Capabilities
       
  1664 		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0012-0002-SetConfigL_command13
       
  1665 		COMMAND		devsound1		OpenFile			MULTIMEDIA-MMF-DevSound-Comb_Pr-0012-0002-OpenFile_command14
       
  1666 		COMMAND		devsound1		PlayInitL
       
  1667 		DELAY  5000000 
       
  1668 		OUTSTANDING
       
  1669 		COMMAND		devsound1		CloseFile
       
  1670 		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0012-0002-InitializeL_command17
       
  1671 		OUTSTANDING
       
  1672 		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSound-Comb_Pr-0012-0002-SetPrioritySettings_command18
       
  1673 		COMMAND		devsound1		Capabilities
       
  1674 		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0012-0002-SetConfigL_command20
       
  1675 		COMMAND		devsound1		OpenFile			MULTIMEDIA-MMF-DevSound-Comb_Pr-0012-0002-OpenFile_command21
       
  1676 		COMMAND		devsound1		PlayInitL
       
  1677 		OUTSTANDING
       
  1678 		COMMAND		devsound1		CloseFile
       
  1679 		COMMAND		devsound1		~
       
  1680 	END_TEST_BLOCK
       
  1681 
       
  1682 
       
  1683 
       
  1684 	START_TEST_BLOCK	300	t_devsound	\multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_pr.ini
       
  1685 		CREATE_OBJECT	CMMFDevSound		devsound1
       
  1686 		COMMAND		devsound1		NewL
       
  1687 		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0012-0003-InitializeL_command02
       
  1688 		OUTSTANDING
       
  1689 		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSound-Comb_Pr-0012-0003-SetPrioritySettings_command03
       
  1690 		COMMAND		devsound1		Capabilities
       
  1691 		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0012-0003-SetConfigL_command05
       
  1692 		DELAY  10000000 
       
  1693 		COMMAND		devsound1		ReplaceFile			MULTIMEDIA-MMF-DevSound-Comb_Pr-0012-0003-ReplaceFile_command06
       
  1694 		COMMAND		devsound1		RecordInitL
       
  1695 		ASYNC_DELAY  10000000 
       
  1696 		COMMAND		devsound1		Stop
       
  1697 		COMMAND		devsound1		CloseFile
       
  1698 		COMMAND		devsound1		~
       
  1699 	END_TEST_BLOCK
       
  1700 END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PR-0012
       
  1701 
       
  1702 
       
  1703 
       
  1704 
       
  1705 START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PR-0013
       
  1706 
       
  1707 //!@SYMTestCaseID		MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PR-0013
       
  1708 //!@SYMAPI
       
  1709 //! TEST_BLOCK 001
       
  1710 //!                CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState)
       
  1711 //!                CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref})
       
  1712 //!                CMMFDevSound::Capabilities()
       
  1713 //!                CMMFDevSound::SetConfigL(TMMFCapabilities {ref})
       
  1714 //!                CMMFDevSound::PlayInitL()
       
  1715 //!                CMMFDevSound::Stop()
       
  1716 //! TEST_BLOCK 002
       
  1717 //!                CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState)
       
  1718 //!                CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref})
       
  1719 //!                CMMFDevSound::Capabilities()
       
  1720 //!                CMMFDevSound::SetConfigL(TMMFCapabilities {ref})
       
  1721 //!                CMMFDevSound::PlayInitL()
       
  1722 //!                CMMFDevSound::Stop()
       
  1723 //! TEST_BLOCK 003
       
  1724 //!                CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState)
       
  1725 //!                CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref})
       
  1726 //!                CMMFDevSound::Capabilities()
       
  1727 //!                CMMFDevSound::SetConfigL(TMMFCapabilities {ref})
       
  1728 //!                CMMFDevSound::PlayInitL()
       
  1729 //!                CMMFDevSound::RecordInitL()
       
  1730 //!                CMMFDevSound::Stop()
       
  1731 //!@SYMAuthor			fperez
       
  1732 //!@SYMCreationDate		8/25/2008 
       
  1733 //!@SYMTestCaseDesc		VoIP call during audio playback
       
  1734 //!@SYMTestActions
       
  1735 //! TEST_BLOCK 001
       
  1736 //!                1.  Create DevSound instance
       
  1737 //!                2.  Initialize DevSound ( Mode = EMMFStatePlaying; FourCC = MP3)
       
  1738 //!                3.  Set Priority settings (Priority = {Priority,PriorityAudioPlayback}; Preference = {PriorityPreference,PriorityPreferenceAudioPlayback}; PriorityState = EMMFStatePlaying)
       
  1739 //!                4.  Capabilities
       
  1740 //!                5.  Set Configuration (Channels = EMMFStereo; Rate = EMMFSampleRate44100Hz)
       
  1741 //!                6.  Open file (Filename = {drive,mmc}\multimedia\mmf\devsound\MP3\MP3_44.1k_128kbps_st_Test3.mp3)
       
  1742 //!                7.  Play
       
  1743 //!                8. Close File
       
  1744 //!                9. Destroy DevSound instance
       
  1745 //!                
       
  1746 //! TEST_BLOCK 002
       
  1747 //!                1.- Create DevSound instance
       
  1748 //!                2.- Initialize DevSound ( Mode = EMMFStatePlaying; FourCC = AMR)
       
  1749 //!                3.- Set Priority settings (Priority = {Priority,PriorityVoipCallDown}; Preference = {PriorityPreference,PriorityPreferenceVoipCallDown}; PriorityState = EMMFStatePlaying)
       
  1750 //!                4.- Capabilities
       
  1751 //!                5.- Set Configuration and wait 10 sec (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz)
       
  1752 //!                6.- Open file (Filename = {drive,mmc}\multimedia\mmf\devsound\AMR-NB\AMRNB_8k_12.2kbps_mono_speech.amr)
       
  1753 //!                7.- Play 10 seconds
       
  1754 //!                8.- Stop
       
  1755 //!                9.- Close File
       
  1756 //!                10.- Destroy DevSound instance
       
  1757 //! TEST_BLOCK 003
       
  1758 //!                1.- Create DevSound instance
       
  1759 //!                2.- Initialize DevSound ( Mode = EMMFStateRecording; FourCC = AMR)
       
  1760 //!                3.- Set Priority settings (Priority = {Priority,PriorityVoipCallUp}; Preference = {PriorityPreference,PriorityPreferenceVoipCallUp}; PriorityState = EMMFStateRecording)
       
  1761 //!                4.- Capabilities
       
  1762 //!                5.- Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz)
       
  1763 //!                6.- Replace File (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\voip_call\VoIPCallDuringPlayMP3.amr)
       
  1764 //!                7.- Record 10s
       
  1765 //!                8.- Stop and wait 5 sec.
       
  1766 //!                9.- Close File
       
  1767 //!                10.- Initialize DevSound ( Mode = EMMFStatePlaying; FourCC = AMR)
       
  1768 //!                11.- Set Priority settings (Priority ={Priority,PriorityAudioPlayback}; Preference = {PriorityPreference,PriorityPreferenceAudioPlayback}; PriorityState = EMMFStatePlaying)
       
  1769 //!                12.- Capabilities
       
  1770 //!                13.- Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz)
       
  1771 //!                14.- Open File (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\voip_call\VoIPCallDuringPlayMP3.amr)
       
  1772 //!                15.- Play
       
  1773 //!                16.- Close file
       
  1774 //!                17.- Destroy DevSound instance
       
  1775 //!@SYMTestStatus		Verified
       
  1776 //!@SYMTestPriority		High
       
  1777 //!@SYMTestExpectedResults
       
  1778 //!                VoIP call during audio playback
       
  1779 //! TEST_BLOCK 001
       
  1780 //!                MP3 Playback as audioplayback
       
  1781 //! TEST_BLOCK 002
       
  1782 //!                AMR-NB playback as VoIPCallDown
       
  1783 //! TEST_BLOCK 003
       
  1784 //!                AMR-NB recording and playback as VoIPCallUp
       
  1785 //!@SYMTestType			CIT
       
  1786 
       
  1787 
       
  1788 	CONCURRENT
       
  1789 
       
  1790 
       
  1791 
       
  1792 	START_TEST_BLOCK	300	t_devsound	\multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_pr.ini
       
  1793 		CREATE_OBJECT	CMMFDevSound		devsound1
       
  1794 		COMMAND		devsound1		NewL
       
  1795 		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0013-0001-InitializeL_command02
       
  1796 		OUTSTANDING
       
  1797 		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSound-Comb_Pr-0013-0001-SetPrioritySettings_command03
       
  1798 		COMMAND		devsound1		Capabilities
       
  1799 		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0013-0001-SetConfigL_command05
       
  1800 		COMMAND		devsound1		OpenFile			MULTIMEDIA-MMF-DevSound-Comb_Pr-0013-0001-OpenFile_command06
       
  1801 		COMMAND		!AsyncError=-13    devsound1		PlayInitL
       
  1802 		OUTSTANDING
       
  1803 		COMMAND		devsound1		CloseFile
       
  1804 		COMMAND		devsound1		~
       
  1805 	END_TEST_BLOCK
       
  1806 
       
  1807 
       
  1808 
       
  1809 	START_TEST_BLOCK	300	t_devsound	\multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_pr.ini
       
  1810 		CREATE_OBJECT	CMMFDevSound		devsound1
       
  1811 		COMMAND		devsound1		NewL
       
  1812 		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0013-0002-InitializeL_command02
       
  1813 		OUTSTANDING
       
  1814 		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSound-Comb_Pr-0013-0002-SetPrioritySettings_command03
       
  1815 		COMMAND		devsound1		Capabilities
       
  1816 		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0013-0002-SetConfigL_command05
       
  1817 		DELAY  10000000 
       
  1818 		COMMAND		devsound1		OpenFile			MULTIMEDIA-MMF-DevSound-Comb_Pr-0013-0002-OpenFile_command06
       
  1819 		COMMAND		devsound1		PlayInitL
       
  1820 		ASYNC_DELAY  10000000 
       
  1821 		COMMAND		devsound1		Stop
       
  1822 		COMMAND		devsound1		CloseFile
       
  1823 		COMMAND		devsound1		~
       
  1824 	END_TEST_BLOCK
       
  1825 
       
  1826 
       
  1827 
       
  1828 	START_TEST_BLOCK	300	t_devsound	\multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_pr.ini
       
  1829 		CREATE_OBJECT	CMMFDevSound		devsound1
       
  1830 		COMMAND		devsound1		NewL
       
  1831 		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0013-0003-InitializeL_command02
       
  1832 		OUTSTANDING
       
  1833 		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSound-Comb_Pr-0013-0003-SetPrioritySettings_command03
       
  1834 		COMMAND		devsound1		Capabilities
       
  1835 		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0013-0003-SetConfigL_command05
       
  1836 		COMMAND		devsound1		ReplaceFile			MULTIMEDIA-MMF-DevSound-Comb_Pr-0013-0003-ReplaceFile_command06
       
  1837 		COMMAND		devsound1		RecordInitL
       
  1838 		ASYNC_DELAY  10000000 
       
  1839 		COMMAND		devsound1		Stop
       
  1840 		DELAY  5000000 
       
  1841 		COMMAND		devsound1		CloseFile
       
  1842 		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0013-0003-InitializeL_command10
       
  1843 		OUTSTANDING
       
  1844 		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSound-Comb_Pr-0013-0003-SetPrioritySettings_command11
       
  1845 		COMMAND		devsound1		Capabilities
       
  1846 		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0013-0003-SetConfigL_command13
       
  1847 		COMMAND		devsound1		OpenFile			MULTIMEDIA-MMF-DevSound-Comb_Pr-0013-0003-OpenFile_command14
       
  1848 		COMMAND		devsound1		PlayInitL
       
  1849 		OUTSTANDING
       
  1850 		COMMAND		devsound1		CloseFile
       
  1851 		COMMAND		devsound1		~
       
  1852 	END_TEST_BLOCK
       
  1853 END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PR-0013
       
  1854 
       
  1855 
       
  1856 
       
  1857 
       
  1858 START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PR-0014
       
  1859 
       
  1860 //!@SYMTestCaseID		MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PR-0014
       
  1861 //!@SYMAPI
       
  1862 //! TEST_BLOCK 001
       
  1863 //!                CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState)
       
  1864 //!                CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref})
       
  1865 //!                CMMFDevSound::Capabilities()
       
  1866 //!                CMMFDevSound::SetConfigL(TMMFCapabilities {ref})
       
  1867 //!                CMMFDevSound::PlayInitL()
       
  1868 //!                CMMFDevSound::Stop()
       
  1869 //! TEST_BLOCK 002
       
  1870 //!                CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState)
       
  1871 //!                CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref})
       
  1872 //!                CMMFDevSound::Capabilities()
       
  1873 //!                CMMFDevSound::SetConfigL(TMMFCapabilities {ref})
       
  1874 //!                CMMFDevSound::PlayInitL()
       
  1875 //!                CMMFDevSound::RecordInitL()
       
  1876 //!                CMMFDevSound::Stop()
       
  1877 //! TEST_BLOCK 003
       
  1878 //!                CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState)
       
  1879 //!                CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref})
       
  1880 //!                CMMFDevSound::Capabilities()
       
  1881 //!                CMMFDevSound::SetConfigL(TMMFCapabilities {ref})
       
  1882 //!                CMMFDevSound::PlayInitL()
       
  1883 //!                CMMFDevSound::Stop()
       
  1884 //! TEST_BLOCK 004
       
  1885 //!                CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState)
       
  1886 //!                CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref})
       
  1887 //!                CMMFDevSound::Capabilities()
       
  1888 //!                CMMFDevSound::SetConfigL(TMMFCapabilities {ref})
       
  1889 //!                CMMFDevSound::PlayInitL()
       
  1890 //!                CMMFDevSound::RecordInitL()
       
  1891 //!                CMMFDevSound::Stop()
       
  1892 //!@SYMAuthor			fperez
       
  1893 //!@SYMCreationDate		8/25/2008 
       
  1894 //!@SYMTestCaseDesc		VoIP call during VoIP call
       
  1895 //!@SYMTestActions
       
  1896 //! TEST_BLOCK 001
       
  1897 //!                1.- Create DevSound instance
       
  1898 //!                2.- Initialize DevSound ( Mode = EMMFStatePlaying; FourCC = AMR)
       
  1899 //!                3.- Set Priority settings (Priority = {Priority,PriorityVoipCallDown}; Preference = {PriorityPreference,PriorityPreferenceVoipCallDown}; PriorityState = EMMFStatePlaying)
       
  1900 //!                4.- Capabilities
       
  1901 //!                5.- Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz)
       
  1902 //!                6.- Open file (Filename = {drive,mmc}\multimedia\mmf\devsound\AMR-NB\AMRNB_8k_12.2kbps_mono_speech.amr)
       
  1903 //!                7.- Play 30 sec
       
  1904 //!                8.- Stop
       
  1905 //!                9.- Close File
       
  1906 //!                10.- Destroy DevSound instance
       
  1907 //! TEST_BLOCK 002
       
  1908 //!                1.- Create DevSound instance
       
  1909 //!                2.- Initialize DevSound ( Mode = EMMFStateRecording; FourCC = AMR)
       
  1910 //!                3.- Set Priority settings (Priority = {Priority,PriorityVoipCallUp}; Preference = {PriorityPreference,PriorityPreferenceVoipCallUp}; PriorityState = EMMFStateRecording)
       
  1911 //!                4.- Capabilities
       
  1912 //!                5.- Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz)
       
  1913 //!                6.- Replace File (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\voip_call\VoIPCallDuringVoIPCall1.amr)
       
  1914 //!                7.- Record Init 30s
       
  1915 //!                8.- Stop and wait 5 sec.
       
  1916 //!                9.- Close File
       
  1917 //!                10.- Initialize DevSound ( Mode = EMMFStatePlaying; FourCC = AMR)
       
  1918 //!                11.- Set Priority settings (Priority ={Priority,PriorityAudioPlayback}; Preference = {PriorityPreference,PriorityPreferenceAudioPlayback}; PriorityState = EMMFStatePlaying)
       
  1919 //!                12.- Capabilities
       
  1920 //!                13.- Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz)
       
  1921 //!                14.- Open File (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\voip_call\VoIPCallDuringVoIPCall1.amr)
       
  1922 //!                15.- Play
       
  1923 //!                16.- Close file
       
  1924 //!                17.- Destroy DevSound instance
       
  1925 //! TEST_BLOCK 003
       
  1926 //!                1.- Create DevSound instance
       
  1927 //!                2.- Initialize DevSound ( Mode = EMMFStatePlaying; FourCC = AMR)
       
  1928 //!                3.- Set Priority settings (Priority = {Priority,PriorityVoipCallDown}; Preference = {PriorityPreference,PriorityPreferenceVoipCallDown}; PriorityState = EMMFStatePlaying)
       
  1929 //!                4.- Capabilities
       
  1930 //!                5.- Set Configuration and wait 10 sec (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz)
       
  1931 //!                6.- Open file (Filename = {drive,mmc}\multimedia\mmf\devsound\AMR-NB\AMRNB_8k_12.2kbps_mono_backwards.amr)
       
  1932 //!                7.- Play 10 seconds
       
  1933 //!                8.- Stop
       
  1934 //!                9.- Close File
       
  1935 //!                10.- Destroy DevSound instance
       
  1936 //! TEST_BLOCK 004
       
  1937 //!                1.- Create DevSound instance
       
  1938 //!                2.- Initialize DevSound ( Mode = EMMFStateRecording; FourCC = AMR)
       
  1939 //!                3.- Set Priority settings (Priority = {Priority,PriorityVoipCallUp}; Preference = {PriorityPreference,PriorityPreferenceVoipCallUp}; PriorityState = EMMFStateRecording)
       
  1940 //!                4.- Capabilities
       
  1941 //!                5.- Set Configuration and wait 10 sec (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz)
       
  1942 //!                6.- Replace File (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\voip_call\VoIPCallDuringVoIPCall2.amr)
       
  1943 //!                7.- Record 10 sec.
       
  1944 //!                8.- Stop and wait 50 sec.
       
  1945 //!                9.- Close File
       
  1946 //!                10.- Initialize DevSound ( Mode = EMMFStatePlaying; FourCC = AMR)
       
  1947 //!                11.- Set Priority settings (Priority ={Priority,PriorityAudioPlayback}; Preference = {PriorityPreference,PriorityPreferenceAudioPlayback}; PriorityState = EMMFStatePlaying)
       
  1948 //!                12.- Capabilities
       
  1949 //!                13.- Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz)
       
  1950 //!                14.- Open File (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\voip_call\VoIPCallDuringVoIPCall2.amr)
       
  1951 //!                15.- Play
       
  1952 //!                16.- Close file
       
  1953 //!                17.- Destroy DevSound instance
       
  1954 //!@SYMTestStatus		Verified
       
  1955 //!@SYMTestPriority		High
       
  1956 //!@SYMTestExpectedResults
       
  1957 //!                VoIP call during VoIP call
       
  1958 //! TEST_BLOCK 001
       
  1959 //!                AMR-NB playback as VoIPCallDown
       
  1960 //! TEST_BLOCK 002
       
  1961 //!                AMR-NB recording and playback as VoIPCallUp
       
  1962 //! TEST_BLOCK 003
       
  1963 //!                AMR-NB playback as VoIPCallDown
       
  1964 //! TEST_BLOCK 004
       
  1965 //!                AMR-NB recording and playback as VoIPCallUp
       
  1966 //!@SYMTestType			CIT
       
  1967 
       
  1968 
       
  1969 	CONCURRENT
       
  1970 
       
  1971 
       
  1972 
       
  1973 	START_TEST_BLOCK	300	t_devsound	\multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_pr.ini
       
  1974 		CREATE_OBJECT	CMMFDevSound		devsound1
       
  1975 		COMMAND		devsound1		NewL
       
  1976 		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0014-0001-InitializeL_command02
       
  1977 		OUTSTANDING
       
  1978 		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSound-Comb_Pr-0014-0001-SetPrioritySettings_command03
       
  1979 		COMMAND		devsound1		Capabilities
       
  1980 		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0014-0001-SetConfigL_command05
       
  1981 		COMMAND		devsound1		OpenFile			MULTIMEDIA-MMF-DevSound-Comb_Pr-0014-0001-OpenFile_command06
       
  1982 		COMMAND		devsound1		PlayInitL
       
  1983 		ASYNC_DELAY  30000000 
       
  1984 		COMMAND		devsound1		Stop
       
  1985 		COMMAND		devsound1		CloseFile
       
  1986 		COMMAND		devsound1		~
       
  1987 	END_TEST_BLOCK
       
  1988 
       
  1989 
       
  1990 
       
  1991 	START_TEST_BLOCK	300	t_devsound	\multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_pr.ini
       
  1992 		CREATE_OBJECT	CMMFDevSound		devsound1
       
  1993 		COMMAND		devsound1		NewL
       
  1994 		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0014-0002-InitializeL_command02
       
  1995 		OUTSTANDING
       
  1996 		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSound-Comb_Pr-0014-0002-SetPrioritySettings_command03
       
  1997 		COMMAND		devsound1		Capabilities
       
  1998 		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0014-0002-SetConfigL_command05
       
  1999 		COMMAND		devsound1		ReplaceFile			MULTIMEDIA-MMF-DevSound-Comb_Pr-0014-0002-ReplaceFile_command06
       
  2000 		COMMAND		devsound1		RecordInitL
       
  2001 		ASYNC_DELAY  30000000 
       
  2002 		COMMAND		devsound1		Stop
       
  2003 		DELAY  5000000 
       
  2004 		COMMAND		devsound1		CloseFile
       
  2005 		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0014-0002-InitializeL_command10
       
  2006 		OUTSTANDING
       
  2007 		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSound-Comb_Pr-0014-0002-SetPrioritySettings_command11
       
  2008 		COMMAND		devsound1		Capabilities
       
  2009 		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0014-0002-SetConfigL_command13
       
  2010 		COMMAND		devsound1		OpenFile			MULTIMEDIA-MMF-DevSound-Comb_Pr-0014-0002-OpenFile_command14
       
  2011 		COMMAND		devsound1		PlayInitL
       
  2012 		OUTSTANDING
       
  2013 		COMMAND		devsound1		CloseFile
       
  2014 		COMMAND		devsound1		~
       
  2015 	END_TEST_BLOCK
       
  2016 
       
  2017 
       
  2018 
       
  2019 	START_TEST_BLOCK	300	t_devsound	\multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_pr.ini
       
  2020 		CREATE_OBJECT	CMMFDevSound		devsound1
       
  2021 		COMMAND		devsound1		NewL
       
  2022 		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0014-0003-InitializeL_command02
       
  2023 		OUTSTANDING
       
  2024 		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSound-Comb_Pr-0014-0003-SetPrioritySettings_command03
       
  2025 		COMMAND		devsound1		Capabilities
       
  2026 		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0014-0003-SetConfigL_command05
       
  2027 		DELAY  10000000 
       
  2028 		COMMAND		devsound1		OpenFile			MULTIMEDIA-MMF-DevSound-Comb_Pr-0014-0003-OpenFile_command06
       
  2029 		COMMAND		devsound1		PlayInitL
       
  2030 		ASYNC_DELAY  10000000 
       
  2031 		COMMAND		devsound1		Stop
       
  2032 		COMMAND		devsound1		CloseFile
       
  2033 		COMMAND		devsound1		~
       
  2034 	END_TEST_BLOCK
       
  2035 
       
  2036 
       
  2037 
       
  2038 	START_TEST_BLOCK	300	t_devsound	\multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_pr.ini
       
  2039 		CREATE_OBJECT	CMMFDevSound		devsound1
       
  2040 		COMMAND		devsound1		NewL
       
  2041 		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0014-0004-InitializeL_command02
       
  2042 		OUTSTANDING
       
  2043 		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSound-Comb_Pr-0014-0004-SetPrioritySettings_command03
       
  2044 		COMMAND		devsound1		Capabilities
       
  2045 		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0014-0004-SetConfigL_command05
       
  2046 		DELAY  10000000 
       
  2047 		COMMAND		devsound1		ReplaceFile			MULTIMEDIA-MMF-DevSound-Comb_Pr-0014-0004-ReplaceFile_command06
       
  2048 		COMMAND		devsound1		RecordInitL
       
  2049 		ASYNC_DELAY  10000000 
       
  2050 		COMMAND		devsound1		Stop
       
  2051 		DELAY  50000000 
       
  2052 		COMMAND		devsound1		CloseFile
       
  2053 		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0014-0004-InitializeL_command10
       
  2054 		OUTSTANDING
       
  2055 		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSound-Comb_Pr-0014-0004-SetPrioritySettings_command11
       
  2056 		COMMAND		devsound1		Capabilities
       
  2057 		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0014-0004-SetConfigL_command13
       
  2058 		COMMAND		devsound1		OpenFile			MULTIMEDIA-MMF-DevSound-Comb_Pr-0014-0004-OpenFile_command14
       
  2059 		COMMAND		devsound1		PlayInitL
       
  2060 		OUTSTANDING
       
  2061 		COMMAND		devsound1		CloseFile
       
  2062 		COMMAND		devsound1		~
       
  2063 	END_TEST_BLOCK
       
  2064 END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PR-0014
       
  2065 
       
  2066 
       
  2067 
       
  2068 
       
  2069 START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PR-0015
       
  2070 
       
  2071 //!@SYMTestCaseID		MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PR-0015
       
  2072 //!@SYMAPI
       
  2073 //! TEST_BLOCK 001
       
  2074 //!                CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState)
       
  2075 //!                CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref})
       
  2076 //!                CMMFDevSound::Capabilities()
       
  2077 //!                CMMFDevSound::SetConfigL(TMMFCapabilities {ref})
       
  2078 //!                CMMFDevSound::PlayInitL()
       
  2079 //!                CMMFDevSound::Stop()
       
  2080 //! TEST_BLOCK 002
       
  2081 //!                CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState)
       
  2082 //!                CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref})
       
  2083 //!                CMMFDevSound::Capabilities()
       
  2084 //!                CMMFDevSound::SetConfigL(TMMFCapabilities {ref})
       
  2085 //!                CMMFDevSound::PlayInitL()
       
  2086 //!                CMMFDevSound::RecordInitL()
       
  2087 //!                CMMFDevSound::Stop()
       
  2088 //!@SYMAuthor			etorres
       
  2089 //!@SYMCreationDate		8/25/2008 
       
  2090 //!@SYMTestCaseDesc		Mix 8k mono AMR-NB playback with AMR-NB recording
       
  2091 //!@SYMTestActions
       
  2092 //! TEST_BLOCK 001
       
  2093 //!                1. Create DevSound instance 
       
  2094 //!                2. Initialize DevSound ( Mode = EMMFStatePlaying; FourCC = AMR)
       
  2095 //!                3. Set Priority (Priority = {Priority,PriorityAudioPlayback}; Preference = {PriorityPreference,PriorityPreferenceNone};PriorityState=EMMFStatePlaying)
       
  2096 //!                4. Capabilities 
       
  2097 //!                5. Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz)
       
  2098 //!                6. Open file (Filename = {drive,mmc}\multimedia\mmf\devsound\AMR-NB\AMRNB_8k_12.2kbps_mono_speech.amr)
       
  2099 //!                7. Set Expected Play Error(ExpectedPlayError=-13)
       
  2100 //!                8. Start Play 30 s
       
  2101 //!                9. Stop
       
  2102 //!                10. Close file
       
  2103 //!                11. Destroy DevSound instance
       
  2104 //! TEST_BLOCK 002
       
  2105 //!                1. Create Devsound instance 
       
  2106 //!                2. Initialize Devsound ( Mode = EMMFStateRecording; FourCC = AMR)
       
  2107 //!                3. Set Priority (Priority = {Priority,PriorityVoiceRecording}; Preference = {PriorityPreference,PriorityPreferenceVoiceRecording} ; PriorityState = EMMFStateRecording)
       
  2108 //!                4. Capabilities
       
  2109 //!                5. Set Configuration & wait 10s(Channels = EMMFMono; Rate = EMMFSampleRate8000Hz)
       
  2110 //!                6. ReplaceFile (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\MixPlayAMRNBWithRecAMRNB.amr)
       
  2111 //!                7. Record 10s 
       
  2112 //!                8. Stop 5s
       
  2113 //!                9. CloseFile
       
  2114 //!                10. Initialize Devsound ( Mode = EMMFStatePlaying; FourCC = AMR)
       
  2115 //!                11. Set Priority (Priority ={Priority,PriorityAudioPlayback}; Preference = {PriorityPreference,PriorityPreferenceAudioPlayback}; PriorityState = EMMFStatePlaying)
       
  2116 //!                12. Capabilities
       
  2117 //!                13. Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz)
       
  2118 //!                14. OpenFile (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\MixPlayAMRNBWithRecAMRNB.amr)
       
  2119 //!                15. Start Play EOF 
       
  2120 //!                16. CloseFile
       
  2121 //!                17. Delete devsound instance
       
  2122 //!@SYMTestStatus		Verified
       
  2123 //!@SYMTestPriority		High
       
  2124 //!@SYMTestExpectedResults
       
  2125 //!                Mix 8k mono AMR-NB playback with AMR-NB recording
       
  2126 //! TEST_BLOCK 001
       
  2127 //!                AMR 8 KHz mono playback
       
  2128 //! TEST_BLOCK 002
       
  2129 //!                AMR-NB mono recording and playback
       
  2130 //!@SYMTestType			CIT
       
  2131 
       
  2132 
       
  2133 	CONCURRENT
       
  2134 
       
  2135 
       
  2136 
       
  2137 	START_TEST_BLOCK	45	t_devsound	\multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_pr.ini
       
  2138 		CREATE_OBJECT	CMMFDevSound		devsound1
       
  2139 		COMMAND		devsound1		NewL
       
  2140 		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0015-0001-InitializeL_command02
       
  2141 		OUTSTANDING
       
  2142 		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSound-Comb_Pr-0015-0001-SetPrioritySettings_command03
       
  2143 		COMMAND		devsound1		Capabilities
       
  2144 		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0015-0001-SetConfigL_command05
       
  2145 		COMMAND		devsound1		OpenFile			MULTIMEDIA-MMF-DevSound-Comb_Pr-0015-0001-OpenFile_command06
       
  2146 		COMMAND		!AsyncError=-13    devsound1		PlayInitL
       
  2147 		ASYNC_DELAY  30000000 
       
  2148 		COMMAND		devsound1		Stop
       
  2149 		COMMAND		devsound1		CloseFile
       
  2150 		COMMAND		devsound1		~
       
  2151 	END_TEST_BLOCK
       
  2152 
       
  2153 
       
  2154 
       
  2155 	START_TEST_BLOCK	45	t_devsound	\multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_pr.ini
       
  2156 		CREATE_OBJECT	CMMFDevSound		devsound1
       
  2157 		COMMAND		devsound1		NewL
       
  2158 		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0015-0002-InitializeL_command02
       
  2159 		OUTSTANDING
       
  2160 		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSound-Comb_Pr-0015-0002-SetPrioritySettings_command03
       
  2161 		COMMAND		devsound1		Capabilities
       
  2162 		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0015-0002-SetConfigL_command05
       
  2163 		DELAY  10000000 
       
  2164 		COMMAND		devsound1		ReplaceFile			MULTIMEDIA-MMF-DevSound-Comb_Pr-0015-0002-ReplaceFile_command06
       
  2165 		COMMAND		devsound1		RecordInitL
       
  2166 		ASYNC_DELAY  10000000 
       
  2167 		COMMAND		devsound1		Stop
       
  2168 		DELAY  5000000 
       
  2169 		COMMAND		devsound1		CloseFile
       
  2170 		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0015-0002-InitializeL_command10
       
  2171 		OUTSTANDING
       
  2172 		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSound-Comb_Pr-0015-0002-SetPrioritySettings_command11
       
  2173 		COMMAND		devsound1		Capabilities
       
  2174 		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0015-0002-SetConfigL_command13
       
  2175 		COMMAND		devsound1		OpenFile			MULTIMEDIA-MMF-DevSound-Comb_Pr-0015-0002-OpenFile_command14
       
  2176 		COMMAND		devsound1		PlayInitL
       
  2177 		OUTSTANDING
       
  2178 		COMMAND		devsound1		CloseFile
       
  2179 		COMMAND		devsound1		~
       
  2180 	END_TEST_BLOCK
       
  2181 END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PR-0015
       
  2182 
       
  2183 
       
  2184 
       
  2185 
       
  2186 
       
  2187 START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PR-0016
       
  2188 
       
  2189 //!@SYMTestCaseID		MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PR-0016
       
  2190 //!@SYMAPI
       
  2191 //! TEST_BLOCK 001
       
  2192 //!                CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState)
       
  2193 //!                CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref})
       
  2194 //!                CMMFDevSound::Capabilities()
       
  2195 //!                CMMFDevSound::SetConfigL(TMMFCapabilities {ref})
       
  2196 //!                CMMFDevSound::PlayInitL()
       
  2197 //!                CMMFDevSound::RecordInitL()
       
  2198 //!                CMMFDevSound::Stop()
       
  2199 //! TEST_BLOCK 002
       
  2200 //!                CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState)
       
  2201 //!                CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref})
       
  2202 //!                CMMFDevSound::Capabilities()
       
  2203 //!                CMMFDevSound::SetConfigL(TMMFCapabilities {ref})
       
  2204 //!                CMMFDevSound::PlayInitL()
       
  2205 //!                CMMFDevSound::RecordInitL()
       
  2206 //!                CMMFDevSound::Stop()
       
  2207 //!@SYMAuthor			jpacho
       
  2208 //!@SYMCreationDate		8/25/2008 
       
  2209 //!@SYMTestCaseDesc		Mix AMR-NB recording with AMR-NB recording
       
  2210 //!@SYMTestActions
       
  2211 //! TEST_BLOCK 001
       
  2212 //!                1. Create DevSound instance
       
  2213 //!                2. Replace file (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\MixRecAMRNBWithRecAMRNB1.amr)
       
  2214 //!                3. Initialize Devsound ( Mode = EMMFStateRecording; FourCC= AMR)
       
  2215 //!                4. Set priority settings ( Priority = {Priority,PriorityVoiceRecording}; Preference = {PriorityPreference,PriorityPreferenceVoiceRecording} ; PriorityState=EMMFStateRecording)
       
  2216 //!                5. Capabilities 
       
  2217 //!                6. Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz)
       
  2218 //!                7. Start record 30s
       
  2219 //!                8. Stop 5s
       
  2220 //!                9.Initialize Devsound ( Mode = EMMFStatePlaying; FourCC= AMR)
       
  2221 //!                10.Capabilities 
       
  2222 //!                11.Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz)
       
  2223 //!                12.Set priority settings ( Priority = {Priority,PriorityAudioPlayback}; Preference = {PriorityPreference,PriorityPreferenceAudioPlayback}; PriorityState=EMMFStatePlaying)
       
  2224 //!                13. FileStartPosition
       
  2225 //!                14.Set expected error (ExpectedPlayError = -13)
       
  2226 //!                15.Star play
       
  2227 //!                16.Close file
       
  2228 //!                17.Destroy DevSound instance
       
  2229 //! TEST_BLOCK 002
       
  2230 //!                1. Create DevSound instance
       
  2231 //!                2. Replace file (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\MixRecAMRNBWithRecAMRNB2.amr)
       
  2232 //!                3. Initialize Devsound ( Mode = EMMFStateRecording; FourCC= AMR)
       
  2233 //!                4. Set priority settings ( Priority = {Priority,PriorityVoiceRecording}; Preference = {PriorityPreference,PriorityPreferenceVoiceRecording} ; PriorityState=EMMFStateRecording)
       
  2234 //!                5. Capabilities 
       
  2235 //!                6. Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz)
       
  2236 //!                7. Set expected error (ExpectedRecordError = -21)
       
  2237 //!                8. Start record 10s
       
  2238 //!                9. Stop 50s
       
  2239 //!                10. Close file
       
  2240 //!                11. Open file (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\MixRecAMRNBWithRecAMRNB2.amr)
       
  2241 //!                12.Initialize Devsound ( Mode = EMMFStatePlaying; FourCC= AMR)
       
  2242 //!                13.Capabilities 
       
  2243 //!                14.Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz)
       
  2244 //!                15.Set priority settings ( Priority = {Priority,PriorityAudioPlayback}; Preference = {PriorityPreference,PriorityPreferenceAudioPlayback}; PriorityState=EMMFStatePlaying)
       
  2245 //!                16.Star play
       
  2246 //!                17.Close file
       
  2247 //!                18.Destroy DevSound instance
       
  2248 //!@SYMTestStatus		Delivered
       
  2249 //!@SYMTestPriority		High
       
  2250 //!@SYMTestExpectedResults
       
  2251 //!                Mix AMR-NB recording with AMR-NB recording
       
  2252 //! TEST_BLOCK 001
       
  2253 //!                AMR-NB mono recording and playback
       
  2254 //! TEST_BLOCK 002
       
  2255 //!                AMR-NB mono recording and playback
       
  2256 //!@SYMTestType			CIT
       
  2257 
       
  2258 
       
  2259 	CONCURRENT
       
  2260 
       
  2261 
       
  2262 
       
  2263 	START_TEST_BLOCK	900	t_devsound	\multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_pr.ini
       
  2264 		CREATE_OBJECT	CMMFDevSound		devsound1
       
  2265 		COMMAND		devsound1		NewL
       
  2266 		COMMAND		devsound1		ReplaceFile			MULTIMEDIA-MMF-DevSound-Comb_Pr-0016-0001-ReplaceFile_command02
       
  2267 		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0016-0001-InitializeL_command03
       
  2268 		OUTSTANDING
       
  2269 		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSound-Comb_Pr-0016-0001-SetPrioritySettings_command04
       
  2270 		COMMAND		devsound1		Capabilities
       
  2271 		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0016-0001-SetConfigL_command06
       
  2272         DELAY  5000000 
       
  2273 		COMMAND		!AsyncError=-21 		devsound1   RecordInitL
       
  2274 		ASYNC_DELAY  30000000 
       
  2275 		COMMAND		devsound1		Stop
       
  2276 		DELAY  5000000 
       
  2277 		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0016-0001-InitializeL_command09
       
  2278 		OUTSTANDING
       
  2279 		COMMAND		devsound1		Capabilities
       
  2280 		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0016-0001-SetConfigL_command11
       
  2281 		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSound-Comb_Pr-0016-0001-SetPrioritySettings_command12
       
  2282 		COMMAND		devsound1		FileStartPosition
       
  2283 		COMMAND		devsound1		PlayInitL
       
  2284 		OUTSTANDING
       
  2285 		COMMAND		devsound1		CloseFile
       
  2286 		COMMAND		devsound1		~
       
  2287 	END_TEST_BLOCK
       
  2288 
       
  2289 
       
  2290 
       
  2291 	START_TEST_BLOCK	900	t_devsound	\multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_pr.ini
       
  2292 		CREATE_OBJECT	CMMFDevSound		devsound1
       
  2293 		COMMAND		devsound1		NewL
       
  2294 		COMMAND		devsound1		ReplaceFile			MULTIMEDIA-MMF-DevSound-Comb_Pr-0016-0002-ReplaceFile_command02
       
  2295 		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0016-0002-InitializeL_command03
       
  2296 		OUTSTANDING
       
  2297 		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSound-Comb_Pr-0016-0002-SetPrioritySettings_command04
       
  2298 		COMMAND		devsound1		Capabilities
       
  2299 		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0016-0002-SetConfigL_command06
       
  2300 		COMMAND		devsound1		RecordInitL
       
  2301 		ASYNC_DELAY  10000000 
       
  2302 		COMMAND		devsound1		Stop
       
  2303 		DELAY  50000000 
       
  2304 		COMMAND		devsound1		CloseFile
       
  2305 		COMMAND		devsound1		OpenFile			MULTIMEDIA-MMF-DevSound-Comb_Pr-0016-0002-OpenFile_command11
       
  2306 		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0016-0002-InitializeL_command12
       
  2307 		OUTSTANDING
       
  2308 		COMMAND		devsound1		Capabilities
       
  2309 		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0016-0002-SetConfigL_command14
       
  2310 		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSound-Comb_Pr-0016-0002-SetPrioritySettings_command15
       
  2311 		COMMAND		devsound1		PlayInitL
       
  2312 		OUTSTANDING
       
  2313 		COMMAND		devsound1		CloseFile
       
  2314 		COMMAND		devsound1		~
       
  2315 	END_TEST_BLOCK
       
  2316 END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PR-0016
       
  2317 
       
  2318 
       
  2319 
       
  2320 
       
  2321 START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PR-0017
       
  2322 
       
  2323 //!@SYMTestCaseID		MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PR-0017
       
  2324 //!@SYMAPI
       
  2325 //! TEST_BLOCK 001
       
  2326 //!                CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState)
       
  2327 //!                CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref})
       
  2328 //!                CMMFDevSound::Capabilities()
       
  2329 //!                CMMFDevSound::SetConfigL(TMMFCapabilities {ref})
       
  2330 //!                CMMFDevSound::PlayInitL()
       
  2331 //!                CMMFDevSound::RecordInitL()
       
  2332 //!                CMMFDevSound::Stop()
       
  2333 //! TEST_BLOCK 002
       
  2334 //!                CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState)
       
  2335 //!                CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref})
       
  2336 //!                CMMFDevSound::Capabilities()
       
  2337 //!                CMMFDevSound::SetConfigL(TMMFCapabilities {ref})
       
  2338 //!                CMMFDevSound::PlayInitL()
       
  2339 //!                CMMFDevSound::RecordInitL()
       
  2340 //!                CMMFDevSound::Stop()
       
  2341 //!@SYMAuthor			jpacho
       
  2342 //!@SYMCreationDate		8/25/2008 
       
  2343 //!@SYMTestCaseDesc		Mix AMR-WB recording with AMR-NB recording
       
  2344 //!@SYMTestActions
       
  2345 //! TEST_BLOCK 001
       
  2346 //!                1. Create DevSound instance
       
  2347 //!                2. Replace file (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\MixRecAMRWBWithRecAMRNB.awb)
       
  2348 //!                3. Initialize Devsound ( Mode = EMMFStateRecording; FourCC= AWB)
       
  2349 //!                4. Set priority settings ( Priority = {Priority,PriorityVoiceRecording}; Preference = {PriorityPreference,PriorityPreferenceVoiceRecording} ; PriorityState=EMMFStateRecording)
       
  2350 //!                5. Capabilities 
       
  2351 //!                6. Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate16000Hz)
       
  2352 //!                7. Start record 30s
       
  2353 //!                8. Stop 5s
       
  2354 //!                9.Initialize Devsound ( Mode = EMMFStatePlaying; FourCC= AWB)
       
  2355 //!                10.Capabilities 
       
  2356 //!                11.Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate16000Hz)
       
  2357 //!                12.Set priority settings ( Priority = {Priority,PriorityAudioPlayback}; Preference = {PriorityPreference,PriorityPreferenceAudioPlayback}; PriorityState=EMMFStatePlaying)
       
  2358 //!                13. FileStartPosition
       
  2359 //!                14.Set expected error (ExpectedPlayError = -13)
       
  2360 //!                15.Star play
       
  2361 //!                16.Close file
       
  2362 //!                17.Destroy DevSound instance
       
  2363 //! TEST_BLOCK 002
       
  2364 //!                1. Create DevSound instance
       
  2365 //!                2. Replace file (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\MixRecAMRWBWithRecAMRNB.amr)
       
  2366 //!                3. Initialize Devsound ( Mode = EMMFStateRecording; FourCC= AMR)
       
  2367 //!                4. Set priority settings ( Priority = {Priority,PriorityVoiceRecording}; Preference = {PriorityPreference,PriorityPreferenceVoiceRecording} ; PriorityState=EMMFStateRecording)
       
  2368 //!                5. Capabilities 
       
  2369 //!                6. Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz)
       
  2370 //!                7. Set expected error (ExpectedRecordError = -21)
       
  2371 //!                8. Start record 10s
       
  2372 //!                9. Stop 50s
       
  2373 //!                10.Close file
       
  2374 //!                11.Open file (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\MixRecAMRWBWithRecAMRNB.amr)
       
  2375 //!                12.Initialize Devsound ( Mode = EMMFStatePlaying; FourCC= AMR)
       
  2376 //!                13.Capabilities 
       
  2377 //!                14.Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz)
       
  2378 //!                15.Set priority settings ( Priority = {Priority,PriorityAudioPlayback}; Preference = {PriorityPreference,PriorityPreferenceAudioPlayback}; PriorityState=EMMFStatePlaying)
       
  2379 //!                16.Star play
       
  2380 //!                17.Close file
       
  2381 //!                18.Destroy DevSound instance
       
  2382 //!@SYMTestStatus		Verified
       
  2383 //!@SYMTestPriority		High
       
  2384 //!@SYMTestExpectedResults
       
  2385 //!                Mix AMR-WB recording with AMR-NB recording
       
  2386 //! TEST_BLOCK 001
       
  2387 //!                AMR-NB 16 KHz mono recording and playback
       
  2388 //! TEST_BLOCK 002
       
  2389 //!                AMR-NB 16 KHz mono recording and playback
       
  2390 //!@SYMTestType			CIT
       
  2391 
       
  2392 
       
  2393 	CONCURRENT
       
  2394 
       
  2395 
       
  2396 
       
  2397 	START_TEST_BLOCK	900	t_devsound	\multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_pr.ini
       
  2398 		CREATE_OBJECT	CMMFDevSound		devsound1
       
  2399 		COMMAND		devsound1		NewL
       
  2400 		COMMAND		devsound1		ReplaceFile			MULTIMEDIA-MMF-DevSound-Comb_Pr-0017-0001-ReplaceFile_command02
       
  2401 		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0017-0001-InitializeL_command03
       
  2402 		OUTSTANDING
       
  2403 		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSound-Comb_Pr-0017-0001-SetPrioritySettings_command04
       
  2404 		COMMAND		devsound1		Capabilities
       
  2405 		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0017-0001-SetConfigL_command06
       
  2406 		COMMAND		devsound1		RecordInitL
       
  2407 		ASYNC_DELAY  30000000 
       
  2408 		COMMAND		devsound1		Stop
       
  2409 		DELAY  5000000 
       
  2410 		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0017-0001-InitializeL_command09
       
  2411 		OUTSTANDING
       
  2412 		COMMAND		devsound1		Capabilities
       
  2413 		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0017-0001-SetConfigL_command11
       
  2414 		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSound-Comb_Pr-0017-0001-SetPrioritySettings_command12
       
  2415 		COMMAND		devsound1		FileStartPosition
       
  2416 		COMMAND		!AsyncError=-13    devsound1		PlayInitL
       
  2417 		OUTSTANDING
       
  2418 		COMMAND		devsound1		CloseFile
       
  2419 		COMMAND		devsound1		~
       
  2420 	END_TEST_BLOCK
       
  2421 
       
  2422 
       
  2423 
       
  2424 	START_TEST_BLOCK	900	t_devsound	\multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_pr.ini
       
  2425 		CREATE_OBJECT	CMMFDevSound		devsound1
       
  2426 		COMMAND		devsound1		NewL
       
  2427 		COMMAND		devsound1		ReplaceFile			MULTIMEDIA-MMF-DevSound-Comb_Pr-0017-0002-ReplaceFile_command02
       
  2428 		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0017-0002-InitializeL_command03
       
  2429 		OUTSTANDING
       
  2430 		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSound-Comb_Pr-0017-0002-SetPrioritySettings_command04
       
  2431 		COMMAND		devsound1		Capabilities
       
  2432 		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0017-0002-SetConfigL_command06
       
  2433 		COMMAND		!AsyncError=-21    devsound1		RecordInitL
       
  2434 		ASYNC_DELAY  10000000 
       
  2435 		COMMAND		devsound1		Stop
       
  2436 		DELAY  50000000 
       
  2437 		COMMAND		devsound1		CloseFile
       
  2438 		COMMAND		devsound1		OpenFile			MULTIMEDIA-MMF-DevSound-Comb_Pr-0017-0002-OpenFile_command11
       
  2439 		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0017-0002-InitializeL_command12
       
  2440 		OUTSTANDING
       
  2441 		COMMAND		devsound1		Capabilities
       
  2442 		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0017-0002-SetConfigL_command14
       
  2443 		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSound-Comb_Pr-0017-0002-SetPrioritySettings_command15
       
  2444 		COMMAND		devsound1		PlayInitL
       
  2445 		OUTSTANDING
       
  2446 		COMMAND		devsound1		CloseFile
       
  2447 		COMMAND		devsound1		~
       
  2448 	END_TEST_BLOCK
       
  2449 END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PR-0017
       
  2450 
       
  2451 
       
  2452 
       
  2453 
       
  2454 START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PR-0018
       
  2455 
       
  2456 //!@SYMTestCaseID		MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PR-0018
       
  2457 //!@SYMAPI
       
  2458 //! TEST_BLOCK 001
       
  2459 //!                CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState)
       
  2460 //!                CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref})
       
  2461 //!                CMMFDevSound::Capabilities()
       
  2462 //!                CMMFDevSound::SetConfigL(TMMFCapabilities {ref})
       
  2463 //!                CMMFDevSound::PlayInitL()
       
  2464 //!                CMMFDevSound::RecordInitL()
       
  2465 //!                CMMFDevSound::Stop()
       
  2466 //! TEST_BLOCK 002
       
  2467 //!                CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState)
       
  2468 //!                CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref})
       
  2469 //!                CMMFDevSound::Capabilities()
       
  2470 //!                CMMFDevSound::SetConfigL(TMMFCapabilities {ref})
       
  2471 //!                CMMFDevSound::PlayInitL()
       
  2472 //!                CMMFDevSound::RecordInitL()
       
  2473 //!                CMMFDevSound::Stop()
       
  2474 //!@SYMAuthor			jpacho
       
  2475 //!@SYMCreationDate		8/25/2008 
       
  2476 //!@SYMTestCaseDesc		Mix AMR-WB recording with AMR-WB recording
       
  2477 //!@SYMTestActions
       
  2478 //! TEST_BLOCK 001
       
  2479 //!                1. Create DevSound instance
       
  2480 //!                2. Replace file (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\MixRecAMRWBWithRecAMRWB1.awb)
       
  2481 //!                3. Initialize Devsound ( Mode = EMMFStateRecording; FourCC= AWB)
       
  2482 //!                4. Set priority settings ( Priority = {Priority,PriorityVoiceRecording}; Preference = {PriorityPreference,PriorityPreferenceVoiceRecording} ; PriorityState=EMMFStateRecording)
       
  2483 //!                5. Capabilities 
       
  2484 //!                6. Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate16000Hz)
       
  2485 //!                7. Start record 30s
       
  2486 //!                8. Stop 5s
       
  2487 //!                9.Initialize Devsound ( Mode = EMMFStatePlaying; FourCC= AWB)
       
  2488 //!                10.Capabilities 
       
  2489 //!                11.Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate16000Hz)
       
  2490 //!                12.Set priority settings ( Priority = {Priority,PriorityAudioPlayback}; Preference = {PriorityPreference,PriorityPreferenceAudioPlayback}; PriorityState=EMMFStatePlaying)
       
  2491 //!                13. FileStartPosition
       
  2492 //!                14.Set expected error (ExpectedPlayError = -13)
       
  2493 //!                15.Star play
       
  2494 //!                16.Close file
       
  2495 //!                17.Destroy DevSound instance
       
  2496 //! TEST_BLOCK 002
       
  2497 //!                1. Create DevSound instance
       
  2498 //!                2. Replace file (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\MixRecAMRWBWithRecAMRWB2.awb)
       
  2499 //!                3. Initialize Devsound ( Mode = EMMFStateRecording; FourCC= AWB)
       
  2500 //!                4. Set priority settings ( Priority = {Priority,PriorityVoiceRecording}; Preference = {PriorityPreference,PriorityPreferenceVoiceRecording} ; PriorityState=EMMFStateRecording)
       
  2501 //!                5. Capabilities 
       
  2502 //!                6. Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate16000Hz)
       
  2503 //!                7. Set expected error (ExpectedRecordError = -21)
       
  2504 //!                8. Start record 10s
       
  2505 //!                9. Stop 50s
       
  2506 //!                10.Close file
       
  2507 //!                11.Open file (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\MixRecAMRWBWithRecAMRWB2.awb)
       
  2508 //!                12.Initialize Devsound ( Mode = EMMFStatePlaying; FourCC= AWB)
       
  2509 //!                13.Capabilities 
       
  2510 //!                14.Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate16000Hz)
       
  2511 //!                15.Set priority settings ( Priority = {Priority,PriorityAudioPlayback}; Preference = {PriorityPreference,PriorityPreferenceAudioPlayback}; PriorityState=EMMFStatePlaying)
       
  2512 //!                16.Star play
       
  2513 //!                17.Close file
       
  2514 //!                18.Destroy DevSound instance
       
  2515 //!@SYMTestStatus		Verified
       
  2516 //!@SYMTestPriority		High
       
  2517 //!@SYMTestExpectedResults
       
  2518 //!                Mix AMR-WB recording with AMR-WB recording
       
  2519 //! TEST_BLOCK 001
       
  2520 //!                AMR-NB 16 KHz mono recording and playback
       
  2521 //! TEST_BLOCK 002
       
  2522 //!                AMR-NB 16 KHz mono recording and playback
       
  2523 //!@SYMTestType			CIT
       
  2524 
       
  2525 
       
  2526 	CONCURRENT
       
  2527 
       
  2528 
       
  2529 
       
  2530 	START_TEST_BLOCK	900	t_devsound	\multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_pr.ini
       
  2531 		CREATE_OBJECT	CMMFDevSound		devsound1
       
  2532 		COMMAND		devsound1		NewL
       
  2533 		COMMAND		devsound1		ReplaceFile			MULTIMEDIA-MMF-DevSound-Comb_Pr-0018-0001-ReplaceFile_command02
       
  2534 		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0018-0001-InitializeL_command03
       
  2535 		OUTSTANDING
       
  2536 		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSound-Comb_Pr-0018-0001-SetPrioritySettings_command04
       
  2537 		COMMAND		devsound1		Capabilities
       
  2538 		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0018-0001-SetConfigL_command06
       
  2539 		COMMAND		devsound1		RecordInitL
       
  2540 		ASYNC_DELAY  30000000 
       
  2541 		COMMAND		devsound1		Stop
       
  2542 		DELAY  5000000 
       
  2543 		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0018-0001-InitializeL_command09
       
  2544 		OUTSTANDING
       
  2545 		COMMAND		devsound1		Capabilities
       
  2546 		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0018-0001-SetConfigL_command11
       
  2547 		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSound-Comb_Pr-0018-0001-SetPrioritySettings_command12
       
  2548 		COMMAND		devsound1		FileStartPosition
       
  2549 		COMMAND		!AsyncError=-13    devsound1		PlayInitL
       
  2550 		OUTSTANDING
       
  2551 		COMMAND		devsound1		CloseFile
       
  2552 		COMMAND		devsound1		~
       
  2553 	END_TEST_BLOCK
       
  2554 
       
  2555 
       
  2556 
       
  2557 	START_TEST_BLOCK	900	t_devsound	\multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_pr.ini
       
  2558 		CREATE_OBJECT	CMMFDevSound		devsound1
       
  2559 		COMMAND		devsound1		NewL
       
  2560 		COMMAND		devsound1		ReplaceFile			MULTIMEDIA-MMF-DevSound-Comb_Pr-0018-0002-ReplaceFile_command02
       
  2561 		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0018-0002-InitializeL_command03
       
  2562 		OUTSTANDING
       
  2563 		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSound-Comb_Pr-0018-0002-SetPrioritySettings_command04
       
  2564 		COMMAND		devsound1		Capabilities
       
  2565 		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0018-0002-SetConfigL_command06
       
  2566 		COMMAND		!AsyncError=-21    devsound1		RecordInitL
       
  2567 		ASYNC_DELAY  10000000 
       
  2568 		COMMAND		devsound1		Stop
       
  2569 		DELAY  50000000 
       
  2570 		COMMAND		devsound1		CloseFile
       
  2571 		COMMAND		devsound1		OpenFile			MULTIMEDIA-MMF-DevSound-Comb_Pr-0018-0002-OpenFile_command11
       
  2572 		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0018-0002-InitializeL_command12
       
  2573 		OUTSTANDING
       
  2574 		COMMAND		devsound1		Capabilities
       
  2575 		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0018-0002-SetConfigL_command14
       
  2576 		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSound-Comb_Pr-0018-0002-SetPrioritySettings_command15
       
  2577 		COMMAND		devsound1		PlayInitL
       
  2578 		OUTSTANDING
       
  2579 		COMMAND		devsound1		CloseFile
       
  2580 		COMMAND		devsound1		~
       
  2581 	END_TEST_BLOCK
       
  2582 END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PR-0018
       
  2583 
       
  2584 
       
  2585 
       
  2586 
       
  2587 START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PR-0019
       
  2588 
       
  2589 //!@SYMTestCaseID		MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PR-0019
       
  2590 //!@SYMAPI
       
  2591 //! TEST_BLOCK 001
       
  2592 //!                CMMFDevSound::InitializeL(MDevSoundObserver , TFourCC , TMMFState)
       
  2593 //!                CMMFDevSound::SetPrioritySettings(const TMMFPrioritySettings )
       
  2594 //!                CMMFDevSound::Capabilities()
       
  2595 //!                CMMFDevSound::SetConfigL(const TMMFCapabilities )
       
  2596 //!                CMMFDevSound::PlayInitL()
       
  2597 //!                CMMFDevSound::Stop()
       
  2598 //! TEST_BLOCK 002
       
  2599 //!                CMMFDevSound::InitializeL(MDevSoundObserver{ref}, TFourCC , TMMFState)
       
  2600 //!                CMMFDevSound::SetPrioritySettings(const TMMFPrioritySettings{ref})
       
  2601 //!                CMMFDevSound::Capabilities()
       
  2602 //!                CMMFDevSound::SetConfigL(const TMMFCapabilities{ref})
       
  2603 //!                CMMFDevSound::PlayInitL()
       
  2604 //!                CMMFDevSound::RecordInitL()
       
  2605 //!@SYMAuthor			jguillermo
       
  2606 //!@SYMCreationDate		9/8/2008 
       
  2607 //!@SYMTestCaseDesc		Gain control of VoIP call
       
  2608 //!@SYMTestActions
       
  2609 //! TEST_BLOCK 001
       
  2610 //!                1. Create DevSound instance
       
  2611 //!                2. Initialize DevSound ( Mode = EMMFStatePlaying; FourCC = AMR)
       
  2612 //!                3. Set Priority (Priority = {Priority,PriorityVoipCallDown}; Preference = {PriorityPreference,PriorityPreferenceVoipCallDown}; PriorityState=EMMFStatePlaying)
       
  2613 //!                4. Capabilities
       
  2614 //!                5. Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz)
       
  2615 //!                6. Open file (Filename = {drive,mmc}\multimedia\mmf\devsound\amr-nb\AMRNB_8k_12.2kbps_mono_speech.amr)
       
  2616 //!                7. Start Play for 30 seconds
       
  2617 //!                8. Stop
       
  2618 //!                9. Close file
       
  2619 //!                10. Destroy DevSound instance
       
  2620 //! TEST_BLOCK 002
       
  2621 //!                1. Create DevSound instance 
       
  2622 //!                2. Initialize DevSound ( Mode = EMMFStateRecording; FourCC = AMR)
       
  2623 //!                3. Set Priority (Priority = {Priority,PriorityVoipCallUp}; Preference = {PriorityPreference,PriorityPreferenceVoipCallUp}; PriorityState=EMMFStateRecording)
       
  2624 //!                4. Capabilities
       
  2625 //!                5. Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz)
       
  2626 //!                6. Replace file (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\GainVoIPCall.amr)
       
  2627 //!                7. Set Expected Record Error (ExpectedRecordError = -18)
       
  2628 //!                8. Record 10 seconds
       
  2629 //!                9. Set Gain and delay 10 seconds (Gain = 0)
       
  2630 //!                10. Set Gain and delay 10 seconds (Gain = 1 )
       
  2631 //!                11. Stop 5 seconds
       
  2632 //!                12. Close file
       
  2633 //!                13. Initialize DevSound ( Mode = EMMFStatePlaying; FourCC = AMR)
       
  2634 //!                14. Set Priority ( Priority = {Priority,PriorityAudioPlayback}; Preference = {PriorityPreference,PriorityPreferenceAudioPlayback}; PriorityState=EMMFStatePlaying)
       
  2635 //!                15. Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz)
       
  2636 //!                16. Open file (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\GainVoIPCall.amr)
       
  2637 //!                17. Play EOF
       
  2638 //!                18. Close file
       
  2639 //!                19. Delete DevSound instance
       
  2640 //!                
       
  2641 //!@SYMTestStatus		Verified
       
  2642 //!@SYMTestPriority		High
       
  2643 //!@SYMTestExpectedResults
       
  2644 //!                Gain control of VoIP call
       
  2645 //! TEST_BLOCK 001
       
  2646 //!                AMR-NB playback as VoIPCallDown
       
  2647 //! TEST_BLOCK 002
       
  2648 //!                AMR-NB recording and playback as VoIPCallUp
       
  2649 //!@SYMTestType			CIT
       
  2650 
       
  2651 
       
  2652 	CONCURRENT
       
  2653 
       
  2654 
       
  2655 
       
  2656 	START_TEST_BLOCK	100	t_devsound	\multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_pr.ini
       
  2657 		CREATE_OBJECT	CMMFDevSound		devsound1
       
  2658 		COMMAND		devsound1		NewL
       
  2659 		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0019-0001-InitializeL_command02
       
  2660 		OUTSTANDING
       
  2661 		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSound-Comb_Pr-0019-0001-SetPrioritySettings_command03
       
  2662 		COMMAND		devsound1		Capabilities
       
  2663 		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0019-0001-SetConfigL_command05
       
  2664 		COMMAND		devsound1		OpenFile			MULTIMEDIA-MMF-DevSound-Comb_Pr-0019-0001-OpenFile_command06
       
  2665 		COMMAND		devsound1		PlayInitL
       
  2666 		ASYNC_DELAY  30000000 
       
  2667 		COMMAND		devsound1		Stop
       
  2668 		COMMAND		devsound1		CloseFile
       
  2669 		COMMAND		devsound1		~
       
  2670 	END_TEST_BLOCK
       
  2671 
       
  2672 
       
  2673 
       
  2674 	START_TEST_BLOCK	100	t_devsound	\multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_pr.ini
       
  2675 		CREATE_OBJECT	CMMFDevSound		devsound1
       
  2676 		COMMAND		devsound1		NewL
       
  2677 		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0019-0002-InitializeL_command02
       
  2678 		OUTSTANDING
       
  2679 		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSound-Comb_Pr-0019-0002-SetPrioritySettings_command03
       
  2680 		COMMAND		devsound1		Capabilities
       
  2681 		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0019-0002-SetConfigL_command05
       
  2682 		COMMAND		devsound1		ReplaceFile			MULTIMEDIA-MMF-DevSound-Comb_Pr-0019-0002-ReplaceFile_command06
       
  2683 		COMMAND		devsound1		RecordInitL
       
  2684 		ASYNC_DELAY  10000000 
       
  2685 		COMMAND		devsound1		SetGain			MULTIMEDIA-MMF-DevSound-Comb_Pr-0019-0002-SetGain_command09
       
  2686 		ASYNC_DELAY  10000000 
       
  2687 		COMMAND		devsound1		SetGain			MULTIMEDIA-MMF-DevSound-Comb_Pr-0019-0002-SetGain_command10
       
  2688 		ASYNC_DELAY  10000000 
       
  2689 		COMMAND		devsound1		Stop
       
  2690 		COMMAND		devsound1		CloseFile
       
  2691 		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0019-0002-InitializeL_command13
       
  2692 		OUTSTANDING
       
  2693 		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSound-Comb_Pr-0019-0002-SetPrioritySettings_command14
       
  2694 		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0019-0002-SetConfigL_command15
       
  2695 		COMMAND		devsound1		OpenFile			MULTIMEDIA-MMF-DevSound-Comb_Pr-0019-0002-OpenFile_command16
       
  2696 		COMMAND		devsound1		PlayInitL
       
  2697 		OUTSTANDING
       
  2698 		COMMAND		devsound1		CloseFile
       
  2699 		COMMAND		devsound1		~
       
  2700 	END_TEST_BLOCK
       
  2701 END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PR-0019
       
  2702 
       
  2703 
       
  2704 
       
  2705 
       
  2706 START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PR-0020
       
  2707 
       
  2708 //!@SYMTestCaseID		MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PR-0020
       
  2709 //!@SYMAPI
       
  2710 //! TEST_BLOCK 001
       
  2711 //!                CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState)
       
  2712 //!                CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref})
       
  2713 //!                CMMFDevSound::Capabilities()
       
  2714 //!                CMMFDevSound::SetConfigL(TMMFCapabilities {ref})
       
  2715 //!                CMMFDevSound::PlayInitL()
       
  2716 //! TEST_BLOCK 002
       
  2717 //!                CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState)
       
  2718 //!                CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref})
       
  2719 //!                CMMFDevSound::Capabilities()
       
  2720 //!                CMMFDevSound::SetConfigL(TMMFCapabilities {ref})
       
  2721 //!                CMMFDevSound::PlayInitL()
       
  2722 //!                CMMFDevSound::RecordInitL()
       
  2723 //! TEST_BLOCK 003
       
  2724 //!                CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState)
       
  2725 //!                CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref})
       
  2726 //!                CMMFDevSound::Capabilities()
       
  2727 //!                CMMFDevSound::SetConfigL(TMMFCapabilities {ref})
       
  2728 //!                CMMFDevSound::PlayInitL()
       
  2729 //!@SYMAuthor			ddamian
       
  2730 //!@SYMCreationDate		8/11/2008 
       
  2731 //!@SYMTestCaseDesc		44.1k audio playback during VoIP call - AMR-NB
       
  2732 //!@SYMTestActions
       
  2733 //! TEST_BLOCK 001
       
  2734 //!                1.- Create DevSound instance
       
  2735 //!                2.- Initialize DevSound ( Mode = EMMFStatePlaying; FourCC = AMR)
       
  2736 //!                3.- Set Priority settings (Priority = {Priority,PriorityVoipCallDown}; Preference = {PriorityPreference,PriorityPreferenceVoipCallDown}; PriorityState = EMMFStatePlaying)
       
  2737 //!                4.- Capabilities
       
  2738 //!                5.- Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz)
       
  2739 //!                6.- Open file (Filename = {drive,mmc}\multimedia\mmf\devsound\AMR-NB\AMRNB_8k_12.2kbps_mono_speech.amr)
       
  2740 //!                7.- Play
       
  2741 //!                8.- Stop
       
  2742 //!                9.- Close File
       
  2743 //!                10.- Destroy DevSound instance
       
  2744 //! TEST_BLOCK 002
       
  2745 //!                1.- Create DevSound instance
       
  2746 //!                2.- Initialize DevSound ( Mode = EMMFStateRecording; FourCC = AMR)
       
  2747 //!                3.- Set Priority settings (Priority = {Priority,PriorityVoipCallUp}; Preference = {PriorityPreference,PriorityPreferenceVoipCallUp}; PriorityState = EMMFStateRecording)
       
  2748 //!                4.- Capabilities
       
  2749 //!                5.- Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz)
       
  2750 //!                6.- Replace File (Filename = {drive,mmc}\multimedia\mmf\devsound\recording\PlayMP3DuringVoIPCallAMRNB.amr)
       
  2751 //!                7.- Record Init 30s
       
  2752 //!                8.- Stop and wait 5 sec.
       
  2753 //!                9.- Close File
       
  2754 //!                10.- Initialize DevSound ( Mode = EMMFStatePlaying; FourCC = AMR)
       
  2755 //!                11.- Set Priority settings (Priority ={Priority,PriorityAudioPlayback}; Preference = {PriorityPreference,PriorityPreferenceAudioPlayback}; PriorityState = EMMFStatePlaying)
       
  2756 //!                12.- Capabilities
       
  2757 //!                13.- Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz)
       
  2758 //!                14.- Open File (Filename = {drive,mmc}\multimedia\mmf\devsound\recording\PlayMP3DuringVoIPCallAMRNB.amr)
       
  2759 //!                15.- Play
       
  2760 //!                16.- Close file
       
  2761 //!                17.- Destroy DevSound instance
       
  2762 //! TEST_BLOCK 003
       
  2763 //!                1.- Create DevSound instance
       
  2764 //!                2.- Initialize DevSound ( Mode = EMMFStatePlaying; FourCC = MP3)
       
  2765 //!                3.- Set Priority settings (Priority = {Priority,PriorityAudioPlayback}; Preference = {PriorityPreference,PriorityPreferenceAudioPlayback}; PriorityState = EMMFStatePlaying)
       
  2766 //!                4.- Capabilities. Wait 10 seconds
       
  2767 //!                5.- Set Configuration (Channels = EMMFStereo; Rate = EMMFSampleRate44100Hz)
       
  2768 //!                6.- Open file (Filename = {drive,mmc}\multimedia\mmf\devsound\MP3\MP3_44.1k_128kbps_st_Test3.mp3)
       
  2769 //!                7.- Play 10 seconds
       
  2770 //!                8.- Stop
       
  2771 //!                9.- Close File
       
  2772 //!                10.- Destroy DevSound instance
       
  2773 //!@SYMTestStatus		Verified
       
  2774 //!@SYMTestPriority		High
       
  2775 //!@SYMTestExpectedResults
       
  2776 //!                44.1k audio playback during VoIP call - AMR-NB
       
  2777 //! TEST_BLOCK 001
       
  2778 //!                AMR-NB 8KHz mono playback as VoIPCall
       
  2779 //! TEST_BLOCK 002
       
  2780 //!                AMR-NB 8 KHz mono playback as VoIPCall
       
  2781 //! TEST_BLOCK 003
       
  2782 //!                MP3 44.1 KHz stereo playback as audio playback
       
  2783 //!@SYMTestType			CIT
       
  2784 
       
  2785 
       
  2786 	CONCURRENT
       
  2787 
       
  2788 
       
  2789 
       
  2790 	START_TEST_BLOCK	100	t_devsound	\multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_pr.ini
       
  2791 		CREATE_OBJECT	CMMFDevSound		devsound1
       
  2792 		COMMAND		devsound1		NewL
       
  2793 		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0020-0001-InitializeL_command02
       
  2794 		OUTSTANDING
       
  2795 		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSound-Comb_Pr-0020-0001-SetPrioritySettings_command03
       
  2796 		COMMAND		devsound1		Capabilities
       
  2797 		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0020-0001-SetConfigL_command05
       
  2798 		COMMAND		devsound1		OpenFile			MULTIMEDIA-MMF-DevSound-Comb_Pr-0020-0001-OpenFile_command06
       
  2799 		COMMAND		devsound1		PlayInitL
       
  2800 		ASYNC_DELAY  30000000 
       
  2801 		COMMAND		devsound1		Stop
       
  2802 		COMMAND		devsound1		CloseFile
       
  2803 		COMMAND		devsound1		~
       
  2804 	END_TEST_BLOCK
       
  2805 
       
  2806 
       
  2807 
       
  2808 	START_TEST_BLOCK	100	t_devsound	\multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_pr.ini
       
  2809 		CREATE_OBJECT	CMMFDevSound		devsound1
       
  2810 		COMMAND		devsound1		NewL
       
  2811 		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0020-0002-InitializeL_command02
       
  2812 		OUTSTANDING
       
  2813 		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSound-Comb_Pr-0020-0002-SetPrioritySettings_command03
       
  2814 		COMMAND		devsound1		Capabilities
       
  2815 		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0020-0002-SetConfigL_command05
       
  2816 		COMMAND		devsound1		ReplaceFile			MULTIMEDIA-MMF-DevSound-Comb_Pr-0020-0002-ReplaceFile_command06
       
  2817 		COMMAND		devsound1		RecordInitL
       
  2818 		ASYNC_DELAY  30000000 
       
  2819 		COMMAND		devsound1		Stop
       
  2820 		DELAY  5000000 
       
  2821 		COMMAND		devsound1		CloseFile
       
  2822 		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0020-0002-InitializeL_command10
       
  2823 		OUTSTANDING
       
  2824 		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSound-Comb_Pr-0020-0002-SetPrioritySettings_command11
       
  2825 		COMMAND		devsound1		Capabilities
       
  2826 		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0020-0002-SetConfigL_command13
       
  2827 		COMMAND		devsound1		OpenFile			MULTIMEDIA-MMF-DevSound-Comb_Pr-0020-0002-OpenFile_command14
       
  2828 		COMMAND		devsound1		PlayInitL
       
  2829 		OUTSTANDING
       
  2830 		COMMAND		devsound1		CloseFile
       
  2831 		COMMAND		devsound1		~
       
  2832 	END_TEST_BLOCK
       
  2833 
       
  2834 
       
  2835 
       
  2836 	START_TEST_BLOCK	100	t_devsound	\multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_pr.ini
       
  2837 		CREATE_OBJECT	CMMFDevSound		devsound1
       
  2838 		COMMAND		devsound1		NewL
       
  2839 		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0020-0003-InitializeL_command02
       
  2840 		OUTSTANDING
       
  2841 		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSound-Comb_Pr-0020-0003-SetPrioritySettings_command03
       
  2842 		COMMAND		devsound1		Capabilities
       
  2843 		DELAY  10000000 
       
  2844 		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0020-0003-SetConfigL_command05
       
  2845 		COMMAND		devsound1		OpenFile			MULTIMEDIA-MMF-DevSound-Comb_Pr-0020-0003-OpenFile_command06
       
  2846 		COMMAND		devsound1		PlayInitL
       
  2847 		ASYNC_DELAY  10000000 
       
  2848 		COMMAND		devsound1		Stop
       
  2849 		COMMAND		devsound1		CloseFile
       
  2850 		COMMAND		devsound1		~
       
  2851 	END_TEST_BLOCK
       
  2852 END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PR-0020
       
  2853 
       
  2854 
       
  2855 
       
  2856 
       
  2857 START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PR-0021
       
  2858 
       
  2859 //!@SYMTestCaseID		MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PR-0021
       
  2860 //!@SYMAPI
       
  2861 //! TEST_BLOCK 001
       
  2862 //!                CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState)
       
  2863 //!                CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref})
       
  2864 //!                CMMFDevSound::Capabilities()
       
  2865 //!                CMMFDevSound::SetConfigL(TMMFCapabilities {ref})
       
  2866 //!                CMMFDevSound::PlayInitL()
       
  2867 //! TEST_BLOCK 002
       
  2868 //!                CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState)
       
  2869 //!                CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref})
       
  2870 //!                CMMFDevSound::Capabilities()
       
  2871 //!                CMMFDevSound::SetConfigL(TMMFCapabilities {ref})
       
  2872 //!                CMMFDevSound::PlayInitL()
       
  2873 //!                CMMFDevSound::RecordInitL()
       
  2874 //! TEST_BLOCK 003
       
  2875 //!                CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState)
       
  2876 //!                CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref})
       
  2877 //!                CMMFDevSound::Capabilities()
       
  2878 //!                CMMFDevSound::SetConfigL(TMMFCapabilities {ref})
       
  2879 //!                CMMFDevSound::PlayInitL()
       
  2880 //!@SYMAuthor			ddamian
       
  2881 //!@SYMCreationDate		8/11/2008 
       
  2882 //!@SYMTestCaseDesc		8k audio playback during VoIP call - AMR-NB
       
  2883 //!@SYMTestActions
       
  2884 //! TEST_BLOCK 001
       
  2885 //!                1.- Create DevSound instance
       
  2886 //!                2.- Initialize DevSound ( Mode = EMMFStatePlaying; FourCC = AMR)
       
  2887 //!                3.- Set Priority settings (Priority = {Priority,PriorityVoipCallDown}; Preference = {PriorityPreference,PriorityPreferenceVoipCallDown}; PriorityState = EMMFStatePlaying)
       
  2888 //!                4.- Capabilities
       
  2889 //!                5.- Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz)
       
  2890 //!                6.- Open file (Filename = {drive,mmc}\multimedia\mmf\devsound\AMR-NB\AMRNB_8k_12.2kbps_mono_speech.amr)
       
  2891 //!                7.- Play 30 seconds
       
  2892 //!                8.- Stop
       
  2893 //!                9.- Close File
       
  2894 //!                10.- Destroy DevSound instance
       
  2895 //! TEST_BLOCK 002
       
  2896 //!                1.- Create DevSound instance
       
  2897 //!                2.- Initialize DevSound ( Mode = EMMFStateRecording; FourCC = AMR)
       
  2898 //!                3.- Set Priority settings (Priority = {Priority,PriorityVoipCallUp}; Preference = {PriorityPreference,PriorityPreferenceVoipCallUp}; PriorityState = EMMFStateRecording)
       
  2899 //!                4.- Capabilities
       
  2900 //!                5.- Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz)
       
  2901 //!                6.- Replace File (Filename = {drive,mmc}\multimedia\mmf\devsound\recording\PlayPCMDuringVoIPCallAMRNB.amr)
       
  2902 //!                7.- Record Init 30s
       
  2903 //!                8.- Stop and wait 5 sec.
       
  2904 //!                9.- Close File
       
  2905 //!                10.- Initialize DevSound ( Mode = EMMFStatePlaying; FourCC = AMR)
       
  2906 //!                11.- Set Priority settings (Priority ={Priority,PriorityAudioPlayback}; Preference = {PriorityPreference,PriorityPreferenceAudioPlayback}; PriorityState = EMMFStatePlaying)
       
  2907 //!                12.- Capabilities
       
  2908 //!                13.- Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz)
       
  2909 //!                14.- Open File (Filename = {drive,mmc}\multimedia\mmf\devsound\recording\PlayMP3DuringVoIPCallAMRNB.amr)
       
  2910 //!                15.- Play
       
  2911 //!                16.- Close file
       
  2912 //!                17.- Destroy DevSound instance
       
  2913 //! TEST_BLOCK 003
       
  2914 //!                1.- Create DevSound instance
       
  2915 //!                2.- Initialize DevSound ( Mode = EMMFStatePlaying; FourCC = {SpecialFourCC,RAW})
       
  2916 //!                3.- Set Priority settings (Priority = {Priority,PriorityAudioPlayback}; Preference = {PriorityPreference,PriorityPreferenceAudioPlayback}; PriorityState = EMMFStatePlaying)
       
  2917 //!                4.- Capabilities
       
  2918 //!                5.- Set Configuration (Channels = EMMFStereo; Rate = EMMFSampleRate8000Hz). Wait 10 seconds
       
  2919 //!                6.- Open file (Filename = {drive,mmc}\multimedia\mmf\devsound\PCM\PCM_8k_16b_signed_st_Test1.pcm)
       
  2920 //!                7.- Play 10 seconds
       
  2921 //!                8.- Stop
       
  2922 //!                9.- Close File
       
  2923 //!                10.- Destroy DevSound instance
       
  2924 //!@SYMTestStatus		Verified
       
  2925 //!@SYMTestPriority		High
       
  2926 //!@SYMTestExpectedResults
       
  2927 //!                8k audio playback during VoIP call - AMR-NB
       
  2928 //! TEST_BLOCK 001
       
  2929 //!                AMR-NB 8  KHz mono playback as VoIPCall
       
  2930 //! TEST_BLOCK 002
       
  2931 //!                AMR-NB mono playback as VoIPCall
       
  2932 //! TEST_BLOCK 003
       
  2933 //!                PCM 8 KHZ mono playback as audioplayback
       
  2934 //!@SYMTestType			CIT
       
  2935 
       
  2936 
       
  2937 	CONCURRENT
       
  2938 
       
  2939 
       
  2940 
       
  2941 	START_TEST_BLOCK	100	t_devsound	\multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_pr.ini
       
  2942 		CREATE_OBJECT	CMMFDevSound		devsound1
       
  2943 		COMMAND		devsound1		NewL
       
  2944 		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0021-0001-InitializeL_command02
       
  2945 		OUTSTANDING
       
  2946 		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSound-Comb_Pr-0021-0001-SetPrioritySettings_command03
       
  2947 		COMMAND		devsound1		Capabilities
       
  2948 		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0021-0001-SetConfigL_command05
       
  2949 		COMMAND		devsound1		OpenFile			MULTIMEDIA-MMF-DevSound-Comb_Pr-0021-0001-OpenFile_command06
       
  2950 		COMMAND		devsound1		PlayInitL
       
  2951 		ASYNC_DELAY  30000000 
       
  2952 		COMMAND		devsound1		Stop
       
  2953 		COMMAND		devsound1		CloseFile
       
  2954 		COMMAND		devsound1		~
       
  2955 	END_TEST_BLOCK
       
  2956 
       
  2957 
       
  2958 
       
  2959 	START_TEST_BLOCK	100	t_devsound	\multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_pr.ini
       
  2960 		CREATE_OBJECT	CMMFDevSound		devsound1
       
  2961 		COMMAND		devsound1		NewL
       
  2962 		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0021-0002-InitializeL_command02
       
  2963 		OUTSTANDING
       
  2964 		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSound-Comb_Pr-0021-0002-SetPrioritySettings_command03
       
  2965 		COMMAND		devsound1		Capabilities
       
  2966 		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0021-0002-SetConfigL_command05
       
  2967 		COMMAND		devsound1		ReplaceFile			MULTIMEDIA-MMF-DevSound-Comb_Pr-0021-0002-ReplaceFile_command06
       
  2968 		COMMAND		devsound1		RecordInitL
       
  2969 		ASYNC_DELAY  30000000 
       
  2970 		COMMAND		devsound1		Stop
       
  2971 		DELAY  5000000 
       
  2972 		COMMAND		devsound1		CloseFile
       
  2973 		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0021-0002-InitializeL_command10
       
  2974 		OUTSTANDING
       
  2975 		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSound-Comb_Pr-0021-0002-SetPrioritySettings_command11
       
  2976 		COMMAND		devsound1		Capabilities
       
  2977 		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0021-0002-SetConfigL_command13
       
  2978 		COMMAND		devsound1		OpenFile			MULTIMEDIA-MMF-DevSound-Comb_Pr-0021-0002-OpenFile_command14
       
  2979 		COMMAND		devsound1		PlayInitL
       
  2980 		OUTSTANDING
       
  2981 		COMMAND		devsound1		CloseFile
       
  2982 		COMMAND		devsound1		~
       
  2983 	END_TEST_BLOCK
       
  2984 
       
  2985 
       
  2986 
       
  2987 	START_TEST_BLOCK	100	t_devsound	\multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_pr.ini
       
  2988 		CREATE_OBJECT	CMMFDevSound		devsound1
       
  2989 		COMMAND		devsound1		NewL
       
  2990 		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0021-0003-InitializeL_command02
       
  2991 		OUTSTANDING
       
  2992 		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSound-Comb_Pr-0021-0003-SetPrioritySettings_command03
       
  2993 		COMMAND		devsound1		Capabilities
       
  2994 		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0021-0003-SetConfigL_command05
       
  2995 		DELAY  10000000 
       
  2996 		COMMAND		devsound1		OpenFile			MULTIMEDIA-MMF-DevSound-Comb_Pr-0021-0003-OpenFile_command06
       
  2997 		COMMAND		devsound1		PlayInitL
       
  2998 		ASYNC_DELAY  10000000 
       
  2999 		COMMAND		devsound1		Stop
       
  3000 		COMMAND		devsound1		CloseFile
       
  3001 		COMMAND		devsound1		~
       
  3002 	END_TEST_BLOCK
       
  3003 END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PR-0021
       
  3004 
       
  3005 
       
  3006 
       
  3007 
       
  3008 START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PR-0022
       
  3009 
       
  3010 //!@SYMTestCaseID		MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PR-0022
       
  3011 //!@SYMAPI
       
  3012 //! TEST_BLOCK 001
       
  3013 //!                CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState)
       
  3014 //!                CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref})
       
  3015 //!                CMMFDevSound::Capabilities()
       
  3016 //!                CMMFDevSound::SetConfigL(TMMFCapabilities {ref})
       
  3017 //!                CMMFDevSound::PlayInitL()
       
  3018 //! TEST_BLOCK 002
       
  3019 //!                CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState)
       
  3020 //!                CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref})
       
  3021 //!                CMMFDevSound::Capabilities()
       
  3022 //!                CMMFDevSound::SetConfigL(TMMFCapabilities {ref})
       
  3023 //!                CMMFDevSound::PlayInitL()
       
  3024 //!                CMMFDevSound::RecordInitL()
       
  3025 //!@SYMAuthor			ddamian
       
  3026 //!@SYMCreationDate		8/11/2008 
       
  3027 //!@SYMTestCaseDesc		Basic VoIP call - AMR-NB
       
  3028 //!@SYMTestActions
       
  3029 //! TEST_BLOCK 001
       
  3030 //!                1.- Create DevSound instance
       
  3031 //!                2.- Initialize DevSound ( Mode = EMMFStatePlaying; FourCC = AMR)
       
  3032 //!                3.- Set Priority settings (Priority = {Priority,PriorityVoipCallDown}; Preference = {PriorityPreference,PriorityPreferenceVoipCallDown}; PriorityState = EMMFStatePlaying)
       
  3033 //!                4.- Capabilities
       
  3034 //!                5.- Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz)
       
  3035 //!                6.- Open file (Filename = {drive,mmc}\multimedia\mmf\devsound\AMR-NB\AMRNB_8k_12.2kbps_mono_speech.amr)
       
  3036 //!                7.- Play 10 seconds
       
  3037 //!                8.- Stop
       
  3038 //!                9.- Close File
       
  3039 //!                10.- Destroy DevSound instance
       
  3040 //! TEST_BLOCK 002
       
  3041 //!                1.- Create DevSound instance
       
  3042 //!                2.- Initialize DevSound ( Mode = EMMFStateRecording; FourCC = AMR)
       
  3043 //!                3.- Set Priority settings (Priority = {Priority,PriorityVoipCallUp}; Preference = {PriorityPreference,PriorityPreferenceVoipCallUp}; PriorityState = EMMFStateRecording)
       
  3044 //!                4.- Capabilities
       
  3045 //!                5.- Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz)
       
  3046 //!                6.- Replace File (Filename = {drive,mmc}\multimedia\mmf\devsound\recording\PlayMP3DuringVoIPCallAMRNB.amr)
       
  3047 //!                7.- Record 10 sec.
       
  3048 //!                8.- Stop and wait 5 sec.
       
  3049 //!                9.- Close File
       
  3050 //!                10.- Initialize DevSound ( Mode = EMMFStatePlaying; FourCC = AMR)
       
  3051 //!                11.- Set Priority settings (Priority ={Priority,PriorityAudioPlayback}; Preference = {PriorityPreference,PriorityPreferenceAudioPlayback}; PriorityState = EMMFStatePlaying)
       
  3052 //!                12.- Capabilities
       
  3053 //!                13.- Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz)
       
  3054 //!                14.- Open File (Filename = {drive,mmc}\multimedia\mmf\devsound\recording\PlayMP3DuringVoIPCallAMRNB.amr)
       
  3055 //!                15.- Play
       
  3056 //!                16.- Close file
       
  3057 //!                17.- Destroy DevSound instance
       
  3058 //!@SYMTestStatus		Verified
       
  3059 //!@SYMTestPriority		High
       
  3060 //!@SYMTestExpectedResults
       
  3061 //!                Basic VoIP call - AMR-NB
       
  3062 //! TEST_BLOCK 001
       
  3063 //!                AMR-WB 8 KHZ mono playback as VoIPCall UP
       
  3064 //! TEST_BLOCK 002
       
  3065 //!                AMR-NB 8 KHz mono playback as VoIPCall UP
       
  3066 //!@SYMTestType			CIT
       
  3067 
       
  3068 
       
  3069 	CONCURRENT
       
  3070 
       
  3071 
       
  3072 
       
  3073 	START_TEST_BLOCK	100	t_devsound	\multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_pr.ini
       
  3074 		CREATE_OBJECT	CMMFDevSound		devsound1
       
  3075 		COMMAND		devsound1		NewL
       
  3076 		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0022-0001-InitializeL_command02
       
  3077 		OUTSTANDING
       
  3078 		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSound-Comb_Pr-0022-0001-SetPrioritySettings_command03
       
  3079 		COMMAND		devsound1		Capabilities
       
  3080 		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0022-0001-SetConfigL_command05
       
  3081 		COMMAND		devsound1		OpenFile			MULTIMEDIA-MMF-DevSound-Comb_Pr-0022-0001-OpenFile_command06
       
  3082 		COMMAND		devsound1		PlayInitL
       
  3083 		ASYNC_DELAY  10000000 
       
  3084 		COMMAND		devsound1		Stop
       
  3085 		COMMAND		devsound1		CloseFile
       
  3086 		COMMAND		devsound1		~
       
  3087 	END_TEST_BLOCK
       
  3088 
       
  3089 
       
  3090 
       
  3091 	START_TEST_BLOCK	100	t_devsound	\multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_pr.ini
       
  3092 		CREATE_OBJECT	CMMFDevSound		devsound1
       
  3093 		COMMAND		devsound1		NewL
       
  3094 		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0022-0002-InitializeL_command02
       
  3095 		OUTSTANDING
       
  3096 		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSound-Comb_Pr-0022-0002-SetPrioritySettings_command03
       
  3097 		COMMAND		devsound1		Capabilities
       
  3098 		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0022-0002-SetConfigL_command05
       
  3099 		COMMAND		devsound1		ReplaceFile			MULTIMEDIA-MMF-DevSound-Comb_Pr-0022-0002-ReplaceFile_command06
       
  3100 		COMMAND		devsound1		RecordInitL
       
  3101 		ASYNC_DELAY  10000000 
       
  3102 		COMMAND		devsound1		Stop
       
  3103 		DELAY  5000000 
       
  3104 		COMMAND		devsound1		CloseFile
       
  3105 		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0022-0002-InitializeL_command10
       
  3106 		OUTSTANDING
       
  3107 		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSound-Comb_Pr-0022-0002-SetPrioritySettings_command11
       
  3108 		COMMAND		devsound1		Capabilities
       
  3109 		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0022-0002-SetConfigL_command13
       
  3110 		COMMAND		devsound1		OpenFile			MULTIMEDIA-MMF-DevSound-Comb_Pr-0022-0002-OpenFile_command14
       
  3111 		COMMAND		devsound1		PlayInitL
       
  3112 		OUTSTANDING
       
  3113 		COMMAND		devsound1		CloseFile
       
  3114 		COMMAND		devsound1		~
       
  3115 	END_TEST_BLOCK
       
  3116 END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PR-0022
       
  3117 
       
  3118 
       
  3119 
       
  3120 
       
  3121 START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PR-0023
       
  3122 
       
  3123 //!@SYMTestCaseID		MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PR-0023
       
  3124 //!@SYMAPI
       
  3125 //! TEST_BLOCK 001
       
  3126 //!                CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState)
       
  3127 //!                CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref})
       
  3128 //!                CMMFDevSound::Capabilities()
       
  3129 //!                CMMFDevSound::SetConfigL(TMMFCapabilities {ref})
       
  3130 //!                CMMFDevSound::PlayInitL()
       
  3131 //! TEST_BLOCK 002
       
  3132 //!                CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState)
       
  3133 //!                CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref})
       
  3134 //!                CMMFDevSound::Capabilities()
       
  3135 //!                CMMFDevSound::SetConfigL(TMMFCapabilities {ref})
       
  3136 //!                CMMFDevSound::PlayInitL()
       
  3137 //!                CMMFDevSound::RecordInitL()
       
  3138 //!@SYMAuthor			ddamian
       
  3139 //!@SYMCreationDate		8/11/2008 
       
  3140 //!@SYMTestCaseDesc		Basic VoIP call - AMR-WB
       
  3141 //!@SYMTestActions
       
  3142 //! TEST_BLOCK 001
       
  3143 //!                1.- Create DevSound instance
       
  3144 //!                2.- Initialize DevSound ( Mode = EMMFStatePlaying; FourCC = AWB)
       
  3145 //!                3.- Set Priority settings (Priority = {Priority,PriorityVoipCallDown}; Preference = {PriorityPreference,PriorityPreferenceVoipCallDown}; PriorityState = EMMFStatePlaying)
       
  3146 //!                4.- Capabilities
       
  3147 //!                5.- Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate16000Hz)
       
  3148 //!                6.- Open file (Filename = {drive,mmc}\multimedia\mmf\devsound\AMR-WB\AMRWB_16k_23.85kbps_mono_speech.awb)
       
  3149 //!                7.- Play 10 sec
       
  3150 //!                8.- Stop
       
  3151 //!                9.- Close File
       
  3152 //!                10.- Destroy DevSound instance
       
  3153 //! TEST_BLOCK 002
       
  3154 //!                1.- Create DevSound instance
       
  3155 //!                2.- Initialize DevSound ( Mode = EMMFStateRecording; FourCC = AWB)
       
  3156 //!                3.- Set Priority settings (Priority = {Priority,PriorityVoipCallUp}; Preference = {PriorityPreference,PriorityPreferenceVoipCallUp}; PriorityState = EMMFStateRecording)
       
  3157 //!                4.- Capabilities
       
  3158 //!                5.- Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate16000Hz)
       
  3159 //!                6.- Replace File (Filename = {drive,mmc}\multimedia\mmf\devsound\recording\VoIPCallAMRNB.amr)
       
  3160 //!                7.- Record 10s
       
  3161 //!                8.- Stop and wait 5 sec.
       
  3162 //!                9.- Close File
       
  3163 //!                10.- Initialize DevSound ( Mode = EMMFStatePlaying; FourCC = AWB)
       
  3164 //!                11.- Set Priority settings (Priority ={Priority,PriorityAudioPlayback}; Preference = {PriorityPreference,PriorityPreferenceAudioPlayback}; PriorityState = EMMFStatePlaying)
       
  3165 //!                12.- Capabilities
       
  3166 //!                13.- Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate16000Hz)
       
  3167 //!                14.- Open File (Filename = {drive,mmc}\multimedia\mmf\devsound\recording\VoIPCallAMRNB.amr)
       
  3168 //!                15.- Play
       
  3169 //!                16.- Close file
       
  3170 //!                17.- Destroy DevSound instance
       
  3171 //!@SYMTestStatus		Verified
       
  3172 //!@SYMTestPriority		High
       
  3173 //!@SYMTestExpectedResults
       
  3174 //!                Basic VoIP call - AMR-WB
       
  3175 //! TEST_BLOCK 001
       
  3176 //!                AMR-WB mono playback as VoIPCDown
       
  3177 //! TEST_BLOCK 002
       
  3178 //!                AMR-NB record and playback as VoIPCallUp
       
  3179 //!@SYMTestType			CIT
       
  3180 
       
  3181 
       
  3182 	CONCURRENT
       
  3183 
       
  3184 
       
  3185 
       
  3186 	START_TEST_BLOCK	100	t_devsound	\multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_pr.ini
       
  3187 		CREATE_OBJECT	CMMFDevSound		devsound1
       
  3188 		COMMAND		devsound1		NewL
       
  3189 		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0023-0001-InitializeL_command02
       
  3190 		OUTSTANDING
       
  3191 		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSound-Comb_Pr-0023-0001-SetPrioritySettings_command03
       
  3192 		COMMAND		devsound1		Capabilities
       
  3193 		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0023-0001-SetConfigL_command05
       
  3194 		COMMAND		devsound1		OpenFile			MULTIMEDIA-MMF-DevSound-Comb_Pr-0023-0001-OpenFile_command06
       
  3195 		COMMAND		devsound1		PlayInitL
       
  3196 		ASYNC_DELAY  10000000 
       
  3197 		COMMAND		devsound1		Stop
       
  3198 		COMMAND		devsound1		CloseFile
       
  3199 		COMMAND		devsound1		~
       
  3200 	END_TEST_BLOCK
       
  3201 
       
  3202 
       
  3203 
       
  3204 	START_TEST_BLOCK	100	t_devsound	\multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_pr.ini
       
  3205 		CREATE_OBJECT	CMMFDevSound		devsound1
       
  3206 		COMMAND		devsound1		NewL
       
  3207 		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0023-0002-InitializeL_command02
       
  3208 		OUTSTANDING
       
  3209 		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSound-Comb_Pr-0023-0002-SetPrioritySettings_command03
       
  3210 		COMMAND		devsound1		Capabilities
       
  3211 		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0023-0002-SetConfigL_command05
       
  3212 		COMMAND		devsound1		ReplaceFile			MULTIMEDIA-MMF-DevSound-Comb_Pr-0023-0002-ReplaceFile_command06
       
  3213 		COMMAND		devsound1		RecordInitL
       
  3214 		ASYNC_DELAY  10000000 
       
  3215 		COMMAND		devsound1		Stop
       
  3216 		DELAY  5000000 
       
  3217 		COMMAND		devsound1		CloseFile
       
  3218 		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0023-0002-InitializeL_command10
       
  3219 		OUTSTANDING
       
  3220 		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSound-Comb_Pr-0023-0002-SetPrioritySettings_command11
       
  3221 		COMMAND		devsound1		Capabilities
       
  3222 		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0023-0002-SetConfigL_command13
       
  3223 		COMMAND		devsound1		OpenFile			MULTIMEDIA-MMF-DevSound-Comb_Pr-0023-0002-OpenFile_command14
       
  3224 		COMMAND		devsound1		PlayInitL
       
  3225 		OUTSTANDING
       
  3226 		COMMAND		devsound1		CloseFile
       
  3227 		COMMAND		devsound1		~
       
  3228 	END_TEST_BLOCK
       
  3229 END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PR-0023
       
  3230 
       
  3231 
       
  3232 
       
  3233 
       
  3234 START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PR-0024
       
  3235 
       
  3236 //!@SYMTestCaseID		MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PR-0024
       
  3237 //!@SYMAPI
       
  3238 //! TEST_BLOCK 001
       
  3239 //!                CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState)
       
  3240 //!                CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref})
       
  3241 //!                CMMFDevSound::Capabilities()
       
  3242 //!                CMMFDevSound::SetConfigL(TMMFCapabilities {ref})
       
  3243 //!                CMMFDevSound::PlayInitL()
       
  3244 //! TEST_BLOCK 002
       
  3245 //!                CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState)
       
  3246 //!                CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref})
       
  3247 //!                CMMFDevSound::Capabilities()
       
  3248 //!                CMMFDevSound::SetConfigL(TMMFCapabilities {ref})
       
  3249 //!                CMMFDevSound::PlayInitL()
       
  3250 //!                CMMFDevSound::RecordInitL()
       
  3251 //! TEST_BLOCK 003
       
  3252 //!                CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState)
       
  3253 //!                CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref})
       
  3254 //!                CMMFDevSound::Capabilities()
       
  3255 //!                CMMFDevSound::SetConfigL(TMMFCapabilities {ref})
       
  3256 //!                CMMFDevSound::PlayInitL()
       
  3257 //!@SYMAuthor			ddamian
       
  3258 //!@SYMCreationDate		8/11/2008 
       
  3259 //!@SYMTestCaseDesc		Calendar alarm during VoIP call
       
  3260 //!@SYMTestActions
       
  3261 //! TEST_BLOCK 001
       
  3262 //!                1.- Create DevSound instance
       
  3263 //!                2.- Initialize DevSound ( Mode = EMMFStatePlaying; FourCC = AMR)
       
  3264 //!                3.- Set Priority settings (Priority = {Priority,PriorityVoipCallDown}; Preference = {PriorityPreference,PriorityPreferenceVoipCallDown}; PriorityState = EMMFStatePlaying)
       
  3265 //!                4.- Capabilities
       
  3266 //!                5.- Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz)
       
  3267 //!                6.- Open file (Filename = {drive,mmc}\multimedia\mmf\devsound\AMR-NB\AMRNB_8k_12.2kbps_mono_speech.amr)
       
  3268 //!                7.- Play 20 seconds
       
  3269 //!                8.- Stop
       
  3270 //!                9.- Close File
       
  3271 //!                10.- Destroy DevSound instance
       
  3272 //! TEST_BLOCK 002
       
  3273 //!                1.- Create DevSound instance
       
  3274 //!                2.- Initialize DevSound ( Mode = EMMFStateRecording; FourCC = AMR)
       
  3275 //!                3.- Set Priority settings (Priority = {Priority,PriorityVoipCallUp}; Preference = {PriorityPreference,PriorityPreferenceVoipCallUp}; PriorityState = EMMFStateRecording)
       
  3276 //!                4.- Capabilities
       
  3277 //!                5.- Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz)
       
  3278 //!                6.- Replace File (Filename = {drive,mmc}\multimedia\mmf\devsound\recording\CalendarAlarmDuringVoIPCall.amr)
       
  3279 //!                7.- Record 20 sec.
       
  3280 //!                8.- Stop and wait 5 sec.
       
  3281 //!                9.- Close File
       
  3282 //!                10.- Initialize DevSound ( Mode = EMMFStatePlaying; FourCC = AMR)
       
  3283 //!                11.- Set Priority settings (Priority ={Priority,PriorityAudioPlayback}; Preference = {PriorityPreference,PriorityPreferenceAudioPlayback}; PriorityState = EMMFStatePlaying)
       
  3284 //!                12.- Capabilities
       
  3285 //!                13.- Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz)
       
  3286 //!                14.- Open File (Filename = {drive,mmc}\multimedia\mmf\devsound\recording\CalendarAlarmDuringVoIPCall.amr)
       
  3287 //!                15.- Play
       
  3288 //!                16.- Close file
       
  3289 //!                17.- Destroy DevSound instance
       
  3290 //! TEST_BLOCK 003
       
  3291 //!                1.- Create DevSound instance
       
  3292 //!                2.- Initialize DevSound ( Mode = EMMFStatePlaying; FourCC = MP3)
       
  3293 //!                3.- Set Priority settings (Priority = {Priority,PriorityCalendarAlarm}; Preference = {PriorityPreference,PriorityPreferenceCalendarAlarm}; PriorityState = EMMFStatePlaying)
       
  3294 //!                4.- Capabilities
       
  3295 //!                5.- Set Configuration (Channels = EMMFStereo; Rate = EMMFSampleRate44100Hz). Wait 10 seconds
       
  3296 //!                6.- Open file (Filename = {drive,mmc}\multimedia\mmf\devsound\MP3\MP3_44.1k_128kbps_st_Test3.mp3)
       
  3297 //!                7.- Play
       
  3298 //!                8.- Close File
       
  3299 //!                9.- Destroy DevSound instance
       
  3300 //!@SYMTestStatus		Verified
       
  3301 //!@SYMTestPriority		High
       
  3302 //!@SYMTestExpectedResults
       
  3303 //!                Calendar alarm during VoIP call
       
  3304 //! TEST_BLOCK 001
       
  3305 //!                AMR-NB playback as VoIPCallDown
       
  3306 //! TEST_BLOCK 002
       
  3307 //!                AMR-NB record and playback as VoIPCallUp
       
  3308 //! TEST_BLOCK 003
       
  3309 //!                MP3 playback as calendar alarm
       
  3310 //!@SYMTestType			CIT
       
  3311 
       
  3312 
       
  3313 	CONCURRENT
       
  3314 
       
  3315 
       
  3316 
       
  3317 	START_TEST_BLOCK	100	t_devsound	\multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_pr.ini
       
  3318 		CREATE_OBJECT	CMMFDevSound		devsound1
       
  3319 		COMMAND		devsound1		NewL
       
  3320 		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0024-0001-InitializeL_command02
       
  3321 		OUTSTANDING
       
  3322 		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSound-Comb_Pr-0024-0001-SetPrioritySettings_command03
       
  3323 		COMMAND		devsound1		Capabilities
       
  3324 		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0024-0001-SetConfigL_command05
       
  3325 		COMMAND		devsound1		OpenFile			MULTIMEDIA-MMF-DevSound-Comb_Pr-0024-0001-OpenFile_command06
       
  3326 		COMMAND		devsound1		PlayInitL
       
  3327 		ASYNC_DELAY  20000000 
       
  3328 		COMMAND		devsound1		Stop
       
  3329 		COMMAND		devsound1		CloseFile
       
  3330 		COMMAND		devsound1		~
       
  3331 	END_TEST_BLOCK
       
  3332 
       
  3333 
       
  3334 
       
  3335 	START_TEST_BLOCK	100	t_devsound	\multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_pr.ini
       
  3336 		CREATE_OBJECT	CMMFDevSound		devsound1
       
  3337 		COMMAND		devsound1		NewL
       
  3338 		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0024-0002-InitializeL_command02
       
  3339 		OUTSTANDING
       
  3340 		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSound-Comb_Pr-0024-0002-SetPrioritySettings_command03
       
  3341 		COMMAND		devsound1		Capabilities
       
  3342 		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0024-0002-SetConfigL_command05
       
  3343 		COMMAND		devsound1		ReplaceFile			MULTIMEDIA-MMF-DevSound-Comb_Pr-0024-0002-ReplaceFile_command06
       
  3344 		COMMAND		devsound1		RecordInitL
       
  3345 		ASYNC_DELAY  20000000 
       
  3346 		COMMAND		devsound1		Stop
       
  3347 		DELAY  5000000 
       
  3348 		COMMAND		devsound1		CloseFile
       
  3349 		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0024-0002-InitializeL_command10
       
  3350 		OUTSTANDING
       
  3351 		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSound-Comb_Pr-0024-0002-SetPrioritySettings_command11
       
  3352 		COMMAND		devsound1		Capabilities
       
  3353 		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0024-0002-SetConfigL_command13
       
  3354 		COMMAND		devsound1		OpenFile			MULTIMEDIA-MMF-DevSound-Comb_Pr-0024-0002-OpenFile_command14
       
  3355 		COMMAND		devsound1		PlayInitL
       
  3356 		OUTSTANDING
       
  3357 		COMMAND		devsound1		CloseFile
       
  3358 		COMMAND		devsound1		~
       
  3359 	END_TEST_BLOCK
       
  3360 
       
  3361 
       
  3362 
       
  3363 	START_TEST_BLOCK	100	t_devsound	\multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_pr.ini
       
  3364 		CREATE_OBJECT	CMMFDevSound		devsound1
       
  3365 		COMMAND		devsound1		NewL
       
  3366 		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0024-0003-InitializeL_command02
       
  3367 		OUTSTANDING
       
  3368 		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSound-Comb_Pr-0024-0003-SetPrioritySettings_command03
       
  3369 		COMMAND		devsound1		Capabilities
       
  3370 		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0024-0003-SetConfigL_command05
       
  3371 		DELAY  10000000 
       
  3372 		COMMAND		devsound1		OpenFile			MULTIMEDIA-MMF-DevSound-Comb_Pr-0024-0003-OpenFile_command06
       
  3373 		COMMAND		devsound1		PlayInitL
       
  3374 		OUTSTANDING
       
  3375 		COMMAND		devsound1		CloseFile
       
  3376 		COMMAND		devsound1		~
       
  3377 	END_TEST_BLOCK
       
  3378 END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PR-0024
       
  3379 
       
  3380 
       
  3381 
       
  3382 
       
  3383 START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PR-0025
       
  3384 
       
  3385 //!@SYMTestCaseID		MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PR-0025
       
  3386 //!@SYMAPI
       
  3387 //! TEST_BLOCK 001
       
  3388 //!                CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState)
       
  3389 //!                CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref})
       
  3390 //!                CMMFDevSound::Capabilities()
       
  3391 //!                CMMFDevSound::SetConfigL(TMMFCapabilities {ref})
       
  3392 //!                CMMFDevSound::PlayInitL()
       
  3393 //! TEST_BLOCK 002
       
  3394 //!                CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState)
       
  3395 //!                CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref})
       
  3396 //!                CMMFDevSound::Capabilities()
       
  3397 //!                CMMFDevSound::SetConfigL(TMMFCapabilities {ref})
       
  3398 //!                CMMFDevSound::PlayInitL()
       
  3399 //!                CMMFDevSound::RecordInitL()
       
  3400 //! TEST_BLOCK 003
       
  3401 //!                CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState)
       
  3402 //!                CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref})
       
  3403 //!                CMMFDevSound::Capabilities()
       
  3404 //!                CMMFDevSound::SetConfigL(TMMFCapabilities {ref})
       
  3405 //!                CMMFDevSound::PlayInitL()
       
  3406 //!@SYMAuthor			ddamian
       
  3407 //!@SYMCreationDate		8/11/2008 
       
  3408 //!@SYMTestCaseDesc		Incoming call during VoIP call
       
  3409 //!@SYMTestActions
       
  3410 //! TEST_BLOCK 001
       
  3411 //!                1.- Create DevSound instance
       
  3412 //!                2.- Initialize DevSound ( Mode = EMMFStatePlaying; FourCC = AMR)
       
  3413 //!                3.- Set Priority settings (Priority = {Priority,PriorityVoipCallDown}; Preference = {PriorityPreference,PriorityPreferenceVoipCallDown}; PriorityState = EMMFStatePlaying)
       
  3414 //!                4.- Capabilities
       
  3415 //!                5.- Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz)
       
  3416 //!                6.- Open file (Filename = {drive,mmc}\multimedia\mmf\devsound\AMR-NB\AMRNB_8k_12.2kbps_mono_speech.amr)
       
  3417 //!                7.- Play 20 sec
       
  3418 //!                8.- Stop
       
  3419 //!                9.- Close File
       
  3420 //!                10.- Destroy DevSound instance
       
  3421 //! TEST_BLOCK 002
       
  3422 //!                1.- Create DevSound instance
       
  3423 //!                2.- Initialize DevSound ( Mode = EMMFStateRecording; FourCC = AMR)
       
  3424 //!                3.- Set Priority settings (Priority = {Priority,PriorityVoipCallUp}; Preference = {PriorityPreference,PriorityPreferenceVoipCallUp}; PriorityState = EMMFStateRecording)
       
  3425 //!                4.- Capabilities
       
  3426 //!                5.- Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz)
       
  3427 //!                6.- Replace File (Filename = {drive,mmc}\multimedia\mmf\devsound\recording\PlayDTMFDuringWBVoIPCallNonSignaling.awb)
       
  3428 //!                7.- Record 20 sec.
       
  3429 //!                8.- Stop and wait 5 sec.
       
  3430 //!                9.- Close File
       
  3431 //!                10.- Initialize DevSound ( Mode = EMMFStatePlaying; FourCC = AMR)
       
  3432 //!                11.- Set Priority settings (Priority ={Priority,PriorityAudioPlayback}; Preference = {PriorityPreference,PriorityPreferenceAudioPlayback}; PriorityState = EMMFStatePlaying)
       
  3433 //!                12.- Capabilities
       
  3434 //!                13.- Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz)
       
  3435 //!                14.- Open File (Filename = {drive,mmc}\multimedia\mmf\devsound\recording\PlayDTMFDuringWBVoIPCallNonSignaling.awb)
       
  3436 //!                15.- Play
       
  3437 //!                16.- Close file
       
  3438 //!                17.- Destroy DevSound instance
       
  3439 //! TEST_BLOCK 003
       
  3440 //!                1.- Create DevSound instance
       
  3441 //!                2.- Initialize DevSound ( Mode = EMMFStateTonePlaying; FourCC = none)
       
  3442 //!                3.- Set Priority settings and wait 10 sec (Priority = {Priority,PriorityIncomingCall}; Preference = {PriorityPreference,PriorityPreferenceIncomingCall}; PriorityState = EMMFStateTonePlaying)
       
  3443 //!                4.- Play tone sequence (Filename = {drive,mmc}\multimedia\mmf\devsound\NRT\Nokia_ringing_tone.nrt)
       
  3444 //!                5.- Destroy DevSound instance
       
  3445 //!@SYMTestStatus		Verified
       
  3446 //!@SYMTestPriority		High
       
  3447 //!@SYMTestExpectedResults
       
  3448 //!                Incoming call during VoIP call
       
  3449 //! TEST_BLOCK 001
       
  3450 //!                AMR-NB playback as VoIPCallDown
       
  3451 //! TEST_BLOCK 002
       
  3452 //!                AMR-WB playback as VoIPCallUp
       
  3453 //! TEST_BLOCK 003
       
  3454 //!                NRT playback as incoming call
       
  3455 //!@SYMTestType			CIT
       
  3456 
       
  3457 
       
  3458 	CONCURRENT
       
  3459 
       
  3460 
       
  3461 
       
  3462 	START_TEST_BLOCK	100	t_devsound	\multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_pr.ini
       
  3463 		CREATE_OBJECT	CMMFDevSound		devsound1
       
  3464 		COMMAND		devsound1		NewL
       
  3465 		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0025-0001-InitializeL_command02
       
  3466 		OUTSTANDING
       
  3467 		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSound-Comb_Pr-0025-0001-SetPrioritySettings_command03
       
  3468 		COMMAND		devsound1		Capabilities
       
  3469 		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0025-0001-SetConfigL_command05
       
  3470 		COMMAND		devsound1		OpenFile			MULTIMEDIA-MMF-DevSound-Comb_Pr-0025-0001-OpenFile_command06
       
  3471 		COMMAND		devsound1		PlayInitL
       
  3472 		ASYNC_DELAY  20000000 
       
  3473 		COMMAND		devsound1		Stop
       
  3474 		COMMAND		devsound1		CloseFile
       
  3475 		COMMAND		devsound1		~
       
  3476 	END_TEST_BLOCK
       
  3477 
       
  3478 
       
  3479 
       
  3480 	START_TEST_BLOCK	100	t_devsound	\multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_pr.ini
       
  3481 		CREATE_OBJECT	CMMFDevSound		devsound1
       
  3482 		COMMAND		devsound1		NewL
       
  3483 		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0025-0002-InitializeL_command02
       
  3484 		OUTSTANDING
       
  3485 		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSound-Comb_Pr-0025-0002-SetPrioritySettings_command03
       
  3486 		COMMAND		devsound1		Capabilities
       
  3487 		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0025-0002-SetConfigL_command05
       
  3488 		COMMAND		devsound1		ReplaceFile			MULTIMEDIA-MMF-DevSound-Comb_Pr-0025-0002-ReplaceFile_command06
       
  3489 		COMMAND		devsound1		RecordInitL
       
  3490 		ASYNC_DELAY  20000000 
       
  3491 		COMMAND		devsound1		Stop
       
  3492 		DELAY  5000000 
       
  3493 		COMMAND		devsound1		CloseFile
       
  3494 		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0025-0002-InitializeL_command10
       
  3495 		OUTSTANDING
       
  3496 		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSound-Comb_Pr-0025-0002-SetPrioritySettings_command11
       
  3497 		COMMAND		devsound1		Capabilities
       
  3498 		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0025-0002-SetConfigL_command13
       
  3499 		COMMAND		devsound1		OpenFile			MULTIMEDIA-MMF-DevSound-Comb_Pr-0025-0002-OpenFile_command14
       
  3500 		COMMAND		devsound1		PlayInitL
       
  3501 		OUTSTANDING
       
  3502 		COMMAND		devsound1		CloseFile
       
  3503 		COMMAND		devsound1		~
       
  3504 	END_TEST_BLOCK
       
  3505 
       
  3506 
       
  3507 
       
  3508 	START_TEST_BLOCK	100	t_devsound	\multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_pr.ini
       
  3509 		CREATE_OBJECT	CMMFDevSound		devsound1
       
  3510 		COMMAND		devsound1		NewL
       
  3511 		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0025-0003-InitializeL_command02
       
  3512 		OUTSTANDING
       
  3513 		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSound-Comb_Pr-0025-0003-SetPrioritySettings_command03
       
  3514 		DELAY  10000000 
       
  3515 		COMMAND		devsound1		PlayToneSequenceL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0025-0003-PlayToneSequenceL_command04
       
  3516 		OUTSTANDING
       
  3517 		COMMAND		devsound1		~
       
  3518 	END_TEST_BLOCK
       
  3519 END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PR-0025
       
  3520 
       
  3521 
       
  3522 START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PR-0026
       
  3523 
       
  3524 //!@SYMTestCaseID		MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PR-0026
       
  3525 //!@SYMAPI
       
  3526 //! TEST_BLOCK 001
       
  3527 //!                CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState)
       
  3528 //!                CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref})
       
  3529 //!                CMMFDevSound::Capabilities()
       
  3530 //!                CMMFDevSound::SetConfigL(TMMFCapabilities {ref})
       
  3531 //!                CMMFDevSound::PlayInitL()
       
  3532 //!                CMMFDevSound::RecordInitL()
       
  3533 //!                CMMFDevSound::Stop()
       
  3534 //! TEST_BLOCK 002
       
  3535 //!                CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState)
       
  3536 //!                CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref})
       
  3537 //!                CMMFDevSound::Capabilities()
       
  3538 //!                CMMFDevSound::SetConfigL(TMMFCapabilities {ref})
       
  3539 //!                CMMFDevSound::PlayInitL()
       
  3540 //!                CMMFDevSound::RecordInitL()
       
  3541 //!                CMMFDevSound::Stop()
       
  3542 //!@SYMAuthor			jpacho
       
  3543 //!@SYMCreationDate		8/25/2008 
       
  3544 //!@SYMTestCaseDesc		Mix PCM recording with PCM recording
       
  3545 //!@SYMTestActions
       
  3546 //! TEST_BLOCK 001
       
  3547 //!                1. Create DevSound instance
       
  3548 //!                2. Replace file (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\MixRecPCMWithRecPCM1.pcm)
       
  3549 //!                3. Initialize Devsound ( Mode = EMMFStateRecording; FourCC={SpecialFourCC,RAW})
       
  3550 //!                4. Set priority settings ( Priority = {Priority,PriorityVoiceRecording}; Preference = {PriorityPreference,PriorityPreferenceVoiceRecording} ; PriorityState=EMMFStateRecording)
       
  3551 //!                5. Capabilities 
       
  3552 //!                6. Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz)
       
  3553 //!                7. Start record 30s
       
  3554 //!                8. Stop 5s
       
  3555 //!                9.Initialize Devsound ( Mode = EMMFStatePlaying; FourCC= P16)
       
  3556 //!                10.Capabilities 
       
  3557 //!                11.Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz)
       
  3558 //!                12.Set priority settings ( Priority = {Priority,PriorityAudioPlayback}; Preference = {PriorityPreference,PriorityPreferenceAudioPlayback}; PriorityState=EMMFStatePlaying)
       
  3559 //!                13. FileStartPosition
       
  3560 //!                14.Set expected error (ExpectedPlayError = -13)
       
  3561 //!                15.Star play
       
  3562 //!                16.Close file
       
  3563 //!                17.Destroy DevSound instance
       
  3564 //! TEST_BLOCK 002
       
  3565 //!                1. Create DevSound instance
       
  3566 //!                2. Replace file (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\MixRecPCMWithRecPCM2.pcm)
       
  3567 //!                3. Initialize Devsound ( Mode = EMMFStateRecording; FourCC= {SpecialFourCC,RAW})
       
  3568 //!                4. Set priority settings ( Priority = {Priority,PriorityVoiceRecording}; Preference = {PriorityPreference,PriorityPreferenceVoiceRecording} ; PriorityState=EMMFStateRecording)
       
  3569 //!                5. Capabilities 
       
  3570 //!                6. Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz)
       
  3571 //!                7. Set expected error (ExpectedRecordError = -21)
       
  3572 //!                8. Start record 10s
       
  3573 //!                9. Stop 50s
       
  3574 //!                10.Close file
       
  3575 //!                11.Open file (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\MixRecPCMWithRecPCM2.pcm) 
       
  3576 //!                12.Initialize Devsound ( Mode = EMMFStatePlaying; FourCC= {SpecialFourCC,RAW})
       
  3577 //!                13.Capabilities 
       
  3578 //!                14.Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz)
       
  3579 //!                15.Set priority settings ( Priority = {Priority,PriorityAudioPlayback}; Preference = {PriorityPreference,PriorityPreferenceAudioPlayback}; PriorityState=EMMFStatePlaying)
       
  3580 //!                16.Star play
       
  3581 //!                17.Close file
       
  3582 //!                18.Destroy DevSound instance
       
  3583 //!@SYMTestStatus		Delivered
       
  3584 //!@SYMTestPriority		High
       
  3585 //!@SYMTestExpectedResults
       
  3586 //!                Mix PCM recording with PCM recording
       
  3587 //! TEST_BLOCK 001
       
  3588 //!                PCM 8 KHz recording and playback
       
  3589 //! TEST_BLOCK 002
       
  3590 //!                PCM 8 KHz recording and playback
       
  3591 //!@SYMTestType			CIT
       
  3592 
       
  3593 
       
  3594 	CONCURRENT
       
  3595 
       
  3596 
       
  3597 
       
  3598 	START_TEST_BLOCK	900	t_devsound	\multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_pr.ini
       
  3599 		CREATE_OBJECT	CMMFDevSound		devsound1
       
  3600 		COMMAND		devsound1		NewL
       
  3601 		COMMAND		devsound1		ReplaceFile			MULTIMEDIA-MMF-DevSound-Comb_Pr-0026-0001-ReplaceFile_command02
       
  3602 		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0026-0001-InitializeL_command03
       
  3603 		OUTSTANDING
       
  3604 		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSound-Comb_Pr-0026-0001-SetPrioritySettings_command04
       
  3605 		COMMAND		devsound1		Capabilities
       
  3606 		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0026-0001-SetConfigL_command06
       
  3607         DELAY  5000000
       
  3608 		COMMAND		!AsyncError=-21    devsound1		RecordInitL
       
  3609 		ASYNC_DELAY  30000000 
       
  3610 		COMMAND		devsound1		Stop
       
  3611 		DELAY  5000000 
       
  3612 		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0026-0001-InitializeL_command09
       
  3613 		OUTSTANDING
       
  3614 		COMMAND		devsound1		Capabilities
       
  3615 		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0026-0001-SetConfigL_command11
       
  3616 		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSound-Comb_Pr-0026-0001-SetPrioritySettings_command12
       
  3617 		COMMAND		devsound1		FileStartPosition
       
  3618 		COMMAND		devsound1		PlayInitL
       
  3619 		OUTSTANDING
       
  3620 		COMMAND		devsound1		CloseFile
       
  3621 		COMMAND		devsound1		~
       
  3622 	END_TEST_BLOCK
       
  3623 
       
  3624 
       
  3625 
       
  3626 	START_TEST_BLOCK	900	t_devsound	\multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_pr.ini
       
  3627 		CREATE_OBJECT	CMMFDevSound		devsound2
       
  3628 		COMMAND		devsound2		NewL
       
  3629 		COMMAND		devsound2		ReplaceFile			MULTIMEDIA-MMF-DevSound-Comb_Pr-0026-0002-ReplaceFile_command02
       
  3630 		COMMAND		devsound2		InitializeL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0026-0002-InitializeL_command03
       
  3631 		OUTSTANDING
       
  3632 		COMMAND		devsound2		SetPrioritySettings			MULTIMEDIA-MMF-DevSound-Comb_Pr-0026-0002-SetPrioritySettings_command04
       
  3633 		COMMAND		devsound2		Capabilities
       
  3634 		COMMAND		devsound2		SetConfigL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0026-0002-SetConfigL_command06
       
  3635 		COMMAND		devsound2		RecordInitL
       
  3636 		ASYNC_DELAY  10000000 
       
  3637 		COMMAND		devsound2		Stop
       
  3638 		DELAY  50000000 
       
  3639 		COMMAND		devsound2		CloseFile
       
  3640 		COMMAND		devsound2		OpenFile			MULTIMEDIA-MMF-DevSound-Comb_Pr-0026-0002-OpenFile_command11
       
  3641 		COMMAND		devsound2		InitializeL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0026-0002-InitializeL_command12
       
  3642 		OUTSTANDING
       
  3643 		COMMAND		devsound2		Capabilities
       
  3644 		COMMAND		devsound2		SetConfigL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0026-0002-SetConfigL_command14
       
  3645 		COMMAND		devsound2		SetPrioritySettings			MULTIMEDIA-MMF-DevSound-Comb_Pr-0026-0002-SetPrioritySettings_command15
       
  3646 		COMMAND		devsound2		PlayInitL
       
  3647 		OUTSTANDING
       
  3648 		COMMAND		devsound2		CloseFile
       
  3649 		COMMAND		devsound2		~
       
  3650 	END_TEST_BLOCK
       
  3651 END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PR-0026
       
  3652 
       
  3653 
       
  3654 START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PR-0027
       
  3655 
       
  3656 //!@SYMTestCaseID		MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PR-0027
       
  3657 //!@SYMAPI
       
  3658 //! TEST_BLOCK 001
       
  3659 //!                CMMFDevSound::InitializeL(MDevSoundObserver{ref}, TFourCC , TMMFState)
       
  3660 //!                CMMFDevSound::SetPrioritySettings(const TMMFPrioritySettings{ref})
       
  3661 //!                CMMFDevSound::Capabilities()
       
  3662 //!                CMMFDevSound::SetConfigL(const TMMFCapabilities{ref})
       
  3663 //!                CMMFDevSound::PlayInitL()
       
  3664 //! TEST_BLOCK 002
       
  3665 //!                CMMFDevSound::InitializeL(MDevSoundObserver{ref}, TFourCC , TMMFState)
       
  3666 //!                CMMFDevSound::SetPrioritySettings(const TMMFPrioritySettings{ref})
       
  3667 //!                CMMFDevSound::Capabilities()
       
  3668 //!                CMMFDevSound::SetConfigL(const TMMFCapabilities{ref})
       
  3669 //!                CMMFDevSound::PlayInitL()
       
  3670 //!@SYMAuthor			fperez
       
  3671 //!@SYMCreationDate		9/8/2008 
       
  3672 //!@SYMTestCaseDesc		Voice recording during PoC downlink
       
  3673 //!@SYMTestActions
       
  3674 //! TEST_BLOCK 001
       
  3675 //!                1.  Create DevSound instance 
       
  3676 //!                2.  Initialize DevSound (Mode= EMMFStatePlaying; FourCC= AMR)
       
  3677 //!                3.  Set Priority (Priority= {Priority,PriorityPocCallDown}; Preference= {PriorityPreference,PriorityPreferencePocCallDown} ; PriorityState= EMMFStatePlaying)
       
  3678 //!                4.  Capabilities 
       
  3679 //!                5.  Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz)
       
  3680 //!                6.  Open file (Filename = {drive,mmc}\multimedia\mmf\devsound\AMR-NB\AMRNB_8k_12.2kbps_mono_speech.amr)
       
  3681 //!                7.  Play 20 seconds
       
  3682 //!                8.  Stop
       
  3683 //!                9. Close file
       
  3684 //!                10. Destroy DevSound instance
       
  3685 //!                
       
  3686 //! TEST_BLOCK 002
       
  3687 //!                1.  Create DevSound instance 
       
  3688 //!                2.  Initialize DevSound (Mode= EMMFStateRecording; FourCC= AMR)
       
  3689 //!                3.  Set Priority (Priority= {Priority,PriorityVoiceRecording}; Preference= {PriorityPreference,PriorityPreferenceVoiceRecording} ; PriorityState= EMMFStateRecording)
       
  3690 //!                4.  Capabilities 
       
  3691 //!                5.  Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz) and delay 10 seconds
       
  3692 //!                6.  ReplaceFile (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\RecAMRNBDuringPoCDownlink.amr)
       
  3693 //!                7.  Set Expected Error (ExpectedRecordError= -21)
       
  3694 //!                8.  Record
       
  3695 //!                9. Close file
       
  3696 //!                10. Destroy DevSound instance
       
  3697 //!@SYMTestStatus		Verified
       
  3698 //!@SYMTestPriority		High
       
  3699 //!@SYMTestExpectedResults
       
  3700 //!                Voice recording during PoC downlink
       
  3701 //! TEST_BLOCK 001
       
  3702 //!                PCM 44.1k stereo playback - Sine sweep
       
  3703 //! TEST_BLOCK 002
       
  3704 //!                MP3 Playback as audioplayback
       
  3705 //!@SYMTestType			CIT
       
  3706 
       
  3707 
       
  3708 	CONCURRENT
       
  3709 
       
  3710 
       
  3711 
       
  3712 	START_TEST_BLOCK	100	t_devsound	\multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_pr.ini
       
  3713 		CREATE_OBJECT	CMMFDevSound		devsound1
       
  3714 		COMMAND		devsound1		NewL
       
  3715 		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0027-0001-InitializeL_command02
       
  3716 		OUTSTANDING
       
  3717 		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSound-Comb_Pr-0027-0001-SetPrioritySettings_command03
       
  3718 		COMMAND		devsound1		Capabilities
       
  3719 		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0027-0001-SetConfigL_command05
       
  3720 		COMMAND		devsound1		OpenFile			MULTIMEDIA-MMF-DevSound-Comb_Pr-0027-0001-OpenFile_command06
       
  3721 		COMMAND		devsound1		PlayInitL
       
  3722 		ASYNC_DELAY  20000000 
       
  3723 		COMMAND		devsound1		Stop
       
  3724 		COMMAND		devsound1		CloseFile
       
  3725 		COMMAND		devsound1		~
       
  3726 	END_TEST_BLOCK
       
  3727 
       
  3728 
       
  3729 
       
  3730 	START_TEST_BLOCK	100	t_devsound	\multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_pr.ini
       
  3731 		CREATE_OBJECT	CMMFDevSound		devsound1
       
  3732 		COMMAND		devsound1		NewL
       
  3733 		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0027-0002-InitializeL_command02
       
  3734 		OUTSTANDING
       
  3735 		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSound-Comb_Pr-0027-0002-SetPrioritySettings_command03
       
  3736 		COMMAND		devsound1		Capabilities
       
  3737 		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSound-Comb_Pr-0027-0002-SetConfigL_command05
       
  3738 		DELAY  10000000 
       
  3739 		COMMAND		devsound1		ReplaceFile			MULTIMEDIA-MMF-DevSound-Comb_Pr-0027-0002-ReplaceFile_command06
       
  3740 		COMMAND		!AsyncError=-21    devsound1		RecordInitL
       
  3741 		ASYNC_DELAY  10000000 
       
  3742 		COMMAND		devsound1		CloseFile
       
  3743 		COMMAND		devsound1		~
       
  3744 	END_TEST_BLOCK
       
  3745 END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PR-0027