os/mm/mmapitest/devsoundhaitest/scripts/multimedia-mmf-devsound-stress-automated-playback.script
First public contribution.
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-devsound-stress-automated-playback
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.
37 START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-STRESS-AUTOMATED-PLAYBACK-0001
39 //!@SYMTestCaseID MULTIMEDIA-MMF-DEVSOUND-STRESS-AUTOMATED-PLAYBACK-0001
41 //! CMMFDevSound::InitializeL(MDevSoundObserver , TFourCC , TMMFState)
42 //! CMMFDevSound::SetPrioritySettings(const TMMFPrioritySettings )
43 //! CMMFDevSound::Capabilities()
44 //! CMMFDevSound::SetConfigL(const TMMFCapabilities )
45 //! CMMFDevSound::PlayInitL()
46 //! CMMFDevSound::Stop()
47 //!@SYMAuthor jguillermo
48 //!@SYMCreationDate 7/21/2008
49 //!@SYMTestCaseDesc AMR-NB playback of long file
51 //! 1. Create Devsound instance
52 //! 2. Initialize Devsound (Mode = EMMFStatePlaying; FourCC = AMR)
53 //! 3. Set Priority (Priority = {Priority,PriorityNormal}; Preference = {PriorityPreference,PriorityPreferenceQuality}; PriorityState = EMMFStatePlaying)
55 //! 5. Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz)
56 //! 6. Open File(Filename = {drive,mmc}\multimedia\mmf\devsound\amr-nb\AMRNB_8k_12.2kbps_mono_long.amr;WaitForEOF = ETrue)
59 //! 9. Destroy Devsound instance
60 //!@SYMTestStatus Verified
61 //!@SYMTestPriority High
62 //!@SYMTestExpectedResults
63 //! AMR-NB playback of long file
66 START_TEST_BLOCK 1000 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-stress-automated-playback.ini
67 CREATE_OBJECT CMMFDevSound devsound1
68 COMMAND devsound1 NewL
69 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Stress-Playback-0001-0001-InitializeL_command02
71 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Stress-Playback-0001-0001-SetPrioritySettings_command03
72 COMMAND devsound1 Capabilities
73 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSound-Stress-Playback-0001-0001-SetConfigL_command05
74 COMMAND devsound1 OpenFile MULTIMEDIA-MMF-DevSound-Stress-Playback-0001-0001-OpenFile_command06
75 COMMAND devsound1 PlayInitL
77 COMMAND devsound1 CloseFile
80 END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-STRESS-AUTOMATED-PLAYBACK-0001
85 START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-STRESS-AUTOMATED-PLAYBACK-0002
87 //!@SYMTestCaseID MULTIMEDIA-MMF-DEVSOUND-STRESS-AUTOMATED-PLAYBACK-0002
89 //! CMMFDevSound::InitializeL(MDevSoundObserver , TFourCC , TMMFState)
90 //! CMMFDevSound::SetPrioritySettings(const TMMFPrioritySettings )
91 //! CMMFDevSound::Capabilities()
92 //! CMMFDevSound::SetConfigL(const TMMFCapabilities )
93 //! CMMFDevSound::PlayInitL()
94 //! CMMFDevSound::Stop()
96 //!@SYMCreationDate 7/28/2008
97 //!@SYMTestCaseDesc AMR-NB playback unexpected events
99 //! 1. Create Devsound instance
100 //! 2. Initialize Devsound (Mode = EMMFStatePlaying; FourCC = AMR)
101 //! 3. Set Priority ( Priority = {Priority,PriorityNormal}; Preference = {PriorityPreference,PriorityPreferenceQuality};PriorityState=EMMFStatePlaying)
103 //! 5. Set Configuration(Channels = EMMFMono; Rate = EMMFSampleRate8000Hz)
105 //! 7. OpenFile (Filename = {drive,mmc}\multimedia\mmf\devsound\amr-nb\AMRNB_8k_12.2kbps_mono_speech.amr)
106 //! 8. Play 10 seconds
107 //! 9. Pause for 5 seconds(Pause=TRUE)
108 //! 10. FileStartPosition
110 //! 12. Pause for 5 seconds(Pause=TRUE)
111 //! 13. Play 10 seconds
114 //! 16. Delete devsound instance
115 //!@SYMTestStatus Verified
116 //!@SYMTestPriority High
117 //!@SYMTestExpectedResults
118 //! AMR-NB playback unexpected events
121 START_TEST_BLOCK 50 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-stress-automated-playback.ini
122 CREATE_OBJECT CMMFDevSound devsound1
123 COMMAND devsound1 NewL
124 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Stress-Playback-0002-0001-InitializeL_command02
126 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Stress-Playback-0002-0001-SetPrioritySettings_command03
127 COMMAND devsound1 Capabilities
128 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSound-Stress-Playback-0002-0001-SetConfigL_command05
129 COMMAND devsound1 Stop
130 COMMAND devsound1 OpenFile MULTIMEDIA-MMF-DevSound-Stress-Playback-0002-0001-OpenFile_command07
131 COMMAND devsound1 PlayInitL
133 COMMAND devsound1 Stop MULTIMEDIA-MMF-DevSound-Stress-Playback-0002-0001-Stop_command09
135 COMMAND devsound1 FileStartPosition
136 COMMAND devsound1 Stop
137 COMMAND devsound1 Stop MULTIMEDIA-MMF-DevSound-Stress-Playback-0002-0001-Stop_command12
139 COMMAND devsound1 PlayInitL
141 COMMAND devsound1 Stop
142 COMMAND devsound1 CloseFile
145 END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-STRESS-AUTOMATED-PLAYBACK-0002
150 START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-STRESS-AUTOMATED-PLAYBACK-0003
152 //!@SYMTestCaseID MULTIMEDIA-MMF-DEVSOUND-STRESS-AUTOMATED-PLAYBACK-0003
154 //! CMMFDevSound::InitializeL(MDevSoundObserver , TFourCC , TMMFState)
155 //! CMMFDevSound::SetPrioritySettings(const TMMFPrioritySettings )
156 //! CMMFDevSound::Capabilities()
157 //! CMMFDevSound::SetConfigL(const TMMFCapabilities )
158 //! CMMFDevSound::PlayInitL()
159 //! CMMFDevSound::Stop()
160 //!@SYMAuthor jguillermo
161 //!@SYMCreationDate 7/21/2008
162 //!@SYMTestCaseDesc AMR-WB playback of long file
164 //! 1. Create Devsound instance
165 //! 2. Initialize Devsound ( Mode=EMMFStatePlaying; FourCC = AWB)
166 //! 3. Set Priority ( Priority = {Priority,PriorityNormal}; Preference = {PriorityPreference,PriorityPreferenceQuality};PriorityState=EMMFStatePlaying)
168 //! 5. Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate16000Hz)
169 //! 6. Open File (Filename = {drive,mmc}\multimedia\mmf\devsound\amr-wb\AMRWB_16k_23.85kbps_mono_long.awb)
172 //! 9. Destroy Devsound instance
173 //!@SYMTestStatus Verified
174 //!@SYMTestPriority High
175 //!@SYMTestExpectedResults
176 //! AMR-WB playback of long file
179 START_TEST_BLOCK 1200 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-stress-automated-playback.ini
180 CREATE_OBJECT CMMFDevSound devsound1
181 COMMAND devsound1 NewL
182 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Stress-Playback-0003-0001-InitializeL_command02
184 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Stress-Playback-0003-0001-SetPrioritySettings_command03
185 COMMAND devsound1 Capabilities
186 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSound-Stress-Playback-0003-0001-SetConfigL_command05
187 COMMAND devsound1 OpenFile MULTIMEDIA-MMF-DevSound-Stress-Playback-0003-0001-OpenFile_command06
188 COMMAND devsound1 PlayInitL
190 COMMAND devsound1 CloseFile
193 END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-STRESS-AUTOMATED-PLAYBACK-0003
198 START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-STRESS-AUTOMATED-PLAYBACK-0004
200 //!@SYMTestCaseID MULTIMEDIA-MMF-DEVSOUND-STRESS-AUTOMATED-PLAYBACK-0004
202 //! CMMFDevSound::InitializeL(MDevSoundObserver , TFourCC , TMMFState)
203 //! CMMFDevSound::SetPrioritySettings(const TMMFPrioritySettings )
204 //! CMMFDevSound::Capabilities()
205 //! CMMFDevSound::SetConfigL(const TMMFCapabilities )
206 //! CMMFDevSound::PlayInitL()
207 //! CMMFDevSound::Stop()
209 //!@SYMCreationDate 7/28/2008
210 //!@SYMTestCaseDesc AMR-WB playback unexpected events
212 //! 1. Create Devsound instance
213 //! 2. Initialize Devsound (Mode = EMMFStatePlaying; FourCC = AWB)
214 //! 3. Set Priority ( Priority = {Priority,PriorityNormal}; Preference = {PriorityPreference,PriorityPreferenceQuality}; PriorityState = EMMFStatePlaying)
216 //! 5. Set Configuration(Channels = EMMFMono; Rate = EMMFSampleRate16000Hz)
217 //! 6. Stop for 5 seconds
218 //! 7. OpenFile (Filename = {drive,mmc}\multimedia\mmf\devsound\amr-wb\AMRWB_16k_23.85kbps_mono_speech.awb)
219 //! 8. Play 10 seconds
220 //! 9. Pause for 5 seconds(Pause=TRUE)
221 //! 10. FileStartPosition
223 //! 12. Pause for 5 seconds(Pause=TRUE)
224 //! 13. Play 10 seconds
227 //! 16. Delete devsound instance
228 //!@SYMTestStatus Verified
229 //!@SYMTestPriority High
230 //!@SYMTestExpectedResults
231 //! AMR-WB playback unexpected events
234 START_TEST_BLOCK 60 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-stress-automated-playback.ini
235 CREATE_OBJECT CMMFDevSound devsound1
236 COMMAND devsound1 NewL
237 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Stress-Playback-0004-0001-InitializeL_command02
239 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Stress-Playback-0004-0001-SetPrioritySettings_command03
240 COMMAND devsound1 Capabilities
241 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSound-Stress-Playback-0004-0001-SetConfigL_command05
242 COMMAND devsound1 Stop
244 COMMAND devsound1 OpenFile MULTIMEDIA-MMF-DevSound-Stress-Playback-0004-0001-OpenFile_command07
245 COMMAND devsound1 PlayInitL
247 COMMAND devsound1 Stop MULTIMEDIA-MMF-DevSound-Stress-Playback-0004-0001-Stop_command09
249 COMMAND devsound1 FileStartPosition
250 COMMAND devsound1 Stop
252 COMMAND devsound1 Stop MULTIMEDIA-MMF-DevSound-Stress-Playback-0004-0001-Stop_command12
254 COMMAND devsound1 PlayInitL
256 COMMAND devsound1 Stop
257 COMMAND devsound1 CloseFile
260 END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-STRESS-AUTOMATED-PLAYBACK-0004
265 START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-STRESS-AUTOMATED-PLAYBACK-0005
267 //!@SYMTestCaseID MULTIMEDIA-MMF-DEVSOUND-STRESS-AUTOMATED-PLAYBACK-0005
269 //! CMMFDevSound::InitializeL(MDevSoundObserver , TFourCC , TMMFState)
270 //! CMMFDevSound::SetPrioritySettings(const TMMFPrioritySettings )
271 //! CMMFDevSound::Capabilities()
272 //! CMMFDevSound::SetConfigL(const TMMFCapabilities )
273 //! CMMFDevSound::PlayInitL()
274 //! CMMFDevSound::Stop()
275 //!@SYMAuthor jguillermo
276 //!@SYMCreationDate 7/21/2008
277 //!@SYMTestCaseDesc G.729AB playback of long file
279 //! 1. Create Devsound instance
280 //! 2. Initialize Devsound ( Mode=EMMFStatePlaying; FourCC = G729)
281 //! 3. Set Priority ( Priority = {Priority,PriorityNormal}; Preference = {PriorityPreference,PriorityPreferenceQuality};PriorityState=EMMFStatePlaying)
283 //! 5. Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz)
284 //! 6. Open File (Filename = {drive,mmc}\multimedia\mmf\devsound\G729AB\G729AB_8k_8kbps_mono_dtx_on_long.bin)
287 //! 9. Destroy Devsound instance
288 //!@SYMTestStatus Verified
289 //!@SYMTestPriority High
290 //!@SYMTestExpectedResults
291 //! G.729AB playback of long file
294 START_TEST_BLOCK 1000 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-stress-automated-playback.ini
295 CREATE_OBJECT CMMFDevSound devsound1
296 COMMAND devsound1 NewL
297 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Stress-Playback-0005-0001-InitializeL_command02
299 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Stress-Playback-0005-0001-SetPrioritySettings_command03
300 COMMAND devsound1 Capabilities
301 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSound-Stress-Playback-0005-0001-SetConfigL_command05
302 COMMAND devsound1 OpenFile MULTIMEDIA-MMF-DevSound-Stress-Playback-0005-0001-OpenFile_command06
303 COMMAND devsound1 PlayInitL
305 COMMAND devsound1 CloseFile
308 END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-STRESS-AUTOMATED-PLAYBACK-0005
313 START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-STRESS-AUTOMATED-PLAYBACK-0006
315 //!@SYMTestCaseID MULTIMEDIA-MMF-DEVSOUND-STRESS-AUTOMATED-PLAYBACK-0006
317 //! CMMFDevSound::InitializeL(MDevSoundObserver , TFourCC , TMMFState)
318 //! CMMFDevSound::SetPrioritySettings(const TMMFPrioritySettings )
319 //! CMMFDevSound::Capabilities()
320 //! CMMFDevSound::SetConfigL(const TMMFCapabilities )
321 //! CMMFDevSound::PlayInitL()
322 //! CMMFDevSound::Stop()
324 //!@SYMCreationDate 7/28/2008
325 //!@SYMTestCaseDesc MP3 playback invalid file
327 //! 1. Create Devsound instance
328 //! 2. Initialize Devsound (Mode = EMMFStatePlaying; FourCC = MP3)
329 //! 3. Set Priority ( Priority = {Priority,PriorityNormal}; Preference = {PriorityPreference,PriorityPreferenceQuality}; PriorityState = EMMFStatePlaying)
331 //! 5. Set Configuration(Channels = EMMFStereo; Rate = EMMFSampleRate48000Hz)
332 //! 6. OpenFile (Filename = {drive,mmc}\multimedia\mmf\devsound\mp3\Err_MP3_44.1k_64kbps_mono.mp3)
335 //! 9. Delete devsound instance
337 //!@SYMTestStatus Verified
338 //!@SYMTestPriority High
339 //!@SYMTestExpectedResults
340 //! MP3 playback invalid file
343 START_TEST_BLOCK 97 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-stress-automated-playback.ini
344 CREATE_OBJECT CMMFDevSound devsound1
345 COMMAND devsound1 NewL
346 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Stress-Playback-0006-0001-InitializeL_command02
348 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Stress-Playback-0006-0001-SetPrioritySettings_command03
349 COMMAND devsound1 Capabilities
350 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSound-Stress-Playback-0006-0001-SetConfigL_command05
351 COMMAND devsound1 OpenFile MULTIMEDIA-MMF-DevSound-Stress-Playback-0006-0001-OpenFile_command06
352 COMMAND devsound1 PlayInitL
354 COMMAND devsound1 CloseFile
357 END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-STRESS-AUTOMATED-PLAYBACK-0006
362 START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-STRESS-AUTOMATED-PLAYBACK-0007
364 //!@SYMTestCaseID MULTIMEDIA-MMF-DEVSOUND-STRESS-AUTOMATED-PLAYBACK-0007
366 //! CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState)
367 //! CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref})
368 //! CMMFDevSound::Capabilities()
369 //! CMMFDevSound::SetConfigL(TMMFCapabilities {ref})
370 //! CMMFDevSound::PlayInitL()
371 //!@SYMAuthor jguillermo
372 //!@SYMCreationDate 7/21/2008
373 //!@SYMTestCaseDesc MP3 playback of long file
375 //! 1. Create Devsound instance
376 //! 2. Initialize Devsound (Mode = EMMFStatePlaying; FourCC = MP3)
377 //! 3. Set Priority (Priority = {Priority,PriorityNormal}; Preference = {PriorityPreference,PriorityPreferenceQuality}; PriorityState = EMMFStatePlaying)
379 //! 5. Set Configuration (Channels = EMMFStereo; Rate = EMMFSampleRate44100Hz)
380 //! 6. Open File (Filename = {drive,mmc}\multimedia\mmf\devsound\mp3\MP3_44.1k_128kbps_st_long.mp3)
383 //! 9. Destroy Devsound instance
384 //!@SYMTestStatus Verified
385 //!@SYMTestPriority High
386 //!@SYMTestExpectedResults
387 //! MP3 playback of long file
390 START_TEST_BLOCK 1000 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-stress-automated-playback.ini
391 CREATE_OBJECT CMMFDevSound devsound1
392 COMMAND devsound1 NewL
393 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Stress-Playback-0007-0001-InitializeL_command02
395 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Stress-Playback-0007-0001-SetPrioritySettings_command03
396 COMMAND devsound1 Capabilities
397 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSound-Stress-Playback-0007-0001-SetConfigL_command05
398 COMMAND devsound1 OpenFile MULTIMEDIA-MMF-DevSound-Stress-Playback-0007-0001-OpenFile_command06
399 COMMAND devsound1 PlayInitL
401 COMMAND devsound1 CloseFile
404 END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-STRESS-AUTOMATED-PLAYBACK-0007
409 START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-STRESS-AUTOMATED-PLAYBACK-0008
411 //!@SYMTestCaseID MULTIMEDIA-MMF-DEVSOUND-STRESS-AUTOMATED-PLAYBACK-0008
413 //! CMMFDevSound::InitializeL(MDevSoundObserver , TFourCC , TMMFState)
414 //! CMMFDevSound::SetPrioritySettings(const TMMFPrioritySettings )
415 //! CMMFDevSound::Capabilities()
416 //! CMMFDevSound::SetConfigL(const TMMFCapabilities )
417 //! CMMFDevSound::PlayInitL()
418 //! CMMFDevSound::Stop()
420 //!@SYMCreationDate 7/28/2008
421 //!@SYMTestCaseDesc MP3 playback unexpected events
423 //! 1. Create Devsound instance
424 //! 2. Initialize Devsound (Mode = EMMFStatePlaying; FourCC = MP3)
425 //! 3. Set Priority ( Priority = {Priority,PriorityNormal}; Preference = {PriorityPreference,PriorityPreferenceQuality};PriorityState=EMMFStatePlaying)
427 //! 5. Set Configuration(Channels=EMMFMono;Rate=EMMFSampleRate8000Hz)
428 //! 6. Stop 5 seconds
429 //! 7. OpenFile (Filename = {drive,mmc}\multimedia\mmf\devsound\mp3\MP3_48k_320kbps_st_Test3.mp3)
430 //! 8. Play 10 seconds
431 //! 9. Pause for 5 seconds(Pause=TRUE)
432 //! 10. FileStartPosition
433 //! 11. Stop 5 seconds
434 //! 12. Pause for 5 seconds(Pause=TRUE)
435 //! 13. Play 10 seconds
438 //! 16. Delete devsound instance
439 //!@SYMTestStatus Verified
440 //!@SYMTestPriority High
441 //!@SYMTestExpectedResults
442 //! MP3 playback unexpected events
445 START_TEST_BLOCK 60 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-stress-automated-playback.ini
446 CREATE_OBJECT CMMFDevSound devsound1
447 COMMAND devsound1 NewL
448 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Stress-Playback-0008-0001-InitializeL_command02
450 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Stress-Playback-0008-0001-SetPrioritySettings_command03
451 COMMAND devsound1 Capabilities
452 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSound-Stress-Playback-0008-0001-SetConfigL_command05
453 COMMAND devsound1 Stop
455 COMMAND devsound1 OpenFile MULTIMEDIA-MMF-DevSound-Stress-Playback-0008-0001-OpenFile_command07
456 COMMAND devsound1 PlayInitL
458 COMMAND devsound1 Stop MULTIMEDIA-MMF-DevSound-Stress-Playback-0008-0001-Stop_command09
460 COMMAND devsound1 FileStartPosition
461 COMMAND devsound1 Stop
463 COMMAND devsound1 Stop MULTIMEDIA-MMF-DevSound-Stress-Playback-0008-0001-Stop_command12
465 COMMAND devsound1 PlayInitL
467 COMMAND devsound1 Stop
468 COMMAND devsound1 CloseFile
471 END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-STRESS-AUTOMATED-PLAYBACK-0008
476 START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-STRESS-AUTOMATED-PLAYBACK-0009
478 //!@SYMTestCaseID MULTIMEDIA-MMF-DEVSOUND-STRESS-AUTOMATED-PLAYBACK-0009
480 //! CMMFDevSound::InitializeL(MDevSoundObserver , TFourCC , TMMFState)
481 //! CMMFDevSound::SetPrioritySettings(const TMMFPrioritySettings )
482 //! CMMFDevSound::Capabilities()
483 //! CMMFDevSound::SetConfigL(const TMMFCapabilities )
484 //! CMMFDevSound::PlayInitL()
485 //! CMMFDevSound::Stop()
487 //!@SYMCreationDate 7/28/2008
488 //!@SYMTestCaseDesc PCM playback empty file
490 //! 1. Create Devsound instance
491 //! 2. Initialize Devsound ( Mode = EMMFStatePlaying)
492 //! 3. Set Priority (Priority = {Priority,PriorityNormal}; Preference = {PriorityPreference,PriorityPreferenceQuality}; PriorityState = EMMFStatePlaying)
494 //! 5. Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz)
495 //! 6. OpenFile (Filename = {drive,mmc}\multimedia\mmf\devsound\pcm\empty.pcm)
498 //! 9. Delete devsound instance
500 //!@SYMTestStatus Verified
501 //!@SYMTestPriority High
502 //!@SYMTestExpectedResults
503 //! PCM playback empty file
506 START_TEST_BLOCK 30 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-stress-automated-playback.ini
507 CREATE_OBJECT CMMFDevSound devsound1
508 COMMAND devsound1 NewL
509 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Stress-Playback-0009-0001-InitializeL_command02
511 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Stress-Playback-0009-0001-SetPrioritySettings_command03
512 COMMAND devsound1 Capabilities
513 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSound-Stress-Playback-0009-0001-SetConfigL_command05
514 COMMAND devsound1 OpenFile MULTIMEDIA-MMF-DevSound-Stress-Playback-0009-0001-OpenFile_command06
515 COMMAND devsound1 PlayInitL
517 COMMAND devsound1 CloseFile
520 END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-STRESS-AUTOMATED-PLAYBACK-0009
525 START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-STRESS-AUTOMATED-PLAYBACK-0010
527 //!@SYMTestCaseID MULTIMEDIA-MMF-DEVSOUND-STRESS-AUTOMATED-PLAYBACK-0010
529 //! CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState)
530 //! CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref})
531 //! CMMFDevSound::Capabilities()
532 //! CMMFDevSound::SetConfigL(TMMFCapabilities {ref})
533 //! CMMFDevSound::PlayInitL()
534 //!@SYMAuthor jguillermo
535 //!@SYMCreationDate 7/21/2008
536 //!@SYMTestCaseDesc PCM playback of long file
538 //! 1. Create Devsound instance
539 //! 2. Initialize Devsound (Mode = EMMFStatePlaying; FourCC = {SpecialFourCC,RAW})
540 //! 3. Set Priority (Priority = {Priority,PriorityNormal}; Preference = {PriorityPreference,PriorityPreferenceQuality}; PriorityState = EMMFStatePlaying)
542 //! 5. Set Configuration (Channels = EMMFStereo; Rate = EMMFSampleRate8000Hz)
543 //! 6. Open File (Filename = {drive,mmc}\multimedia\mmf\devsound\pcm\PCM_8k_16b_signed_st_long.pcm)
546 //! 9. Destroy Devsound instance
547 //!@SYMTestStatus Verified
548 //!@SYMTestPriority High
549 //!@SYMTestExpectedResults
550 //! PCM playback of long file
553 START_TEST_BLOCK 1000 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-stress-automated-playback.ini
554 CREATE_OBJECT CMMFDevSound devsound1
555 COMMAND devsound1 NewL
556 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Stress-Playback-0010-0001-InitializeL_command02
558 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Stress-Playback-0010-0001-SetPrioritySettings_command03
559 COMMAND devsound1 Capabilities
560 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSound-Stress-Playback-0010-0001-SetConfigL_command05
561 COMMAND devsound1 OpenFile MULTIMEDIA-MMF-DevSound-Stress-Playback-0010-0001-OpenFile_command06
562 COMMAND devsound1 PlayInitL
564 COMMAND devsound1 CloseFile
567 END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-STRESS-AUTOMATED-PLAYBACK-0010