os/mm/mmapitest/devsoundexthaitest/scripts/multimedia-mmf-devsoundext-validation-automated-comb_pr.script
Update contrib.
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".
9 // Initial Contributors:
10 // Nokia Corporation - initial contribution.
18 //! @SYMTestSuiteName multimedia-mmf-devsoundext-validation-automated-comb_pr
19 //! @SYMScriptTestEnvironment This test script requires a basic ROM.
21 // Tests all public elements of the CMMFDevSound
22 // classes as a means of confidence that the APIs work as expected.
24 // The purpose is to provide a regression test suite of PublishedAll
25 // APIs for: CMMFDevSound
26 // The tests are fully automated.
31 LOAD_SUITE t_devsoundext
34 START_TESTCASE MULTIMEDIA-MMF-DEVSOUNDEXT-VALIDATION-AUTOMATED-COMB_PR-0002
36 //!@SYMTestCaseID MULTIMEDIA-MMF-DEVSOUNDEXT-VALIDATION-AUTOMATED-COMB_PR-0002
38 //! CMMFDevSound::PlayInitL()
39 //! CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC , TMMFState )
40 //! CAudioOutput::SetAudioOutputL( TAudioOutputPreference aAudioOutput = ENoPreference )
41 //! CAudioInput::SetAudioInputL(TAudioInputArray )
43 //! CMMFDevSound::PlayInitL()
44 //! CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC , TMMFState )
45 //! CAudioOutput::SetAudioOutputL( TAudioOutputPreference aAudioOutput = ENoPreference )
47 //! CMMFDevSound::PlayInitL()
48 //! CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC , TMMFState )
49 //! CAudioInput::SetAudioInputL(TAudioInputArray )
50 //!@SYMAuthor jguillermo
51 //!@SYMCreationDate 8/11/2008
52 //!@SYMTestCaseDesc Audio recording during secured audio playback when recording has higher priority
55 //! 1. Create DevSound instance
56 //! 2. Create AudioOutput instance (DevSoundInstanceName = devsound1)
57 //! 3. Set secure output (SecureOutput = 1)
58 //! 4. Initialize DevSound (Mode = EMMFStatePlaying; FourCC = MP3)
59 //! 5. Set Priority (Priority = {Priority,PriorityAudioPlayback}; Preference = {PriorityPreference,PriorityPreferenceAudioPlayback};PriorityState=EMMFStatePlaying)
61 //! 7. Set Configuration (Channels = EMMFStereo; Rate = EMMFSampleRate44100Hz)
62 //! 8. Open file (Filename = {drive,mmc}\multimedia\mmf\devsound\MP3\MP3_44.1k_128kbps_st_Test2.mp3)
65 //! 11. Delete AudioOutput instance
66 //! 12. Delete DevSound instance
68 //! 1. Create DevSound instance
69 //! 2. Create AudioInput instance (DevSoundInstanceName = devsound1)
70 //! 3. Initialize DevSound (Mode = EMMFStateRecording; FourCC = {SpecialFourCC,RAW})
71 //! 4. Set Priority (Priority = {Priority,PriorityIncomingCall}; Preference = {PriorityPreference,PriorityPreferenceAudioRecording};PriorityState=EMMFStateRecording)
73 //! 6. Set Configuration and delay for 10 seconds (Channels = EMMFMono; Rate = EMMFSampleRate48000Hz)
74 //! 7. Replace file (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\RecHigherDuringSecPlay.pcm)
75 //! 8. Set audio input (AudioInput = Input_OutputtoSpeaker)
76 //! 9. Record 10 seconds
79 //! 12. Delete AudioOutput instance
80 //! 13. Delete DevSound instance
81 //!@SYMTestStatus Verified
82 //!@SYMTestPriority High
83 //!@SYMTestExpectedResults
84 //! Audio recording during secured audio playback when recording has higher priority
86 //! Audio recording during secured audio playback when recording has higher priority_1
88 //! Audio recording during secured audio playback when recording has higher priority_2
96 START_TEST_BLOCK 100 t_devsoundext \multimedia\mmf\devsound\multimedia-mmf-devsoundext-validation-automated-comb_pr.ini
97 CREATE_OBJECT CMMFDevSound devsound1
98 CREATE_OBJECT CAudioOutput audiooutput1
99 COMMAND devsound1 NewL
100 COMMAND audiooutput1 NewL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0002-0001-NewL_command02
101 COMMAND audiooutput1 SetSecureOutput MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0002-0001-SetSecureOutput_command03
102 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0002-0001-InitializeL_command04
104 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0002-0001-SetPrioritySettings_command05
105 COMMAND devsound1 Capabilities
106 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0002-0001-SetConfigL_command07
107 COMMAND devsound1 OpenFile MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0002-0001-OpenFile_command08
108 COMMAND devsound1 PlayInitL
110 COMMAND devsound1 CloseFile
111 COMMAND audiooutput1 ~
117 START_TEST_BLOCK 100 t_devsoundext \multimedia\mmf\devsound\multimedia-mmf-devsoundext-validation-automated-comb_pr.ini
118 CREATE_OBJECT CMMFDevSound devsound1
119 CREATE_OBJECT CAudioInput audioinput1
120 COMMAND devsound1 NewL
121 COMMAND audioinput1 NewL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0002-0002-NewL_command02
122 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0002-0002-InitializeL_command03
124 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0002-0002-SetPrioritySettings_command04
125 COMMAND devsound1 Capabilities
126 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0002-0002-SetConfigL_command06
128 COMMAND devsound1 ReplaceFile MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0002-0002-ReplaceFile_command07
129 COMMAND audioinput1 SetAudioInput MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0002-0002-SetAudioInput_command08
130 COMMAND devsound1 RecordInitL
132 COMMAND devsound1 Stop
133 COMMAND devsound1 CloseFile
134 COMMAND audioinput1 ~
137 END_TESTCASE MULTIMEDIA-MMF-DEVSOUNDEXT-VALIDATION-AUTOMATED-COMB_PR-0002
142 START_TESTCASE MULTIMEDIA-MMF-DEVSOUNDEXT-VALIDATION-AUTOMATED-COMB_PR-0003
144 //!@SYMTestCaseID MULTIMEDIA-MMF-DEVSOUNDEXT-VALIDATION-AUTOMATED-COMB_PR-0003
147 //! CMMFDevSound:: InitializeL(MDevSoundObserver {ref}, TFourCC , TMMFState )
148 //! CAudioOutput::SetAudioOutputL( TAudioOutputPreference aAudioOutput = ENoPreference )
150 //! CMMFDevSound:: InitializeL(MDevSoundObserver {ref}, TFourCC , TMMFState )
152 //!@SYMCreationDate 8/25/2008
153 //!@SYMTestCaseDesc Recording with visualization preferences during secured audio playback
156 //! 1. Create DevSound instance
157 //! 2. CreateAudioOutput instance (DevSoundInstanceName=devsound1)
158 //! 3. Open file (Filename = {drive,mmc}\multimedia\mmf\devsound\PCM\PCM_48k_16b_signed_st_Test1.pcm)
159 //! 4. Set secure output (SecureOutput=1)
160 //! 5. Initialize DevSound (Mode = EMMFStatePlaying; FourCC = {SpecialFourCC,RAW})
161 //! 6. Set Priority (Priority = {Priority,PriorityAudioPlayback}; Preference = {PriorityPreference,PriorityPreferenceAudioPlayback};PriorityState=EMMFStatePlaying)
163 //! 8. Set Configuration (Channels = EMMFStereo; Rate = EMMFSampleRate48000Hz)
167 //! 12. Destroy AudioOutput instance
168 //! 13. Destroy DevSound instance
172 //! 1. Create DevSound instance
173 //! 2. Replace file (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\VisRecordDuringSecPlay.pcm)
174 //! 3. Initialize DevSound (Mode = EMMFStateRecording; FourCC = {SpecialFourCC,RAW})
175 //! 4. Set Priority (Priority = {Priority,PriorityVisualization}; Preference = {PriorityPreference,PriorityPreferenceVisualization};PriorityState=EMMFStateRecording)
177 //! 6. Set Configuration delay 10s (Channels = EMMFMono; Rate = EMMFSampleRate48000Hz)
178 //! 7. Start record 20s
180 //! 9.Destroy DevSound instance
183 //!@SYMTestStatus Verified
184 //!@SYMTestPriority High
185 //!@SYMTestExpectedResults 1, in TestBlock 001, step 9, Play without error.
186 //! 2, in TestBlock 002, step 7, record return expected error -21.
194 START_TEST_BLOCK 90 t_devsoundext \multimedia\mmf\devsound\multimedia-mmf-devsoundext-validation-automated-comb_pr.ini
195 CREATE_OBJECT CMMFDevSound devsound1
196 CREATE_OBJECT CAudioOutput audiooutput1
197 COMMAND devsound1 NewL
198 COMMAND audiooutput1 NewL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0003-0001-NewL_command02
199 COMMAND devsound1 OpenFile MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0003-0001-OpenFile_command03
200 COMMAND audiooutput1 SetSecureOutput MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0003-0001-SetSecureOutput_command04
201 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0003-0001-InitializeL_command05
203 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0003-0001-SetPrioritySettings_command06
204 COMMAND devsound1 Capabilities
205 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0003-0001-SetConfigL_command08
206 COMMAND devsound1 PlayInitL
208 COMMAND devsound1 Stop
209 COMMAND devsound1 CloseFile
210 COMMAND audiooutput1 ~
216 START_TEST_BLOCK 90 t_devsoundext \multimedia\mmf\devsound\multimedia-mmf-devsoundext-validation-automated-comb_pr.ini
217 CREATE_OBJECT CMMFDevSound devsound1
218 COMMAND devsound1 NewL
219 COMMAND devsound1 ReplaceFile MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0003-0002-ReplaceFile_command02
220 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0003-0002-InitializeL_command03
222 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0003-0002-SetPrioritySettings_command04
223 COMMAND devsound1 Capabilities
224 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0003-0002-SetConfigL_command06
226 COMMAND !AsyncError=-21 devsound1 RecordInitL
228 COMMAND devsound1 CloseFile
231 END_TESTCASE MULTIMEDIA-MMF-DEVSOUNDEXT-VALIDATION-AUTOMATED-COMB_PR-0003
234 START_TESTCASE MULTIMEDIA-MMF-DEVSOUNDEXT-VALIDATION-AUTOMATED-COMB_PR-0004
236 //!@SYMTestCaseID MULTIMEDIA-MMF-DEVSOUNDEXT-VALIDATION-AUTOMATED-COMB_PR-0004
238 //! CMMFDevSound:: InitializeL(MDevSoundObserver {ref}, TFourCC , TMMFState )
239 //! CMMFDevSound:: PlayInitL()
240 //! CMMFDevSound:: RecordInitL()
242 //! CMMFDevSound:: InitializeL(MDevSoundObserver {ref}, TFourCC , TMMFState )
243 //! CMMFDevSound:: PlayInitL()
244 //! CMMFDevSound:: RecordInitL()
245 //! CAudioInput::SetAudioInputL(TAudioInputArray )
247 //! CMMFDevSound:: InitializeL(MDevSoundObserver {ref}, TFourCC , TMMFState )
248 //! CMMFDevSound:: PlayInitL()
249 //! CMMFDevSound:: RecordInitL()
250 //! CAudioInput::SetAudioInputL(TAudioInputArray )
252 //! CMMFDevSound:: InitializeL(MDevSoundObserver {ref}, TFourCC , TMMFState )
253 //! CMMFDevSound:: PlayInitL()
254 //! CAudioOutput::SetAudioOutputL( TAudioOutputPreference aAudioOutput = ENoPreference )
255 //!@SYMAuthor jguillermo
256 //!@SYMCreationDate 8/25/2008
257 //!@SYMTestCaseDesc Secured audio playback during multiple recordings
260 //! 1. Create DevSound instance
261 //! 2. Create AudioInput instance (DevSoundInstanceName = devsound1)
262 //! 3. Initialize DevSound (Mode = EMMFStateRecording; FourCC = {SpecialFourCC,RAW})
263 //! 4. Set Priority (Priority = {Priority,PriorityVisualization}; Preference = {PriorityPreference,PriorityPreferenceAudioRecording} ; PriorityState=EMMFStateRecording)
265 //! 6. Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate48000Hz)
266 //! 7. Replace file (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\SecPlayDuringMultipleRecordings1.pcm)
267 //! 8. Set audio input (AudioInput = Input_OutputtoSpeaker)
268 //! 9. Record 30 seconds
270 //! 11. Delete AudioInput instance
271 //! 12. Delete DevSound instance
273 //! 1. Create DevSound instance
274 //! 2. Create AudioInput instance (DevSoundInstanceName = devsound1)
275 //! 3. Initialize DevSound (Mode = EMMFStateRecording; FourCC = {SpecialFourCC,RAW})
276 //! 4. Set Priority (Priority = {Priority,PriorityVisualization}; Preference = {PriorityPreference,PriorityPreferenceAudioRecording} ; PriorityState=EMMFStateRecording)
278 //! 6. Set Configuration and delay 10 seconds(Channels = EMMFMono; Rate = EMMFSampleRate48000Hz)
279 //! 7. Replace file (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\SecPlayDuringMultipleRecordings2.pcm)
280 //! 8. Set audio input (AudioInput = Input_OutputtoSpeaker)
281 //! 9. Record 20 seconds
283 //! 11. Delete AudioInput instance
284 //! 12. Delete DevSound instance
286 //! 1. Create DevSound instance
287 //! 2. Create AudioOutput instance (DevSoundInstanceName = devsound1)
288 //! 3. Initialize DevSound (Mode = EMMFStatePlaying; FourCC = {SpecialFourCC,RAW})
289 //! 4. Set Priority (Priority = {Priority,PriorityAudioPlayback}; Preference = {PriorityPreference,PriorityPreferenceSWISPlayback} ; PriorityState=EMMFStatePlaying)
291 //! 6. Set Configuration and delay 20 seconds(Channels = EMMFStereo; Rate = EMMFSampleRate44100Hz)
292 //! 7. Open file (Filename = {drive,mmc}\multimedia\mmf\devsound\MP3\MP3_44.1k_128kbps_st_Test2.mp3)
293 //! 8. Set secure output (SecureOutput = 1)
294 //! 9. Play 10 seconds
297 //! 12. Delete AudioOutput instance
298 //! 13. Delete DevSound instance
299 //!@SYMTestStatus Verified
300 //!@SYMTestPriority High
301 //!@SYMTestExpectedResults
302 //! AA_Secured audio playback during multiple recordings
304 //! AA_Secured audio playback during multiple recordings
306 //! AA_Secured audio playback during multiple recordings
308 //! AA_Secured audio playback during multiple recordings
316 START_TEST_BLOCK 300 t_devsoundext \multimedia\mmf\devsound\multimedia-mmf-devsoundext-validation-automated-comb_pr.ini
317 CREATE_OBJECT CMMFDevSound devsound2
318 CREATE_OBJECT CAudioInput audioinput2
319 COMMAND devsound2 NewL
320 COMMAND audioinput2 NewL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0004-0001-NewL_command02
321 COMMAND devsound2 InitializeL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0004-0001-InitializeL_command03
323 COMMAND devsound2 SetPrioritySettings MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0004-0001-SetPrioritySettings_command04
324 COMMAND devsound2 Capabilities
325 COMMAND devsound2 SetConfigL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0004-0001-SetConfigL_command06
326 COMMAND devsound2 ReplaceFile MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0004-0001-ReplaceFile_command07
327 COMMAND audioinput2 SetAudioInput MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0004-0001-SetAudioInput_command08
328 COMMAND !AsyncError=-13 devsound2 RecordInitL
330 COMMAND devsound2 Stop
331 COMMAND devsound2 CloseFile
332 COMMAND audioinput2 ~
338 START_TEST_BLOCK 300 t_devsoundext \multimedia\mmf\devsound\multimedia-mmf-devsoundext-validation-automated-comb_pr.ini
339 CREATE_OBJECT CMMFDevSound devsound3
340 CREATE_OBJECT CAudioInput audioinput3
341 COMMAND devsound3 NewL
342 COMMAND audioinput3 NewL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0004-0002-NewL_command02
343 COMMAND devsound3 InitializeL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0004-0002-InitializeL_command03
345 COMMAND devsound3 SetPrioritySettings MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0004-0002-SetPrioritySettings_command04
346 COMMAND devsound3 Capabilities
347 COMMAND devsound3 SetConfigL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0004-0002-SetConfigL_command06
349 COMMAND devsound3 ReplaceFile MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0004-0002-ReplaceFile_command07
350 COMMAND audioinput3 SetAudioInput MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0004-0002-SetAudioInput_command08
351 COMMAND !AsyncError=-21 devsound3 RecordInitL
353 COMMAND devsound3 CloseFile
354 COMMAND audioinput3 ~
360 START_TEST_BLOCK 300 t_devsoundext \multimedia\mmf\devsound\multimedia-mmf-devsoundext-validation-automated-comb_pr.ini
361 CREATE_OBJECT CMMFDevSound devsound1
362 CREATE_OBJECT CAudioOutput audiooutput1
363 COMMAND devsound1 NewL
364 COMMAND audiooutput1 NewL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0004-0003-NewL_command02
365 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0004-0003-InitializeL_command03
367 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0004-0003-SetPrioritySettings_command04
368 COMMAND devsound1 Capabilities
369 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0004-0003-SetConfigL_command06
371 COMMAND devsound1 OpenFile MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0004-0003-OpenFile_command07
372 COMMAND audiooutput1 SetSecureOutput MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0004-0003-SetSecureOutput_command08
373 COMMAND devsound1 PlayInitL
375 COMMAND devsound1 Stop
376 COMMAND devsound1 CloseFile
377 COMMAND audiooutput1 ~
380 END_TESTCASE MULTIMEDIA-MMF-DEVSOUNDEXT-VALIDATION-AUTOMATED-COMB_PR-0004
384 START_TESTCASE MULTIMEDIA-MMF-DEVSOUNDEXT-VALIDATION-AUTOMATED-COMB_PR-0006
386 //!@SYMTestCaseID MULTIMEDIA-MMF-DEVSOUNDEXT-VALIDATION-AUTOMATED-COMB_PR-0006
388 //! CMMFDevSound:: InitializeL(MDevSoundObserver {ref}, TFourCC , TMMFState )
389 //! CMMFDevSound:: PlayInitL()
390 //! CMMFDevSound:: RecordInitL()
392 //! CMMFDevSound:: InitializeL(MDevSoundObserver {ref}, TFourCC , TMMFState )
393 //! CMMFDevSound:: PlayInitL()
394 //! CMMFDevSound:: RecordInitL()
395 //! CAudioInput::SetAudioInputL(TAudioInputArray )
397 //! CMMFDevSound:: InitializeL(MDevSoundObserver {ref}, TFourCC , TMMFState )
398 //! CMMFDevSound:: PlayInitL()
399 //! CAudioOutput::SetAudioOutputL( TAudioOutputPreference aAudioOutput = ENoPreference )
400 //!@SYMAuthor jguillermo
401 //!@SYMCreationDate 8/25/2008
402 //!@SYMTestCaseDesc Secured SWIS playback during audio recording when recording has higher priority
405 //! 1. Create DevSound instance
406 //! 2. Create AudioInput instance (DevSoundInstanceName = devsound1)
407 //! 3. Initialize DevSound (Mode = EMMFStateRecording; FourCC ={SpecialFourCC,RAW})
408 //! 4. Set Priority (Priority = {Priority,PriorityIncomingCall}; Preference = {PriorityPreference,PriorityPreferenceAudioRecording};PriorityState=EMMFStateRecording)
410 //! 6. Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate48000Hz)
411 //! 7. Replace file (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\SecPlayDuringRecHigher.pcm)
412 //! 8. Set audio input (AudioInput = Input_OutputtoSpeaker)
413 //! 9. Record 20 seconds
416 //! 12. Delete AudioInput instance
417 //! 13. Delete DevSound instance
419 //! 1. Create DevSound instance
420 //! 2. Create AudioOutput instance (DevSoundInstanceName = devsound1)
421 //! 3. Initialize DevSound (Mode = EMMFStatePlaying; FourCC = MP3 )
422 //! 4. Set Priority (Priority = {Priority,PrioritySWISPlayback}; Preference = {PriorityPreference,PriorityPreferenceSWISPlayback};PriorityState=EMMFStatePlaying)
424 //! 6. Set Configuration and delay 10 seconds(Channels = EMMFStereo; Rate = EMMFSampleRate44100Hz)
425 //! 7. Open file (Filename = {drive,mmc}\multimedia\mmf\devsound\MP3\MP3_44.1k_128kbps_st_Test2.mp3)
426 //! 8. Set secure output (SecureOutput = 1)
429 //! 11. Delete AudioOutput instance
430 //! 12. Delete DevSound instance
431 //!@SYMTestStatus Verified
432 //!@SYMTestPriority High
433 //!@SYMTestExpectedResults
434 //! AA_Secured SWIS playback during audio recording when recording has higher priority
436 //! AA_Secured SWIS playback during audio recording when recording has higher priority
438 //! AA_Secured SWIS playback during audio recording when recording has higher priority
446 START_TEST_BLOCK 100 t_devsoundext \multimedia\mmf\devsound\multimedia-mmf-devsoundext-validation-automated-comb_pr.ini
447 CREATE_OBJECT CMMFDevSound devsound1
448 CREATE_OBJECT CAudioInput audioinput1
449 COMMAND devsound1 NewL
450 COMMAND audioinput1 NewL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0006-0001-NewL_command02
451 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0006-0001-InitializeL_command03
453 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0006-0001-SetPrioritySettings_command04
454 COMMAND devsound1 Capabilities
455 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0006-0001-SetConfigL_command06
456 COMMAND devsound1 ReplaceFile MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0006-0001-ReplaceFile_command07
457 COMMAND audioinput1 SetAudioInput MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0006-0001-SetAudioInput_command08
458 COMMAND devsound1 RecordInitL
460 COMMAND devsound1 Stop
461 COMMAND devsound1 CloseFile
462 COMMAND audioinput1 ~
468 START_TEST_BLOCK 100 t_devsoundext \multimedia\mmf\devsound\multimedia-mmf-devsoundext-validation-automated-comb_pr.ini
469 CREATE_OBJECT CMMFDevSound devsound1
470 CREATE_OBJECT CAudioOutput audiooutput1
471 COMMAND devsound1 NewL
472 COMMAND audiooutput1 NewL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0006-0002-NewL_command02
473 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0006-0002-InitializeL_command03
475 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0006-0002-SetPrioritySettings_command04
476 COMMAND devsound1 Capabilities
477 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0006-0002-SetConfigL_command06
479 COMMAND devsound1 OpenFile MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0006-0002-OpenFile_command07
480 COMMAND audiooutput1 SetSecureOutput MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0006-0002-SetSecureOutput_command08
481 COMMAND !AsyncError=-21 devsound1 PlayInitL
483 COMMAND devsound1 CloseFile
484 COMMAND audiooutput1 ~
487 END_TESTCASE MULTIMEDIA-MMF-DEVSOUNDEXT-VALIDATION-AUTOMATED-COMB_PR-0006
492 START_TESTCASE MULTIMEDIA-MMF-DEVSOUNDEXT-VALIDATION-AUTOMATED-COMB_PR-0007
494 //!@SYMTestCaseID MULTIMEDIA-MMF-DEVSOUNDEXT-VALIDATION-AUTOMATED-COMB_PR-0007
497 //! CMMFDevSound::InitializeL(MDevSoundObserver{ref}, TFourCC, TMMFState)
498 //! CMMFDevSound::SetPrioritySettings(const TMMFPrioritySettings{ref})
499 //! CMMFDevSound::Capabilities()
500 //! CMMFDevSound::SetConfigL(const TMMFCapabilities{ref})
501 //! CMMFDevSound::PlayInitL()
502 //! CMMFDevSound::Stop()
504 //! CMMFDevSound::InitializeL(MDevSoundObserver{ref}, TFourCC, TMMFState)
505 //! CMMFDevSound::SetPrioritySettings(const TMMFPrioritySettings{ref})
506 //! CMMFDevSound::Capabilities()
507 //! CMMFDevSound::SetConfigL(const TMMFCapabilities{ref})
508 //! CMMFAudioInput::SetAudioInputL(TAudioInputArray{ref})
509 //! CMMFDevSound::RecordInitL()
510 //! CMMFDevSound::Stop()
511 //! CMMFDevSound::PlayInitL()
514 //!@SYMCreationDate 8/25/2008
515 //!@SYMTestCaseDesc Audio routing - Audio playback 16k mono recording from speaker
518 //! 1. Create Devsound Instance
519 //! 2. Open File (Filename = {drive,mmc}\multimedia\mmf\devsound\MP3\MP3_48k_256kbps_st_1kHzsine_st2mono.mp3)
520 //! 3. Initialize DevSound (Mode = EMMFStatePlaying; FourCC = MP3)
521 //! 4. Set Priority (Priority = {Priority,PriorityAudioPlayback}; Preference = {PriorityPreference,PriorityPreferenceNone};PriorityState=EMMFStatePlaying)
523 //! 6. Set Configuration (Channels = EMMFStereo; Rate = EMMFSampleRate48000Hz)
524 //! 7. Start Play for 20 seconds
527 //! 10. Destroy Devsound Instance
530 //! 1. Create DevSound Instance
531 //! 2. Create AudioInput Instance (DevSoundInstanceName = devsound1)
532 //! 3. Replace File (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\RoutingPlay16kMonoRecSpeaker.pcm)
533 //! 4. Initialize DevSound (Mode = EMMFStateRecording; FourCC = P16)
534 //! 5. Set Priority (Priority = {Priority,PriorityVoiceRecording}; Preference = {PriorityPreference,PriorityPreferenceVoiceRecording};PriorityState=EMMFStateRecording)
536 //! 7. Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate16000Hz)
537 //! 8. Stop for 10 seconds
538 //! 9. Set Audio Input (AudioInput = Input_OutputtoSpeaker)
539 //! 10. Start Record for 20 seconds
540 //! 11. Stop for 5 seconds
542 //! 13. Open File (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\RoutingPlay16kMonoRecSpeaker.pcm)
543 //! 14. 12. Initialize DevSound (Mode = EMMFStatePlaying; FourCC = P16)
544 //! 15. 13. Set Priority (Priority = {Priority,PriorityAudioPlayback}; Preference = {PriorityPreference,PriorityPreferenceAudioPlayback};PriorityState=EMMFStatePlaying)
545 //! 16. 14. Capabilities
546 //! 17. 15. Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate16000Hz)
547 //! 18. 17. Start Play
548 //! 19. 18. Close File
549 //! 20. 19. Destroy AudioInput Instance
550 //! 21. Destroy DevSound Instance
551 //!@SYMTestStatus Verified
552 //!@SYMTestPriority High
553 //!@SYMTestExpectedResults
554 //! Audio playback 16k mono recording from speaker
556 //! Play MP3 File with Audio Playback Priority and NonePreference, Expecting Error -13
558 //! Record with Voice Recording Priority and Voice Recording Preference; Play with Audio PLayback Priority and Audio PLayback Preference
566 START_TEST_BLOCK 60 t_devsoundext \multimedia\mmf\devsound\multimedia-mmf-devsoundext-validation-automated-comb_pr.ini
567 CREATE_OBJECT CMMFDevSound devsound1
568 COMMAND devsound1 NewL
569 COMMAND devsound1 OpenFile MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0007-0001-OpenFile_command02
570 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0007-0001-InitializeL_command03
572 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0007-0001-SetPrioritySettings_command04
573 COMMAND devsound1 Capabilities
574 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0007-0001-SetConfigL_command06
575 COMMAND !AsyncError=-13 devsound1 PlayInitL
577 COMMAND devsound1 Stop
578 COMMAND devsound1 CloseFile
584 START_TEST_BLOCK 65 t_devsoundext \multimedia\mmf\devsound\multimedia-mmf-devsoundext-validation-automated-comb_pr.ini
585 CREATE_OBJECT CMMFDevSound devsound1
586 CREATE_OBJECT CAudioInput audioinput1
587 COMMAND devsound1 NewL
588 COMMAND audioinput1 NewL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0007-0002-NewL_command02
589 COMMAND devsound1 ReplaceFile MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0007-0002-ReplaceFile_command03
590 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0007-0002-InitializeL_command04
592 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0007-0002-SetPrioritySettings_command05
593 COMMAND devsound1 Capabilities
594 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0007-0002-SetConfigL_command07
595 COMMAND devsound1 Stop
597 COMMAND audioinput1 SetAudioInput MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0007-0002-SetAudioInput_command09
598 COMMAND devsound1 RecordInitL
600 COMMAND devsound1 Stop
602 COMMAND devsound1 CloseFile
603 COMMAND devsound1 OpenFile MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0007-0002-OpenFile_command13
604 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0007-0002-InitializeL_command14
606 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0007-0002-SetPrioritySettings_command15
607 COMMAND devsound1 Capabilities
608 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0007-0002-SetConfigL_command17
609 COMMAND devsound1 PlayInitL
611 COMMAND devsound1 CloseFile
612 COMMAND audioinput1 ~
615 END_TESTCASE MULTIMEDIA-MMF-DEVSOUNDEXT-VALIDATION-AUTOMATED-COMB_PR-0007
620 START_TESTCASE MULTIMEDIA-MMF-DEVSOUNDEXT-VALIDATION-AUTOMATED-COMB_PR-0008
622 //!@SYMTestCaseID MULTIMEDIA-MMF-DEVSOUNDEXT-VALIDATION-AUTOMATED-COMB_PR-0008
625 //! CMMFDevSound::InitializeL(MDevSoundObserver{ref}, TFourCC{ref}, TMMFState)
626 //! CMMFDevSound::SetPrioritySettings(const TMMFPrioritySettings{ref})
627 //! CMMFDevSound::Capabilities()
628 //! CMMFDevSound::SetConfigL(const TMMFCapabilities{ref})
629 //! CMMFDevSound::PlayInitL()
630 //! CMMFDevSound::Stop()
632 //! CMMFDevSound::InitializeL(MDevSoundObserver{ref}, TFourCC, TMMFState)
633 //! CMMFDevSound::SetPrioritySettings(const TMMFPrioritySettings{ref})
634 //! CMMFDevSound::Capabilities()
635 //! CMMFDevSound::SetConfigL(const TMMFCapabilities{ref})
636 //! CMMFAudioInput::SetAudioInputL(TAudioInputArray)
637 //! CMMFDevSound::RecordInitL()
638 //! CMMFDevSound::Stop()
639 //! CMMFDevSound::PlayInitL()
642 //!@SYMCreationDate 8/25/2008
643 //!@SYMTestCaseDesc Audio routing - Audio playback 16k stereo recording from speaker
646 //! 1. Create Devsound Instance
647 //! 2. Open File (Filename = {drive,mmc}\multimedia\mmf\devsound\MP3\MP3_44.1k_128kbps_st_Test2.mp3)
648 //! 3. Initialize DevSound (Mode = EMMFStatePlaying; FourCC = MP3)
649 //! 4. Set Priority (Priority = {Priority,PriorityAudioPlayback}; Preference = {PriorityPreference,PriorityPreferenceNone} ; PriorityState=EMMFStatePlaying)
651 //! 6. Set Configuration (Channels = EMMFStereo; Rate = EMMFSampleRate48000Hz)
652 //! 7. Play for 20 seconds
655 //! 10. Destroy Devsound Instance
657 //! 1. Create DevSound Instance
658 //! 2. Create AudioInput Instance (DevSoundInstanceName = devsound1)
659 //! 3. Replace File (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\RoutingPlay16kStereoRecSpeaker.pcm)
660 //! 4. Initialize DevSound (Mode = EMMFStateRecording; FourCC = P16)
661 //! 5. Set Priority (Priority = {Priority,PriorityVoiceRecording}; Preference = {PriorityPreference,PriorityPreferenceVoiceRecording} ; PriorityState=EMMFStateRecording)
663 //! 7. Set Configuration (Channels = EMMFStereo; Rate = EMMFSampleRate16000Hz)
664 //! 8. Stop for 10 seconds
665 //! 9. Set Audio Input (AudioInput = Input_OutputtoSpeaker)
666 //! 10. Start Record for 20 seconds
667 //! 11. Stop for 5 seconds
668 //! 12. Initialize DevSound (Mode = EMMFStatePlaying; FourCC = P16)
669 //! 13. Set Priority (Priority = {Priority,PriorityAudioPlayback}; Preference = {PriorityPreference,PriorityPreferenceAudioPlayback} ; PriorityState=EMMFStatePlaying)
671 //! 15. Set Configuration (Channels = EMMFStereo; Rate = EMMFSampleRate16000Hz)
672 //! 16. Start File Positions
675 //! 19. Destroy AudioInput Instance
676 //! 20. Destroy DevSound Instance
677 //!@SYMTestStatus Verified
678 //!@SYMTestPriority High
679 //!@SYMTestExpectedResults
680 //! Audio playback 16k stereo recording from speaker
682 //! Play MP3 File with Audio Playback Priority and NonePreference.
684 //! Record with Voice Recording Priority and Voice Recording Preference; Play with Audio PLayback Priority and Audio PLayback Preference
692 START_TEST_BLOCK 60 t_devsoundext \multimedia\mmf\devsound\multimedia-mmf-devsoundext-validation-automated-comb_pr.ini
693 CREATE_OBJECT CMMFDevSound devsound1
694 COMMAND devsound1 NewL
695 COMMAND devsound1 OpenFile MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0008-0001-OpenFile_command02
696 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0008-0001-InitializeL_command03
698 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0008-0001-SetPrioritySettings_command04
699 COMMAND devsound1 Capabilities
700 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0008-0001-SetConfigL_command06
701 COMMAND !AsyncError=-13 devsound1 PlayInitL
703 COMMAND devsound1 Stop
704 COMMAND devsound1 CloseFile
710 START_TEST_BLOCK 65 t_devsoundext \multimedia\mmf\devsound\multimedia-mmf-devsoundext-validation-automated-comb_pr.ini
711 CREATE_OBJECT CMMFDevSound devsound1
712 CREATE_OBJECT CAudioInput audioinput1
713 COMMAND devsound1 NewL
714 COMMAND audioinput1 NewL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0008-0002-NewL_command02
715 COMMAND devsound1 ReplaceFile MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0008-0002-ReplaceFile_command03
716 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0008-0002-InitializeL_command04
718 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0008-0002-SetPrioritySettings_command05
719 COMMAND devsound1 Capabilities
720 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0008-0002-SetConfigL_command07
721 COMMAND devsound1 Stop
723 COMMAND audioinput1 SetAudioInput MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0008-0002-SetAudioInput_command09
724 COMMAND devsound1 RecordInitL
726 COMMAND devsound1 Stop
728 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0008-0002-InitializeL_command12
730 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0008-0002-SetPrioritySettings_command13
731 COMMAND devsound1 Capabilities
732 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0008-0002-SetConfigL_command15
733 COMMAND devsound1 FileStartPosition
734 COMMAND devsound1 PlayInitL
736 COMMAND devsound1 CloseFile
737 COMMAND audioinput1 ~
740 END_TESTCASE MULTIMEDIA-MMF-DEVSOUNDEXT-VALIDATION-AUTOMATED-COMB_PR-0008
745 START_TESTCASE MULTIMEDIA-MMF-DEVSOUNDEXT-VALIDATION-AUTOMATED-COMB_PR-0009
747 //!@SYMTestCaseID MULTIMEDIA-MMF-DEVSOUNDEXT-VALIDATION-AUTOMATED-COMB_PR-0009
750 //! CMMFDevSound::InitializeL(MDevSoundObserver{ref}, TFourCC, TMMFState)
751 //! CMMFDevSound::SetPrioritySettings(const TMMFPrioritySettings{ref})
752 //! CMMFDevSound::Capabilities()
753 //! CMMFDevSound::SetConfigL(const TMMFCapabilities{ref})
754 //! CMMFDevSound::PlayInitL()
755 //! CMMFDevSound::Stop()
757 //! CMMFDevSound::InitializeL(MDevSoundObserver{ref}, TFourCC, TMMFState)
758 //! CMMFDevSound::SetPrioritySettings(const TMMFPrioritySettings{ref})
759 //! CMMFDevSound::Capabilities()
760 //! CMMFDevSound::SetConfigL(const TMMFCapabilities{ref})
761 //! CMMFAudioInput::SetAudioInputL(TAudioInputArray)
762 //! CMMFDevSound::RecordInitL()
763 //! CMMFDevSound::Stop()
764 //! CMMFDevSound::PlayInitL()
767 //!@SYMCreationDate 8/25/2008
768 //!@SYMTestCaseDesc Audio routing - Audio playback 48k mono recording from speaker
771 //! 1. Create Devsound Instance
772 //! 2. Open File (Filename = {drive,mmc}\multimedia\mmf\devsound\MP3\MP3_48k_256kbps_st_1kHzsine_st2mono.mp3)
773 //! 3. Initialize DevSound (Mode = EMMFStatePlaying; FourCC = MP3)
774 //! 4. Set Priority (Priority = {Priority,PriorityAudioPlayback}; Preference = {PriorityPreference,PriorityPreferenceNone};PriorityState=EMMFStatePlaying)
776 //! 6. Set Configuration (Channels = EMMFStereo; Rate = EMMFSampleRate48000Hz)
777 //! 7. Play for 20 seconds
780 //! 10. Destroy Devsound Instance
782 //! 1. Create DevSound Instance
783 //! 2. Create AudioInput Instance (DevSoundInstanceName = devsound1)
784 //! 3. Replace File (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\RoutingPlay48kMonoRecSpeaker.pcm)
785 //! 4. Initialize DevSound (Mode = EMMFStateRecording; FourCC = P16)
786 //! 5. Set Priority (Priority = {Priority,PriorityVoiceRecording}; Preference = {PriorityPreference,PriorityPreferenceVoiceRecording};PriorityState=EMMFStateRecording)
788 //! 7. Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate48000Hz)
789 //! 8. Stop for 10 seconds
790 //! 9. Set Audio Input (AudioInput = Input_OutputtoSpeaker)
791 //! 10.Record for 20 seconds
792 //! 11. Stop for 5 seconds
793 //! 12. Initialize DevSound (Mode = EMMFStatePlaying; FourCC = P16)
794 //! 13. Set Priority (Priority = {Priority,PriorityAudioPlayback}; Preference = {PriorityPreference,PriorityPreferenceAudioPlayback};PriorityState=EMMFStatePlaying)
796 //! 15. Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate48000Hz)
797 //! 16. Start File Positions
800 //! 19. Destroy AudioInput Instance
801 //! 20. Destroy DevSound Instance
802 //!@SYMTestStatus Verified
803 //!@SYMTestPriority High
804 //!@SYMTestExpectedResults
805 //! Audio playback 48k mono recording from speaker
807 //! Play MP3 File with Audio Playback Priority and NonePreference.
809 //! Record with Voice Recording Priority and Voice Recording Preference; Play with Audio PLayback Priority and Audio PLayback Preference
817 START_TEST_BLOCK 60 t_devsoundext \multimedia\mmf\devsound\multimedia-mmf-devsoundext-validation-automated-comb_pr.ini
818 CREATE_OBJECT CMMFDevSound devsound1
819 COMMAND devsound1 NewL
820 COMMAND devsound1 OpenFile MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0009-0001-OpenFile_command02
821 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0009-0001-InitializeL_command03
823 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0009-0001-SetPrioritySettings_command04
824 COMMAND devsound1 Capabilities
825 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0009-0001-SetConfigL_command06
826 COMMAND !AsyncError=-13 devsound1 PlayInitL
828 COMMAND devsound1 Stop
829 COMMAND devsound1 CloseFile
835 START_TEST_BLOCK 65 t_devsoundext \multimedia\mmf\devsound\multimedia-mmf-devsoundext-validation-automated-comb_pr.ini
836 CREATE_OBJECT CMMFDevSound devsound1
837 CREATE_OBJECT CAudioInput audioinput1
838 COMMAND devsound1 NewL
839 COMMAND audioinput1 NewL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0009-0002-NewL_command02
840 COMMAND devsound1 ReplaceFile MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0009-0002-ReplaceFile_command03
841 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0009-0002-InitializeL_command04
843 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0009-0002-SetPrioritySettings_command05
844 COMMAND devsound1 Capabilities
845 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0009-0002-SetConfigL_command07
846 COMMAND devsound1 Stop
848 COMMAND audioinput1 SetAudioInput MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0009-0002-SetAudioInput_command09
849 COMMAND devsound1 RecordInitL
851 COMMAND devsound1 Stop
853 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0009-0002-InitializeL_command12
855 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0009-0002-SetPrioritySettings_command13
856 COMMAND devsound1 Capabilities
857 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0009-0002-SetConfigL_command15
858 COMMAND devsound1 FileStartPosition
859 COMMAND devsound1 PlayInitL
861 COMMAND devsound1 CloseFile
862 COMMAND audioinput1 ~
865 END_TESTCASE MULTIMEDIA-MMF-DEVSOUNDEXT-VALIDATION-AUTOMATED-COMB_PR-0009
870 START_TESTCASE MULTIMEDIA-MMF-DEVSOUNDEXT-VALIDATION-AUTOMATED-COMB_PR-0011
872 //!@SYMTestCaseID MULTIMEDIA-MMF-DEVSOUNDEXT-VALIDATION-AUTOMATED-COMB_PR-0011
875 //! CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TMMFState )
876 //! CMMFDevSound::SetPrioritySettings(const TMMFPrioritySettings {ref} )
877 //! CMMFDevSound::Capabilities()
878 //! CMMFDevSound::SetConfigL(const TMMFCapabilities {ref} )
879 //! CMMFDevSound::PlayInitL()
880 //! CMMFDevSound::Stop()
882 //! CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TMMFState )
883 //! CMMFDevSound::SetPrioritySettings(const TMMFPrioritySettings {ref} )
884 //! CMMFDevSound::Capabilities()
885 //! CMMFDevSound::SetConfigL(const TMMFCapabilities {ref} )
886 //! CMMFDevSound::PlayInitL()
887 //! CMMFDevSound::RecordInitL()
888 //! CMMFDevSound::Stop()
889 //! CMMFDevsound::PlayToneSequenceL(const TDesC8 {ref})
890 //! CMMFDevSound::SetGain()
891 //! CMMFAudioInput::SetAudioInputL(TAudioInputArray)
892 //!@SYMAuthor etorres
893 //!@SYMCreationDate 8/25/2008
894 //!@SYMTestCaseDesc Gain control of audio playback recording
897 //! 1. Create Devsound Instance
898 //! 2. Open File (Filename = {drive,mmc}\multimedia\mmf\devsound\MP3\MP3_44.1k_128kbps_st_Test2.mp3)
899 //! 3. Initialize DevSound (Mode = EMMFStatePlaying; FourCC = MP3)
900 //! 4. Set Priority (Priority = {Priority,PriorityAudioPlayback}; Preference = {PriorityPreference,PriorityPreferenceNone};PriorityState=EMMFStatePlaying)
902 //! 6. Set Configuration (Channels = EMMFStereo; Rate = EMMFSampleRate44100Hz)
903 //! 7. Play for 20 seconds
906 //! 10.Destroy Devsound Instance
908 //! 1. Create DevSound Instance
909 //! 2. Create AudioInput Instance (DevSoundInstanceName = devsound1)
910 //! 3. Replace File (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\GainPlayRec.amr)
911 //! 4. Initialize DevSound (Mode = EMMFStateRecording; FourCC = AMR)
912 //! 5. Set Priority (Priority = {Priority,PriorityVoiceRecording}; Preference = {PriorityPreference,PriorityPreferenceVoiceRecording};PriorityState=EMMFStateRecording)
914 //! 7. Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz)
915 //! 8. Stop for 5 seconds
916 //! 9. Set Audio Input (AudioInput = Input_OutputtoSpeaker)
917 //! 10. Record for 10 seconds
918 //! 11. SetGain(Gain= 0)
919 //! 12. SetGain(Gain=1)
920 //! 13. Stop for 10 seconds
921 //! 14. Initialize DevSound (Mode = EMMFStatePlaying; FourCC = AMR)
922 //! 15. Set Priority (Priority = {Priority,PriorityAudioPlayback}; Preference = {PriorityPreference,PriorityPreferenceAudioPlayback};PriorityState=EMMFStatePlaying)
924 //! 17. Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz)
925 //! 18. OpenFile (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\GainPlayRec.amr)
928 //! 21.Destroy AudioInput Instance
929 //! 22.Destroy DevSound Instance
930 //!@SYMTestStatus Verified
931 //!@SYMTestPriority High
932 //!@SYMTestExpectedResults
936 //! AMR recording {ref} playback with expected error=-21
944 START_TEST_BLOCK 60 t_devsoundext \multimedia\mmf\devsound\multimedia-mmf-devsoundext-validation-automated-comb_pr.ini
945 CREATE_OBJECT CMMFDevSound devsound1
946 COMMAND devsound1 NewL
947 COMMAND devsound1 OpenFile MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0011-0001-OpenFile_command02
948 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0011-0001-InitializeL_command03
950 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0011-0001-SetPrioritySettings_command04
951 COMMAND devsound1 Capabilities
952 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0011-0001-SetConfigL_command06
953 COMMAND devsound1 PlayInitL
955 COMMAND devsound1 Stop
956 COMMAND devsound1 CloseFile
962 START_TEST_BLOCK 60 t_devsoundext \multimedia\mmf\devsound\multimedia-mmf-devsoundext-validation-automated-comb_pr.ini
963 CREATE_OBJECT CMMFDevSound devsound1
964 CREATE_OBJECT CAudioInput audioinput1
965 COMMAND devsound1 NewL
966 COMMAND audioinput1 NewL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0011-0002-NewL_command02
967 COMMAND devsound1 ReplaceFile MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0011-0002-ReplaceFile_command03
968 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0011-0002-InitializeL_command04
970 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0011-0002-SetPrioritySettings_command05
971 COMMAND devsound1 Capabilities
972 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0011-0002-SetConfigL_command07
973 COMMAND devsound1 Stop
975 COMMAND audioinput1 SetAudioInput MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0011-0002-SetAudioInput_command09
976 COMMAND !AsyncError=-21 devsound1 RecordInitL
978 COMMAND devsound1 SetGain MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0011-0002-SetGain_command12
980 COMMAND devsound1 SetGain MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0011-0002-SetGain_command13
982 COMMAND devsound1 Stop
984 COMMAND devsound1 CloseFile
985 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0011-0002-InitializeL_command15
987 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0011-0002-SetPrioritySettings_command16
988 COMMAND devsound1 Capabilities
989 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0011-0002-SetConfigL_command18
990 COMMAND devsound1 OpenFile MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0011-0002-OpenFile_command19
991 COMMAND devsound1 PlayInitL
993 COMMAND devsound1 CloseFile
994 COMMAND audioinput1 ~
997 END_TESTCASE MULTIMEDIA-MMF-DEVSOUNDEXT-VALIDATION-AUTOMATED-COMB_PR-0011
1002 START_TESTCASE MULTIMEDIA-MMF-DEVSOUNDEXT-VALIDATION-AUTOMATED-COMB_PR-0012
1004 //!@SYMTestCaseID MULTIMEDIA-MMF-DEVSOUNDEXT-VALIDATION-AUTOMATED-COMB_PR-0012
1006 //! CMMFDevSound:: InitializeL(MDevSoundObserver {ref}, TFourCC , TMMFState )
1007 //! CMMFDevSound:: PlayInitL()
1008 //! CMMFDevSound:: RecordInitL()
1010 //! CMMFDevSound:: InitializeL(MDevSoundObserver {ref}, TFourCC , TMMFState )
1011 //! CMMFDevSound:: PlayInitL()
1013 //! CMMFDevSound:: InitializeL(MDevSoundObserver {ref}, TFourCC , TMMFState )
1014 //! CMMFDevSound:: PlayInitL()
1015 //! CMMFDevSound:: RecordInitL()
1016 //! CAudioInput::SetAudioInputL(TAudioInputArray )
1017 //!@SYMAuthor jguillermo
1018 //!@SYMCreationDate 8/25/2008
1019 //!@SYMTestCaseDesc Audio routing - Audio playback 48k mono recording from speaker when accessory is used
1022 //! 1. Create DevSound instance
1023 //! 2. Initialize DevSound (Mode = EMMFStatePlaying; FourCC = MP3)
1024 //! 3. Set Priority (Priority = {Priority,PriorityAudioPlayback}; Preference = {PriorityPreference,PriorityPreferenceNone};PriorityState=EMMFStatePlaying)
1026 //! 5. Set Configuration (Channels = EMMFStereo; Rate = EMMFSampleRate44100Hz)
1027 //! 6. Open file (Filename= {drive,mmc}\multimedia\mmf\devsound\MP3\MP3_44.1k_128kbps_st_Test3.mp3)
1028 //! 7. Play 20 seconds
1031 //! 10. Delete DevSound instance
1033 //! 1. Create DevSound instance
1034 //! 2. Create AudioInput instance (DevSoundInstanceName = devsound1)
1035 //! 3. Initialize DevSound (Mode = EMMFStateRecording; FourCC ={SpecialFourCC,RAW})
1036 //! 4. Set Priority (Priority = {Priority,PriorityVoiceRecording}; Preference = {PriorityPreference,PriorityPreferenceVoiceRecording};PriorityState=EMMFStateRecording)
1038 //! 6. Set Configuration and delay 10 seconds(Channels = EMMFMono; Rate = EMMFSampleRate48000Hz)
1039 //! 7. Replace file (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\RoutingPlayRecSpeakerAcc.pcm)
1040 //! 8. Set audio input (AudioInput = Input_OutputtoSpeaker)
1041 //! 9. Record 20 seconds
1042 //! 10. Stop 5 seconds
1044 //! 12. Initialize DevSound (Mode = EMMFStatePlaying; FourCC ={SpecialFourCC,RAW})
1045 //! 13. Set Priority (Priority = {Priority,PriorityAudioPlayback}; Preference = {PriorityPreference,PriorityPreferenceAudioPlayback};PriorityState=EMMFStatePlaying)
1046 //! 14. Set Configuration(Channels = EMMFMono; Rate = EMMFSampleRate48000Hz)
1047 //! 15. Open file (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\RoutingPlayRecSpeakerAcc.pcm)
1050 //! 18. Delete AudioInput instance
1051 //! 19. Delete DevSound instance
1052 //!@SYMTestStatus Verified
1053 //!@SYMTestPriority High
1054 //!@SYMTestExpectedResults
1055 //! AA_Audio routing - Audio playback 48k mono recording from speaker when accessory is used
1057 //! AA_Audio routing - Audio playback 48k mono recording from speaker when accessory is used
1059 //! AA_Audio routing - Audio playback 48k mono recording from speaker when accessory is used
1067 START_TEST_BLOCK 70 t_devsoundext \multimedia\mmf\devsound\multimedia-mmf-devsoundext-validation-automated-comb_pr.ini
1068 CREATE_OBJECT CMMFDevSound devsound1
1069 COMMAND devsound1 NewL
1070 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0012-0001-InitializeL_command02
1072 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0012-0001-SetPrioritySettings_command03
1073 COMMAND devsound1 Capabilities
1074 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0012-0001-SetConfigL_command05
1075 COMMAND devsound1 OpenFile MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0012-0001-OpenFile_command06
1076 COMMAND !AsyncError=-13 devsound1 PlayInitL
1077 ASYNC_DELAY 20000000
1078 COMMAND devsound1 Stop
1079 COMMAND devsound1 CloseFile
1085 START_TEST_BLOCK 70 t_devsoundext \multimedia\mmf\devsound\multimedia-mmf-devsoundext-validation-automated-comb_pr.ini
1086 CREATE_OBJECT CMMFDevSound devsound1
1087 CREATE_OBJECT CAudioInput audioinput1
1088 COMMAND devsound1 NewL
1089 COMMAND audioinput1 NewL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0012-0002-NewL_command02
1090 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0012-0002-InitializeL_command03
1092 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0012-0002-SetPrioritySettings_command04
1093 COMMAND devsound1 Capabilities
1094 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0012-0002-SetConfigL_command06
1096 COMMAND devsound1 ReplaceFile MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0012-0002-ReplaceFile_command07
1097 COMMAND audioinput1 SetAudioInput MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0012-0002-SetAudioInput_command08
1098 COMMAND devsound1 RecordInitL
1099 ASYNC_DELAY 20000000
1100 COMMAND devsound1 Stop
1102 COMMAND devsound1 CloseFile
1103 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0012-0002-InitializeL_command12
1105 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0012-0002-SetPrioritySettings_command13
1106 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0012-0002-SetConfigL_command14
1107 COMMAND devsound1 OpenFile MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0012-0002-OpenFile_command15
1108 COMMAND devsound1 PlayInitL
1110 COMMAND devsound1 CloseFile
1111 COMMAND audioinput1 ~
1114 END_TESTCASE MULTIMEDIA-MMF-DEVSOUNDEXT-VALIDATION-AUTOMATED-COMB_PR-0012
1119 START_TESTCASE MULTIMEDIA-MMF-DEVSOUNDEXT-VALIDATION-AUTOMATED-COMB_PR-0013
1121 //!@SYMTestCaseID MULTIMEDIA-MMF-DEVSOUNDEXT-VALIDATION-AUTOMATED-COMB_PR-0013
1123 //! CMMFDevSound:: InitializeL(MDevSoundObserver {ref}, TFourCC , TMMFState )
1124 //! CMMFDevSound:: PlayInitL()
1125 //! CMMFDevSound:: RecordInitL()
1127 //! CMMFDevSound:: InitializeL(MDevSoundObserver {ref}, TFourCC , TMMFState )
1128 //! CMMFDevSound:: PlayInitL()
1130 //! CMMFDevSound:: InitializeL(MDevSoundObserver {ref}, TFourCC , TMMFState )
1131 //! CMMFDevSound:: PlayInitL()
1132 //! CMMFDevSound:: RecordInitL()
1133 //! CAudioInput::SetAudioInputL(TAudioInputArray )
1134 //!@SYMAuthor jguillermo
1135 //!@SYMCreationDate 8/25/2008
1136 //!@SYMTestCaseDesc Audio routing - Audio playback 48k stereo recording from speaker
1139 //! 1. Create DevSound instance
1140 //! 2. Initialize DevSound (Mode = EMMFStatePlaying; FourCC = MP3)
1141 //! 3. Set Priority (Priority = {Priority,PriorityAudioPlayback}; Preference = {PriorityPreference,PriorityPreferenceNone} ; PriorityState=EMMFStatePlaying)
1143 //! 5. Set Configuration (Channels = EMMFStereo; Rate = EMMFSampleRate44100Hz)
1144 //! 6. Open file (Filename= {drive,mmc}\multimedia\mmf\devsound\MP3\MP3_44.1k_128kbps_st_Test3.mp3)
1145 //! 7. Play 20 seconds
1148 //! 10. Delete DevSound instance
1150 //! 1. Create DevSound instance
1151 //! 2. Create AudioInput instance (DevSoundInstanceName = devsound1)
1152 //! 3. Initialize DevSound (Mode = EMMFStateRecording; FourCC ={SpecialFourCC,RAW})
1153 //! 4. Set Priority (Priority = {Priority,PriorityVoiceRecording}; Preference = {PriorityPreference,PriorityPreferenceVoiceRecording} ; PriorityState=EMMFStateRecording)
1155 //! 6. Set Configuration and delay 10 seconds(Channels = EMMFStereo; Rate = EMMFSampleRate48000Hz)
1156 //! 7. Replace file (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\RoutingPlay48kStereoRecSpeaker.pcm)
1157 //! 8. Set audio input (AudioInput = Input_OutputtoSpeaker)
1158 //! 9. Record 20 seconds
1159 //! 10. Stop 5 seconds
1161 //! 12. Initialize DevSound (Mode = EMMFStatePlaying; FourCC ={SpecialFourCC,RAW})
1162 //! 13. Set Priority (Priority = {Priority,PriorityAudioPlayback} ; Preference = {PriorityPreference,PriorityPreferenceAudioPlayback} ; PriorityState=EMMFStatePlaying)
1163 //! 14. Set Configuration(Channels = EMMFStereo; Rate = EMMFSampleRate48000Hz)
1164 //! 15. Open file (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\RoutingPlay48kStereoRecSpeaker.pcm)
1167 //! 18. Delete AudioInput instance
1168 //! 19. Delete DevSound instance
1169 //!@SYMTestStatus Verified
1170 //!@SYMTestPriority High
1171 //!@SYMTestExpectedResults
1172 //! AA_Audio routing - Audio playback 48k stereo recording from speaker
1174 //! AA_Audio routing - Audio playback 48k stereo recording from speaker
1176 //! AA_Audio routing - Audio playback 48k stereo recording from speaker
1184 START_TEST_BLOCK 70 t_devsoundext \multimedia\mmf\devsound\multimedia-mmf-devsoundext-validation-automated-comb_pr.ini
1185 CREATE_OBJECT CMMFDevSound devsound1
1186 COMMAND devsound1 NewL
1187 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0013-0001-InitializeL_command02
1189 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0013-0001-SetPrioritySettings_command03
1190 COMMAND devsound1 Capabilities
1191 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0013-0001-SetConfigL_command05
1192 COMMAND devsound1 OpenFile MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0013-0001-OpenFile_command06
1193 COMMAND !AsyncError=-13 devsound1 PlayInitL
1194 ASYNC_DELAY 20000000
1195 COMMAND devsound1 Stop
1196 COMMAND devsound1 CloseFile
1202 START_TEST_BLOCK 70 t_devsoundext \multimedia\mmf\devsound\multimedia-mmf-devsoundext-validation-automated-comb_pr.ini
1203 CREATE_OBJECT CMMFDevSound devsound1
1204 CREATE_OBJECT CAudioInput audioinput1
1205 COMMAND devsound1 NewL
1206 COMMAND audioinput1 NewL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0013-0002-NewL_command02
1207 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0013-0002-InitializeL_command03
1209 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0013-0002-SetPrioritySettings_command04
1210 COMMAND devsound1 Capabilities
1211 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0013-0002-SetConfigL_command06
1212 COMMAND devsound1 ReplaceFile MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0013-0002-ReplaceFile_command07
1213 COMMAND audioinput1 SetAudioInput MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0013-0002-SetAudioInput_command08
1214 COMMAND !AsyncError=-21 devsound1 RecordInitL
1215 ASYNC_DELAY 20000000
1216 COMMAND devsound1 Stop
1218 COMMAND devsound1 CloseFile
1219 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0013-0002-InitializeL_command13
1221 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0013-0002-SetPrioritySettings_command14
1222 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0013-0002-SetConfigL_command15
1223 COMMAND devsound1 OpenFile MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0013-0002-OpenFile_command16
1224 COMMAND devsound1 PlayInitL
1226 COMMAND devsound1 CloseFile
1227 COMMAND audioinput1 ~
1230 END_TESTCASE MULTIMEDIA-MMF-DEVSOUNDEXT-VALIDATION-AUTOMATED-COMB_PR-0013
1235 START_TESTCASE MULTIMEDIA-MMF-DEVSOUNDEXT-VALIDATION-AUTOMATED-COMB_PR-0015
1237 //!@SYMTestCaseID MULTIMEDIA-MMF-DEVSOUNDEXT-VALIDATION-AUTOMATED-COMB_PR-0015
1239 //! CMMFDevSound:: InitializeL(MDevSoundObserver {ref}, TFourCC , TMMFState )
1240 //! CMMFDevSound:: PlayInitL()
1241 //! CMMFDevSound:: RecordInitL()
1243 //! CMMFDevSound:: InitializeL(MDevSoundObserver {ref}, TFourCC , TMMFState )
1244 //! CMMFDevSound:: PlayInitL()
1246 //! CMMFDevSound:: InitializeL(MDevSoundObserver {ref}, TFourCC , TMMFState )
1247 //! CMMFDevSound:: PlayInitL()
1248 //! CMMFDevSound:: RecordInitL()
1249 //! CAudioInput::SetAudioInputL(TAudioInputArray )
1250 //!@SYMAuthor jguillermo
1251 //!@SYMCreationDate 8/25/2008
1252 //!@SYMTestCaseDesc Audio routing - Audio playback 8k mono recording from speaker
1255 //! 1. Create DevSound instance
1256 //! 2. Initialize DevSound (Mode = EMMFStatePlaying; FourCC = MP3)
1257 //! 3. Set Priority (Priority = {Priority,PriorityAudioPlayback}; Preference = {PriorityPreference,PriorityPreferenceNone};PriorityState=EMMFStatePlaying)
1259 //! 5. Set Configuration (Channels = EMMFStereo; Rate = EMMFSampleRate48000Hz)
1260 //! 6. Open file (Filename= {drive,mmc}\multimedia\mmf\devsound\MP3\MP3_48k_256kbps_st_1kHzsine_st2mono.mp3)
1261 //! 7. Play 20 seconds
1264 //! 10. Delete DevSound instance
1266 //! 1. Create DevSound instance
1267 //! 2. Create AudioInput instance (DevSoundInstanceName = devsound1)
1268 //! 3. Initialize DevSound (Mode = EMMFStateRecording; FourCC ={SpecialFourCC,RAW})
1269 //! 4. Set Priority (Priority = {Priority,PriorityVoiceRecording}; Preference = {PriorityPreference,PriorityPreferenceVoiceRecording};PriorityState=EMMFStateRecording)
1271 //! 6. Set Configuration and delay 10 seconds(Channels = EMMFMono; Rate = EMMFSampleRate8000Hz)
1272 //! 7. Replace file (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\RoutingPlay8kMonoRecSpeaker.pcm)
1273 //! 8. Set audio input (AudioInput = Input_OutputtoSpeaker)
1274 //! 9. Record 20 seconds
1275 //! 10. Stop 5 seconds
1277 //! 12. Initialize DevSound (Mode = EMMFStatePlaying; FourCC ={SpecialFourCC,RAW})
1278 //! 13. Set Priority (Priority = {Priority,PriorityAudioPlayback}; Preference = {PriorityPreference,PriorityPreferenceAudioPlayback};PriorityState=EMMFStatePlaying)
1279 //! 14. Set Configuration(Channels = EMMFMono; Rate = EMMFSampleRate8000Hz)
1280 //! 15. Open file (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\RoutingPlay8kMonoRecSpeaker.pcm)
1283 //! 18. Delete AudioInput instance
1284 //! 19. Delete DevSound instance
1285 //!@SYMTestStatus Implemented
1286 //!@SYMTestPriority High
1287 //!@SYMTestExpectedResults
1288 //! AA_Audio routing - Audio playback 8k mono recording from speaker
1290 //! AA_Audio routing - Audio playback 8k mono recording from speaker
1292 //! AA_Audio routing - Audio playback 8k mono recording from speaker
1300 START_TEST_BLOCK 70 t_devsoundext \multimedia\mmf\devsound\multimedia-mmf-devsoundext-validation-automated-comb_pr.ini
1301 CREATE_OBJECT CMMFDevSound devsound1
1302 COMMAND devsound1 NewL
1303 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0015-0001-InitializeL_command02
1305 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0015-0001-SetPrioritySettings_command03
1306 COMMAND devsound1 Capabilities
1307 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0015-0001-SetConfigL_command05
1308 COMMAND devsound1 OpenFile MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0015-0001-OpenFile_command06
1309 COMMAND devsound1 PlayInitL
1310 ASYNC_DELAY 20000000
1311 COMMAND devsound1 Stop
1312 COMMAND devsound1 CloseFile
1318 START_TEST_BLOCK 70 t_devsoundext \multimedia\mmf\devsound\multimedia-mmf-devsoundext-validation-automated-comb_pr.ini
1319 CREATE_OBJECT CMMFDevSound devsound1
1320 CREATE_OBJECT CAudioInput audioinput1
1321 COMMAND devsound1 NewL
1322 COMMAND audioinput1 NewL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0015-0002-NewL_command02
1323 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0015-0002-InitializeL_command03
1325 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0015-0002-SetPrioritySettings_command04
1326 COMMAND devsound1 Capabilities
1327 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0015-0002-SetConfigL_command06
1329 COMMAND devsound1 ReplaceFile MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0015-0002-ReplaceFile_command07
1330 COMMAND audioinput1 SetAudioInput MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0015-0002-SetAudioInput_command08
1331 COMMAND !AsyncError=-21 devsound1 RecordInitL
1332 ASYNC_DELAY 20000000
1333 COMMAND devsound1 Stop
1335 COMMAND devsound1 CloseFile
1336 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0015-0002-InitializeL_command13
1338 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0015-0002-SetPrioritySettings_command14
1339 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0015-0002-SetConfigL_command15
1340 COMMAND devsound1 OpenFile MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0015-0002-OpenFile_command16
1341 COMMAND devsound1 PlayInitL
1343 COMMAND devsound1 CloseFile
1344 COMMAND audioinput1 ~
1347 END_TESTCASE MULTIMEDIA-MMF-DEVSOUNDEXT-VALIDATION-AUTOMATED-COMB_PR-0015
1352 START_TESTCASE MULTIMEDIA-MMF-DEVSOUNDEXT-VALIDATION-AUTOMATED-COMB_PR-0016
1354 //!@SYMTestCaseID MULTIMEDIA-MMF-DEVSOUNDEXT-VALIDATION-AUTOMATED-COMB_PR-0016
1356 //! CMMFDevSound:: InitializeL(MDevSoundObserver {ref}, TFourCC , TMMFState )
1357 //! CMMFDevSound:: PlayInitL()
1358 //! CMMFDevSound:: RecordInitL()
1360 //! CMMFDevSound:: InitializeL(MDevSoundObserver {ref}, TFourCC , TMMFState )
1361 //! CMMFDevSound:: PlayInitL()
1363 //! CMMFDevSound:: InitializeL(MDevSoundObserver {ref}, TFourCC , TMMFState )
1364 //! CMMFDevSound:: PlayInitL()
1365 //! CMMFDevSound:: RecordInitL()
1366 //! CAudioInput::SetAudioInputL(TAudioInputArray )
1367 //!@SYMAuthor jguillermo
1368 //!@SYMCreationDate 8/25/2008
1369 //!@SYMTestCaseDesc Audio routing - Audio playback 8k stereo recording from speaker
1372 //! 1. Create DevSound instance
1373 //! 2. Initialize DevSound (Mode = EMMFStatePlaying; FourCC = MP3)
1374 //! 3. Set Priority (Priority = {Priority,PriorityAudioPlayback} ; Preference = {PriorityPreference,PriorityPreferenceNone};PriorityState=EMMFStatePlaying)
1376 //! 5. Set Configuration (Channels = EMMFStereo; Rate = EMMFSampleRate44100Hz)
1377 //! 6. Open file (Filename= {drive,mmc}\multimedia\mmf\devsound\MP3\MP3_44.1k_128kbps_st_Test3.mp3)
1378 //! 7. Play 20 seconds
1381 //! 10. Delete DevSound instance
1383 //! 1. Create DevSound instance
1384 //! 2. Create AudioInput instance (DevSoundInstanceName = devsound1)
1385 //! 3. Initialize DevSound (Mode = EMMFStateRecording; FourCC ={SpecialFourCC,RAW})
1386 //! 4. Set Priority (Priority = {Priority,PriorityVoiceRecording}; Preference = {PriorityPreference,PriorityPreferenceVoiceRecording} ; PriorityState=EMMFStateRecording)
1388 //! 6. Set Configuration and delay 10 seconds(Channels = EMMFStereo; Rate = EMMFSampleRate8000Hz)
1389 //! 7. Replace file (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\RoutingPlay8kStereoRecSpeaker.pcm )
1390 //! 8. Set audio input (AudioInput = Input_OutputtoSpeaker)
1391 //! 9. Record 20 seconds
1392 //! 10. Stop 5 seconds
1394 //! 12. Initialize DevSound (Mode = EMMFStatePlaying; FourCC ={SpecialFourCC,RAW})
1395 //! 13. Set Priority (Priority = {Priority,PriorityAudioPlayback}; Preference = {PriorityPreference,PriorityPreferenceAudioPlayback} ; PriorityState=EMMFStatePlaying)
1396 //! 14. Set Configuration(Channels = EMMFStereo; Rate = EMMFSampleRate8000Hz)
1397 //! 15. Open file (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\RoutingPlay8kStereoRecSpeaker.pcm)
1400 //! 18. Delete AudioInput instance
1401 //! 19. Delete DevSound instance
1402 //!@SYMTestStatus Verified
1403 //!@SYMTestPriority High
1404 //!@SYMTestExpectedResults
1405 //! AA_Audio routing - Audio playback 8k stereo recording from speaker
1407 //! AA_Audio routing - Audio playback 8k stereo recording from speaker
1409 //! AA_Audio routing - Audio playback 8k stereo recording from speaker
1417 START_TEST_BLOCK 70 t_devsoundext \multimedia\mmf\devsound\multimedia-mmf-devsoundext-validation-automated-comb_pr.ini
1418 CREATE_OBJECT CMMFDevSound devsound1
1419 COMMAND devsound1 NewL
1420 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0016-0001-InitializeL_command02
1422 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0016-0001-SetPrioritySettings_command03
1423 COMMAND devsound1 Capabilities
1424 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0016-0001-SetConfigL_command05
1425 COMMAND devsound1 OpenFile MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0016-0001-OpenFile_command06
1426 COMMAND devsound1 PlayInitL
1427 ASYNC_DELAY 20000000
1428 COMMAND devsound1 Stop
1429 COMMAND devsound1 CloseFile
1435 START_TEST_BLOCK 70 t_devsoundext \multimedia\mmf\devsound\multimedia-mmf-devsoundext-validation-automated-comb_pr.ini
1436 CREATE_OBJECT CMMFDevSound devsound1
1437 CREATE_OBJECT CAudioInput audioinput1
1438 COMMAND devsound1 NewL
1439 COMMAND audioinput1 NewL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0016-0002-NewL_command02
1440 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0016-0002-InitializeL_command03
1442 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0016-0002-SetPrioritySettings_command04
1443 COMMAND devsound1 Capabilities
1444 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0016-0002-SetConfigL_command06
1446 COMMAND devsound1 ReplaceFile MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0016-0002-ReplaceFile_command07
1447 COMMAND audioinput1 SetAudioInput MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0016-0002-SetAudioInput_command08
1448 COMMAND !AsyncError=-21 devsound1 RecordInitL
1449 ASYNC_DELAY 20000000
1450 COMMAND devsound1 Stop
1452 COMMAND devsound1 CloseFile
1453 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0016-0002-InitializeL_command13
1455 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0016-0002-SetPrioritySettings_command14
1456 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0016-0002-SetConfigL_command15
1457 COMMAND devsound1 OpenFile MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0016-0002-OpenFile_command16
1458 COMMAND devsound1 PlayInitL
1460 COMMAND devsound1 CloseFile
1461 COMMAND audioinput1 ~
1464 END_TESTCASE MULTIMEDIA-MMF-DEVSOUNDEXT-VALIDATION-AUTOMATED-COMB_PR-0016
1469 START_TESTCASE MULTIMEDIA-MMF-DEVSOUNDEXT-VALIDATION-AUTOMATED-COMB_PR-0017
1471 //!@SYMTestCaseID MULTIMEDIA-MMF-DEVSOUNDEXT-VALIDATION-AUTOMATED-COMB_PR-0017
1473 //! CMMFDevSound:: InitializeL(MDevSoundObserver {ref}, TFourCC , TMMFState )
1474 //! CMMFDevSound:: PlayInitL()
1475 //! CMMFDevSound:: RecordInitL()
1477 //! CMMFDevSound:: InitializeL(MDevSoundObserver {ref}, TFourCC , TMMFState )
1478 //! CMMFDevSound:: PlayInitL()
1480 //! CMMFDevSound:: InitializeL(MDevSoundObserver {ref}, TFourCC , TMMFState )
1481 //! CMMFDevSound:: PlayInitL()
1482 //! CMMFDevSound:: RecordInitL()
1484 //! CMMFDevSound:: InitializeL(MDevSoundObserver {ref}, TFourCC , TMMFState )
1485 //! CMMFDevSound:: PlayInitL()
1486 //! CMMFDevSound:: RecordInitL()
1487 //! CAudioInput::SetAudioInputL(TAudioInputArray )
1488 //!@SYMAuthor jguillermo
1489 //!@SYMCreationDate 8/25/2008
1490 //!@SYMTestCaseDesc Audio routing - Playback mixing 48k mono recording from speaker
1493 //! 1. Create DevSound instance
1494 //! 2. Initialize DevSound (Mode = EMMFStatePlaying; FourCC = MP3)
1495 //! 3. Set Priority (Priority = {Priority,PriorityAudioPlayback}; Preference = {PriorityPreference,PriorityPreferenceNone};PriorityState=EMMFStatePlaying)
1497 //! 5. Set Configuration (Channels = EMMFStereo; Rate = EMMFSampleRate44100Hz)
1498 //! 6. Open file (Filename= {drive,mmc}\multimedia\mmf\devsound\MP3\MP3_44.1k_128kbps_st_Test3.mp3)
1499 //! 7. Play 35 seconds
1502 //! 10. Delete DevSound instance
1504 //! 1. Create DevSound instance
1505 //! 2. Initialize DevSound (Mode = EMMFStatePlaying; FourCC ={SpecialFourCC,RAW})
1506 //! 3. Set Priority (Priority = {Priority,PriorityAudioPlayback}; Preference = {PriorityPreference,PriorityPreferenceNone};PriorityState=EMMFStatePlaying)
1508 //! 5. Set Configuration and delay 5 seconds (Channels = EMMFStereo; Rate = EMMFSampleRate48000Hz)
1509 //! 6. Open file (Filename= {drive,mmc}\multimedia\mmf\devsound\PCM\PCM_48k_16b_signed_st_Test1.pcm)
1510 //! 7. Play 30 seconds
1513 //! 10. Delete DevSound instance
1516 //! 1. Create DevSound instance
1517 //! 2. Create AudioInput instance (DevSoundInstanceName = devsound1)
1518 //! 3. Initialize DevSound (Mode = EMMFStateRecording; FourCC ={SpecialFourCC,RAW})
1519 //! 4. Set Priority (Priority = {Priority,PriorityVoiceRecording}; Preference = {PriorityPreference,PriorityPreferenceVoiceRecording};PriorityState=EMMFStateRecording)
1521 //! 6. Set Configuration and delay 15 seconds(Channels = EMMFMono; Rate = EMMFSampleRate48000Hz)
1522 //! 7. Replace file (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\RoutingPlayMixingRecSpeaker.pcm)
1523 //! 8. Set audio input (AudioInput = Input_OutputtoSpeaker)
1524 //! 9. Record 15 seconds
1525 //! 10. Stop 15 seconds
1527 //! 12. Initialize DevSound (Mode = EMMFStatePlaying; FourCC ={SpecialFourCC,RAW})
1528 //! 13. Set Priority (Priority = {Priority,PriorityAudioPlayback}; Preference = {PriorityPreference,PriorityPreferenceAudioPlayback};PriorityState=EMMFStatePlaying)
1529 //! 14. Set Configuration(Channels = EMMFMono; Rate = EMMFSampleRate48000Hz)
1530 //! 15. Open file (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\RoutingPlayMixingRecSpeaker.pcm)
1533 //! 18. Delete AudioInput instance
1534 //! 19. Delete DevSound instance
1536 //!@SYMTestStatus Verified
1537 //!@SYMTestPriority High
1538 //!@SYMTestExpectedResults
1539 //! AA_Audio routing - Playback mixing 48k mono recording from speaker
1541 //! AA_Audio routing - Playback mixing 48k mono recording from speaker
1543 //! AA_Audio routing - Playback mixing 48k mono recording from speaker
1545 //! AA_Audio routing - Playback mixing 48k mono recording from speaker
1553 START_TEST_BLOCK 70 t_devsoundext \multimedia\mmf\devsound\multimedia-mmf-devsoundext-validation-automated-comb_pr.ini
1554 CREATE_OBJECT CMMFDevSound devsound1
1555 COMMAND devsound1 NewL
1556 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0017-0001-InitializeL_command02
1558 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0017-0001-SetPrioritySettings_command03
1559 COMMAND devsound1 Capabilities
1560 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0017-0001-SetConfigL_command05
1561 COMMAND devsound1 OpenFile MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0017-0001-OpenFile_command06
1562 COMMAND !AsyncError=-13 devsound1 PlayInitL
1563 ASYNC_DELAY 35000000
1564 COMMAND devsound1 Stop
1565 COMMAND devsound1 CloseFile
1571 START_TEST_BLOCK 70 t_devsoundext \multimedia\mmf\devsound\multimedia-mmf-devsoundext-validation-automated-comb_pr.ini
1572 CREATE_OBJECT CMMFDevSound devsound1
1573 COMMAND devsound1 NewL
1574 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0017-0002-InitializeL_command02
1576 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0017-0002-SetPrioritySettings_command03
1577 COMMAND devsound1 Capabilities
1578 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0017-0002-SetConfigL_command05
1580 COMMAND devsound1 OpenFile MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0017-0002-OpenFile_command06
1581 COMMAND !AsyncError=-13 devsound1 PlayInitL
1582 ASYNC_DELAY 30000000
1583 COMMAND devsound1 Stop
1584 COMMAND devsound1 CloseFile
1590 START_TEST_BLOCK 70 t_devsoundext \multimedia\mmf\devsound\multimedia-mmf-devsoundext-validation-automated-comb_pr.ini
1591 CREATE_OBJECT CMMFDevSound devsound1
1592 CREATE_OBJECT CAudioInput audioinput1
1593 COMMAND devsound1 NewL
1594 COMMAND audioinput1 NewL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0017-0003-NewL_command02
1595 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0017-0003-InitializeL_command03
1597 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0017-0003-SetPrioritySettings_command04
1598 COMMAND devsound1 Capabilities
1599 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0017-0003-SetConfigL_command06
1601 COMMAND devsound1 ReplaceFile MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0017-0003-ReplaceFile_command07
1602 COMMAND audioinput1 SetAudioInput MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0017-0003-SetAudioInput_command08
1603 COMMAND devsound1 RecordInitL
1604 ASYNC_DELAY 15000000
1605 COMMAND devsound1 Stop
1607 COMMAND devsound1 CloseFile
1608 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0017-0003-InitializeL_command12
1610 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0017-0003-SetPrioritySettings_command13
1611 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0017-0003-SetConfigL_command14
1612 COMMAND devsound1 OpenFile MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0017-0003-OpenFile_command15
1613 COMMAND devsound1 PlayInitL
1615 COMMAND devsound1 CloseFile
1616 COMMAND audioinput1 ~
1619 END_TESTCASE MULTIMEDIA-MMF-DEVSOUNDEXT-VALIDATION-AUTOMATED-COMB_PR-0017