|
1 // |
|
2 // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 // All rights reserved. |
|
4 // This component and the accompanying materials are made available |
|
5 // under the terms of "Eclipse Public License v1.0" |
|
6 // which accompanies this distribution, and is available |
|
7 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 // |
|
9 // Initial Contributors: |
|
10 // Nokia Corporation - initial contribution. |
|
11 // |
|
12 // Contributors: |
|
13 // |
|
14 // Description: |
|
15 // |
|
16 // |
|
17 //! @file |
|
18 //! @SYMTestSuiteName multimedia-mmf-devsound-validation-automated-recording |
|
19 //! @SYMScriptTestEnvironment This test script requires a basic ROM. |
|
20 // |
|
21 // Tests all public elements of the CMMFDevSound |
|
22 // classes as a means of confidence that the APIs work as expected. |
|
23 // |
|
24 // The purpose is to provide a regression test suite of PublishedAll |
|
25 // APIs for: CMMFDevSound |
|
26 // The tests are fully automated. |
|
27 // |
|
28 |
|
29 |
|
30 |
|
31 LOAD_SUITE t_devsound |
|
32 |
|
33 |
|
34 |
|
35 |
|
36 |
|
37 START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-RECORDING-0001 |
|
38 |
|
39 //!@SYMTestCaseID MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-RECORDING-0001 |
|
40 //!@SYMAPI |
|
41 //! CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TMMFState ) |
|
42 //! CMMFDevSound::SetPrioritySettings(const TMMFPrioritySettings {ref} ) |
|
43 //! CMMFDevSound::Capabilities() |
|
44 //! CMMFDevSound::SetConfigL(const TMMFCapabilities {ref} ) |
|
45 //! CMMFDevSound::PlayInitL() |
|
46 //! CMMFDevSound::RecordInitL() |
|
47 //! CMMFDevSound::Stop() |
|
48 //! CMMFDevSound::Pause() |
|
49 //!@SYMAuthor etorres |
|
50 //!@SYMCreationDate 7/28/2008 |
|
51 //!@SYMTestCaseDesc AMR-NB recording with pause |
|
52 //!@SYMTestActions |
|
53 //! 1. Create Devsound instance |
|
54 //! 2. Initialize Devsound (Mode = EMMFStateRecording; FourCC = AMR) |
|
55 //! 3. Set Priority (Priority = {Priority,PriorityNormal}; Preference = {PriorityPreference,PriorityPreferenceQuality}; PriorityState = EMMFStateRecording) |
|
56 //! 4. Capabilities |
|
57 //! 5. Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz) |
|
58 //! 6. ReplaceFile (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\RecAMR_pause.amr) |
|
59 //! 7. Record 10s |
|
60 //! 8. Pause 5s(Pause=TRUE) |
|
61 //! 9. Record 10s |
|
62 //! 10. Stop 5s |
|
63 //! 11. CloseFile |
|
64 //! 12. Initialize Devsound (Mode = EMMFStatePlaying; FourCC = AMR) |
|
65 //! 13. Set Priority (Priority = {Priority,PriorityNormal}; Preference = {PriorityPreference,PriorityPreferenceQuality}; PriorityState = EMMFStatePlaying) |
|
66 //! 14. Capabilities |
|
67 //! 15. Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz) |
|
68 //! 16. OpenFile (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\RecAMR_pause.amr) |
|
69 //! 17. Start Play EOF |
|
70 //! 18. CloseFile |
|
71 //! 19. Delete devsound instance |
|
72 //!@SYMTestStatus Verified |
|
73 //!@SYMTestPriority High |
|
74 //!@SYMTestExpectedResults |
|
75 //! AMR-NB recording with pause |
|
76 //!@SYMTestType CIT |
|
77 |
|
78 START_TEST_BLOCK 60 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-recording.ini |
|
79 CREATE_OBJECT CMMFDevSound devsound1 |
|
80 COMMAND devsound1 NewL |
|
81 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Recording-0001-0001-InitializeL_command02 |
|
82 OUTSTANDING |
|
83 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Recording-0001-0001-SetPrioritySettings_command03 |
|
84 COMMAND devsound1 Capabilities |
|
85 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSound-Recording-0001-0001-SetConfigL_command05 |
|
86 COMMAND devsound1 ReplaceFile MULTIMEDIA-MMF-DevSound-Recording-0001-0001-ReplaceFile_command06 |
|
87 COMMAND devsound1 RecordInitL |
|
88 ASYNC_DELAY 10000000 |
|
89 COMMAND devsound1 Stop MULTIMEDIA-MMF-DevSound-Recording-0001-0001-Stop_command08 |
|
90 DELAY 5000000 |
|
91 COMMAND devsound1 RecordInitL |
|
92 ASYNC_DELAY 10000000 |
|
93 COMMAND devsound1 Stop |
|
94 DELAY 5000000 |
|
95 COMMAND devsound1 CloseFile |
|
96 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Recording-0001-0001-InitializeL_command12 |
|
97 OUTSTANDING |
|
98 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Recording-0001-0001-SetPrioritySettings_command13 |
|
99 COMMAND devsound1 Capabilities |
|
100 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSound-Recording-0001-0001-SetConfigL_command15 |
|
101 COMMAND devsound1 OpenFile MULTIMEDIA-MMF-DevSound-Recording-0001-0001-OpenFile_command16 |
|
102 COMMAND devsound1 PlayInitL |
|
103 OUTSTANDING |
|
104 COMMAND devsound1 CloseFile |
|
105 COMMAND devsound1 ~ |
|
106 END_TEST_BLOCK |
|
107 END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-RECORDING-0001 |
|
108 |
|
109 |
|
110 |
|
111 |
|
112 START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-RECORDING-0002 |
|
113 |
|
114 //!@SYMTestCaseID MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-RECORDING-0002 |
|
115 //!@SYMAPI |
|
116 //! CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TMMFState ) |
|
117 //! CMMFDevSound::SetPrioritySettings(const TMMFPrioritySettings {ref} ) |
|
118 //! CMMFDevSound::Capabilities() |
|
119 //! CMMFDevSound::SetConfigL(const TMMFCapabilities {ref} ) |
|
120 //! CMMFDevSound::PlayInitL() |
|
121 //! CMMFDevSound::RecordInitL() |
|
122 //! CMMFDevSound::Stop() |
|
123 //! CMMFDevSound::Pause() |
|
124 //!@SYMAuthor etorres |
|
125 //!@SYMCreationDate 7/28/2008 |
|
126 //!@SYMTestCaseDesc AMR-WB recording with pause |
|
127 //!@SYMTestActions |
|
128 //! 1. Create Devsound instance |
|
129 //! 2. Initialize Devsound (Mode = EMMFStateRecording; FourCC = AWB) |
|
130 //! 3. Set Priority (Priority = {Priority,PriorityNormal}; Preference = {PriorityPreference,PriorityPreferenceQuality}; PriorityState = EMMFStateRecording) |
|
131 //! 4. Capabilities |
|
132 //! 5. Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz) |
|
133 //! 6. ReplaceFile (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\RecAWB_pause.awb) |
|
134 //! 7. Record 10s |
|
135 //! 8. Pause 5s(Pause=TRUE) |
|
136 //! 9. Record 10s |
|
137 //! 10. Stop 5s |
|
138 //! 11. CloseFile |
|
139 //! 12. Initialize Devsound (Mode = EMMFStatePlaying; FourCC = AWB) |
|
140 //! 13. Set Priority (Priority = {Priority,PriorityNormal}; Preference = {PriorityPreference,PriorityPreferenceQuality}; PriorityState = EMMFStatePlaying) |
|
141 //! 14. Capabilities |
|
142 //! 15. Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz) |
|
143 //! 16. OpenFile (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\RecAWB_pause.awb) |
|
144 //! 17. Start Play EOF |
|
145 //! 18. CloseFile |
|
146 //! 19. Delete devsound instance |
|
147 //!@SYMTestStatus Verified |
|
148 //!@SYMTestPriority High |
|
149 //!@SYMTestExpectedResults |
|
150 //! AMR-WB recording with pause |
|
151 //!@SYMTestType CIT |
|
152 |
|
153 START_TEST_BLOCK 60 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-recording.ini |
|
154 CREATE_OBJECT CMMFDevSound devsound1 |
|
155 COMMAND devsound1 NewL |
|
156 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Recording-0002-0001-InitializeL_command02 |
|
157 OUTSTANDING |
|
158 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Recording-0002-0001-SetPrioritySettings_command03 |
|
159 COMMAND devsound1 Capabilities |
|
160 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSound-Recording-0002-0001-SetConfigL_command05 |
|
161 COMMAND devsound1 ReplaceFile MULTIMEDIA-MMF-DevSound-Recording-0002-0001-ReplaceFile_command06 |
|
162 COMMAND devsound1 RecordInitL |
|
163 ASYNC_DELAY 10000000 |
|
164 COMMAND devsound1 Stop MULTIMEDIA-MMF-DevSound-Recording-0002-0001-Stop_command08 |
|
165 DELAY 5000000 |
|
166 COMMAND devsound1 RecordInitL |
|
167 ASYNC_DELAY 10000000 |
|
168 COMMAND devsound1 Stop |
|
169 DELAY 5000000 |
|
170 COMMAND devsound1 CloseFile |
|
171 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Recording-0002-0001-InitializeL_command12 |
|
172 OUTSTANDING |
|
173 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Recording-0002-0001-SetPrioritySettings_command13 |
|
174 COMMAND devsound1 Capabilities |
|
175 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSound-Recording-0002-0001-SetConfigL_command15 |
|
176 COMMAND devsound1 OpenFile MULTIMEDIA-MMF-DevSound-Recording-0002-0001-OpenFile_command16 |
|
177 COMMAND devsound1 PlayInitL |
|
178 OUTSTANDING |
|
179 COMMAND devsound1 CloseFile |
|
180 COMMAND devsound1 ~ |
|
181 END_TEST_BLOCK |
|
182 END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-RECORDING-0002 |
|
183 |
|
184 |
|
185 |
|
186 |
|
187 START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-RECORDING-0003 |
|
188 |
|
189 //!@SYMTestCaseID MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-RECORDING-0003 |
|
190 //!@SYMAPI |
|
191 //! CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TMMFState ) |
|
192 //! CMMFDevSound::SetPrioritySettings(const TMMFPrioritySettings {ref} ) |
|
193 //! CMMFDevSound::Capabilities() |
|
194 //! CMMFDevSound::SetConfigL(const TMMFCapabilities {ref} ) |
|
195 //! CMMFDevSound::PlayInitL() |
|
196 //! CMMFDevSound::RecordInitL() |
|
197 //! CMMFDevSound::Stop() |
|
198 //! CMMFDevSound::Pause() |
|
199 //!@SYMAuthor etorres |
|
200 //!@SYMCreationDate 7/28/2008 |
|
201 //!@SYMTestCaseDesc G.711 recording with pause |
|
202 //!@SYMTestActions |
|
203 //! 1. Create Devsound instance |
|
204 //! 2. Initialize Devsound (Mode = EMMFStateRecording; FourCC = G711) |
|
205 //! 3. Set Priority (Priority = {Priority,PriorityNormal}; Preference = {PriorityPreference,PriorityPreferenceQuality}; PriorityState = EMMFStateRecording) |
|
206 //! 4. Capabilities |
|
207 //! 5. Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz) |
|
208 //! 6. ReplaceFile (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\RecG711_pause.pcm) |
|
209 //! 7. Record 10s |
|
210 //! 8. Pause 5s(Pause=TRUE) |
|
211 //! 9. Record 10s |
|
212 //! 10. Stop 5s |
|
213 //! 11. CloseFile |
|
214 //! 12. Initialize Devsound (Mode = EMMFStatePlaying; FourCC = G711) |
|
215 //! 13. Set Priority (Priority = {Priority,PriorityNormal}; Preference = {PriorityPreference,PriorityPreferenceQuality}; PriorityState = EMMFStatePlaying) |
|
216 //! 14. Capabilities |
|
217 //! 15. Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz) |
|
218 //! 16. OpenFile (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\RecG711_pause.pcm) |
|
219 //! 17. Start Play EOF |
|
220 //! 18. CloseFile |
|
221 //! 19. Delete devsound instance |
|
222 //!@SYMTestStatus Verified |
|
223 //!@SYMTestPriority High |
|
224 //!@SYMTestExpectedResults |
|
225 //! G.711 recording with pause |
|
226 //!@SYMTestType CIT |
|
227 |
|
228 START_TEST_BLOCK 60 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-recording.ini |
|
229 CREATE_OBJECT CMMFDevSound devsound1 |
|
230 COMMAND devsound1 NewL |
|
231 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Recording-0003-0001-InitializeL_command02 |
|
232 OUTSTANDING |
|
233 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Recording-0003-0001-SetPrioritySettings_command03 |
|
234 COMMAND devsound1 Capabilities |
|
235 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSound-Recording-0003-0001-SetConfigL_command05 |
|
236 COMMAND devsound1 ReplaceFile MULTIMEDIA-MMF-DevSound-Recording-0003-0001-ReplaceFile_command06 |
|
237 COMMAND devsound1 RecordInitL |
|
238 ASYNC_DELAY 10000000 |
|
239 COMMAND devsound1 Stop MULTIMEDIA-MMF-DevSound-Recording-0003-0001-Stop_command08 |
|
240 DELAY 5000000 |
|
241 COMMAND devsound1 RecordInitL |
|
242 ASYNC_DELAY 10000000 |
|
243 COMMAND devsound1 Stop |
|
244 DELAY 5000000 |
|
245 COMMAND devsound1 CloseFile |
|
246 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Recording-0003-0001-InitializeL_command12 |
|
247 OUTSTANDING |
|
248 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Recording-0003-0001-SetPrioritySettings_command13 |
|
249 COMMAND devsound1 Capabilities |
|
250 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSound-Recording-0003-0001-SetConfigL_command15 |
|
251 COMMAND devsound1 OpenFile MULTIMEDIA-MMF-DevSound-Recording-0003-0001-OpenFile_command16 |
|
252 COMMAND devsound1 PlayInitL |
|
253 OUTSTANDING |
|
254 COMMAND devsound1 CloseFile |
|
255 COMMAND devsound1 ~ |
|
256 END_TEST_BLOCK |
|
257 END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-RECORDING-0003 |
|
258 |
|
259 |
|
260 |
|
261 |
|
262 START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-RECORDING-0004 |
|
263 |
|
264 //!@SYMTestCaseID MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-RECORDING-0004 |
|
265 //!@SYMAPI |
|
266 //! CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TMMFState ) |
|
267 //! CMMFDevSound::SetPrioritySettings(const TMMFPrioritySettings {ref} ) |
|
268 //! CMMFDevSound::Capabilities() |
|
269 //! CMMFDevSound::SetConfigL(const TMMFCapabilities {ref} ) |
|
270 //! CMMFDevSound::PlayInitL() |
|
271 //! CMMFDevSound::RecordInitL() |
|
272 //! CMMFDevSound::Stop() |
|
273 //! CMMFDevSound::Pause() |
|
274 //!@SYMAuthor etorres |
|
275 //!@SYMCreationDate 7/28/2008 |
|
276 //!@SYMTestCaseDesc G.729AB recording with pause |
|
277 //!@SYMTestActions |
|
278 //! 1. Create Devsound instance |
|
279 //! 2. Initialize Devsound (Mode = EMMFStateRecording; FourCC = G729) |
|
280 //! 3. Set Priority (Priority = {Priority,PriorityNormal}; Preference = {PriorityPreference,PriorityPreferenceQuality}; PriorityState = EMMFStateRecording) |
|
281 //! 4. Capabilities |
|
282 //! 5. Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz) |
|
283 //! 6. ReplaceFile (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\RecG729_pause.bin) |
|
284 //! 7. Record 10s |
|
285 //! 8. Pause 5s(Pause=TRUE) |
|
286 //! 9. Record 10s |
|
287 //! 10. Stop 5s |
|
288 //! 11. CloseFile |
|
289 //! 12. Initialize Devsound (Mode = EMMFStatePlaying; FourCC = G729) |
|
290 //! 13. Set Priority (Priority = {Priority,PriorityNormal}; Preference = {PriorityPreference,PriorityPreferenceQuality}; PriorityState = EMMFStatePlaying) |
|
291 //! 14. Capabilities |
|
292 //! 15. Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz) |
|
293 //! 16. OpenFile (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\RecG729_pause.bin) |
|
294 //! 17. Start Play EOF |
|
295 //! 18. CloseFile |
|
296 //! 19. Delete devsound instance |
|
297 //!@SYMTestStatus Verified |
|
298 //!@SYMTestPriority High |
|
299 //!@SYMTestExpectedResults |
|
300 //! G.729AB recording with pause |
|
301 //!@SYMTestType CIT |
|
302 |
|
303 START_TEST_BLOCK 60 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-recording.ini |
|
304 CREATE_OBJECT CMMFDevSound devsound1 |
|
305 COMMAND devsound1 NewL |
|
306 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Recording-0004-0001-InitializeL_command02 |
|
307 OUTSTANDING |
|
308 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Recording-0004-0001-SetPrioritySettings_command03 |
|
309 COMMAND devsound1 Capabilities |
|
310 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSound-Recording-0004-0001-SetConfigL_command05 |
|
311 COMMAND devsound1 ReplaceFile MULTIMEDIA-MMF-DevSound-Recording-0004-0001-ReplaceFile_command06 |
|
312 COMMAND devsound1 RecordInitL |
|
313 ASYNC_DELAY 10000000 |
|
314 COMMAND devsound1 Stop MULTIMEDIA-MMF-DevSound-Recording-0004-0001-Stop_command08 |
|
315 DELAY 5000000 |
|
316 COMMAND devsound1 RecordInitL |
|
317 ASYNC_DELAY 10000000 |
|
318 COMMAND devsound1 Stop |
|
319 DELAY 5000000 |
|
320 COMMAND devsound1 CloseFile |
|
321 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Recording-0004-0001-InitializeL_command12 |
|
322 OUTSTANDING |
|
323 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Recording-0004-0001-SetPrioritySettings_command13 |
|
324 COMMAND devsound1 Capabilities |
|
325 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSound-Recording-0004-0001-SetConfigL_command15 |
|
326 COMMAND devsound1 OpenFile MULTIMEDIA-MMF-DevSound-Recording-0004-0001-OpenFile_command16 |
|
327 COMMAND devsound1 PlayInitL |
|
328 OUTSTANDING |
|
329 COMMAND devsound1 CloseFile |
|
330 COMMAND devsound1 ~ |
|
331 END_TEST_BLOCK |
|
332 END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-RECORDING-0004 |
|
333 |
|
334 |
|
335 |
|
336 |
|
337 START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-RECORDING-0005 |
|
338 |
|
339 //!@SYMTestCaseID MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-RECORDING-0005 |
|
340 //!@SYMAPI |
|
341 //! CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TMMFState ) |
|
342 //! CMMFDevSound::SetPrioritySettings(const TMMFPrioritySettings {ref} ) |
|
343 //! CMMFDevSound::Capabilities() |
|
344 //! CMMFDevSound::SetConfigL(const TMMFCapabilities {ref} ) |
|
345 //! CMMFDevSound::PlayInitL() |
|
346 //! CMMFDevSound::RecordInitL() |
|
347 //! CMMFDevSound::Stop() |
|
348 //! CMMFDevSound::Pause() |
|
349 //!@SYMAuthor etorres |
|
350 //!@SYMCreationDate 7/28/2008 |
|
351 //!@SYMTestCaseDesc iLBC recording with pause |
|
352 //!@SYMTestActions |
|
353 //! 1. Create Devsound instance |
|
354 //! 2. Initialize Devsound (Mode = EMMFStateRecording; FourCC = ILBC) |
|
355 //! 3. Set Priority (Priority = {Priority,PriorityNormal}; Preference = {PriorityPreference,PriorityPreferenceQuality}; PriorityState = EMMFStateRecording) |
|
356 //! 4. Capabilities |
|
357 //! 5. Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz) |
|
358 //! 6. ReplaceFile (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\RecILBC_pause.bin) |
|
359 //! 7. Record 10s |
|
360 //! 8. Pause 5s(Pause=TRUE) |
|
361 //! 9. Record 10s |
|
362 //! 10. Stop 5s |
|
363 //! 11. CloseFile |
|
364 //! 12. Initialize Devsound (Mode = EMMFStatePlaying; FourCC = ILBC) |
|
365 //! 13. Set Priority (Priority = {Priority,PriorityNormal}; Preference = {PriorityPreference,PriorityPreferenceQuality}; PriorityState = EMMFStatePlaying) |
|
366 //! 14. Capabilities |
|
367 //! 15. Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz) |
|
368 //! 16. OpenFile (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\RecILBC_pause.bin) |
|
369 //! 17. Start Play EOF |
|
370 //! 18. CloseFile |
|
371 //! 19. Delete devsound instance |
|
372 //!@SYMTestStatus Verified |
|
373 //!@SYMTestPriority High |
|
374 //!@SYMTestExpectedResults |
|
375 //! iLBC recording with pause |
|
376 //!@SYMTestType CIT |
|
377 |
|
378 START_TEST_BLOCK 60 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-recording.ini |
|
379 CREATE_OBJECT CMMFDevSound devsound1 |
|
380 COMMAND devsound1 NewL |
|
381 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Recording-0005-0001-InitializeL_command02 |
|
382 OUTSTANDING |
|
383 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Recording-0005-0001-SetPrioritySettings_command03 |
|
384 COMMAND devsound1 Capabilities |
|
385 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSound-Recording-0005-0001-SetConfigL_command05 |
|
386 COMMAND devsound1 ReplaceFile MULTIMEDIA-MMF-DevSound-Recording-0005-0001-ReplaceFile_command06 |
|
387 COMMAND devsound1 RecordInitL |
|
388 ASYNC_DELAY 10000000 |
|
389 COMMAND devsound1 Stop MULTIMEDIA-MMF-DevSound-Recording-0005-0001-Stop_command08 |
|
390 DELAY 5000000 |
|
391 COMMAND devsound1 RecordInitL |
|
392 ASYNC_DELAY 10000000 |
|
393 COMMAND devsound1 Stop |
|
394 DELAY 5000000 |
|
395 COMMAND devsound1 CloseFile |
|
396 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Recording-0005-0001-InitializeL_command12 |
|
397 OUTSTANDING |
|
398 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Recording-0005-0001-SetPrioritySettings_command13 |
|
399 COMMAND devsound1 Capabilities |
|
400 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSound-Recording-0005-0001-SetConfigL_command15 |
|
401 COMMAND devsound1 OpenFile MULTIMEDIA-MMF-DevSound-Recording-0005-0001-OpenFile_command16 |
|
402 COMMAND devsound1 PlayInitL |
|
403 OUTSTANDING |
|
404 COMMAND devsound1 CloseFile |
|
405 COMMAND devsound1 ~ |
|
406 END_TEST_BLOCK |
|
407 END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-RECORDING-0005 |
|
408 |
|
409 |
|
410 |
|
411 |
|
412 START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-RECORDING-0006 |
|
413 |
|
414 //!@SYMTestCaseID MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-RECORDING-0006 |
|
415 //!@SYMAPI |
|
416 //! CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TMMFState ) |
|
417 //! CMMFDevSound::SetPrioritySettings(const TMMFPrioritySettings {ref} ) |
|
418 //! CMMFDevSound::Capabilities() |
|
419 //! CMMFDevSound::SetConfigL(const TMMFCapabilities {ref} ) |
|
420 //! CMMFDevSound::PlayInitL() |
|
421 //! CMMFDevSound::RecordInitL() |
|
422 //! CMMFDevSound::Stop() |
|
423 //! CMMFDevSound::Pause() |
|
424 //!@SYMAuthor etorres |
|
425 //!@SYMCreationDate 7/28/2008 |
|
426 //!@SYMTestCaseDesc PCM recording with pause |
|
427 //!@SYMTestActions |
|
428 //! 1. Create Devsound instance |
|
429 //! 2. Initialize Devsound (Mode = EMMFStateRecording; FourCC = {SpecialFourCC,RAW}) |
|
430 //! 3. Set Priority (Priority = {Priority,PriorityNormal}; Preference = {PriorityPreference,PriorityPreferenceQuality}; PriorityState = EMMFStateRecording) |
|
431 //! 4. Capabilities |
|
432 //! 5. Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz) |
|
433 //! 6. ReplaceFile (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\RecRAW_pause.pcm) |
|
434 //! 7. Record 10s |
|
435 //! 8. Pause 5s(Pause=TRUE) |
|
436 //! 9. Record 10s |
|
437 //! 10. Stop 5s |
|
438 //! 11. CloseFile |
|
439 //! 12. Initialize Devsound (Mode = EMMFStatePlaying; FourCC = {SpecialFourCC,RAW}) |
|
440 //! 13. Set Priority (Priority = {Priority,PriorityNormal}; Preference = {PriorityPreference,PriorityPreferenceQuality}; PriorityState = EMMFStatePlaying) |
|
441 //! 14. Capabilities |
|
442 //! 15. Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz) |
|
443 //! 16. OpenFile (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\RecRAW_pause.pcm) |
|
444 //! 17. Start Play EOF |
|
445 //! 18. CloseFile |
|
446 //! 19. Delete devsound instance |
|
447 //!@SYMTestStatus Verified |
|
448 //!@SYMTestPriority High |
|
449 //!@SYMTestExpectedResults |
|
450 //! PCM recording with pause |
|
451 //!@SYMTestType CIT |
|
452 |
|
453 START_TEST_BLOCK 60 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-recording.ini |
|
454 CREATE_OBJECT CMMFDevSound devsound1 |
|
455 COMMAND devsound1 NewL |
|
456 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Recording-0006-0001-InitializeL_command02 |
|
457 OUTSTANDING |
|
458 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Recording-0006-0001-SetPrioritySettings_command03 |
|
459 COMMAND devsound1 Capabilities |
|
460 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSound-Recording-0006-0001-SetConfigL_command05 |
|
461 COMMAND devsound1 ReplaceFile MULTIMEDIA-MMF-DevSound-Recording-0006-0001-ReplaceFile_command06 |
|
462 COMMAND devsound1 RecordInitL |
|
463 ASYNC_DELAY 10000000 |
|
464 COMMAND devsound1 Stop MULTIMEDIA-MMF-DevSound-Recording-0006-0001-Stop_command08 |
|
465 DELAY 5000000 |
|
466 COMMAND devsound1 RecordInitL |
|
467 ASYNC_DELAY 10000000 |
|
468 COMMAND devsound1 Stop |
|
469 DELAY 5000000 |
|
470 COMMAND devsound1 CloseFile |
|
471 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Recording-0006-0001-InitializeL_command12 |
|
472 OUTSTANDING |
|
473 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Recording-0006-0001-SetPrioritySettings_command13 |
|
474 COMMAND devsound1 Capabilities |
|
475 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSound-Recording-0006-0001-SetConfigL_command15 |
|
476 COMMAND devsound1 OpenFile MULTIMEDIA-MMF-DevSound-Recording-0006-0001-OpenFile_command16 |
|
477 COMMAND devsound1 PlayInitL |
|
478 OUTSTANDING |
|
479 COMMAND devsound1 CloseFile |
|
480 COMMAND devsound1 ~ |
|
481 END_TEST_BLOCK |
|
482 END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-RECORDING-0006 |
|
483 |
|
484 |
|
485 |
|
486 |
|
487 START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-RECORDING-0007 |
|
488 |
|
489 //!@SYMTestCaseID MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-RECORDING-0007 |
|
490 //!@SYMAPI |
|
491 //! CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState) |
|
492 //! CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref}) |
|
493 //! CMMFDevSound::Capabilities() |
|
494 //! CMMFDevSound::SetConfigL(TMMFCapabilities {ref}) |
|
495 //! CMMFDevSound::PlayInitL() |
|
496 //! CMMFDevSound::RecordInitL() |
|
497 //! CMMFDevSound::Stop() |
|
498 //!@SYMAuthor etorres |
|
499 //!@SYMCreationDate 7/21/2008 |
|
500 //!@SYMTestCaseDesc PCM - 16 KHz mono recording and playback |
|
501 //!@SYMTestActions |
|
502 //! 1. Create Devsound instance |
|
503 //! 2. Initialize Devsound ( Mode = EMMFStateRecording; FourCC = {SpecialFourCC,RAW}) |
|
504 //! 3. Set Priority (Priority = {Priority,PriorityNormal}; Preference = {PriorityPreference,PriorityPreferenceQuality}; PriorityState = EMMFStateRecording) |
|
505 //! 4. Capabilities |
|
506 //! 5. Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate16000Hz) |
|
507 //! 6. ReplaceFile (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\RecPCM_16k_mono_10s.pcm) |
|
508 //! 7. Record 10s |
|
509 //! 8. Stop 5s |
|
510 //! 9. CloseFile |
|
511 //! 10. Initialize Devsound ( Mode = EMMFStatePlaying; FourCC = {SpecialFourCC,RAW}) |
|
512 //! 11. Set Priority (Priority = {Priority,PriorityNormal}; Preference = {PriorityPreference,PriorityPreferenceQuality}; PriorityState = EMMFStatePlaying) |
|
513 //! 12. Capabilities |
|
514 //! 13. Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate16000Hz) |
|
515 //! 14. OpenFile (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\RecPCM_16k_mono_10s.pcm) |
|
516 //! 15. Start Play EOF |
|
517 //! 16. CloseFile |
|
518 //! 17. Delete devsound instance |
|
519 //!@SYMTestStatus Verified |
|
520 //!@SYMTestPriority High |
|
521 //!@SYMTestExpectedResults |
|
522 //! PCM - 16 KHz mono recording and playback |
|
523 //!@SYMTestType CIT |
|
524 |
|
525 START_TEST_BLOCK 35 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-recording.ini |
|
526 CREATE_OBJECT CMMFDevSound devsound1 |
|
527 COMMAND devsound1 NewL |
|
528 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Recording-0007-0001-InitializeL_command02 |
|
529 OUTSTANDING |
|
530 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Recording-0007-0001-SetPrioritySettings_command03 |
|
531 COMMAND devsound1 Capabilities |
|
532 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSound-Recording-0007-0001-SetConfigL_command05 |
|
533 COMMAND devsound1 ReplaceFile MULTIMEDIA-MMF-DevSound-Recording-0007-0001-ReplaceFile_command06 |
|
534 COMMAND devsound1 RecordInitL |
|
535 ASYNC_DELAY 10000000 |
|
536 COMMAND devsound1 Stop |
|
537 DELAY 5000000 |
|
538 COMMAND devsound1 CloseFile |
|
539 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Recording-0007-0001-InitializeL_command10 |
|
540 OUTSTANDING |
|
541 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Recording-0007-0001-SetPrioritySettings_command11 |
|
542 COMMAND devsound1 Capabilities |
|
543 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSound-Recording-0007-0001-SetConfigL_command13 |
|
544 COMMAND devsound1 OpenFile MULTIMEDIA-MMF-DevSound-Recording-0007-0001-OpenFile_command14 |
|
545 COMMAND devsound1 PlayInitL |
|
546 OUTSTANDING |
|
547 COMMAND devsound1 CloseFile |
|
548 COMMAND devsound1 ~ |
|
549 END_TEST_BLOCK |
|
550 END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-RECORDING-0007 |
|
551 |
|
552 |
|
553 |
|
554 |
|
555 START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-RECORDING-0008 |
|
556 |
|
557 //!@SYMTestCaseID MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-RECORDING-0008 |
|
558 //!@SYMAPI |
|
559 //! CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState) |
|
560 //! CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref}) |
|
561 //! CMMFDevSound::Capabilities() |
|
562 //! CMMFDevSound::SetConfigL(TMMFCapabilities {ref}) |
|
563 //! CMMFDevSound::PlayInitL() |
|
564 //! CMMFDevSound::RecordInitL() |
|
565 //! CMMFDevSound::Stop() |
|
566 //!@SYMAuthor etorres |
|
567 //!@SYMCreationDate 7/21/2008 |
|
568 //!@SYMTestCaseDesc PCM - 16 KHz stereo recording and playback |
|
569 //!@SYMTestActions |
|
570 //! 1. Create Devsound instance |
|
571 //! 2. Initialize Devsound ( Mode = EMMFStateRecording; FourCC = {SpecialFourCC,RAW}) |
|
572 //! 3. Set Priority (Priority = {Priority,PriorityNormal}; Preference = {PriorityPreference,PriorityPreferenceQuality}; PriorityState = EMMFStateRecording) |
|
573 //! 4. Capabilities |
|
574 //! 5. Set Configuration (Channels = EMMFStereo; Rate = EMMFSampleRate16000Hz) |
|
575 //! 6. ReplaceFile (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\RecPCM_16k_stereo_10s.pcm) |
|
576 //! 7. Record 10s |
|
577 //! 8. Stop 5s |
|
578 //! 9. CloseFile |
|
579 //! 10. Initialize Devsound ( Mode = EMMFStatePlaying; FourCC = {SpecialFourCC,RAW}) |
|
580 //! 11. Set Priority (Priority = {Priority,PriorityNormal}; Preference = {PriorityPreference,PriorityPreferenceQuality}; PriorityState = EMMFStatePlaying) |
|
581 //! 12. Capabilities |
|
582 //! 13. Set Configuration (Channels = EMMFStereo; Rate = EMMFSampleRate16000Hz) |
|
583 //! 14. OpenFile (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\RecPCM_16k_stereo_10s.pcm) |
|
584 //! 15. Start Play EOF |
|
585 //! 16. CloseFile |
|
586 //! 17. Delete devsound instance |
|
587 //!@SYMTestStatus Verified |
|
588 //!@SYMTestPriority High |
|
589 //!@SYMTestExpectedResults |
|
590 //! PCM - 16 KHz stereo recording and playback |
|
591 //!@SYMTestType CIT |
|
592 |
|
593 START_TEST_BLOCK 35 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-recording.ini |
|
594 CREATE_OBJECT CMMFDevSound devsound1 |
|
595 COMMAND devsound1 NewL |
|
596 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Recording-0008-0001-InitializeL_command02 |
|
597 OUTSTANDING |
|
598 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Recording-0008-0001-SetPrioritySettings_command03 |
|
599 COMMAND devsound1 Capabilities |
|
600 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSound-Recording-0008-0001-SetConfigL_command05 |
|
601 COMMAND devsound1 ReplaceFile MULTIMEDIA-MMF-DevSound-Recording-0008-0001-ReplaceFile_command06 |
|
602 COMMAND devsound1 RecordInitL |
|
603 ASYNC_DELAY 10000000 |
|
604 COMMAND devsound1 Stop |
|
605 DELAY 5000000 |
|
606 COMMAND devsound1 CloseFile |
|
607 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Recording-0008-0001-InitializeL_command10 |
|
608 OUTSTANDING |
|
609 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Recording-0008-0001-SetPrioritySettings_command11 |
|
610 COMMAND devsound1 Capabilities |
|
611 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSound-Recording-0008-0001-SetConfigL_command13 |
|
612 COMMAND devsound1 OpenFile MULTIMEDIA-MMF-DevSound-Recording-0008-0001-OpenFile_command14 |
|
613 COMMAND devsound1 PlayInitL |
|
614 OUTSTANDING |
|
615 COMMAND devsound1 CloseFile |
|
616 COMMAND devsound1 ~ |
|
617 END_TEST_BLOCK |
|
618 END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-RECORDING-0008 |
|
619 |
|
620 |
|
621 |
|
622 |
|
623 START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-RECORDING-0009 |
|
624 |
|
625 //!@SYMTestCaseID MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-RECORDING-0009 |
|
626 //!@SYMAPI |
|
627 //! CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState) |
|
628 //! CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref}) |
|
629 //! CMMFDevSound::Capabilities() |
|
630 //! CMMFDevSound::SetConfigL(TMMFCapabilities {ref}) |
|
631 //! CMMFDevSound::PlayInitL() |
|
632 //! CMMFDevSound::RecordInitL() |
|
633 //! CMMFDevSound::Stop() |
|
634 //!@SYMAuthor etorres |
|
635 //!@SYMCreationDate 7/21/2008 |
|
636 //!@SYMTestCaseDesc PCM - 24 KHz mono recording and playback |
|
637 //!@SYMTestActions |
|
638 //! 1. Create Devsound instance |
|
639 //! 2. Initialize Devsound ( Mode = EMMFStateRecording; FourCC = {SpecialFourCC,RAW}) |
|
640 //! 3. Set Priority (Priority = {Priority,PriorityNormal}; Preference = {PriorityPreference,PriorityPreferenceQuality}; PriorityState = EMMFStateRecording) |
|
641 //! 4. Capabilities |
|
642 //! 5. Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate24000Hz) |
|
643 //! 6. ReplaceFile (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\RecPCM_24k_mono_10s.pcm) |
|
644 //! 7. Record 10s |
|
645 //! 8. Stop 5s |
|
646 //! 9. CloseFile |
|
647 //! 10. Initialize Devsound ( Mode = EMMFStatePlaying; FourCC = {SpecialFourCC,RAW}) |
|
648 //! 11. Set Priority (Priority = {Priority,PriorityNormal}; Preference = {PriorityPreference,PriorityPreferenceQuality}; PriorityState = EMMFStatePlaying) |
|
649 //! 12. Capabilities |
|
650 //! 13. Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate24000Hz) |
|
651 //! 14. OpenFile (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\RecPCM_24k_mono_10s.pcm) |
|
652 //! 15. Start Play EOF |
|
653 //! 16. CloseFile |
|
654 //! 17. Delete devsound instance |
|
655 //!@SYMTestStatus Verified |
|
656 //!@SYMTestPriority High |
|
657 //!@SYMTestExpectedResults |
|
658 //! PCM - 24 KHz mono recording and playback |
|
659 //!@SYMTestType CIT |
|
660 |
|
661 START_TEST_BLOCK 35 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-recording.ini |
|
662 CREATE_OBJECT CMMFDevSound devsound1 |
|
663 COMMAND devsound1 NewL |
|
664 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Recording-0009-0001-InitializeL_command02 |
|
665 OUTSTANDING |
|
666 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Recording-0009-0001-SetPrioritySettings_command03 |
|
667 COMMAND devsound1 Capabilities |
|
668 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSound-Recording-0009-0001-SetConfigL_command05 |
|
669 COMMAND devsound1 ReplaceFile MULTIMEDIA-MMF-DevSound-Recording-0009-0001-ReplaceFile_command06 |
|
670 COMMAND devsound1 RecordInitL |
|
671 ASYNC_DELAY 10000000 |
|
672 COMMAND devsound1 Stop |
|
673 DELAY 5000000 |
|
674 COMMAND devsound1 CloseFile |
|
675 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Recording-0009-0001-InitializeL_command10 |
|
676 OUTSTANDING |
|
677 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Recording-0009-0001-SetPrioritySettings_command11 |
|
678 COMMAND devsound1 Capabilities |
|
679 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSound-Recording-0009-0001-SetConfigL_command13 |
|
680 COMMAND devsound1 OpenFile MULTIMEDIA-MMF-DevSound-Recording-0009-0001-OpenFile_command14 |
|
681 COMMAND devsound1 PlayInitL |
|
682 OUTSTANDING |
|
683 COMMAND devsound1 CloseFile |
|
684 COMMAND devsound1 ~ |
|
685 END_TEST_BLOCK |
|
686 END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-RECORDING-0009 |
|
687 |
|
688 |
|
689 |
|
690 |
|
691 START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-RECORDING-0010 |
|
692 |
|
693 //!@SYMTestCaseID MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-RECORDING-0010 |
|
694 //!@SYMAPI |
|
695 //! CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState) |
|
696 //! CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref}) |
|
697 //! CMMFDevSound::Capabilities() |
|
698 //! CMMFDevSound::SetConfigL(TMMFCapabilities {ref}) |
|
699 //! CMMFDevSound::PlayInitL() |
|
700 //! CMMFDevSound::RecordInitL() |
|
701 //! CMMFDevSound::Stop() |
|
702 //!@SYMAuthor etorres |
|
703 //!@SYMCreationDate 7/21/2008 |
|
704 //!@SYMTestCaseDesc PCM - 24 KHz stereo recording and playback |
|
705 //!@SYMTestActions |
|
706 //! 1. Create Devsound instance |
|
707 //! 2. Initialize Devsound ( Mode = EMMFStateRecording; FourCC = {SpecialFourCC,RAW}) |
|
708 //! 3. Set Priority (Priority = {Priority,PriorityNormal}; Preference = {PriorityPreference,PriorityPreferenceQuality}; PriorityState = EMMFStateRecording) |
|
709 //! 4. Capabilities |
|
710 //! 5. Set Configuration (Channels = EMMFStereo; Rate = EMMFSampleRate24000Hz) |
|
711 //! 6. ReplaceFile (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\RecPCM_24k_stereo_10s.pcm) |
|
712 //! 7. Record 10s |
|
713 //! 8. Stop 5s |
|
714 //! 9. CloseFile |
|
715 //! 10. Initialize Devsound ( Mode = EMMFStatePlaying; FourCC = {SpecialFourCC,RAW}) |
|
716 //! 11. Set Priority (Priority = {Priority,PriorityNormal}; Preference = {PriorityPreference,PriorityPreferenceQuality}; PriorityState = EMMFStatePlaying) |
|
717 //! 12. Capabilities |
|
718 //! 13. Set Configuration (Channels = EMMFStereo; Rate = EMMFSampleRate24000Hz) |
|
719 //! 14. OpenFile (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\RecPCM_24k_stereo_10s.pcm) |
|
720 //! 15. Start Play EOF |
|
721 //! 16. CloseFile |
|
722 //! 17. Delete devsound instance |
|
723 //!@SYMTestStatus Verified |
|
724 //!@SYMTestPriority High |
|
725 //!@SYMTestExpectedResults |
|
726 //! PCM - 24 KHz stereo recording and playback |
|
727 //!@SYMTestType CIT |
|
728 |
|
729 START_TEST_BLOCK 35 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-recording.ini |
|
730 CREATE_OBJECT CMMFDevSound devsound1 |
|
731 COMMAND devsound1 NewL |
|
732 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Recording-0010-0001-InitializeL_command02 |
|
733 OUTSTANDING |
|
734 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Recording-0010-0001-SetPrioritySettings_command03 |
|
735 COMMAND devsound1 Capabilities |
|
736 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSound-Recording-0010-0001-SetConfigL_command05 |
|
737 COMMAND devsound1 ReplaceFile MULTIMEDIA-MMF-DevSound-Recording-0010-0001-ReplaceFile_command06 |
|
738 COMMAND devsound1 RecordInitL |
|
739 ASYNC_DELAY 10000000 |
|
740 COMMAND devsound1 Stop |
|
741 DELAY 5000000 |
|
742 COMMAND devsound1 CloseFile |
|
743 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Recording-0010-0001-InitializeL_command10 |
|
744 OUTSTANDING |
|
745 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Recording-0010-0001-SetPrioritySettings_command11 |
|
746 COMMAND devsound1 Capabilities |
|
747 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSound-Recording-0010-0001-SetConfigL_command13 |
|
748 COMMAND devsound1 OpenFile MULTIMEDIA-MMF-DevSound-Recording-0010-0001-OpenFile_command14 |
|
749 COMMAND devsound1 PlayInitL |
|
750 OUTSTANDING |
|
751 COMMAND devsound1 CloseFile |
|
752 COMMAND devsound1 ~ |
|
753 END_TEST_BLOCK |
|
754 END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-RECORDING-0010 |
|
755 |
|
756 |
|
757 |
|
758 |
|
759 START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-RECORDING-0011 |
|
760 |
|
761 //!@SYMTestCaseID MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-RECORDING-0011 |
|
762 //!@SYMAPI |
|
763 //! CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState) |
|
764 //! CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref}) |
|
765 //! CMMFDevSound::Capabilities() |
|
766 //! CMMFDevSound::SetConfigL(TMMFCapabilities {ref}) |
|
767 //! CMMFDevSound::PlayInitL() |
|
768 //! CMMFDevSound::RecordInitL() |
|
769 //! CMMFDevSound::Stop() |
|
770 //!@SYMAuthor etorres |
|
771 //!@SYMCreationDate 7/21/2008 |
|
772 //!@SYMTestCaseDesc PCM - 32 KHz mono recording and playback |
|
773 //!@SYMTestActions |
|
774 //! 1. Create Devsound instance |
|
775 //! 2. Initialize Devsound ( Mode = EMMFStateRecording; FourCC = {SpecialFourCC,RAW}) |
|
776 //! 3. Set Priority (Priority = {Priority,PriorityNormal}; Preference = {PriorityPreference,PriorityPreferenceQuality}; PriorityState = EMMFStateRecording) |
|
777 //! 4. Capabilities |
|
778 //! 5. Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate32000Hz) |
|
779 //! 6. ReplaceFile (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\RecPCM_32k_mono_10s.pcm) |
|
780 //! 7. Record 10s |
|
781 //! 8. Stop 5s |
|
782 //! 9. CloseFile |
|
783 //! 10. Initialize Devsound ( Mode = EMMFStatePlaying; FourCC = {SpecialFourCC,RAW}) |
|
784 //! 11. Set Priority (Priority = {Priority,PriorityNormal}; Preference = {PriorityPreference,PriorityPreferenceQuality}; PriorityState = EMMFStatePlaying) |
|
785 //! 12. Capabilities |
|
786 //! 13. Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate32000Hz) |
|
787 //! 14. OpenFile (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\RecPCM_32k_mono_10s.pcm) |
|
788 //! 15. Start Play EOF |
|
789 //! 16. CloseFile |
|
790 //! 17. Delete devsound instance |
|
791 //!@SYMTestStatus Verified |
|
792 //!@SYMTestPriority High |
|
793 //!@SYMTestExpectedResults |
|
794 //! PCM - 32 KHz mono recording and playback |
|
795 //!@SYMTestType CIT |
|
796 |
|
797 START_TEST_BLOCK 35 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-recording.ini |
|
798 CREATE_OBJECT CMMFDevSound devsound1 |
|
799 COMMAND devsound1 NewL |
|
800 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Recording-0011-0001-InitializeL_command02 |
|
801 OUTSTANDING |
|
802 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Recording-0011-0001-SetPrioritySettings_command03 |
|
803 COMMAND devsound1 Capabilities |
|
804 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSound-Recording-0011-0001-SetConfigL_command05 |
|
805 COMMAND devsound1 ReplaceFile MULTIMEDIA-MMF-DevSound-Recording-0011-0001-ReplaceFile_command06 |
|
806 COMMAND devsound1 RecordInitL |
|
807 ASYNC_DELAY 10000000 |
|
808 COMMAND devsound1 Stop |
|
809 DELAY 5000000 |
|
810 COMMAND devsound1 CloseFile |
|
811 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Recording-0011-0001-InitializeL_command10 |
|
812 OUTSTANDING |
|
813 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Recording-0011-0001-SetPrioritySettings_command11 |
|
814 COMMAND devsound1 Capabilities |
|
815 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSound-Recording-0011-0001-SetConfigL_command13 |
|
816 COMMAND devsound1 OpenFile MULTIMEDIA-MMF-DevSound-Recording-0011-0001-OpenFile_command14 |
|
817 COMMAND devsound1 PlayInitL |
|
818 OUTSTANDING |
|
819 COMMAND devsound1 CloseFile |
|
820 COMMAND devsound1 ~ |
|
821 END_TEST_BLOCK |
|
822 END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-RECORDING-0011 |
|
823 |
|
824 |
|
825 |
|
826 |
|
827 START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-RECORDING-0012 |
|
828 |
|
829 //!@SYMTestCaseID MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-RECORDING-0012 |
|
830 //!@SYMAPI |
|
831 //! CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState) |
|
832 //! CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref}) |
|
833 //! CMMFDevSound::Capabilities() |
|
834 //! CMMFDevSound::SetConfigL(TMMFCapabilities {ref}) |
|
835 //! CMMFDevSound::PlayInitL() |
|
836 //! CMMFDevSound::RecordInitL() |
|
837 //! CMMFDevSound::Stop() |
|
838 //!@SYMAuthor etorres |
|
839 //!@SYMCreationDate 7/21/2008 |
|
840 //!@SYMTestCaseDesc PCM - 32KHz stereo recording and playback |
|
841 //!@SYMTestActions |
|
842 //! 1. Create Devsound instance |
|
843 //! 2. Initialize Devsound ( Mode = EMMFStateRecording; FourCC = {SpecialFourCC,RAW}) |
|
844 //! 3. Set Priority (Priority = {Priority,PriorityNormal}; Preference = {PriorityPreference,PriorityPreferenceQuality}; PriorityState = EMMFStateRecording) |
|
845 //! 4. Capabilities |
|
846 //! 5. Set Configuration (Channels = EMMFStereo; Rate = EMMFSampleRate32000Hz) |
|
847 //! 6. ReplaceFile (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\RecPCM_32k_stereo_10s.pcm) |
|
848 //! 7. Record 10s |
|
849 //! 8. Stop 5s |
|
850 //! 9. CloseFile |
|
851 //! 10. Initialize Devsound ( Mode = EMMFStatePlaying; FourCC = {SpecialFourCC,RAW}) |
|
852 //! 11. Set Priority (Priority = {Priority,PriorityNormal}; Preference = {PriorityPreference,PriorityPreferenceQuality}; PriorityState = EMMFStatePlaying) |
|
853 //! 12. Capabilities |
|
854 //! 13. Set Configuration (Channels = EMMFStereo; Rate = EMMFSampleRate32000Hz) |
|
855 //! 14. OpenFile (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\RecPCM_32k_stereo_10s.pcm) |
|
856 //! 15. Start Play EOF |
|
857 //! 16. CloseFile |
|
858 //! 17. Delete devsound instance |
|
859 //!@SYMTestStatus Verified |
|
860 //!@SYMTestPriority High |
|
861 //!@SYMTestExpectedResults |
|
862 //! PCM - 32KHz stereo recording and playback |
|
863 //!@SYMTestType CIT |
|
864 |
|
865 START_TEST_BLOCK 35 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-recording.ini |
|
866 CREATE_OBJECT CMMFDevSound devsound1 |
|
867 COMMAND devsound1 NewL |
|
868 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Recording-0012-0001-InitializeL_command02 |
|
869 OUTSTANDING |
|
870 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Recording-0012-0001-SetPrioritySettings_command03 |
|
871 COMMAND devsound1 Capabilities |
|
872 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSound-Recording-0012-0001-SetConfigL_command05 |
|
873 COMMAND devsound1 ReplaceFile MULTIMEDIA-MMF-DevSound-Recording-0012-0001-ReplaceFile_command06 |
|
874 COMMAND devsound1 RecordInitL |
|
875 ASYNC_DELAY 10000000 |
|
876 COMMAND devsound1 Stop |
|
877 DELAY 5000000 |
|
878 COMMAND devsound1 CloseFile |
|
879 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Recording-0012-0001-InitializeL_command10 |
|
880 OUTSTANDING |
|
881 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Recording-0012-0001-SetPrioritySettings_command11 |
|
882 COMMAND devsound1 Capabilities |
|
883 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSound-Recording-0012-0001-SetConfigL_command13 |
|
884 COMMAND devsound1 OpenFile MULTIMEDIA-MMF-DevSound-Recording-0012-0001-OpenFile_command14 |
|
885 COMMAND devsound1 PlayInitL |
|
886 OUTSTANDING |
|
887 COMMAND devsound1 CloseFile |
|
888 COMMAND devsound1 ~ |
|
889 END_TEST_BLOCK |
|
890 END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-RECORDING-0012 |
|
891 |
|
892 |
|
893 |
|
894 |
|
895 START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-RECORDING-0013 |
|
896 |
|
897 //!@SYMTestCaseID MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-RECORDING-0013 |
|
898 //!@SYMAPI |
|
899 //! CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState) |
|
900 //! CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref}) |
|
901 //! CMMFDevSound::Capabilities() |
|
902 //! CMMFDevSound::SetConfigL(TMMFCapabilities {ref}) |
|
903 //! CMMFDevSound::PlayInitL() |
|
904 //! CMMFDevSound::RecordInitL() |
|
905 //! CMMFDevSound::Stop() |
|
906 //!@SYMAuthor etorres |
|
907 //!@SYMCreationDate 7/21/2008 |
|
908 //!@SYMTestCaseDesc PCM - 48KHz mono recording and playback |
|
909 //!@SYMTestActions |
|
910 //! 1. Create Devsound instance |
|
911 //! 2. Initialize Devsound ( Mode = EMMFStateRecording; FourCC = {SpecialFourCC,RAW}) |
|
912 //! 3. Set Priority (Priority = {Priority,PriorityNormal}; Preference = {PriorityPreference,PriorityPreferenceQuality}; PriorityState = EMMFStateRecording) |
|
913 //! 4. Capabilities |
|
914 //! 5. Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate48000Hz) |
|
915 //! 6. ReplaceFile (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\RecPCM_48k_mono_10s.pcm) |
|
916 //! 7. Record 10s |
|
917 //! 8. Stop 5s |
|
918 //! 9. CloseFile |
|
919 //! 10. Initialize Devsound ( Mode = EMMFStatePlaying; FourCC = {SpecialFourCC,RAW}) |
|
920 //! 11. Set Priority (Priority = {Priority,PriorityNormal}; Preference = {PriorityPreference,PriorityPreferenceQuality}; PriorityState = EMMFStatePlaying) |
|
921 //! 12. Capabilities |
|
922 //! 13. Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate48000Hz) |
|
923 //! 14. OpenFile (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\RecPCM_48k_mono_10s.pcm) |
|
924 //! 15. Start Play EOF |
|
925 //! 16. CloseFile |
|
926 //! 17. Delete devsound instance |
|
927 //!@SYMTestStatus Verified |
|
928 //!@SYMTestPriority High |
|
929 //!@SYMTestExpectedResults |
|
930 //! PCM - 48KHz mono recording and playback |
|
931 //!@SYMTestType CIT |
|
932 |
|
933 START_TEST_BLOCK 35 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-recording.ini |
|
934 CREATE_OBJECT CMMFDevSound devsound1 |
|
935 COMMAND devsound1 NewL |
|
936 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Recording-0013-0001-InitializeL_command02 |
|
937 OUTSTANDING |
|
938 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Recording-0013-0001-SetPrioritySettings_command03 |
|
939 COMMAND devsound1 Capabilities |
|
940 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSound-Recording-0013-0001-SetConfigL_command05 |
|
941 COMMAND devsound1 ReplaceFile MULTIMEDIA-MMF-DevSound-Recording-0013-0001-ReplaceFile_command06 |
|
942 COMMAND devsound1 RecordInitL |
|
943 ASYNC_DELAY 10000000 |
|
944 COMMAND devsound1 Stop |
|
945 DELAY 5000000 |
|
946 COMMAND devsound1 CloseFile |
|
947 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Recording-0013-0001-InitializeL_command10 |
|
948 OUTSTANDING |
|
949 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Recording-0013-0001-SetPrioritySettings_command11 |
|
950 COMMAND devsound1 Capabilities |
|
951 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSound-Recording-0013-0001-SetConfigL_command13 |
|
952 COMMAND devsound1 OpenFile MULTIMEDIA-MMF-DevSound-Recording-0013-0001-OpenFile_command14 |
|
953 COMMAND devsound1 PlayInitL |
|
954 OUTSTANDING |
|
955 COMMAND devsound1 CloseFile |
|
956 COMMAND devsound1 ~ |
|
957 END_TEST_BLOCK |
|
958 END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-RECORDING-0013 |
|
959 |
|
960 |
|
961 |
|
962 |
|
963 START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-RECORDING-0014 |
|
964 |
|
965 //!@SYMTestCaseID MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-RECORDING-0014 |
|
966 //!@SYMAPI |
|
967 //! CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState) |
|
968 //! CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref}) |
|
969 //! CMMFDevSound::Capabilities() |
|
970 //! CMMFDevSound::SetConfigL(TMMFCapabilities {ref}) |
|
971 //! CMMFDevSound::PlayInitL() |
|
972 //! CMMFDevSound::RecordInitL() |
|
973 //! CMMFDevSound::Stop() |
|
974 //!@SYMAuthor etorres |
|
975 //!@SYMCreationDate 7/21/2008 |
|
976 //!@SYMTestCaseDesc PCM - 48KHz stereo recording and playback |
|
977 //!@SYMTestActions |
|
978 //! 1. Create Devsound instance |
|
979 //! 2. Initialize Devsound ( Mode = EMMFStateRecording; FourCC = {SpecialFourCC,RAW}) |
|
980 //! 3. Set Priority (Priority = {Priority,PriorityNormal}; Preference = {PriorityPreference,PriorityPreferenceQuality}; PriorityState = EMMFStateRecording) |
|
981 //! 4. Capabilities |
|
982 //! 5. Set Configuration (Channels = EMMFStereo; Rate = EMMFSampleRate48000Hz) |
|
983 //! 6. ReplaceFile (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\RecPCM_48k_stereo_10s.pcm) |
|
984 //! 7. Record 10s |
|
985 //! 8. Stop 5s |
|
986 //! 9. CloseFile |
|
987 //! 10. Initialize Devsound ( Mode = EMMFStatePlaying; FourCC = {SpecialFourCC,RAW}) |
|
988 //! 11. Set Priority (Priority = {Priority,PriorityNormal}; Preference = {PriorityPreference,PriorityPreferenceQuality}; PriorityState = EMMFStatePlaying) |
|
989 //! 12. Capabilities |
|
990 //! 13. Set Configuration (Channels = EMMFStereo; Rate = EMMFSampleRate48000Hz) |
|
991 //! 14. OpenFile (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\RecPCM_48k_stereo_10s.pcm) |
|
992 //! 15. Start Play EOF |
|
993 //! 16. CloseFile |
|
994 //! 17. Delete devsound instance |
|
995 //!@SYMTestStatus Verified |
|
996 //!@SYMTestPriority High |
|
997 //!@SYMTestExpectedResults |
|
998 //! PCM - 48KHz stereo recording and playback |
|
999 //!@SYMTestType CIT |
|
1000 |
|
1001 START_TEST_BLOCK 35 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-recording.ini |
|
1002 CREATE_OBJECT CMMFDevSound devsound1 |
|
1003 COMMAND devsound1 NewL |
|
1004 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Recording-0014-0001-InitializeL_command02 |
|
1005 OUTSTANDING |
|
1006 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Recording-0014-0001-SetPrioritySettings_command03 |
|
1007 COMMAND devsound1 Capabilities |
|
1008 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSound-Recording-0014-0001-SetConfigL_command05 |
|
1009 COMMAND devsound1 ReplaceFile MULTIMEDIA-MMF-DevSound-Recording-0014-0001-ReplaceFile_command06 |
|
1010 COMMAND devsound1 RecordInitL |
|
1011 ASYNC_DELAY 10000000 |
|
1012 COMMAND devsound1 Stop |
|
1013 DELAY 5000000 |
|
1014 COMMAND devsound1 CloseFile |
|
1015 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Recording-0014-0001-InitializeL_command10 |
|
1016 OUTSTANDING |
|
1017 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Recording-0014-0001-SetPrioritySettings_command11 |
|
1018 COMMAND devsound1 Capabilities |
|
1019 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSound-Recording-0014-0001-SetConfigL_command13 |
|
1020 COMMAND devsound1 OpenFile MULTIMEDIA-MMF-DevSound-Recording-0014-0001-OpenFile_command14 |
|
1021 COMMAND devsound1 PlayInitL |
|
1022 OUTSTANDING |
|
1023 COMMAND devsound1 CloseFile |
|
1024 COMMAND devsound1 ~ |
|
1025 END_TEST_BLOCK |
|
1026 END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-RECORDING-0014 |
|
1027 |
|
1028 |
|
1029 |
|
1030 |
|
1031 START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-RECORDING-0015 |
|
1032 |
|
1033 //!@SYMTestCaseID MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-RECORDING-0015 |
|
1034 //!@SYMAPI |
|
1035 //! CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState) |
|
1036 //! CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref}) |
|
1037 //! CMMFDevSound::Capabilities() |
|
1038 //! CMMFDevSound::SetConfigL(TMMFCapabilities {ref}) |
|
1039 //! CMMFDevSound::PlayInitL() |
|
1040 //! CMMFDevSound::RecordInitL() |
|
1041 //! CMMFDevSound::Stop() |
|
1042 //!@SYMAuthor etorres |
|
1043 //!@SYMCreationDate 7/21/2008 |
|
1044 //!@SYMTestCaseDesc PCM - 8KHz mono recording and playback |
|
1045 //!@SYMTestActions |
|
1046 //! 1. Create Devsound instance |
|
1047 //! 2. Initialize Devsound ( Mode = EMMFStateRecording; FourCC = {SpecialFourCC,RAW}) |
|
1048 //! 3. Set Priority (Priority = {Priority,PriorityNormal}; Preference = {PriorityPreference,PriorityPreferenceQuality}; PriorityState = EMMFStateRecording) |
|
1049 //! 4. Capabilities |
|
1050 //! 5. Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz) |
|
1051 //! 6. ReplaceFile (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\RecPCM_8k_mono_10s.pcm) |
|
1052 //! 7. Record 10s |
|
1053 //! 8. Stop 5s |
|
1054 //! 9. CloseFile |
|
1055 //! 10. Initialize Devsound ( Mode = EMMFStatePlaying; FourCC = {SpecialFourCC,RAW}) |
|
1056 //! 11. Set Priority (Priority = {Priority,PriorityNormal}; Preference = {PriorityPreference,PriorityPreferenceQuality}; PriorityState = EMMFStatePlaying) |
|
1057 //! 12. Capabilities |
|
1058 //! 13. Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz) |
|
1059 //! 14. OpenFile (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\RecPCM_8k_mono_10s.pcm) |
|
1060 //! 15. Start Play EOF |
|
1061 //! 16. CloseFile |
|
1062 //! 17. Delete devsound instance |
|
1063 //!@SYMTestStatus Verified |
|
1064 //!@SYMTestPriority High |
|
1065 //!@SYMTestExpectedResults |
|
1066 //! PCM - 8KHz mono recording and playback |
|
1067 //!@SYMTestType CIT |
|
1068 |
|
1069 START_TEST_BLOCK 35 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-recording.ini |
|
1070 CREATE_OBJECT CMMFDevSound devsound1 |
|
1071 COMMAND devsound1 NewL |
|
1072 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Recording-0015-0001-InitializeL_command02 |
|
1073 OUTSTANDING |
|
1074 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Recording-0015-0001-SetPrioritySettings_command03 |
|
1075 COMMAND devsound1 Capabilities |
|
1076 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSound-Recording-0015-0001-SetConfigL_command05 |
|
1077 COMMAND devsound1 ReplaceFile MULTIMEDIA-MMF-DevSound-Recording-0015-0001-ReplaceFile_command06 |
|
1078 COMMAND devsound1 RecordInitL |
|
1079 ASYNC_DELAY 10000000 |
|
1080 COMMAND devsound1 Stop |
|
1081 DELAY 5000000 |
|
1082 COMMAND devsound1 CloseFile |
|
1083 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Recording-0015-0001-InitializeL_command10 |
|
1084 OUTSTANDING |
|
1085 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Recording-0015-0001-SetPrioritySettings_command11 |
|
1086 COMMAND devsound1 Capabilities |
|
1087 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSound-Recording-0015-0001-SetConfigL_command13 |
|
1088 COMMAND devsound1 OpenFile MULTIMEDIA-MMF-DevSound-Recording-0015-0001-OpenFile_command14 |
|
1089 COMMAND devsound1 PlayInitL |
|
1090 OUTSTANDING |
|
1091 COMMAND devsound1 CloseFile |
|
1092 COMMAND devsound1 ~ |
|
1093 END_TEST_BLOCK |
|
1094 END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-RECORDING-0015 |
|
1095 |
|
1096 |
|
1097 |
|
1098 |
|
1099 START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-RECORDING-0016 |
|
1100 |
|
1101 //!@SYMTestCaseID MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-RECORDING-0016 |
|
1102 //!@SYMAPI |
|
1103 //! CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState) |
|
1104 //! CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref}) |
|
1105 //! CMMFDevSound::Capabilities() |
|
1106 //! CMMFDevSound::SetConfigL(TMMFCapabilities {ref}) |
|
1107 //! CMMFDevSound::PlayInitL() |
|
1108 //! CMMFDevSound::RecordInitL() |
|
1109 //! CMMFDevSound::Stop() |
|
1110 //!@SYMAuthor etorres |
|
1111 //!@SYMCreationDate 7/21/2008 |
|
1112 //!@SYMTestCaseDesc PCM - 8KHz stereo recording and playback |
|
1113 //!@SYMTestActions |
|
1114 //! 1. Create Devsound instance |
|
1115 //! 2. Initialize Devsound ( Mode = EMMFStateRecording; FourCC = {SpecialFourCC,RAW}) |
|
1116 //! 3. Set Priority (Priority = {Priority,PriorityNormal}; Preference = {PriorityPreference,PriorityPreferenceQuality}; PriorityState = EMMFStateRecording) |
|
1117 //! 4. Capabilities |
|
1118 //! 5. Set Configuration (Channels = EMMFStereo; Rate = EMMFSampleRate8000Hz) |
|
1119 //! 6. ReplaceFile (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\RecPCM_8k_stereo_10s.pcm) |
|
1120 //! 7. Record 10s |
|
1121 //! 8. Stop 5s |
|
1122 //! 9. CloseFile |
|
1123 //! 10. Initialize Devsound ( Mode = EMMFStatePlaying; FourCC = {SpecialFourCC,RAW}) |
|
1124 //! 11. Set Priority (Priority = {Priority,PriorityNormal}; Preference = {PriorityPreference,PriorityPreferenceQuality}; PriorityState = EMMFStatePlaying) |
|
1125 //! 12. Capabilities |
|
1126 //! 13. Set Configuration (Channels = EMMFStereo; Rate = EMMFSampleRate8000Hz) |
|
1127 //! 14. OpenFile (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\RecPCM_8k_stereo_10s.pcm) |
|
1128 //! 15. Start Play EOF |
|
1129 //! 16. CloseFile |
|
1130 //! 17. Delete devsound instance |
|
1131 //!@SYMTestStatus Verified |
|
1132 //!@SYMTestPriority High |
|
1133 //!@SYMTestExpectedResults |
|
1134 //! PCM - 8KHz stereo recording and playback |
|
1135 //!@SYMTestType CIT |
|
1136 |
|
1137 START_TEST_BLOCK 35 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-recording.ini |
|
1138 CREATE_OBJECT CMMFDevSound devsound1 |
|
1139 COMMAND devsound1 NewL |
|
1140 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Recording-0016-0001-InitializeL_command02 |
|
1141 OUTSTANDING |
|
1142 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Recording-0016-0001-SetPrioritySettings_command03 |
|
1143 COMMAND devsound1 Capabilities |
|
1144 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSound-Recording-0016-0001-SetConfigL_command05 |
|
1145 COMMAND devsound1 ReplaceFile MULTIMEDIA-MMF-DevSound-Recording-0016-0001-ReplaceFile_command06 |
|
1146 COMMAND devsound1 RecordInitL |
|
1147 ASYNC_DELAY 10000000 |
|
1148 COMMAND devsound1 Stop |
|
1149 DELAY 5000000 |
|
1150 COMMAND devsound1 CloseFile |
|
1151 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Recording-0016-0001-InitializeL_command10 |
|
1152 OUTSTANDING |
|
1153 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Recording-0016-0001-SetPrioritySettings_command11 |
|
1154 COMMAND devsound1 Capabilities |
|
1155 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSound-Recording-0016-0001-SetConfigL_command13 |
|
1156 COMMAND devsound1 OpenFile MULTIMEDIA-MMF-DevSound-Recording-0016-0001-OpenFile_command14 |
|
1157 COMMAND devsound1 PlayInitL |
|
1158 OUTSTANDING |
|
1159 COMMAND devsound1 CloseFile |
|
1160 COMMAND devsound1 ~ |
|
1161 END_TEST_BLOCK |
|
1162 END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-RECORDING-0016 |
|
1163 |
|
1164 |
|
1165 |
|
1166 |
|
1167 START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-RECORDING-0017 |
|
1168 |
|
1169 //!@SYMTestCaseID MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-RECORDING-0017 |
|
1170 //!@SYMAPI |
|
1171 //! CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState) |
|
1172 //! CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref}) |
|
1173 //! CMMFDevSound::Capabilities() |
|
1174 //! CMMFDevSound::SetConfigL(TMMFCapabilities {ref}) |
|
1175 //! CMMFDevSound::PlayInitL() |
|
1176 //! CMMFDevSound::RecordInitL() |
|
1177 //! CMMFDevSound::Stop() |
|
1178 //!@SYMAuthor alavariega |
|
1179 //!@SYMCreationDate 8/11/2008 |
|
1180 //!@SYMTestCaseDesc AMR-NB 8KHz recording and playback several times |
|
1181 //!@SYMTestActions |
|
1182 //! 1.- Create DevSound Instance att1 |
|
1183 //! 2.- Create DevSound Instance att2 |
|
1184 //! 3.- att1 Initialize DevSound ( Mode = EMMFStateRecording; FourCC = {SpecialFourCC,RAW}) |
|
1185 //! 4.- att1 Set Priority (Priority ={Priority,PriorityPocCallUp}; Preference = {PriorityPreference,PriorityPreferencePocCallUp}; PriorityState = EMMFStateRecording) |
|
1186 //! 5.- att1 Capabilities |
|
1187 //! 6.- att1 Set Configuration(Channels = EMMFMono; Rate = EMMFSampleRate8000Hz) |
|
1188 //! 7.- att1 ReplaceFile (Filename={drive,mmc}\multimedia\mmf\devsound\recording\PoCCallStressTest.amr) |
|
1189 //! 8.- att1 Record 5s |
|
1190 //! 9.- att1 Stop 2s |
|
1191 //! 10.- att1 Record 3s |
|
1192 //! 11.- att1 Stop 4s |
|
1193 //! 12.- att1 CloseFile |
|
1194 //! 13.- att2 Initialize DevSound ( Mode = EMMFStatePlaying; FourCC = AMR) |
|
1195 //! 14.- att2 Set Priority (Priority ={Priority,PriorityPocCallDown}; Preference = {PriorityPreference,PriorityPreferencePocCallDown} ; PriorityState = EMMFStatePlaying) |
|
1196 //! 15.- att2 Capabilities |
|
1197 //! 16.- att2 Set Configuration(Channels = EMMFMono; Rate = EMMFSampleRate8000Hz) |
|
1198 //! 17.- Open File (Filename = {drive,mmc}\multimedia\mmf\devsound\AMR-NB\AMRNB_8k_12.2kbps_mono_speech.amr) |
|
1199 //! 18.- Start Play 2s |
|
1200 //! 19.- Stop 1s |
|
1201 //! 20.- Start Play 5s |
|
1202 //! 21.- Stop |
|
1203 //! 22. Close File |
|
1204 //! 23.- Delete att1 |
|
1205 //! 24.- Delete att2 |
|
1206 //!@SYMTestStatus Verified |
|
1207 //!@SYMTestPriority High |
|
1208 //!@SYMTestExpectedResults |
|
1209 //! AMR-NB 8KHz recording and playback several times |
|
1210 //!@SYMTestType CIT |
|
1211 |
|
1212 START_TEST_BLOCK 100 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-recording.ini |
|
1213 CREATE_OBJECT CMMFDevSound devsound1 |
|
1214 CREATE_OBJECT CMMFDevSound devsound2 |
|
1215 COMMAND devsound1 NewL |
|
1216 COMMAND devsound2 NewL |
|
1217 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Recording-0017-0001-InitializeL_command03 |
|
1218 OUTSTANDING |
|
1219 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Recording-0017-0001-SetPrioritySettings_command04 |
|
1220 COMMAND devsound1 Capabilities |
|
1221 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSound-Recording-0017-0001-SetConfigL_command06 |
|
1222 COMMAND devsound1 ReplaceFile MULTIMEDIA-MMF-DevSound-Recording-0017-0001-ReplaceFile_command07 |
|
1223 COMMAND devsound1 RecordInitL |
|
1224 ASYNC_DELAY 5000000 |
|
1225 COMMAND devsound1 Stop |
|
1226 DELAY 2000000 |
|
1227 COMMAND devsound1 RecordInitL |
|
1228 ASYNC_DELAY 3000000 |
|
1229 COMMAND devsound1 Stop |
|
1230 DELAY 4000000 |
|
1231 COMMAND devsound1 CloseFile |
|
1232 COMMAND devsound2 InitializeL MULTIMEDIA-MMF-DevSound-Recording-0017-0001-InitializeL_command13 |
|
1233 OUTSTANDING |
|
1234 COMMAND devsound2 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Recording-0017-0001-SetPrioritySettings_command14 |
|
1235 COMMAND devsound2 Capabilities |
|
1236 COMMAND devsound2 SetConfigL MULTIMEDIA-MMF-DevSound-Recording-0017-0001-SetConfigL_command16 |
|
1237 COMMAND devsound2 OpenFile MULTIMEDIA-MMF-DevSound-Recording-0017-0001-OpenFile_command17 |
|
1238 COMMAND devsound2 PlayInitL |
|
1239 ASYNC_DELAY 2000000 |
|
1240 COMMAND devsound2 Stop |
|
1241 DELAY 1000000 |
|
1242 COMMAND devsound2 PlayInitL |
|
1243 ASYNC_DELAY 5000000 |
|
1244 COMMAND devsound2 Stop |
|
1245 COMMAND devsound2 CloseFile |
|
1246 COMMAND devsound1 ~ |
|
1247 COMMAND devsound2 ~ |
|
1248 END_TEST_BLOCK |
|
1249 END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-RECORDING-0017 |
|
1250 |
|
1251 |
|
1252 |
|
1253 |
|
1254 START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-RECORDING-0018 |
|
1255 |
|
1256 //!@SYMTestCaseID MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-RECORDING-0018 |
|
1257 //!@SYMAPI |
|
1258 //! CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState) |
|
1259 //! CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref}) |
|
1260 //! CMMFDevSound::Capabilities() |
|
1261 //! CMMFDevSound::SetConfigL(TMMFCapabilities {ref}) |
|
1262 //! CMMFDevSound::PlayInitL() |
|
1263 //! CMMFDevSound::RecordInitL() |
|
1264 //! CMMFDevSound::Stop() |
|
1265 //!@SYMAuthor alavariega |
|
1266 //!@SYMCreationDate 8/11/2008 |
|
1267 //!@SYMTestCaseDesc PCM 16k mono record and playback |
|
1268 //!@SYMTestActions |
|
1269 //! 1.- Create a Instance of DevSound |
|
1270 //! 2.- Initialize DevSound ( Mode = EMMFStateRecording; FourCC = {SpecialFourCC,RAW} ) |
|
1271 //! 3.- Set Priority (Priority = {Priority,PriorityVoiceRecording}; Preference = {PriorityPreference,PriorityPreferenceVoiceRecording} ; PriorityState = EMMFStateRecording ) |
|
1272 //! 4.- Capabilities |
|
1273 //! 5.- Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate16000Hz) |
|
1274 //! 6.- ReplaceFile (Filename={drive,mmc}\multimedia\mmf\devsound\recording\Rec16kPCM.pcm) |
|
1275 //! 7.- StartRecord 10s |
|
1276 //! 8.- Stop 5s |
|
1277 //! 9.- CloseFile |
|
1278 //! 10.- Initialize DevSound ( Mode = EMMFStatePlaying; FourCC = {SpecialFourCC,RAW} ) |
|
1279 //! 11.- Set Priority (Priority ={Priority,PriorityAudioPlayback}; Preference = {PriorityPreference,PriorityPreferenceAudioPlayback}; PriorityState = EMMFStatePlaying ) |
|
1280 //! 12.- Capabilities |
|
1281 //! 13.- Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate16000Hz) |
|
1282 //! 14.- OpenFile(Filename = {drive,mmc}\multimedia\mmf\devsound\recording\Rec16kPCM.pcm) |
|
1283 //! 15.- StartPlay EOF |
|
1284 //! 16.- CloseFile |
|
1285 //! 17.-delete DevSound instance |
|
1286 //!@SYMTestStatus Verified |
|
1287 //!@SYMTestPriority High |
|
1288 //!@SYMTestExpectedResults |
|
1289 //! PCM 16k mono record and playback |
|
1290 //!@SYMTestType CIT |
|
1291 |
|
1292 START_TEST_BLOCK 100 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-recording.ini |
|
1293 CREATE_OBJECT CMMFDevSound devsound1 |
|
1294 COMMAND devsound1 NewL |
|
1295 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Recording-0018-0001-InitializeL_command02 |
|
1296 OUTSTANDING |
|
1297 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Recording-0018-0001-SetPrioritySettings_command03 |
|
1298 COMMAND devsound1 Capabilities |
|
1299 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSound-Recording-0018-0001-SetConfigL_command05 |
|
1300 COMMAND devsound1 ReplaceFile MULTIMEDIA-MMF-DevSound-Recording-0018-0001-ReplaceFile_command06 |
|
1301 COMMAND devsound1 RecordInitL |
|
1302 ASYNC_DELAY 10000000 |
|
1303 COMMAND devsound1 Stop |
|
1304 DELAY 5000000 |
|
1305 COMMAND devsound1 CloseFile |
|
1306 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Recording-0018-0001-InitializeL_command10 |
|
1307 OUTSTANDING |
|
1308 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Recording-0018-0001-SetPrioritySettings_command11 |
|
1309 COMMAND devsound1 Capabilities |
|
1310 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSound-Recording-0018-0001-SetConfigL_command13 |
|
1311 COMMAND devsound1 OpenFile MULTIMEDIA-MMF-DevSound-Recording-0018-0001-OpenFile_command14 |
|
1312 COMMAND devsound1 PlayInitL |
|
1313 OUTSTANDING |
|
1314 COMMAND devsound1 CloseFile |
|
1315 COMMAND devsound1 ~ |
|
1316 END_TEST_BLOCK |
|
1317 END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-RECORDING-0018 |
|
1318 |
|
1319 |
|
1320 |
|
1321 |
|
1322 START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-RECORDING-0019 |
|
1323 |
|
1324 //!@SYMTestCaseID MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-RECORDING-0019 |
|
1325 //!@SYMAPI |
|
1326 //! CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState) |
|
1327 //! CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref}) |
|
1328 //! CMMFDevSound::Capabilities() |
|
1329 //! CMMFDevSound::SetConfigL(TMMFCapabilities {ref}) |
|
1330 //! CMMFDevSound::PlayInitL() |
|
1331 //! CMMFDevSound::RecordInitL() |
|
1332 //! CMMFDevSound::Stop() |
|
1333 //!@SYMAuthor alavariega |
|
1334 //!@SYMCreationDate 8/11/2008 |
|
1335 //!@SYMTestCaseDesc PCM 16k stereo record and playback |
|
1336 //!@SYMTestActions |
|
1337 //! 1.- Create a Instance of DevSound |
|
1338 //! 2.- Initialize DevSound ( Mode = EMMFStateRecording; FourCC = {SpecialFourCC,RAW} ) |
|
1339 //! 3.- Set Priority (Priority = {Priority,PriorityVoiceRecording}; Preference = {PriorityPreference,PriorityPreferenceVoiceRecording} ; PriorityState = EMMFStateRecording ) |
|
1340 //! 4.- Capabilities |
|
1341 //! 5.- Set Configuration (Channels = EMMFStereo; Rate = EMMFSampleRate16000Hz) |
|
1342 //! 6.- ReplaceFile (Filename={drive,mmc}\multimedia\mmf\devsound\recording\Rec16kPCMStereo.pcm) |
|
1343 //! 7.- StartRecord 10s |
|
1344 //! 8.- Stop 5s |
|
1345 //! 9.- CloseFile |
|
1346 //! 10.- Initialize DevSound ( Mode = EMMFStatePlaying; FourCC = {SpecialFourCC,RAW} ) |
|
1347 //! 11.- Set Priority (Priority ={Priority,PriorityAudioPlayback}; Preference = {PriorityPreference,PriorityPreferenceAudioPlayback}; PriorityState = EMMFStatePlaying ) |
|
1348 //! 12.- Capabilities |
|
1349 //! 13.- Set Configuration (Channels = EMMFStereo; Rate = EMMFSampleRate16000Hz) |
|
1350 //! 14.- OpenFile(Filename = {drive,mmc}\multimedia\mmf\devsound\recording\Rec16kPCMStereo.pcm) |
|
1351 //! 15.- StartPlay EOF |
|
1352 //! 16.- CloseFile |
|
1353 //! 17.-delete DevSound instance |
|
1354 //!@SYMTestStatus Verified |
|
1355 //!@SYMTestPriority High |
|
1356 //!@SYMTestExpectedResults |
|
1357 //! PCM 16k stereo record and playback |
|
1358 //!@SYMTestType CIT |
|
1359 |
|
1360 START_TEST_BLOCK 100 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-recording.ini |
|
1361 CREATE_OBJECT CMMFDevSound devsound1 |
|
1362 COMMAND devsound1 NewL |
|
1363 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Recording-0019-0001-InitializeL_command02 |
|
1364 OUTSTANDING |
|
1365 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Recording-0019-0001-SetPrioritySettings_command03 |
|
1366 COMMAND devsound1 Capabilities |
|
1367 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSound-Recording-0019-0001-SetConfigL_command05 |
|
1368 COMMAND devsound1 ReplaceFile MULTIMEDIA-MMF-DevSound-Recording-0019-0001-ReplaceFile_command06 |
|
1369 COMMAND devsound1 RecordInitL |
|
1370 ASYNC_DELAY 10000000 |
|
1371 COMMAND devsound1 Stop |
|
1372 DELAY 5000000 |
|
1373 COMMAND devsound1 CloseFile |
|
1374 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Recording-0019-0001-InitializeL_command10 |
|
1375 OUTSTANDING |
|
1376 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Recording-0019-0001-SetPrioritySettings_command11 |
|
1377 COMMAND devsound1 Capabilities |
|
1378 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSound-Recording-0019-0001-SetConfigL_command13 |
|
1379 COMMAND devsound1 OpenFile MULTIMEDIA-MMF-DevSound-Recording-0019-0001-OpenFile_command14 |
|
1380 COMMAND devsound1 PlayInitL |
|
1381 OUTSTANDING |
|
1382 COMMAND devsound1 CloseFile |
|
1383 COMMAND devsound1 ~ |
|
1384 END_TEST_BLOCK |
|
1385 END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-RECORDING-0019 |
|
1386 |
|
1387 |
|
1388 |
|
1389 |
|
1390 START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-RECORDING-0020 |
|
1391 |
|
1392 //!@SYMTestCaseID MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-RECORDING-0020 |
|
1393 //!@SYMAPI |
|
1394 //! CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState) |
|
1395 //! CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref}) |
|
1396 //! CMMFDevSound::Capabilities() |
|
1397 //! CMMFDevSound::SetConfigL(TMMFCapabilities {ref}) |
|
1398 //! CMMFDevSound::PlayInitL() |
|
1399 //! CMMFDevSound::RecordInitL() |
|
1400 //! CMMFDevSound::Stop() |
|
1401 //!@SYMAuthor alavariega |
|
1402 //!@SYMCreationDate 8/11/2008 |
|
1403 //!@SYMTestCaseDesc PCM 24k mono record and playback |
|
1404 //!@SYMTestActions |
|
1405 //! 1.- Create a Instance of DevSound |
|
1406 //! 2.- Initialize DevSound ( Mode = EMMFStateRecording; FourCC = {SpecialFourCC,RAW} ) |
|
1407 //! 3.- Set Priority (Priority = {Priority,PriorityVoiceRecording}; Preference = {PriorityPreference,PriorityPreferenceVoiceRecording} ; PriorityState = EMMFStateRecording ) |
|
1408 //! 4.- Capabilities |
|
1409 //! 5.- Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate24000Hz) |
|
1410 //! 6.- ReplaceFile (Filename={drive,mmc}\multimedia\mmf\devsound\recording\Rec24kPCM.pcm) |
|
1411 //! 7.- StartRecord 10s |
|
1412 //! 8.- Stop 5s |
|
1413 //! 9.- CloseFile |
|
1414 //! 10.- Initialize DevSound ( Mode = EMMFStatePlaying; FourCC = {SpecialFourCC,RAW} ) |
|
1415 //! 11.- Set Priority (Priority ={Priority,PriorityAudioPlayback}; Preference = {PriorityPreference,PriorityPreferenceAudioPlayback}; PriorityState = EMMFStatePlaying ) |
|
1416 //! 12.- Capabilities |
|
1417 //! 13.- Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate24000Hz) |
|
1418 //! 14.- OpenFile(Filename = {drive,mmc}\multimedia\mmf\devsound\recording\Rec24kPCM.pcm) |
|
1419 //! 15.- StartPlay EOF |
|
1420 //! 16.- CloseFile |
|
1421 //! 17.-delete DevSound instance |
|
1422 //!@SYMTestStatus Verified |
|
1423 //!@SYMTestPriority High |
|
1424 //!@SYMTestExpectedResults |
|
1425 //! PCM 24k mono record and playback |
|
1426 //!@SYMTestType CIT |
|
1427 |
|
1428 START_TEST_BLOCK 100 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-recording.ini |
|
1429 CREATE_OBJECT CMMFDevSound devsound1 |
|
1430 COMMAND devsound1 NewL |
|
1431 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Recording-0020-0001-InitializeL_command02 |
|
1432 OUTSTANDING |
|
1433 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Recording-0020-0001-SetPrioritySettings_command03 |
|
1434 COMMAND devsound1 Capabilities |
|
1435 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSound-Recording-0020-0001-SetConfigL_command05 |
|
1436 COMMAND devsound1 ReplaceFile MULTIMEDIA-MMF-DevSound-Recording-0020-0001-ReplaceFile_command06 |
|
1437 COMMAND devsound1 RecordInitL |
|
1438 ASYNC_DELAY 10000000 |
|
1439 COMMAND devsound1 Stop |
|
1440 DELAY 5000000 |
|
1441 COMMAND devsound1 CloseFile |
|
1442 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Recording-0020-0001-InitializeL_command10 |
|
1443 OUTSTANDING |
|
1444 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Recording-0020-0001-SetPrioritySettings_command11 |
|
1445 COMMAND devsound1 Capabilities |
|
1446 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSound-Recording-0020-0001-SetConfigL_command13 |
|
1447 COMMAND devsound1 OpenFile MULTIMEDIA-MMF-DevSound-Recording-0020-0001-OpenFile_command14 |
|
1448 COMMAND devsound1 PlayInitL |
|
1449 OUTSTANDING |
|
1450 COMMAND devsound1 CloseFile |
|
1451 COMMAND devsound1 ~ |
|
1452 END_TEST_BLOCK |
|
1453 END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-RECORDING-0020 |
|
1454 |
|
1455 |
|
1456 |
|
1457 |
|
1458 START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-RECORDING-0021 |
|
1459 |
|
1460 //!@SYMTestCaseID MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-RECORDING-0021 |
|
1461 //!@SYMAPI |
|
1462 //! CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState) |
|
1463 //! CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref}) |
|
1464 //! CMMFDevSound::Capabilities() |
|
1465 //! CMMFDevSound::SetConfigL(TMMFCapabilities {ref}) |
|
1466 //! CMMFDevSound::PlayInitL() |
|
1467 //! CMMFDevSound::RecordInitL() |
|
1468 //! CMMFDevSound::Stop() |
|
1469 //!@SYMAuthor alavariega |
|
1470 //!@SYMCreationDate 8/11/2008 |
|
1471 //!@SYMTestCaseDesc PCM 24k stereo record and recording |
|
1472 //!@SYMTestActions |
|
1473 //! 1.- Create a Instance of DevSound |
|
1474 //! 2.- Initialize DevSound ( Mode = EMMFStateRecording; FourCC = {SpecialFourCC,RAW} ) |
|
1475 //! 3.- Set Priority (Priority = {Priority,PriorityVoiceRecording}; Preference = {PriorityPreference,PriorityPreferenceVoiceRecording} ; PriorityState = EMMFStateRecording ) |
|
1476 //! 4.- Capabilities |
|
1477 //! 5.- Set Configuration (Channels = EMMFStereo; Rate = EMMFSampleRate24000Hz) |
|
1478 //! 6.- ReplaceFile (Filename={drive,mmc}\multimedia\mmf\devsound\recording\Rec24kPCMStereo.pcm) |
|
1479 //! 7.- StartRecord 10s |
|
1480 //! 8.- Stop 5s |
|
1481 //! 9.- CloseFile |
|
1482 //! 10.- Initialize DevSound ( Mode = EMMFStatePlaying; FourCC = {SpecialFourCC,RAW} ) |
|
1483 //! 11.- Set Priority (Priority ={Priority,PriorityAudioPlayback}; Preference = {PriorityPreference,PriorityPreferenceAudioPlayback}; PriorityState = EMMFStatePlaying ) |
|
1484 //! 12.- Capabilities |
|
1485 //! 13.- Set Configuration (Channels = EMMFStereo; Rate = EMMFSampleRate24000Hz) |
|
1486 //! 14.- OpenFile(Filename = {drive,mmc}\multimedia\mmf\devsound\recording\Rec24kPCMStereo.pcm) |
|
1487 //! 15.- StartPlay EOF |
|
1488 //! 16.- CloseFile |
|
1489 //! 17.-delete DevSound instance |
|
1490 //!@SYMTestStatus Verified |
|
1491 //!@SYMTestPriority High |
|
1492 //!@SYMTestExpectedResults |
|
1493 //! PCM 24k stereo record and recording |
|
1494 //!@SYMTestType CIT |
|
1495 |
|
1496 START_TEST_BLOCK 100 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-recording.ini |
|
1497 CREATE_OBJECT CMMFDevSound devsound1 |
|
1498 COMMAND devsound1 NewL |
|
1499 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Recording-0021-0001-InitializeL_command02 |
|
1500 OUTSTANDING |
|
1501 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Recording-0021-0001-SetPrioritySettings_command03 |
|
1502 COMMAND devsound1 Capabilities |
|
1503 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSound-Recording-0021-0001-SetConfigL_command05 |
|
1504 COMMAND devsound1 ReplaceFile MULTIMEDIA-MMF-DevSound-Recording-0021-0001-ReplaceFile_command06 |
|
1505 COMMAND devsound1 RecordInitL |
|
1506 ASYNC_DELAY 10000000 |
|
1507 COMMAND devsound1 Stop |
|
1508 DELAY 5000000 |
|
1509 COMMAND devsound1 CloseFile |
|
1510 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Recording-0021-0001-InitializeL_command10 |
|
1511 OUTSTANDING |
|
1512 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Recording-0021-0001-SetPrioritySettings_command11 |
|
1513 COMMAND devsound1 Capabilities |
|
1514 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSound-Recording-0021-0001-SetConfigL_command13 |
|
1515 COMMAND devsound1 OpenFile MULTIMEDIA-MMF-DevSound-Recording-0021-0001-OpenFile_command14 |
|
1516 COMMAND devsound1 PlayInitL |
|
1517 OUTSTANDING |
|
1518 COMMAND devsound1 CloseFile |
|
1519 COMMAND devsound1 ~ |
|
1520 END_TEST_BLOCK |
|
1521 END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-RECORDING-0021 |
|
1522 |
|
1523 |
|
1524 |
|
1525 |
|
1526 START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-RECORDING-0022 |
|
1527 |
|
1528 //!@SYMTestCaseID MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-RECORDING-0022 |
|
1529 //!@SYMAPI |
|
1530 //! CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState) |
|
1531 //! CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref}) |
|
1532 //! CMMFDevSound::Capabilities() |
|
1533 //! CMMFDevSound::SetConfigL(TMMFCapabilities {ref}) |
|
1534 //! CMMFDevSound::PlayInitL() |
|
1535 //! CMMFDevSound::RecordInitL() |
|
1536 //! CMMFDevSound::Stop() |
|
1537 //!@SYMAuthor alavariega |
|
1538 //!@SYMCreationDate 8/11/2008 |
|
1539 //!@SYMTestCaseDesc PCM 32k mono record and recording |
|
1540 //!@SYMTestActions |
|
1541 //! 1.- Create a Instance of DevSound |
|
1542 //! 2.- Initialize DevSound ( Mode = EMMFStateRecording; FourCC = {SpecialFourCC,RAW} ) |
|
1543 //! 3.- Set Priority (Priority = {Priority,PriorityVoiceRecording}; Preference = {PriorityPreference,PriorityPreferenceVoiceRecording} ; PriorityState = EMMFStateRecording ) |
|
1544 //! 4.- Capabilities |
|
1545 //! 5.- Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate32000Hz) |
|
1546 //! 6.- ReplaceFile (Filename={drive,mmc}\multimedia\mmf\devsound\recording\Rec32kPCM.pcm) |
|
1547 //! 7.- StartRecord 10s |
|
1548 //! 8.- Stop 5s |
|
1549 //! 9.- CloseFile |
|
1550 //! 10.- Initialize DevSound ( Mode = EMMFStatePlaying; FourCC = {SpecialFourCC,RAW} ) |
|
1551 //! 11.- Set Priority (Priority ={Priority,PriorityAudioPlayback}; Preference = {PriorityPreference,PriorityPreferenceAudioPlayback}; PriorityState = EMMFStatePlaying ) |
|
1552 //! 12.- Capabilities |
|
1553 //! 13.- Set Configuration (Channels = EMMFMono; Rate =EMMFSampleRate32000Hz) |
|
1554 //! 14.- OpenFile(Filename = {drive,mmc}\multimedia\mmf\devsound\recording\Rec32kPCM.pcm) |
|
1555 //! 15.- StartPlay EOF |
|
1556 //! 16.- CloseFile |
|
1557 //! 17.- Delete DevSound instance |
|
1558 //!@SYMTestStatus Verified |
|
1559 //!@SYMTestPriority High |
|
1560 //!@SYMTestExpectedResults |
|
1561 //! PCM 32k mono record and recording |
|
1562 //!@SYMTestType CIT |
|
1563 |
|
1564 START_TEST_BLOCK 100 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-recording.ini |
|
1565 CREATE_OBJECT CMMFDevSound devsound1 |
|
1566 COMMAND devsound1 NewL |
|
1567 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Recording-0022-0001-InitializeL_command02 |
|
1568 OUTSTANDING |
|
1569 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Recording-0022-0001-SetPrioritySettings_command03 |
|
1570 COMMAND devsound1 Capabilities |
|
1571 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSound-Recording-0022-0001-SetConfigL_command05 |
|
1572 COMMAND devsound1 ReplaceFile MULTIMEDIA-MMF-DevSound-Recording-0022-0001-ReplaceFile_command06 |
|
1573 COMMAND devsound1 RecordInitL |
|
1574 ASYNC_DELAY 10000000 |
|
1575 COMMAND devsound1 Stop |
|
1576 DELAY 5000000 |
|
1577 COMMAND devsound1 CloseFile |
|
1578 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Recording-0022-0001-InitializeL_command10 |
|
1579 OUTSTANDING |
|
1580 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Recording-0022-0001-SetPrioritySettings_command11 |
|
1581 COMMAND devsound1 Capabilities |
|
1582 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSound-Recording-0022-0001-SetConfigL_command13 |
|
1583 COMMAND devsound1 OpenFile MULTIMEDIA-MMF-DevSound-Recording-0022-0001-OpenFile_command14 |
|
1584 COMMAND devsound1 PlayInitL |
|
1585 OUTSTANDING |
|
1586 COMMAND devsound1 CloseFile |
|
1587 COMMAND devsound1 ~ |
|
1588 END_TEST_BLOCK |
|
1589 END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-RECORDING-0022 |
|
1590 |
|
1591 |
|
1592 |
|
1593 |
|
1594 START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-RECORDING-0023 |
|
1595 |
|
1596 //!@SYMTestCaseID MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-RECORDING-0023 |
|
1597 //!@SYMAPI |
|
1598 //! CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState) |
|
1599 //! CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref}) |
|
1600 //! CMMFDevSound::Capabilities() |
|
1601 //! CMMFDevSound::SetConfigL(TMMFCapabilities {ref}) |
|
1602 //! CMMFDevSound::PlayInitL() |
|
1603 //! CMMFDevSound::RecordInitL() |
|
1604 //! CMMFDevSound::Stop() |
|
1605 //!@SYMAuthor alavariega |
|
1606 //!@SYMCreationDate 8/11/2008 |
|
1607 //!@SYMTestCaseDesc PCM 32k stereo record and recording |
|
1608 //!@SYMTestActions |
|
1609 //! 1.- Create a Instance of DevSound |
|
1610 //! 2.- Initialize DevSound ( Mode = EMMFStateRecording; FourCC = {SpecialFourCC,RAW} ) |
|
1611 //! 3.- Set Priority (Priority = {Priority,PriorityVoiceRecording}; Preference = {PriorityPreference,PriorityPreferenceVoiceRecording} ; PriorityState = EMMFStateRecording ) |
|
1612 //! 4.- Capabilities |
|
1613 //! 5.- Set Configuration (Channels = EMMFStereo; Rate = EMMFSampleRate32000Hz) |
|
1614 //! 6.- ReplaceFile (Filename={drive,mmc}\multimedia\mmf\devsound\recording\Rec32kPCMStereo.pcm) |
|
1615 //! 7.- StartRecord 10s |
|
1616 //! 8.- Stop 5s |
|
1617 //! 9.- CloseFile |
|
1618 //! 10.- Initialize DevSound ( Mode = EMMFStatePlaying; FourCC = {SpecialFourCC,RAW} ) |
|
1619 //! 11.- Set Priority (Priority ={Priority,PriorityAudioPlayback}; Preference = {PriorityPreference,PriorityPreferenceAudioPlayback}; PriorityState = EMMFStatePlaying ) |
|
1620 //! 12.- Capabilities |
|
1621 //! 13.- Set Configuration (Channels = EMMFStereo; Rate =EMMFSampleRate32000Hz) |
|
1622 //! 14.- OpenFile(Filename = {drive,mmc}\multimedia\mmf\devsound\recording\Rec32kPCMStereo.pcm) |
|
1623 //! 15.- StartPlay EOF |
|
1624 //! 16.- CloseFile |
|
1625 //! 17.-delete DevSound instance |
|
1626 //!@SYMTestStatus Verified |
|
1627 //!@SYMTestPriority High |
|
1628 //!@SYMTestExpectedResults |
|
1629 //! PCM 32k stereo record and recording |
|
1630 //!@SYMTestType CIT |
|
1631 |
|
1632 START_TEST_BLOCK 100 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-recording.ini |
|
1633 CREATE_OBJECT CMMFDevSound devsound1 |
|
1634 COMMAND devsound1 NewL |
|
1635 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Recording-0023-0001-InitializeL_command02 |
|
1636 OUTSTANDING |
|
1637 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Recording-0023-0001-SetPrioritySettings_command03 |
|
1638 COMMAND devsound1 Capabilities |
|
1639 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSound-Recording-0023-0001-SetConfigL_command05 |
|
1640 COMMAND devsound1 ReplaceFile MULTIMEDIA-MMF-DevSound-Recording-0023-0001-ReplaceFile_command06 |
|
1641 COMMAND devsound1 RecordInitL |
|
1642 ASYNC_DELAY 10000000 |
|
1643 COMMAND devsound1 Stop |
|
1644 DELAY 5000000 |
|
1645 COMMAND devsound1 CloseFile |
|
1646 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Recording-0023-0001-InitializeL_command10 |
|
1647 OUTSTANDING |
|
1648 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Recording-0023-0001-SetPrioritySettings_command11 |
|
1649 COMMAND devsound1 Capabilities |
|
1650 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSound-Recording-0023-0001-SetConfigL_command13 |
|
1651 COMMAND devsound1 OpenFile MULTIMEDIA-MMF-DevSound-Recording-0023-0001-OpenFile_command14 |
|
1652 COMMAND devsound1 PlayInitL |
|
1653 OUTSTANDING |
|
1654 COMMAND devsound1 CloseFile |
|
1655 COMMAND devsound1 ~ |
|
1656 END_TEST_BLOCK |
|
1657 END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-RECORDING-0023 |
|
1658 |
|
1659 |
|
1660 |
|
1661 |
|
1662 START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-RECORDING-0024 |
|
1663 |
|
1664 //!@SYMTestCaseID MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-RECORDING-0024 |
|
1665 //!@SYMAPI |
|
1666 //! CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState) |
|
1667 //! CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref}) |
|
1668 //! CMMFDevSound::Capabilities() |
|
1669 //! CMMFDevSound::SetConfigL(TMMFCapabilities {ref}) |
|
1670 //! CMMFDevSound::PlayInitL() |
|
1671 //! CMMFDevSound::RecordInitL() |
|
1672 //! CMMFDevSound::Stop() |
|
1673 //!@SYMAuthor alavariega |
|
1674 //!@SYMCreationDate 8/11/2008 |
|
1675 //!@SYMTestCaseDesc PCM 48k mono record and recording |
|
1676 //!@SYMTestActions |
|
1677 //! 1.- Create a Instance of DevSound |
|
1678 //! 2.- Initialize DevSound ( Mode = EMMFStateRecording; FourCC = {SpecialFourCC,RAW} ) |
|
1679 //! 3.- Set Priority (Priority = {Priority,PriorityVoiceRecording}; Preference = {PriorityPreference,PriorityPreferenceVoiceRecording} ; PriorityState = EMMFStateRecording ) |
|
1680 //! 4.- Capabilities |
|
1681 //! 5.- Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate48000Hz) |
|
1682 //! 6.- ReplaceFile (Filename={drive,mmc}\multimedia\mmf\devsound\recording\Rec48kPCM.pcm) |
|
1683 //! 7.- StartRecord 10s |
|
1684 //! 8.- Stop 5s |
|
1685 //! 9.- CloseFile |
|
1686 //! 10.- Initialize DevSound ( Mode = EMMFStatePlaying; FourCC = {SpecialFourCC,RAW} ) |
|
1687 //! 11.- Set Priority (Priority ={Priority,PriorityAudioPlayback}; Preference = {PriorityPreference,PriorityPreferenceAudioPlayback}; PriorityState = EMMFStatePlaying ) |
|
1688 //! 12.- Capabilities |
|
1689 //! 13.- Set Configuration (Channels = EMMFMono; Rate =EMMFSampleRate48000Hz) |
|
1690 //! 14.- OpenFile(Filename = {drive,mmc}\multimedia\mmf\devsound\recording\Rec48kPCM.pcm) |
|
1691 //! 15.- StartPlay EOF |
|
1692 //! 16.- CloseFile |
|
1693 //! 17.-delete DevSound instance |
|
1694 //!@SYMTestStatus Verified |
|
1695 //!@SYMTestPriority High |
|
1696 //!@SYMTestExpectedResults |
|
1697 //! PCM 48k mono record and recording |
|
1698 //!@SYMTestType CIT |
|
1699 |
|
1700 START_TEST_BLOCK 100 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-recording.ini |
|
1701 CREATE_OBJECT CMMFDevSound devsound1 |
|
1702 COMMAND devsound1 NewL |
|
1703 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Recording-0024-0001-InitializeL_command02 |
|
1704 OUTSTANDING |
|
1705 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Recording-0024-0001-SetPrioritySettings_command03 |
|
1706 COMMAND devsound1 Capabilities |
|
1707 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSound-Recording-0024-0001-SetConfigL_command05 |
|
1708 COMMAND devsound1 ReplaceFile MULTIMEDIA-MMF-DevSound-Recording-0024-0001-ReplaceFile_command06 |
|
1709 COMMAND devsound1 RecordInitL |
|
1710 ASYNC_DELAY 10000000 |
|
1711 COMMAND devsound1 Stop |
|
1712 DELAY 5000000 |
|
1713 COMMAND devsound1 CloseFile |
|
1714 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Recording-0024-0001-InitializeL_command10 |
|
1715 OUTSTANDING |
|
1716 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Recording-0024-0001-SetPrioritySettings_command11 |
|
1717 COMMAND devsound1 Capabilities |
|
1718 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSound-Recording-0024-0001-SetConfigL_command13 |
|
1719 COMMAND devsound1 OpenFile MULTIMEDIA-MMF-DevSound-Recording-0024-0001-OpenFile_command14 |
|
1720 COMMAND devsound1 PlayInitL |
|
1721 OUTSTANDING |
|
1722 COMMAND devsound1 CloseFile |
|
1723 COMMAND devsound1 ~ |
|
1724 END_TEST_BLOCK |
|
1725 END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-RECORDING-0024 |
|
1726 |
|
1727 |
|
1728 |
|
1729 |
|
1730 START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-RECORDING-0025 |
|
1731 |
|
1732 //!@SYMTestCaseID MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-RECORDING-0025 |
|
1733 //!@SYMAPI |
|
1734 //! CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState) |
|
1735 //! CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref}) |
|
1736 //! CMMFDevSound::Capabilities() |
|
1737 //! CMMFDevSound::SetConfigL(TMMFCapabilities {ref}) |
|
1738 //! CMMFDevSound::PlayInitL() |
|
1739 //! CMMFDevSound::RecordInitL() |
|
1740 //! CMMFDevSound::Stop() |
|
1741 //!@SYMAuthor alavariega |
|
1742 //!@SYMCreationDate 8/11/2008 |
|
1743 //!@SYMTestCaseDesc PCM 48k stereo record and recording |
|
1744 //!@SYMTestActions |
|
1745 //! 1.- Create a Instance of DevSound |
|
1746 //! 2.- Initialize DevSound ( Mode = EMMFStateRecording; FourCC = {SpecialFourCC,RAW} ) |
|
1747 //! 3.- Set Priority (Priority = {Priority,PriorityVideoRecording}; Preference = {PriorityPreference,PriorityPreferenceVideoRecording}; PriorityState = EMMFStateRecording ) |
|
1748 //! 4.- Capabilities |
|
1749 //! 5.- Set Configuration (Channels = EMMFStereo; Rate = EMMFSampleRate48000Hz) |
|
1750 //! 6.- ReplaceFile (Filename={drive,mmc}\multimedia\mmf\devsound\recording\Rec48kPCMStereo.pcm) |
|
1751 //! 7.- StartRecord 10s |
|
1752 //! 8.- Stop 5s |
|
1753 //! 9.- CloseFile |
|
1754 //! 10.- Initialize DevSound ( Mode = EMMFStatePlaying; FourCC = {SpecialFourCC,RAW} ) |
|
1755 //! 11.- Set Priority (Priority ={Priority,PriorityAudioPlayback}; Preference = {PriorityPreference,PriorityPreferenceAudioPlayback}; PriorityState = EMMFStatePlaying ) |
|
1756 //! 12.- Capabilities |
|
1757 //! 13.- Set Configuration (Channels = EMMFStereo; Rate =EMMFSampleRate48000Hz) |
|
1758 //! 14.- OpenFile(Filename = {drive,mmc}\multimedia\mmf\devsound\recording\Rec48kPCMStereo.pcm) |
|
1759 //! 15.- StartPlay EOF |
|
1760 //! 16.- CloseFile |
|
1761 //! 17.-Delete DevSound instance |
|
1762 //!@SYMTestStatus Verified |
|
1763 //!@SYMTestPriority High |
|
1764 //!@SYMTestExpectedResults |
|
1765 //! PCM 48k stereo record and recording |
|
1766 //!@SYMTestType CIT |
|
1767 |
|
1768 START_TEST_BLOCK 100 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-recording.ini |
|
1769 CREATE_OBJECT CMMFDevSound devsound1 |
|
1770 COMMAND devsound1 NewL |
|
1771 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Recording-0025-0001-InitializeL_command02 |
|
1772 OUTSTANDING |
|
1773 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Recording-0025-0001-SetPrioritySettings_command03 |
|
1774 COMMAND devsound1 Capabilities |
|
1775 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSound-Recording-0025-0001-SetConfigL_command05 |
|
1776 COMMAND devsound1 ReplaceFile MULTIMEDIA-MMF-DevSound-Recording-0025-0001-ReplaceFile_command06 |
|
1777 COMMAND devsound1 RecordInitL |
|
1778 ASYNC_DELAY 10000000 |
|
1779 COMMAND devsound1 Stop |
|
1780 DELAY 5000000 |
|
1781 COMMAND devsound1 CloseFile |
|
1782 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Recording-0025-0001-InitializeL_command10 |
|
1783 OUTSTANDING |
|
1784 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Recording-0025-0001-SetPrioritySettings_command11 |
|
1785 COMMAND devsound1 Capabilities |
|
1786 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSound-Recording-0025-0001-SetConfigL_command13 |
|
1787 COMMAND devsound1 OpenFile MULTIMEDIA-MMF-DevSound-Recording-0025-0001-OpenFile_command14 |
|
1788 COMMAND devsound1 PlayInitL |
|
1789 OUTSTANDING |
|
1790 COMMAND devsound1 CloseFile |
|
1791 COMMAND devsound1 ~ |
|
1792 END_TEST_BLOCK |
|
1793 END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-RECORDING-0025 |
|
1794 |
|
1795 |
|
1796 |
|
1797 |
|
1798 START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-RECORDING-0026 |
|
1799 |
|
1800 //!@SYMTestCaseID MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-RECORDING-0026 |
|
1801 //!@SYMAPI |
|
1802 //! CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState) |
|
1803 //! CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref}) |
|
1804 //! CMMFDevSound::Capabilities() |
|
1805 //! CMMFDevSound::SetConfigL(TMMFCapabilities {ref}) |
|
1806 //! CMMFDevSound::PlayInitL() |
|
1807 //! CMMFDevSound::RecordInitL() |
|
1808 //! CMMFDevSound::Stop() |
|
1809 //!@SYMAuthor alavariega |
|
1810 //!@SYMCreationDate 8/11/2008 |
|
1811 //!@SYMTestCaseDesc PCM 8k mono record and recording |
|
1812 //!@SYMTestActions |
|
1813 //! 1.- Create a Instance of DevSound |
|
1814 //! 2.- Initialize DevSound ( Mode = EMMFStateRecording; FourCC = {SpecialFourCC,RAW} ) |
|
1815 //! 3.- Set Priority (Priority = {Priority,PriorityVoiceRecording}; Preference = {PriorityPreference,PriorityPreferenceVoiceRecording} ; PriorityState = EMMFStateRecording ) |
|
1816 //! 4.- Capabilities |
|
1817 //! 5.- Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz) |
|
1818 //! 6.- ReplaceFile (Filename={drive,mmc}\multimedia\mmf\devsound\recording\Rec8kPCM.pcm) |
|
1819 //! 7.- StartRecord 10s |
|
1820 //! 8.- Stop 5s |
|
1821 //! 9.- CloseFile |
|
1822 //! 10.- Initialize DevSound ( Mode = EMMFStatePlaying; FourCC = {SpecialFourCC,RAW} ) |
|
1823 //! 11.- Set Priority (Priority ={Priority,PriorityAudioPlayback}; Preference = {PriorityPreference,PriorityPreferenceAudioPlayback}; PriorityState = EMMFStatePlaying ) |
|
1824 //! 12.- Capabilities |
|
1825 //! 13.- Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz) |
|
1826 //! 14.- OpenFile(Filename = {drive,mmc}\multimedia\mmf\devsound\recording\Rec8kPCM.pcm) |
|
1827 //! 15.- StartPlay EOF |
|
1828 //! 16.- CloseFile |
|
1829 //! 17.-delete DevSound instance |
|
1830 //!@SYMTestStatus Verified |
|
1831 //!@SYMTestPriority High |
|
1832 //!@SYMTestExpectedResults |
|
1833 //! PCM 8k mono record and recording |
|
1834 //!@SYMTestType CIT |
|
1835 |
|
1836 START_TEST_BLOCK 100 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-recording.ini |
|
1837 CREATE_OBJECT CMMFDevSound devsound1 |
|
1838 COMMAND devsound1 NewL |
|
1839 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Recording-0026-0001-InitializeL_command02 |
|
1840 OUTSTANDING |
|
1841 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Recording-0026-0001-SetPrioritySettings_command03 |
|
1842 COMMAND devsound1 Capabilities |
|
1843 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSound-Recording-0026-0001-SetConfigL_command05 |
|
1844 COMMAND devsound1 ReplaceFile MULTIMEDIA-MMF-DevSound-Recording-0026-0001-ReplaceFile_command06 |
|
1845 COMMAND devsound1 RecordInitL |
|
1846 ASYNC_DELAY 10000000 |
|
1847 COMMAND devsound1 Stop |
|
1848 DELAY 5000000 |
|
1849 COMMAND devsound1 CloseFile |
|
1850 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Recording-0026-0001-InitializeL_command10 |
|
1851 OUTSTANDING |
|
1852 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Recording-0026-0001-SetPrioritySettings_command11 |
|
1853 COMMAND devsound1 Capabilities |
|
1854 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSound-Recording-0026-0001-SetConfigL_command13 |
|
1855 COMMAND devsound1 OpenFile MULTIMEDIA-MMF-DevSound-Recording-0026-0001-OpenFile_command14 |
|
1856 COMMAND devsound1 PlayInitL |
|
1857 OUTSTANDING |
|
1858 COMMAND devsound1 CloseFile |
|
1859 COMMAND devsound1 ~ |
|
1860 END_TEST_BLOCK |
|
1861 END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-RECORDING-0026 |
|
1862 |
|
1863 |
|
1864 |
|
1865 |
|
1866 START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-RECORDING-0027 |
|
1867 |
|
1868 //!@SYMTestCaseID MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-RECORDING-0027 |
|
1869 //!@SYMAPI |
|
1870 //! CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState) |
|
1871 //! CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref}) |
|
1872 //! CMMFDevSound::Capabilities() |
|
1873 //! CMMFDevSound::SetConfigL(TMMFCapabilities {ref}) |
|
1874 //! CMMFDevSound::PlayInitL() |
|
1875 //! CMMFDevSound::RecordInitL() |
|
1876 //! CMMFDevSound::Stop() |
|
1877 //!@SYMAuthor alavariega |
|
1878 //!@SYMCreationDate 8/11/2008 |
|
1879 //!@SYMTestCaseDesc PCM 8 KHz mono recording and playback |
|
1880 //!@SYMTestActions |
|
1881 //! 1.- Create a Instance of DevSound |
|
1882 //! 2.- Initialize DevSound ( Mode = EMMFStateRecording; FourCC = {SpecialFourCC,RAW} ) |
|
1883 //! 3.- Set Priority (Priority = {Priority,PriorityVoiceRecording}; Preference = {PriorityPreference,PriorityPreferenceVoiceRecording} ; PriorityState = EMMFStateRecording ) |
|
1884 //! 4.- Capabilities |
|
1885 //! 5.- Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz) |
|
1886 //! 6.- ReplaceFile (Filename={drive,mmc}\multimedia\mmf\devsound\recording\Rec8kPCMPhoneMem.pcm) |
|
1887 //! 7.- StartRecord 10s |
|
1888 //! 8.- Stop 5s |
|
1889 //! 9.- CloseFile |
|
1890 //! 10.- Initialize DevSound ( Mode = EMMFStatePlaying; FourCC = {SpecialFourCC,RAW} ) |
|
1891 //! 11.- Set Priority (Priority ={Priority,PriorityAudioPlayback}; Preference = {PriorityPreference,PriorityPreferenceAudioPlayback}; PriorityState = EMMFStatePlaying ) |
|
1892 //! 12.- Capabilities |
|
1893 //! 13.- Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz) |
|
1894 //! 14.- OpenFile(Filename = {drive,mmc}\multimedia\mmf\devsound\recording\Rec8kPCMPhoneMem.pcm) |
|
1895 //! 15.- StartPlay EOF |
|
1896 //! 16.- CloseFile |
|
1897 //! 17.-delete DevSound instance |
|
1898 //!@SYMTestStatus Verified |
|
1899 //!@SYMTestPriority High |
|
1900 //!@SYMTestExpectedResults |
|
1901 //! PCM 8 KHz mono recording and playback |
|
1902 //!@SYMTestType CIT |
|
1903 |
|
1904 START_TEST_BLOCK 100 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-recording.ini |
|
1905 CREATE_OBJECT CMMFDevSound devsound1 |
|
1906 COMMAND devsound1 NewL |
|
1907 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Recording-0027-0001-InitializeL_command02 |
|
1908 OUTSTANDING |
|
1909 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Recording-0027-0001-SetPrioritySettings_command03 |
|
1910 COMMAND devsound1 Capabilities |
|
1911 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSound-Recording-0027-0001-SetConfigL_command05 |
|
1912 COMMAND devsound1 ReplaceFile MULTIMEDIA-MMF-DevSound-Recording-0027-0001-ReplaceFile_command06 |
|
1913 COMMAND devsound1 RecordInitL |
|
1914 ASYNC_DELAY 10000000 |
|
1915 COMMAND devsound1 Stop |
|
1916 DELAY 5000000 |
|
1917 COMMAND devsound1 CloseFile |
|
1918 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Recording-0027-0001-InitializeL_command10 |
|
1919 OUTSTANDING |
|
1920 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Recording-0027-0001-SetPrioritySettings_command11 |
|
1921 COMMAND devsound1 Capabilities |
|
1922 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSound-Recording-0027-0001-SetConfigL_command13 |
|
1923 COMMAND devsound1 OpenFile MULTIMEDIA-MMF-DevSound-Recording-0027-0001-OpenFile_command14 |
|
1924 COMMAND devsound1 PlayInitL |
|
1925 OUTSTANDING |
|
1926 COMMAND devsound1 CloseFile |
|
1927 COMMAND devsound1 ~ |
|
1928 END_TEST_BLOCK |
|
1929 END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-RECORDING-0027 |
|
1930 |
|
1931 |
|
1932 |
|
1933 |
|
1934 START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-RECORDING-0028 |
|
1935 |
|
1936 //!@SYMTestCaseID MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-RECORDING-0028 |
|
1937 //!@SYMAPI |
|
1938 //! CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState) |
|
1939 //! CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref}) |
|
1940 //! CMMFDevSound::Capabilities() |
|
1941 //! CMMFDevSound::SetConfigL(TMMFCapabilities {ref}) |
|
1942 //! CMMFDevSound::PlayInitL() |
|
1943 //! CMMFDevSound::RecordInitL() |
|
1944 //! CMMFDevSound::Stop() |
|
1945 //!@SYMAuthor alavariega |
|
1946 //!@SYMCreationDate 8/11/2008 |
|
1947 //!@SYMTestCaseDesc PCM 8k mono record rec stop twice |
|
1948 //!@SYMTestActions |
|
1949 //! 1.- Create a Instance of DevSound |
|
1950 //! 2.- Initialize DevSound ( Mode = EMMFStateRecording; FourCC = {SpecialFourCC,RAW} ) |
|
1951 //! 3.- Set Priority (Priority = {Priority,PriorityVoiceRecording}; Preference = {PriorityPreference,PriorityPreferenceVoiceRecording} ; PriorityState = EMMFStateRecording ) |
|
1952 //! 4.- Capabilities |
|
1953 //! 5.- Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz) |
|
1954 //! 6.- ReplaceFile (Filename={drive,mmc}\multimedia\mmf\devsound\recording\Rec8kPCMRecStopTwice1.pcm) |
|
1955 //! 7.- StartRecord 10s |
|
1956 //! 8.- Stop 5s |
|
1957 //! 9.- CloseFile |
|
1958 //! 10.- ReplaceFile (Filename={drive,mmc}\multimedia\mmf\devsound\recording\Rec8kPCMRecStopTwice2.pcm) |
|
1959 //! 11.- StartRecord 10s |
|
1960 //! 12.- Stop |
|
1961 //! 13.- CloseFile |
|
1962 //! 14.-Delete DevSound instance |
|
1963 //!@SYMTestStatus Verified |
|
1964 //!@SYMTestPriority High |
|
1965 //!@SYMTestExpectedResults |
|
1966 //! PCM 8k mono record rec stop twice |
|
1967 //!@SYMTestType CIT |
|
1968 |
|
1969 START_TEST_BLOCK 100 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-recording.ini |
|
1970 CREATE_OBJECT CMMFDevSound devsound1 |
|
1971 COMMAND devsound1 NewL |
|
1972 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Recording-0028-0001-InitializeL_command02 |
|
1973 OUTSTANDING |
|
1974 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Recording-0028-0001-SetPrioritySettings_command03 |
|
1975 COMMAND devsound1 Capabilities |
|
1976 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSound-Recording-0028-0001-SetConfigL_command05 |
|
1977 COMMAND devsound1 ReplaceFile MULTIMEDIA-MMF-DevSound-Recording-0028-0001-ReplaceFile_command06 |
|
1978 COMMAND devsound1 RecordInitL |
|
1979 ASYNC_DELAY 10000000 |
|
1980 COMMAND devsound1 Stop |
|
1981 DELAY 5000000 |
|
1982 COMMAND devsound1 CloseFile |
|
1983 COMMAND devsound1 ReplaceFile MULTIMEDIA-MMF-DevSound-Recording-0028-0001-ReplaceFile_command10 |
|
1984 COMMAND devsound1 RecordInitL |
|
1985 ASYNC_DELAY 10000000 |
|
1986 COMMAND devsound1 Stop |
|
1987 COMMAND devsound1 CloseFile |
|
1988 COMMAND devsound1 ~ |
|
1989 END_TEST_BLOCK |
|
1990 END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-RECORDING-0028 |
|
1991 |
|
1992 |
|
1993 |
|
1994 |
|
1995 START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-RECORDING-0029 |
|
1996 |
|
1997 //!@SYMTestCaseID MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-RECORDING-0029 |
|
1998 //!@SYMAPI |
|
1999 //! CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState) |
|
2000 //! CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref}) |
|
2001 //! CMMFDevSound::Capabilities() |
|
2002 //! CMMFDevSound::SetConfigL(TMMFCapabilities {ref}) |
|
2003 //! CMMFDevSound::PlayInitL() |
|
2004 //! CMMFDevSound::RecordInitL() |
|
2005 //! CMMFDevSound::Stop() |
|
2006 //!@SYMAuthor alavariega |
|
2007 //!@SYMCreationDate 8/11/2008 |
|
2008 //!@SYMTestCaseDesc PCM 8k mono record using UID |
|
2009 //!@SYMTestActions |
|
2010 //! 1.- Create a Instance of DevSound |
|
2011 //! 2.- Initialize DevSound ( Mode = EMMFStateRecording; FourCC = {SpecialFourCC,RAW} ) |
|
2012 //! 3.- Set Priority (Priority = {Priority,PriorityVoiceRecording}; Preference = {PriorityPreference,PriorityPreferenceVoiceRecording} ; PriorityState = EMMFStateRecording ) |
|
2013 //! 4.- Capabilities |
|
2014 //! 5.- Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz) |
|
2015 //! 6.- ReplaceFile (Filename={drive,mmc}\multimedia\mmf\devsound\recording\Rec8kPCMUID.pcm) |
|
2016 //! 7.- StartRecord 10s |
|
2017 //! 8.- Stop 5s |
|
2018 //! 9.- CloseFile |
|
2019 //! 10.- Initialize DevSound ( Mode = EMMFStatePlaying; FourCC = {SpecialFourCC,RAW} ) |
|
2020 //! 11.- Set Priority (Priority ={Priority,PriorityAudioPlayback}; Preference = {PriorityPreference,PriorityPreferenceAudioPlayback}; PriorityState = EMMFStatePlaying ) |
|
2021 //! 12.- Capabilities |
|
2022 //! 13.- Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz) |
|
2023 //! 14.- OpenFile(Filename = {drive,mmc}\multimedia\mmf\devsound\recording\Rec8kPCMUID.pcm) |
|
2024 //! 15.- StartPlay EOF |
|
2025 //! 16.- CloseFile |
|
2026 //! 17.-delete DevSound instance |
|
2027 //!@SYMTestStatus Verified |
|
2028 //!@SYMTestPriority High |
|
2029 //!@SYMTestExpectedResults |
|
2030 //! PCM 8k mono record using UID |
|
2031 //!@SYMTestType CIT |
|
2032 |
|
2033 START_TEST_BLOCK 100 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-recording.ini |
|
2034 CREATE_OBJECT CMMFDevSound devsound1 |
|
2035 COMMAND devsound1 NewL |
|
2036 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Recording-0029-0001-InitializeL_command02 |
|
2037 OUTSTANDING |
|
2038 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Recording-0029-0001-SetPrioritySettings_command03 |
|
2039 COMMAND devsound1 Capabilities |
|
2040 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSound-Recording-0029-0001-SetConfigL_command05 |
|
2041 COMMAND devsound1 ReplaceFile MULTIMEDIA-MMF-DevSound-Recording-0029-0001-ReplaceFile_command06 |
|
2042 COMMAND devsound1 RecordInitL |
|
2043 ASYNC_DELAY 10000000 |
|
2044 COMMAND devsound1 Stop |
|
2045 DELAY 5000000 |
|
2046 COMMAND devsound1 CloseFile |
|
2047 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Recording-0029-0001-InitializeL_command10 |
|
2048 OUTSTANDING |
|
2049 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Recording-0029-0001-SetPrioritySettings_command11 |
|
2050 COMMAND devsound1 Capabilities |
|
2051 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSound-Recording-0029-0001-SetConfigL_command13 |
|
2052 COMMAND devsound1 OpenFile MULTIMEDIA-MMF-DevSound-Recording-0029-0001-OpenFile_command14 |
|
2053 COMMAND devsound1 PlayInitL |
|
2054 OUTSTANDING |
|
2055 COMMAND devsound1 CloseFile |
|
2056 COMMAND devsound1 ~ |
|
2057 END_TEST_BLOCK |
|
2058 END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-RECORDING-0029 |
|
2059 |
|
2060 |
|
2061 |
|
2062 |
|
2063 START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-RECORDING-0030 |
|
2064 |
|
2065 //!@SYMTestCaseID MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-RECORDING-0030 |
|
2066 //!@SYMAPI |
|
2067 //! CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState) |
|
2068 //! CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref}) |
|
2069 //! CMMFDevSound::Capabilities() |
|
2070 //! CMMFDevSound::SetConfigL(TMMFCapabilities {ref}) |
|
2071 //! CMMFDevSound::PlayInitL() |
|
2072 //! CMMFDevSound::RecordInitL() |
|
2073 //! CMMFDevSound::Stop() |
|
2074 //!@SYMAuthor alavariega |
|
2075 //!@SYMCreationDate 8/11/2008 |
|
2076 //!@SYMTestCaseDesc PCM 8k mono record when accessory is not used |
|
2077 //!@SYMTestActions |
|
2078 //! 1.- Create a Instance of DevSound |
|
2079 //! 2.- Initialize DevSound ( Mode = EMMFStateRecording; FourCC = {SpecialFourCC,RAW} ) |
|
2080 //! 3.- Set Priority (Priority = {Priority,PriorityVoiceRecording}; Preference = {PriorityPreference,PriorityPreferenceVoiceRecording} ; PriorityState = EMMFStateRecording ) |
|
2081 //! 4.- Capabilities |
|
2082 //! 5.- Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz) |
|
2083 //! 6.- ReplaceFile (Filename={drive,mmc}\multimedia\mmf\devsound\recording\Rec8kPCMWithoutAcc.pcm) |
|
2084 //! 7.- StartRecord 10s |
|
2085 //! 8.- Stop 5s |
|
2086 //! 9.- CloseFile |
|
2087 //! 10.- Initialize DevSound ( Mode = EMMFStatePlaying; FourCC = {SpecialFourCC,RAW} ) |
|
2088 //! 11.- Set Priority (Priority ={Priority,PriorityAudioPlayback}; Preference = {PriorityPreference,PriorityPreferenceAudioPlayback}; PriorityState = EMMFStatePlaying ) |
|
2089 //! 12.- Capabilities |
|
2090 //! 13.- Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz) |
|
2091 //! 14.- OpenFile(Filename = {drive,mmc}\multimedia\mmf\devsound\recording\Rec8kPCMWithoutAcc.pcm) |
|
2092 //! 15.- StartPlay EOF |
|
2093 //! 16.- CloseFile |
|
2094 //! 17.-delete DevSound instance |
|
2095 //!@SYMTestStatus Verified |
|
2096 //!@SYMTestPriority High |
|
2097 //!@SYMTestExpectedResults |
|
2098 //! PCM 8k mono record when accessory is not used |
|
2099 //!@SYMTestType CIT |
|
2100 |
|
2101 START_TEST_BLOCK 100 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-recording.ini |
|
2102 CREATE_OBJECT CMMFDevSound devsound1 |
|
2103 COMMAND devsound1 NewL |
|
2104 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Recording-0030-0001-InitializeL_command02 |
|
2105 OUTSTANDING |
|
2106 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Recording-0030-0001-SetPrioritySettings_command03 |
|
2107 COMMAND devsound1 Capabilities |
|
2108 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSound-Recording-0030-0001-SetConfigL_command05 |
|
2109 COMMAND devsound1 ReplaceFile MULTIMEDIA-MMF-DevSound-Recording-0030-0001-ReplaceFile_command06 |
|
2110 COMMAND devsound1 RecordInitL |
|
2111 ASYNC_DELAY 10000000 |
|
2112 COMMAND devsound1 Stop |
|
2113 DELAY 5000000 |
|
2114 COMMAND devsound1 CloseFile |
|
2115 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Recording-0030-0001-InitializeL_command10 |
|
2116 OUTSTANDING |
|
2117 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Recording-0030-0001-SetPrioritySettings_command11 |
|
2118 COMMAND devsound1 Capabilities |
|
2119 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSound-Recording-0030-0001-SetConfigL_command13 |
|
2120 COMMAND devsound1 OpenFile MULTIMEDIA-MMF-DevSound-Recording-0030-0001-OpenFile_command14 |
|
2121 COMMAND devsound1 PlayInitL |
|
2122 OUTSTANDING |
|
2123 COMMAND devsound1 CloseFile |
|
2124 COMMAND devsound1 ~ |
|
2125 END_TEST_BLOCK |
|
2126 END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-RECORDING-0030 |
|
2127 |
|
2128 |
|
2129 |
|
2130 |
|
2131 START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-RECORDING-0031 |
|
2132 |
|
2133 //!@SYMTestCaseID MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-RECORDING-0031 |
|
2134 //!@SYMAPI |
|
2135 //! CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState) |
|
2136 //! CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref}) |
|
2137 //! CMMFDevSound::Capabilities() |
|
2138 //! CMMFDevSound::SetConfigL(TMMFCapabilities {ref}) |
|
2139 //! CMMFDevSound::PlayInitL() |
|
2140 //! CMMFDevSound::RecordInitL() |
|
2141 //! CMMFDevSound::Stop() |
|
2142 //!@SYMAuthor alavariega |
|
2143 //!@SYMCreationDate 8/11/2008 |
|
2144 //!@SYMTestCaseDesc PCM 8k stereo record |
|
2145 //!@SYMTestActions |
|
2146 //! 1.- Create a Instance of DevSound |
|
2147 //! 2.- Initialize DevSound ( Mode = EMMFStateRecording; FourCC = {SpecialFourCC,RAW} ) |
|
2148 //! 3.- Set Priority (Priority = {Priority,PriorityVoiceRecording}; Preference = {PriorityPreference,PriorityPreferenceVoiceRecording} ; PriorityState = EMMFStateRecording ) |
|
2149 //! 4.- Capabilities |
|
2150 //! 5.- Set Configuration (Channels = EMMFStereo; Rate = EMMFSampleRate8000Hz) |
|
2151 //! 6.- ReplaceFile (Filename={drive,mmc}\multimedia\mmf\devsound\recording\Rec8kPCMStereo.pcm) |
|
2152 //! 7.- StartRecord 10s |
|
2153 //! 8.- Stop 5s |
|
2154 //! 9.- CloseFile |
|
2155 //! 10.- Initialize DevSound ( Mode = EMMFStatePlaying; FourCC = {SpecialFourCC,RAW} ) |
|
2156 //! 11.- Set Priority (Priority ={Priority,PriorityAudioPlayback}; Preference = {PriorityPreference,PriorityPreferenceAudioPlayback}; PriorityState = EMMFStatePlaying ) |
|
2157 //! 12.- Capabilities |
|
2158 //! 13.- Set Configuration (Channels = EMMFStereo; Rate = EMMFSampleRate8000Hz) |
|
2159 //! 14.- OpenFile(Filename = {drive,mmc}\multimedia\mmf\devsound\recording\Rec8kPCMStereo.pcm) |
|
2160 //! 15.- StartPlay EOF |
|
2161 //! 16.- CloseFile |
|
2162 //! 17.-delete DevSound instance |
|
2163 //!@SYMTestStatus Verified |
|
2164 //!@SYMTestPriority High |
|
2165 //!@SYMTestExpectedResults |
|
2166 //! PCM 8k stereo record |
|
2167 //!@SYMTestType CIT |
|
2168 |
|
2169 START_TEST_BLOCK 100 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-recording.ini |
|
2170 CREATE_OBJECT CMMFDevSound devsound1 |
|
2171 COMMAND devsound1 NewL |
|
2172 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Recording-0031-0001-InitializeL_command02 |
|
2173 OUTSTANDING |
|
2174 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Recording-0031-0001-SetPrioritySettings_command03 |
|
2175 COMMAND devsound1 Capabilities |
|
2176 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSound-Recording-0031-0001-SetConfigL_command05 |
|
2177 COMMAND devsound1 ReplaceFile MULTIMEDIA-MMF-DevSound-Recording-0031-0001-ReplaceFile_command06 |
|
2178 COMMAND devsound1 RecordInitL |
|
2179 ASYNC_DELAY 10000000 |
|
2180 COMMAND devsound1 Stop |
|
2181 DELAY 5000000 |
|
2182 COMMAND devsound1 CloseFile |
|
2183 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Recording-0031-0001-InitializeL_command10 |
|
2184 OUTSTANDING |
|
2185 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Recording-0031-0001-SetPrioritySettings_command11 |
|
2186 COMMAND devsound1 Capabilities |
|
2187 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSound-Recording-0031-0001-SetConfigL_command13 |
|
2188 COMMAND devsound1 OpenFile MULTIMEDIA-MMF-DevSound-Recording-0031-0001-OpenFile_command14 |
|
2189 COMMAND devsound1 PlayInitL |
|
2190 OUTSTANDING |
|
2191 COMMAND devsound1 CloseFile |
|
2192 COMMAND devsound1 ~ |
|
2193 END_TEST_BLOCK |
|
2194 END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-RECORDING-0031 |
|
2195 |
|
2196 |
|
2197 |
|
2198 |
|
2199 START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-RECORDING-0032 |
|
2200 |
|
2201 //!@SYMTestCaseID MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-RECORDING-0032 |
|
2202 //!@SYMAPI |
|
2203 //! CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState) |
|
2204 //! CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref}) |
|
2205 //! CMMFDevSound::Capabilities() |
|
2206 //! CMMFDevSound::SetConfigL(TMMFCapabilities {ref}) |
|
2207 //! CMMFDevSound::PlayInitL() |
|
2208 //! CMMFDevSound::RecordInitL() |
|
2209 //!@SYMAuthor ddamian |
|
2210 //!@SYMCreationDate 8/11/2008 |
|
2211 //!@SYMTestCaseDesc Audio routing - 16k stereo recording when mono headset is used |
|
2212 //!@SYMTestActions |
|
2213 //! 1.- Create DevSound instance |
|
2214 //! 2.- Initialize DevSound ( Mode = EMMFStateRecording; FourCC = {SpecialFourCC,RAW}) |
|
2215 //! 3.- Set priority settings (Priority = {Priority,PriorityVoiceRecording}; Preference = {PriorityPreference,PriorityPreferenceVoiceRecording} ; PriorityState = EMMFStateRecording) |
|
2216 //! 4.- Capabilities |
|
2217 //! 5.- SetConfiguration (Channels = EMMFStereo; Rate = EMMFSampleRate16000Hz) |
|
2218 //! 6.- Replace File (Filename = {drive,mmc}\multimedia\mmf\devsound\recording\RoutingRecWithAcc.pcm) |
|
2219 //! 7.- Record 10s |
|
2220 //! 8.- Stop 5s |
|
2221 //! 9.- Close File |
|
2222 //! 10.- initialize DevSound ( Mode = EMMFStatePlaying; FourCC = {SpecialFourCC,RAW}) |
|
2223 //! 11.- Set priority settings (Priority = {Priority,PriorityAudioPlayback}; Preference = {PriorityPreference,PriorityPreferenceAudioPlayback}; PriorityState = EMMFStatePlaying) |
|
2224 //! 12.- Capabilities |
|
2225 //! 13.- Set Configuration (Channels = EMMFStereo; Rate = EMMFSampleRate16000Hz) |
|
2226 //! 14.- Open File (Filename = {drive,mmc}\multimedia\mmf\devsound\recording\RoutingRecWithAcc.pcm) |
|
2227 //! 15.- Play EOF |
|
2228 //! 16.- Close File |
|
2229 //! 17.- Destroy Data |
|
2230 //!@SYMTestStatus Verified |
|
2231 //!@SYMTestPriority High |
|
2232 //!@SYMTestExpectedResults |
|
2233 //! Audio routing - 16k stereo recording when mono headset is used |
|
2234 //!@SYMTestType CIT |
|
2235 |
|
2236 START_TEST_BLOCK 100 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-recording.ini |
|
2237 CREATE_OBJECT CMMFDevSound devsound1 |
|
2238 COMMAND devsound1 NewL |
|
2239 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Recording-0032-0001-InitializeL_command02 |
|
2240 OUTSTANDING |
|
2241 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Recording-0032-0001-SetPrioritySettings_command03 |
|
2242 COMMAND devsound1 Capabilities |
|
2243 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSound-Recording-0032-0001-SetConfigL_command05 |
|
2244 COMMAND devsound1 ReplaceFile MULTIMEDIA-MMF-DevSound-Recording-0032-0001-ReplaceFile_command06 |
|
2245 COMMAND devsound1 RecordInitL |
|
2246 ASYNC_DELAY 10000000 |
|
2247 COMMAND devsound1 Stop |
|
2248 DELAY 5000000 |
|
2249 COMMAND devsound1 CloseFile |
|
2250 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Recording-0032-0001-InitializeL_command10 |
|
2251 OUTSTANDING |
|
2252 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Recording-0032-0001-SetPrioritySettings_command11 |
|
2253 COMMAND devsound1 Capabilities |
|
2254 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSound-Recording-0032-0001-SetConfigL_command13 |
|
2255 COMMAND devsound1 OpenFile MULTIMEDIA-MMF-DevSound-Recording-0032-0001-OpenFile_command14 |
|
2256 COMMAND devsound1 PlayInitL |
|
2257 OUTSTANDING |
|
2258 COMMAND devsound1 CloseFile |
|
2259 COMMAND devsound1 ~ |
|
2260 END_TEST_BLOCK |
|
2261 END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-RECORDING-0032 |
|
2262 |
|
2263 |
|
2264 |
|
2265 |
|
2266 START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-RECORDING-0033 |
|
2267 |
|
2268 //!@SYMTestCaseID MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-RECORDING-0033 |
|
2269 //!@SYMAPI |
|
2270 //! CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState) |
|
2271 //! CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref}) |
|
2272 //! CMMFDevSound::Capabilities() |
|
2273 //! CMMFDevSound::SetConfigL(TMMFCapabilities {ref}) |
|
2274 //! CMMFDevSound::PlayInitL() |
|
2275 //! CMMFDevSound::RecordInitL() |
|
2276 //!@SYMAuthor ddamian |
|
2277 //!@SYMCreationDate 8/11/2008 |
|
2278 //!@SYMTestCaseDesc Audio routing - Insert mono headset during 16k stereo recording |
|
2279 //!@SYMTestActions |
|
2280 //! 1.- Create DevSound instance |
|
2281 //! 2.- Initialize DevSound ( Mode = EMMFStateRecording; FourCC = {SpecialFourCC,RAW}) |
|
2282 //! 3.- Set priority settings (Priority = {Priority,PriorityVoiceRecording}; Preference = {PriorityPreference,PriorityPreferenceVoiceRecording} ; PriorityState = EMMFStateRecording) |
|
2283 //! 4.- Capabilities |
|
2284 //! 5.- SetConfiguration (Channels = EMMFStereo; Rate = EMMFSampleRate16000Hz) |
|
2285 //! 6.- Replace File (Filename = {drive,mmc}\multimedia\mmf\devsound\recording\RoutingRecWithAcc.pcm) |
|
2286 //! 7.- Record 20s |
|
2287 //! 8.- Stop 5s |
|
2288 //! 9.- Close File |
|
2289 //! 10.- initialize DevSound ( Mode = EMMFStatePlaying; FourCC = {SpecialFourCC,RAW}) |
|
2290 //! 11.- Set priority settings (Priority = {Priority,PriorityAudioPlayback}; Preference = {PriorityPreference,PriorityPreferenceAudioPlayback}; PriorityState = EMMFStatePlaying) |
|
2291 //! 12.- Capabilities |
|
2292 //! 13.- Set Configuration (Channels = EMMFStereo; Rate = EMMFSampleRate16000Hz) |
|
2293 //! 14.- Open File (Filename = {drive,mmc}\multimedia\mmf\devsound\recording\RoutingRecWithAcc.pcm) |
|
2294 //! 15..- Play EOF |
|
2295 //! 16.- Close File |
|
2296 //! 17.- Destroy Data |
|
2297 //!@SYMTestStatus Verified |
|
2298 //!@SYMTestPriority High |
|
2299 //!@SYMTestExpectedResults |
|
2300 //! Audio routing - Insert mono headset during 16k stereo recording |
|
2301 //!@SYMTestType CIT |
|
2302 |
|
2303 START_TEST_BLOCK 100 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-recording.ini |
|
2304 CREATE_OBJECT CMMFDevSound devsound1 |
|
2305 COMMAND devsound1 NewL |
|
2306 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Recording-0033-0001-InitializeL_command02 |
|
2307 OUTSTANDING |
|
2308 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Recording-0033-0001-SetPrioritySettings_command03 |
|
2309 COMMAND devsound1 Capabilities |
|
2310 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSound-Recording-0033-0001-SetConfigL_command05 |
|
2311 COMMAND devsound1 ReplaceFile MULTIMEDIA-MMF-DevSound-Recording-0033-0001-ReplaceFile_command06 |
|
2312 COMMAND devsound1 RecordInitL |
|
2313 ASYNC_DELAY 20000000 |
|
2314 COMMAND devsound1 Stop |
|
2315 DELAY 5000000 |
|
2316 COMMAND devsound1 CloseFile |
|
2317 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Recording-0033-0001-InitializeL_command10 |
|
2318 OUTSTANDING |
|
2319 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Recording-0033-0001-SetPrioritySettings_command11 |
|
2320 COMMAND devsound1 Capabilities |
|
2321 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSound-Recording-0033-0001-SetConfigL_command13 |
|
2322 COMMAND devsound1 OpenFile MULTIMEDIA-MMF-DevSound-Recording-0033-0001-OpenFile_command14 |
|
2323 COMMAND devsound1 PlayInitL |
|
2324 OUTSTANDING |
|
2325 COMMAND devsound1 CloseFile |
|
2326 COMMAND devsound1 ~ |
|
2327 END_TEST_BLOCK |
|
2328 END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-RECORDING-0033 |
|
2329 |
|
2330 |
|
2331 |
|
2332 |
|
2333 START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-RECORDING-0034 |
|
2334 |
|
2335 //!@SYMTestCaseID MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-RECORDING-0034 |
|
2336 //!@SYMAPI |
|
2337 //! CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState) |
|
2338 //! CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref}) |
|
2339 //! CMMFDevSound::Capabilities() |
|
2340 //! CMMFDevSound::SetConfigL(TMMFCapabilities {ref}) |
|
2341 //! CMMFDevSound::PlayInitL() |
|
2342 //! CMMFDevSound::RecordInitL() |
|
2343 //!@SYMAuthor arueda |
|
2344 //!@SYMCreationDate 8/11/2008 |
|
2345 //!@SYMTestCaseDesc PCM recording ando playback with gain |
|
2346 //!@SYMTestActions |
|
2347 //! 1. Create DevSound instance |
|
2348 //! 2. Initialize DevSound ( Mode = EMMFStateRecording; FourCC={SpecialFourCC,RAW}) |
|
2349 //! 3. SetPriority (Priority={Priority,PriorityVoiceRecording}; Preference={PriorityPreference,PriorityPreferenceVideoRecording}; PriorityState=EMMFStateRecording) |
|
2350 //! 4. Capabilities |
|
2351 //! 5. Replace File (Filename={drive,mmc}\multimedia\mmf\devsound\Recording\GainRecMono.pcm) |
|
2352 //! 6. SetConfiguration (Channels=EMMFMono; Rate=EMMFSampleRate8000Hz) |
|
2353 //! 7. StartRecord 10 s |
|
2354 //! 8. SetGain (gain=0) |
|
2355 //! 9. SetGain (gain=1) |
|
2356 //! 10. Stop |
|
2357 //! 11. CloseFile |
|
2358 //! 12. Initialize DevSound ( Mode = EMMFStatePlaying; FourCC={SpecialFourCC,RAW}) |
|
2359 //! 13. SetPriority (Priority={Priority,PriorityAudioPlayback}; Preference={PriorityPreference,PriorityPreferenceAudioPlayback}; PriorityState=EMMFStatePlaying) |
|
2360 //! 14. Capabilities |
|
2361 //! 15. Open File (Filename={drive,mmc}\multimedia\mmf\devsound\Recording\GainRecMono.pcm) |
|
2362 //! 16. SetConfiguration (Channels=EMMFMono; Rate=EMMFSampleRate8000Hz) |
|
2363 //! 17. StartPlay EOF |
|
2364 //! 18. Stop |
|
2365 //! 19. Close File |
|
2366 //! 20. Detele DevSound instance. |
|
2367 //!@SYMTestStatus Verified |
|
2368 //!@SYMTestPriority High |
|
2369 //!@SYMTestExpectedResults |
|
2370 //! PCM recording ando playback with gain |
|
2371 //!@SYMTestType CIT |
|
2372 |
|
2373 START_TEST_BLOCK 900 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-recording.ini |
|
2374 CREATE_OBJECT CMMFDevSound devsound1 |
|
2375 COMMAND devsound1 NewL |
|
2376 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Recording-0034-0001-InitializeL_command02 |
|
2377 OUTSTANDING |
|
2378 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Recording-0034-0001-SetPrioritySettings_command03 |
|
2379 COMMAND devsound1 Capabilities |
|
2380 COMMAND devsound1 ReplaceFile MULTIMEDIA-MMF-DevSound-Recording-0034-0001-ReplaceFile_command05 |
|
2381 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSound-Recording-0034-0001-SetConfigL_command06 |
|
2382 COMMAND devsound1 RecordInitL |
|
2383 ASYNC_DELAY 10000000 |
|
2384 COMMAND devsound1 SetGain MULTIMEDIA-MMF-DevSound-Recording-0034-0001-SetGain_command08 |
|
2385 ASYNC_DELAY 10000000 |
|
2386 COMMAND devsound1 SetGain MULTIMEDIA-MMF-DevSound-Recording-0034-0001-SetGain_command09 |
|
2387 ASYNC_DELAY 10000000 |
|
2388 COMMAND devsound1 Stop |
|
2389 DELAY 2000000 |
|
2390 COMMAND devsound1 CloseFile |
|
2391 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Recording-0034-0001-InitializeL_command12 |
|
2392 OUTSTANDING |
|
2393 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Recording-0034-0001-SetPrioritySettings_command13 |
|
2394 COMMAND devsound1 Capabilities |
|
2395 COMMAND devsound1 OpenFile MULTIMEDIA-MMF-DevSound-Recording-0034-0001-OpenFile_command15 |
|
2396 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSound-Recording-0034-0001-SetConfigL_command16 |
|
2397 COMMAND devsound1 PlayInitL |
|
2398 OUTSTANDING |
|
2399 COMMAND devsound1 Stop |
|
2400 COMMAND devsound1 CloseFile |
|
2401 COMMAND devsound1 ~ |
|
2402 END_TEST_BLOCK |
|
2403 END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-RECORDING-0034 |
|
2404 |
|
2405 |
|
2406 |
|
2407 |
|
2408 START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-RECORDING-0035 |
|
2409 |
|
2410 //!@SYMTestCaseID MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-RECORDING-0035 |
|
2411 //!@SYMAPI |
|
2412 //! CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState) |
|
2413 //! CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref}) |
|
2414 //! CMMFDevSound::Capabilities() |
|
2415 //! CMMFDevSound::SetConfigL(TMMFCapabilities {ref}) |
|
2416 //! CMMFDevSound::PlayInitL() |
|
2417 //!@SYMAuthor arueda |
|
2418 //!@SYMCreationDate 8/11/2008 |
|
2419 //!@SYMTestCaseDesc Input source capability - Voice recording with not allowed sample rate |
|
2420 //!@SYMTestActions |
|
2421 //! 1. Create DevSound instance |
|
2422 //! 2. Initialize DevSound ( Mode=EMMFStateRecording; FourCC ={SpecialFourCC,RAW}) |
|
2423 //! 3. SetPriority (Priority = {Priority,PriorityVoiceRecording}; Preference = {PriorityPreference,PriorityPreferenceVoiceRecording} ; PriorityState =EMMFStateRecording) |
|
2424 //! 4. Capabilities |
|
2425 //! 5. Set Configuration (Channels=EMMFMono; Rate = EMMFSampleRate44100Hz) |
|
2426 //! 6. Replace File (Filename={drive,mmc}\multimedia\mmf\devsound\recording\badFile.pcm) |
|
2427 //! 7. StartRecord |
|
2428 //! 8. Stop |
|
2429 //! 9. Close File |
|
2430 //! 10. Destroy DevSound Instance |
|
2431 //!@SYMTestStatus Verified |
|
2432 //!@SYMTestPriority High |
|
2433 //!@SYMTestExpectedResults |
|
2434 //! Input source capability - Voice recording with not allowed sample rate |
|
2435 //!@SYMTestType CIT |
|
2436 |
|
2437 START_TEST_BLOCK 300 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-recording.ini |
|
2438 CREATE_OBJECT CMMFDevSound devsound1 |
|
2439 COMMAND devsound1 NewL |
|
2440 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Recording-0035-0001-InitializeL_command02 |
|
2441 OUTSTANDING |
|
2442 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Recording-0035-0001-SetPrioritySettings_command03 |
|
2443 COMMAND devsound1 Capabilities |
|
2444 COMMAND !Error=-5 devsound1 SetConfigL MULTIMEDIA-MMF-DevSound-Recording-0035-0001-SetConfigL_command05 |
|
2445 COMMAND devsound1 ReplaceFile MULTIMEDIA-MMF-DevSound-Recording-0035-0001-ReplaceFile_command06 |
|
2446 COMMAND devsound1 RecordInitL |
|
2447 ASYNC_DELAY 10000000 |
|
2448 COMMAND devsound1 Stop |
|
2449 COMMAND devsound1 CloseFile |
|
2450 COMMAND devsound1 ~ |
|
2451 END_TEST_BLOCK |
|
2452 END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-RECORDING-0035 |
|
2453 |
|
2454 |
|
2455 |
|
2456 |
|
2457 START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-RECORDING-0036 |
|
2458 |
|
2459 //!@SYMTestCaseID MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-RECORDING-0036 |
|
2460 //!@SYMAPI |
|
2461 //! CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState) |
|
2462 //! CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref}) |
|
2463 //! CMMFDevSound::Capabilities() |
|
2464 //! CMMFDevSound::SetConfigL(TMMFCapabilities {ref}) |
|
2465 //! CMMFDevSound::PlayInitL() |
|
2466 //! CMMFDevSound::RecordInitL() |
|
2467 //! CMMFDevSound::Stop() |
|
2468 //!@SYMAuthor etorres |
|
2469 //!@SYMCreationDate 8/11/2008 |
|
2470 //!@SYMTestCaseDesc AMR-NB playback as PocCallDown |
|
2471 //!@SYMTestActions |
|
2472 //! 1. Create Devsound instance |
|
2473 //! 2. Initialize Devsound ( Mode = EMMFStateRecording; FourCC = AMR) |
|
2474 //! 3. Set Priority (Priority = {Priority,PriorityPocCallUp}; Preference = {PriorityPreference,PriorityPreferencePocCallUp};PriorityState=EMMFStateRecording) |
|
2475 //! 4. Capabilities |
|
2476 //! 5. Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz) |
|
2477 //! 6. Replace file (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\RecAMRNBPoC.amr) |
|
2478 //! 7. Start Recording 10 s |
|
2479 //! 8. Stop 5s |
|
2480 //! 9. Close File |
|
2481 //! 10. Initialize Devsound ( Mode = EMMFStatePlaying; FourCC = AMR) |
|
2482 //! 11. Set Priority (Priority = {Priority,PriorityAudioPlayback}; Preference = {PriorityPreference,PriorityPreferenceAudioPlayback};PriorityState=EMMFStatePlaying) |
|
2483 //! 12. Capabilities |
|
2484 //! 13. Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz) |
|
2485 //! 14. Open File(Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\RecAMRNBPoC.amr) |
|
2486 //! 15. Start Play EOF |
|
2487 //! 16. Close file |
|
2488 //! 17. Destroy Devsound instance |
|
2489 //!@SYMTestStatus Verified |
|
2490 //!@SYMTestPriority High |
|
2491 //!@SYMTestExpectedResults |
|
2492 //! AMR-NB playback as PocCallDown |
|
2493 //!@SYMTestType CIT |
|
2494 |
|
2495 START_TEST_BLOCK 50 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-recording.ini |
|
2496 CREATE_OBJECT CMMFDevSound devsound1 |
|
2497 COMMAND devsound1 NewL |
|
2498 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Recording-0036-0001-InitializeL_command02 |
|
2499 OUTSTANDING |
|
2500 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Recording-0036-0001-SetPrioritySettings_command03 |
|
2501 COMMAND devsound1 Capabilities |
|
2502 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSound-Recording-0036-0001-SetConfigL_command05 |
|
2503 COMMAND devsound1 ReplaceFile MULTIMEDIA-MMF-DevSound-Recording-0036-0001-ReplaceFile_command06 |
|
2504 COMMAND devsound1 RecordInitL |
|
2505 ASYNC_DELAY 10000000 |
|
2506 COMMAND devsound1 Stop |
|
2507 DELAY 5000000 |
|
2508 COMMAND devsound1 CloseFile |
|
2509 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Recording-0036-0001-InitializeL_command10 |
|
2510 OUTSTANDING |
|
2511 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Recording-0036-0001-SetPrioritySettings_command11 |
|
2512 COMMAND devsound1 Capabilities |
|
2513 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSound-Recording-0036-0001-SetConfigL_command13 |
|
2514 COMMAND devsound1 OpenFile MULTIMEDIA-MMF-DevSound-Recording-0036-0001-OpenFile_command14 |
|
2515 COMMAND devsound1 PlayInitL |
|
2516 OUTSTANDING |
|
2517 COMMAND devsound1 CloseFile |
|
2518 COMMAND devsound1 ~ |
|
2519 END_TEST_BLOCK |
|
2520 END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-RECORDING-0036 |
|
2521 |
|
2522 |
|
2523 |
|
2524 |
|
2525 START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-RECORDING-0037 |
|
2526 |
|
2527 //!@SYMTestCaseID MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-RECORDING-0037 |
|
2528 //!@SYMAPI |
|
2529 //! CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState) |
|
2530 //! CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref}) |
|
2531 //! CMMFDevSound::Capabilities() |
|
2532 //! CMMFDevSound::SetConfigL(TMMFCapabilities {ref}) |
|
2533 //! CMMFDevSound::PlayInitL() |
|
2534 //! CMMFDevSound::RecordInitL() |
|
2535 //! CMMFDevSound::Stop() |
|
2536 //!@SYMAuthor etorres |
|
2537 //!@SYMCreationDate 8/11/2008 |
|
2538 //!@SYMTestCaseDesc AMR-NB recording as PocCallDown |
|
2539 //!@SYMTestActions |
|
2540 //! 1. Create Devsound instance devsound1 |
|
2541 //! 2. Create Devsound instance devsound2 |
|
2542 //! 3. devsound1 Initialize Devsound ( Mode = EMMFStatePlaying; FourCC = AMR) |
|
2543 //! 4. devsound1 Set Priority (Priority = {Priority,PriorityPocCallDown}; Preference = {PriorityPreference,PriorityPreferencePocCallDown} ;PriorityState=EMMFStatePlaying) |
|
2544 //! 5. devsound1 Capabilities |
|
2545 //! 6. devsound1 Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz) |
|
2546 //! 7. devsound2 Initialize Devsound ( Mode = EMMFStateRecording; FourCC = AMR) |
|
2547 //! 8. devsound2 Set Priority (Priority = {Priority,PriorityPocCallUp}; Preference = {PriorityPreference,PriorityPreferencePocCallUp};PriorityState=EMMFStateRecording) |
|
2548 //! 9. devsound2 Capabilities |
|
2549 //! 10. devsound2 Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz) |
|
2550 //! 11. devsound1 OpenFile(Filename= {drive,mmc}\multimedia\mmf\devsound\AMR-NB\AMRNB_8k_12.2kbps_mono_speech.amr) |
|
2551 //! 12. devsound2 Replace File(Filename= {drive,mmc}\multimedia\mmf\devsound\Recording\PoCCallPlayRepeated.amr) |
|
2552 //! 13. devsound1 StartPlay 10S |
|
2553 //! 14. devsound1 Stop 5S |
|
2554 //! 15. devsound2 StartRecord 10S |
|
2555 //! 16. devsound2 Stop 1S |
|
2556 //! 17. devsound2 Resume Recording 10S |
|
2557 //! 18. devsound2 Stop 5S |
|
2558 //! 19. devsound1 FileStartPosition |
|
2559 //! 20. devsound1 StartPlay 10S |
|
2560 //! 21. devsound1 Stop 5s |
|
2561 //! 22. devsound1 closefile |
|
2562 //! 23. devsound2 closefile |
|
2563 //! 24. devsound2 Initialize Devsound ( Mode = EMMFStatePlaying; FourCC = AMR) |
|
2564 //! 25. devsound2 Set Priority (Priority = {Priority,PriorityAudioPlayback}; Preference = {PriorityPreference,PriorityPreferenceAudioPlayback};PriorityState=EMMFStatePlaying) |
|
2565 //! 26. devsound2 Capabilities |
|
2566 //! 27. devsound2 Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz) |
|
2567 //! 28. devsound2 OpenFile(Filename= {drive,mmc}\multimedia\mmf\devsound\Recording\PoCCallPlayRepeated.amr) |
|
2568 //! 29. devsound2 Start Play EOF |
|
2569 //! 30. devsound2 CloseFile |
|
2570 //! 31. devsound1 Destroy Devsound instance |
|
2571 //! 32. devsound2 Destroy Devsound instance |
|
2572 //!@SYMTestStatus Verified |
|
2573 //!@SYMTestPriority High |
|
2574 //!@SYMTestExpectedResults |
|
2575 //! AMR-NB recording as PocCallDown |
|
2576 //!@SYMTestType CIT |
|
2577 |
|
2578 START_TEST_BLOCK 100 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-recording.ini |
|
2579 CREATE_OBJECT CMMFDevSound devsound1 |
|
2580 CREATE_OBJECT CMMFDevSound devsound2 |
|
2581 COMMAND devsound1 NewL |
|
2582 COMMAND devsound2 NewL |
|
2583 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Recording-0037-0001-InitializeL_command03 |
|
2584 OUTSTANDING |
|
2585 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Recording-0037-0001-SetPrioritySettings_command04 |
|
2586 COMMAND devsound1 Capabilities |
|
2587 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSound-Recording-0037-0001-SetConfigL_command06 |
|
2588 COMMAND devsound2 InitializeL MULTIMEDIA-MMF-DevSound-Recording-0037-0001-InitializeL_command07 |
|
2589 OUTSTANDING |
|
2590 COMMAND devsound2 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Recording-0037-0001-SetPrioritySettings_command08 |
|
2591 COMMAND devsound2 Capabilities |
|
2592 COMMAND devsound2 SetConfigL MULTIMEDIA-MMF-DevSound-Recording-0037-0001-SetConfigL_command10 |
|
2593 COMMAND devsound1 OpenFile MULTIMEDIA-MMF-DevSound-Recording-0037-0001-OpenFile_command11 |
|
2594 COMMAND devsound2 ReplaceFile MULTIMEDIA-MMF-DevSound-Recording-0037-0001-ReplaceFile_command12 |
|
2595 COMMAND devsound1 PlayInitL |
|
2596 ASYNC_DELAY 10000000 |
|
2597 COMMAND devsound1 Stop |
|
2598 DELAY 5000000 |
|
2599 COMMAND devsound2 RecordInitL |
|
2600 ASYNC_DELAY 10000000 |
|
2601 COMMAND devsound2 Stop |
|
2602 DELAY 1000000 |
|
2603 COMMAND devsound2 RecordInitL |
|
2604 ASYNC_DELAY 10000000 |
|
2605 COMMAND devsound2 Stop |
|
2606 DELAY 5000000 |
|
2607 COMMAND devsound1 FileStartPosition |
|
2608 COMMAND devsound1 PlayInitL |
|
2609 ASYNC_DELAY 10000000 |
|
2610 COMMAND devsound1 Stop |
|
2611 DELAY 5000000 |
|
2612 COMMAND devsound1 CloseFile |
|
2613 COMMAND devsound2 CloseFile |
|
2614 COMMAND devsound2 InitializeL MULTIMEDIA-MMF-DevSound-Recording-0037-0001-InitializeL_command24 |
|
2615 OUTSTANDING |
|
2616 COMMAND devsound2 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Recording-0037-0001-SetPrioritySettings_command25 |
|
2617 COMMAND devsound2 Capabilities |
|
2618 COMMAND devsound2 SetConfigL MULTIMEDIA-MMF-DevSound-Recording-0037-0001-SetConfigL_command27 |
|
2619 COMMAND devsound2 OpenFile MULTIMEDIA-MMF-DevSound-Recording-0037-0001-OpenFile_command28 |
|
2620 COMMAND devsound2 PlayInitL |
|
2621 OUTSTANDING |
|
2622 COMMAND devsound2 CloseFile |
|
2623 COMMAND devsound1 ~ |
|
2624 COMMAND devsound2 ~ |
|
2625 END_TEST_BLOCK |
|
2626 END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-RECORDING-0037 |
|
2627 |
|
2628 |
|
2629 |
|
2630 |
|
2631 START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-RECORDING-0038 |
|
2632 |
|
2633 //!@SYMTestCaseID MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-RECORDING-0038 |
|
2634 //!@SYMAPI |
|
2635 //! CMMFDevSound::InitializeL(MDevSoundObserver{ref}, TFourCC , TMMFState) |
|
2636 //! CMMFDevSound::SetPrioritySettings(const TMMFPrioritySettings{ref}) |
|
2637 //! CMMFDevSound::Capabilities() |
|
2638 //! CMMFDevSound::SetConfigL(const TMMFCapabilities{ref}) |
|
2639 //! CMMFDevSound::PlayInitL() |
|
2640 //! CMMFDevSound::RecordInitL() |
|
2641 //!@SYMAuthor jguillermo |
|
2642 //!@SYMCreationDate 9/8/2008 |
|
2643 //!@SYMTestCaseDesc PCM stereo recording with gain control |
|
2644 //!@SYMTestActions |
|
2645 //! 1. Create DevSound instance |
|
2646 //! 2. Initialize DevSound ( Mode = EMMFStateRecording; FourCC = {SpecialFourCC,RAW}) |
|
2647 //! 3. Set Priority ( Priority = {Priority,PriorityVoiceRecording}; Preference = {PriorityPreference,PriorityPreferenceVoiceRecording} ; PriorityState=EMMFStateRecording) |
|
2648 //! 4. Capabilities |
|
2649 //! 5. Set Configuration (Channels = EMMFStereo; Rate = EMMFSampleRate8000Hz) |
|
2650 //! 6. Replace file (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\GainRecStereo.pcm) |
|
2651 //! 7. Record 10 seconds |
|
2652 //! 8. Set Gain and delay 10 seconds (Gain = 0) |
|
2653 //! 9. Set Gain and delay 10 seconds (Gain = 1 ) |
|
2654 //! 10. Stop 5 seconds |
|
2655 //! 11. Close file |
|
2656 //! 12. Initialize DevSound ( Mode = EMMFStatePlaying; FourCC = {SpecialFourCC,RAW}) |
|
2657 //! 13. Set Priority ( Priority = {Priority,PriorityAudioPlayback}; Preference = {PriorityPreference,PriorityPreferenceAudioPlayback}; PriorityState=EMMFStatePlaying) |
|
2658 //! 14. Set Configuration (Channels = EMMFStereo; Rate = EMMFSampleRate8000Hz) |
|
2659 //! 15. Open file (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\GainRecStereo.pcm) |
|
2660 //! 16. Play EOF |
|
2661 //! 17. Close file |
|
2662 //! 18. Delete DevSound instance |
|
2663 //!@SYMTestStatus Verified |
|
2664 //!@SYMTestPriority High |
|
2665 //!@SYMTestExpectedResults |
|
2666 //! PCM stereo recording with gain control |
|
2667 //!@SYMTestType CIT |
|
2668 |
|
2669 START_TEST_BLOCK 100 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-recording.ini |
|
2670 CREATE_OBJECT CMMFDevSound devsound1 |
|
2671 COMMAND devsound1 NewL |
|
2672 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Recording-0038-0001-InitializeL_command02 |
|
2673 OUTSTANDING |
|
2674 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Recording-0038-0001-SetPrioritySettings_command03 |
|
2675 COMMAND devsound1 Capabilities |
|
2676 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSound-Recording-0038-0001-SetConfigL_command05 |
|
2677 COMMAND devsound1 ReplaceFile MULTIMEDIA-MMF-DevSound-Recording-0038-0001-ReplaceFile_command06 |
|
2678 COMMAND devsound1 RecordInitL |
|
2679 ASYNC_DELAY 10000000 |
|
2680 COMMAND devsound1 SetGain MULTIMEDIA-MMF-DevSound-Recording-0038-0001-SetGain_command08 |
|
2681 ASYNC_DELAY 10000000 |
|
2682 COMMAND devsound1 SetGain MULTIMEDIA-MMF-DevSound-Recording-0038-0001-SetGain_command09 |
|
2683 ASYNC_DELAY 10000000 |
|
2684 COMMAND devsound1 Stop |
|
2685 DELAY 5000000 |
|
2686 COMMAND devsound1 CloseFile |
|
2687 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Recording-0038-0001-InitializeL_command12 |
|
2688 OUTSTANDING |
|
2689 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Recording-0038-0001-SetPrioritySettings_command13 |
|
2690 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSound-Recording-0038-0001-SetConfigL_command14 |
|
2691 COMMAND devsound1 OpenFile MULTIMEDIA-MMF-DevSound-Recording-0038-0001-OpenFile_command15 |
|
2692 COMMAND devsound1 PlayInitL |
|
2693 OUTSTANDING |
|
2694 COMMAND devsound1 CloseFile |
|
2695 COMMAND devsound1 ~ |
|
2696 END_TEST_BLOCK |
|
2697 END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-RECORDING-0038 |