26
|
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-devsoundext-validation-automated-comb_pr
|
|
19 |
//! @SYMScriptTestEnvironment This test script requires a basic ROM.
|
|
20 |
//
|
|
21 |
// Tests all public elements of the CMMFDevSound
|
|
22 |
// classes as a means of confidence that the APIs work as expected.
|
|
23 |
//
|
|
24 |
// The purpose is to provide a regression test suite of PublishedAll
|
|
25 |
// APIs for: CMMFDevSound
|
|
26 |
// The tests are fully automated.
|
|
27 |
//
|
|
28 |
|
|
29 |
|
|
30 |
|
|
31 |
LOAD_SUITE t_devsoundext
|
|
32 |
|
|
33 |
|
|
34 |
START_TESTCASE MULTIMEDIA-MMF-DEVSOUNDEXT-VALIDATION-AUTOMATED-COMB_PR-0002
|
|
35 |
|
|
36 |
//!@SYMTestCaseID MULTIMEDIA-MMF-DEVSOUNDEXT-VALIDATION-AUTOMATED-COMB_PR-0002
|
|
37 |
//!@SYMAPI
|
|
38 |
//! CMMFDevSound::PlayInitL()
|
|
39 |
//! CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC , TMMFState )
|
|
40 |
//! CAudioOutput::SetAudioOutputL( TAudioOutputPreference aAudioOutput = ENoPreference )
|
|
41 |
//! CAudioInput::SetAudioInputL(TAudioInputArray )
|
|
42 |
//! TEST_BLOCK 001
|
|
43 |
//! CMMFDevSound::PlayInitL()
|
|
44 |
//! CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC , TMMFState )
|
|
45 |
//! CAudioOutput::SetAudioOutputL( TAudioOutputPreference aAudioOutput = ENoPreference )
|
|
46 |
//! TEST_BLOCK 002
|
|
47 |
//! CMMFDevSound::PlayInitL()
|
|
48 |
//! CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC , TMMFState )
|
|
49 |
//! CAudioInput::SetAudioInputL(TAudioInputArray )
|
|
50 |
//!@SYMAuthor jguillermo
|
|
51 |
//!@SYMCreationDate 8/11/2008
|
|
52 |
//!@SYMTestCaseDesc Audio recording during secured audio playback when recording has higher priority
|
|
53 |
//!@SYMTestActions
|
|
54 |
//! TEST_BLOCK 001
|
|
55 |
//! 1. Create DevSound instance
|
|
56 |
//! 2. Create AudioOutput instance (DevSoundInstanceName = devsound1)
|
|
57 |
//! 3. Set secure output (SecureOutput = 1)
|
|
58 |
//! 4. Initialize DevSound (Mode = EMMFStatePlaying; FourCC = MP3)
|
|
59 |
//! 5. Set Priority (Priority = {Priority,PriorityAudioPlayback}; Preference = {PriorityPreference,PriorityPreferenceAudioPlayback};PriorityState=EMMFStatePlaying)
|
|
60 |
//! 6. Capabilities
|
|
61 |
//! 7. Set Configuration (Channels = EMMFStereo; Rate = EMMFSampleRate44100Hz)
|
|
62 |
//! 8. Open file (Filename = {drive,mmc}\multimedia\mmf\devsound\MP3\MP3_44.1k_128kbps_st_Test2.mp3)
|
|
63 |
//! 9. Play
|
|
64 |
//! 10. Close file
|
|
65 |
//! 11. Delete AudioOutput instance
|
|
66 |
//! 12. Delete DevSound instance
|
|
67 |
//! TEST_BLOCK 002
|
|
68 |
//! 1. Create DevSound instance
|
|
69 |
//! 2. Create AudioInput instance (DevSoundInstanceName = devsound1)
|
|
70 |
//! 3. Initialize DevSound (Mode = EMMFStateRecording; FourCC = {SpecialFourCC,RAW})
|
|
71 |
//! 4. Set Priority (Priority = {Priority,PriorityIncomingCall}; Preference = {PriorityPreference,PriorityPreferenceAudioRecording};PriorityState=EMMFStateRecording)
|
|
72 |
//! 5. Capabilities
|
|
73 |
//! 6. Set Configuration and delay for 10 seconds (Channels = EMMFMono; Rate = EMMFSampleRate48000Hz)
|
|
74 |
//! 7. Replace file (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\RecHigherDuringSecPlay.pcm)
|
|
75 |
//! 8. Set audio input (AudioInput = Input_OutputtoSpeaker)
|
|
76 |
//! 9. Record 10 seconds
|
|
77 |
//! 10. Stop
|
|
78 |
//! 11. Close file
|
|
79 |
//! 12. Delete AudioOutput instance
|
|
80 |
//! 13. Delete DevSound instance
|
|
81 |
//!@SYMTestStatus Verified
|
|
82 |
//!@SYMTestPriority High
|
|
83 |
//!@SYMTestExpectedResults
|
|
84 |
//! Audio recording during secured audio playback when recording has higher priority
|
|
85 |
//! TEST_BLOCK 001
|
|
86 |
//! Audio recording during secured audio playback when recording has higher priority_1
|
|
87 |
//! TEST_BLOCK 002
|
|
88 |
//! Audio recording during secured audio playback when recording has higher priority_2
|
|
89 |
//!@SYMTestType CIT
|
|
90 |
|
|
91 |
|
|
92 |
CONCURRENT
|
|
93 |
|
|
94 |
|
|
95 |
|
|
96 |
START_TEST_BLOCK 100 t_devsoundext \multimedia\mmf\devsound\multimedia-mmf-devsoundext-validation-automated-comb_pr.ini
|
|
97 |
CREATE_OBJECT CMMFDevSound devsound1
|
|
98 |
CREATE_OBJECT CAudioOutput audiooutput1
|
|
99 |
COMMAND devsound1 NewL
|
|
100 |
COMMAND audiooutput1 NewL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0002-0001-NewL_command02
|
|
101 |
COMMAND audiooutput1 SetSecureOutput MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0002-0001-SetSecureOutput_command03
|
|
102 |
COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0002-0001-InitializeL_command04
|
|
103 |
OUTSTANDING
|
|
104 |
COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0002-0001-SetPrioritySettings_command05
|
|
105 |
COMMAND devsound1 Capabilities
|
|
106 |
COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0002-0001-SetConfigL_command07
|
|
107 |
COMMAND devsound1 OpenFile MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0002-0001-OpenFile_command08
|
|
108 |
COMMAND devsound1 PlayInitL
|
|
109 |
OUTSTANDING
|
|
110 |
COMMAND devsound1 CloseFile
|
|
111 |
COMMAND audiooutput1 ~
|
|
112 |
COMMAND devsound1 ~
|
|
113 |
END_TEST_BLOCK
|
|
114 |
|
|
115 |
|
|
116 |
|
|
117 |
START_TEST_BLOCK 100 t_devsoundext \multimedia\mmf\devsound\multimedia-mmf-devsoundext-validation-automated-comb_pr.ini
|
|
118 |
CREATE_OBJECT CMMFDevSound devsound1
|
|
119 |
CREATE_OBJECT CAudioInput audioinput1
|
|
120 |
COMMAND devsound1 NewL
|
|
121 |
COMMAND audioinput1 NewL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0002-0002-NewL_command02
|
|
122 |
COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0002-0002-InitializeL_command03
|
|
123 |
OUTSTANDING
|
|
124 |
COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0002-0002-SetPrioritySettings_command04
|
|
125 |
COMMAND devsound1 Capabilities
|
|
126 |
COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0002-0002-SetConfigL_command06
|
|
127 |
DELAY 10000000
|
|
128 |
COMMAND devsound1 ReplaceFile MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0002-0002-ReplaceFile_command07
|
|
129 |
COMMAND audioinput1 SetAudioInput MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0002-0002-SetAudioInput_command08
|
|
130 |
COMMAND devsound1 RecordInitL
|
|
131 |
ASYNC_DELAY 10000000
|
|
132 |
COMMAND devsound1 Stop
|
|
133 |
COMMAND devsound1 CloseFile
|
|
134 |
COMMAND audioinput1 ~
|
|
135 |
COMMAND devsound1 ~
|
|
136 |
END_TEST_BLOCK
|
|
137 |
END_TESTCASE MULTIMEDIA-MMF-DEVSOUNDEXT-VALIDATION-AUTOMATED-COMB_PR-0002
|
|
138 |
|
|
139 |
|
|
140 |
|
|
141 |
|
|
142 |
START_TESTCASE MULTIMEDIA-MMF-DEVSOUNDEXT-VALIDATION-AUTOMATED-COMB_PR-0003
|
|
143 |
|
|
144 |
//!@SYMTestCaseID MULTIMEDIA-MMF-DEVSOUNDEXT-VALIDATION-AUTOMATED-COMB_PR-0003
|
|
145 |
//!@SYMAPI
|
|
146 |
//! TEST_BLOCK 001
|
|
147 |
//! CMMFDevSound:: InitializeL(MDevSoundObserver {ref}, TFourCC , TMMFState )
|
|
148 |
//! CAudioOutput::SetAudioOutputL( TAudioOutputPreference aAudioOutput = ENoPreference )
|
|
149 |
//! TEST_BLOCK 002
|
|
150 |
//! CMMFDevSound:: InitializeL(MDevSoundObserver {ref}, TFourCC , TMMFState )
|
|
151 |
//!@SYMAuthor jpacho
|
|
152 |
//!@SYMCreationDate 8/25/2008
|
|
153 |
//!@SYMTestCaseDesc Recording with visualization preferences during secured audio playback
|
|
154 |
//!@SYMTestActions
|
|
155 |
//! TEST_BLOCK 001
|
|
156 |
//! 1. Create DevSound instance
|
|
157 |
//! 2. CreateAudioOutput instance (DevSoundInstanceName=devsound1)
|
|
158 |
//! 3. Open file (Filename = {drive,mmc}\multimedia\mmf\devsound\PCM\PCM_48k_16b_signed_st_Test1.pcm)
|
|
159 |
//! 4. Set secure output (SecureOutput=1)
|
|
160 |
//! 5. Initialize DevSound (Mode = EMMFStatePlaying; FourCC = {SpecialFourCC,RAW})
|
|
161 |
//! 6. Set Priority (Priority = {Priority,PriorityAudioPlayback}; Preference = {PriorityPreference,PriorityPreferenceAudioPlayback};PriorityState=EMMFStatePlaying)
|
|
162 |
//! 7. Capabilities
|
|
163 |
//! 8. Set Configuration (Channels = EMMFStereo; Rate = EMMFSampleRate48000Hz)
|
|
164 |
//! 9.Start play 20s
|
|
165 |
//! 10.Stop
|
|
166 |
//! 11. Close file
|
|
167 |
//! 12. Destroy AudioOutput instance
|
|
168 |
//! 13. Destroy DevSound instance
|
|
169 |
//!
|
|
170 |
|
|
171 |
//! TEST_BLOCK 002
|
|
172 |
//! 1. Create DevSound instance
|
|
173 |
//! 2. Replace file (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\VisRecordDuringSecPlay.pcm)
|
|
174 |
//! 3. Initialize DevSound (Mode = EMMFStateRecording; FourCC = {SpecialFourCC,RAW})
|
|
175 |
//! 4. Set Priority (Priority = {Priority,PriorityVisualization}; Preference = {PriorityPreference,PriorityPreferenceVisualization};PriorityState=EMMFStateRecording)
|
|
176 |
//! 5. Capabilities
|
|
177 |
//! 6. Set Configuration delay 10s (Channels = EMMFMono; Rate = EMMFSampleRate48000Hz)
|
|
178 |
//! 7. Start record 20s
|
|
179 |
//! 8. Close file
|
|
180 |
//! 9.Destroy DevSound instance
|
|
181 |
//!
|
|
182 |
|
|
183 |
//!@SYMTestStatus Verified
|
|
184 |
//!@SYMTestPriority High
|
|
185 |
//!@SYMTestExpectedResults 1, in TestBlock 001, step 9, Play without error.
|
|
186 |
//! 2, in TestBlock 002, step 7, record return expected error -21.
|
|
187 |
//!@SYMTestType CIT
|
|
188 |
|
|
189 |
|
|
190 |
CONCURRENT
|
|
191 |
|
|
192 |
|
|
193 |
|
|
194 |
START_TEST_BLOCK 90 t_devsoundext \multimedia\mmf\devsound\multimedia-mmf-devsoundext-validation-automated-comb_pr.ini
|
|
195 |
CREATE_OBJECT CMMFDevSound devsound1
|
|
196 |
CREATE_OBJECT CAudioOutput audiooutput1
|
|
197 |
COMMAND devsound1 NewL
|
|
198 |
COMMAND audiooutput1 NewL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0003-0001-NewL_command02
|
|
199 |
COMMAND devsound1 OpenFile MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0003-0001-OpenFile_command03
|
|
200 |
COMMAND audiooutput1 SetSecureOutput MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0003-0001-SetSecureOutput_command04
|
|
201 |
COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0003-0001-InitializeL_command05
|
|
202 |
OUTSTANDING
|
|
203 |
COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0003-0001-SetPrioritySettings_command06
|
|
204 |
COMMAND devsound1 Capabilities
|
|
205 |
COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0003-0001-SetConfigL_command08
|
|
206 |
COMMAND devsound1 PlayInitL
|
|
207 |
ASYNC_DELAY 20000000
|
|
208 |
COMMAND devsound1 Stop
|
|
209 |
COMMAND devsound1 CloseFile
|
|
210 |
COMMAND audiooutput1 ~
|
|
211 |
COMMAND devsound1 ~
|
|
212 |
END_TEST_BLOCK
|
|
213 |
|
|
214 |
|
|
215 |
|
|
216 |
START_TEST_BLOCK 90 t_devsoundext \multimedia\mmf\devsound\multimedia-mmf-devsoundext-validation-automated-comb_pr.ini
|
|
217 |
CREATE_OBJECT CMMFDevSound devsound1
|
|
218 |
COMMAND devsound1 NewL
|
|
219 |
COMMAND devsound1 ReplaceFile MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0003-0002-ReplaceFile_command02
|
|
220 |
COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0003-0002-InitializeL_command03
|
|
221 |
OUTSTANDING
|
|
222 |
COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0003-0002-SetPrioritySettings_command04
|
|
223 |
COMMAND devsound1 Capabilities
|
|
224 |
COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0003-0002-SetConfigL_command06
|
|
225 |
DELAY 10000000
|
|
226 |
COMMAND !AsyncError=-21 devsound1 RecordInitL
|
|
227 |
ASYNC_DELAY 20000000
|
|
228 |
COMMAND devsound1 CloseFile
|
|
229 |
COMMAND devsound1 ~
|
|
230 |
END_TEST_BLOCK
|
|
231 |
END_TESTCASE MULTIMEDIA-MMF-DEVSOUNDEXT-VALIDATION-AUTOMATED-COMB_PR-0003
|
|
232 |
|
|
233 |
|
|
234 |
START_TESTCASE MULTIMEDIA-MMF-DEVSOUNDEXT-VALIDATION-AUTOMATED-COMB_PR-0004
|
|
235 |
|
|
236 |
//!@SYMTestCaseID MULTIMEDIA-MMF-DEVSOUNDEXT-VALIDATION-AUTOMATED-COMB_PR-0004
|
|
237 |
//!@SYMAPI
|
|
238 |
//! CMMFDevSound:: InitializeL(MDevSoundObserver {ref}, TFourCC , TMMFState )
|
|
239 |
//! CMMFDevSound:: PlayInitL()
|
|
240 |
//! CMMFDevSound:: RecordInitL()
|
|
241 |
//! TEST_BLOCK 001
|
|
242 |
//! CMMFDevSound:: InitializeL(MDevSoundObserver {ref}, TFourCC , TMMFState )
|
|
243 |
//! CMMFDevSound:: PlayInitL()
|
|
244 |
//! CMMFDevSound:: RecordInitL()
|
|
245 |
//! CAudioInput::SetAudioInputL(TAudioInputArray )
|
|
246 |
//! TEST_BLOCK 002
|
|
247 |
//! CMMFDevSound:: InitializeL(MDevSoundObserver {ref}, TFourCC , TMMFState )
|
|
248 |
//! CMMFDevSound:: PlayInitL()
|
|
249 |
//! CMMFDevSound:: RecordInitL()
|
|
250 |
//! CAudioInput::SetAudioInputL(TAudioInputArray )
|
|
251 |
//! TEST_BLOCK 003
|
|
252 |
//! CMMFDevSound:: InitializeL(MDevSoundObserver {ref}, TFourCC , TMMFState )
|
|
253 |
//! CMMFDevSound:: PlayInitL()
|
|
254 |
//! CAudioOutput::SetAudioOutputL( TAudioOutputPreference aAudioOutput = ENoPreference )
|
|
255 |
//!@SYMAuthor jguillermo
|
|
256 |
//!@SYMCreationDate 8/25/2008
|
|
257 |
//!@SYMTestCaseDesc Secured audio playback during multiple recordings
|
|
258 |
//!@SYMTestActions
|
|
259 |
//! TEST_BLOCK 001
|
|
260 |
//! 1. Create DevSound instance
|
|
261 |
//! 2. Create AudioInput instance (DevSoundInstanceName = devsound1)
|
|
262 |
//! 3. Initialize DevSound (Mode = EMMFStateRecording; FourCC = {SpecialFourCC,RAW})
|
|
263 |
//! 4. Set Priority (Priority = {Priority,PriorityVisualization}; Preference = {PriorityPreference,PriorityPreferenceAudioRecording} ; PriorityState=EMMFStateRecording)
|
|
264 |
//! 5. Capabilities
|
|
265 |
//! 6. Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate48000Hz)
|
|
266 |
//! 7. Replace file (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\SecPlayDuringMultipleRecordings1.pcm)
|
|
267 |
//! 8. Set audio input (AudioInput = Input_OutputtoSpeaker)
|
|
268 |
//! 9. Record 30 seconds
|
|
269 |
//! 10. Close file
|
|
270 |
//! 11. Delete AudioInput instance
|
|
271 |
//! 12. Delete DevSound instance
|
|
272 |
//! TEST_BLOCK 002
|
|
273 |
//! 1. Create DevSound instance
|
|
274 |
//! 2. Create AudioInput instance (DevSoundInstanceName = devsound1)
|
|
275 |
//! 3. Initialize DevSound (Mode = EMMFStateRecording; FourCC = {SpecialFourCC,RAW})
|
|
276 |
//! 4. Set Priority (Priority = {Priority,PriorityVisualization}; Preference = {PriorityPreference,PriorityPreferenceAudioRecording} ; PriorityState=EMMFStateRecording)
|
|
277 |
//! 5. Capabilities
|
|
278 |
//! 6. Set Configuration and delay 10 seconds(Channels = EMMFMono; Rate = EMMFSampleRate48000Hz)
|
|
279 |
//! 7. Replace file (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\SecPlayDuringMultipleRecordings2.pcm)
|
|
280 |
//! 8. Set audio input (AudioInput = Input_OutputtoSpeaker)
|
|
281 |
//! 9. Record 20 seconds
|
|
282 |
//! 10. Close file
|
|
283 |
//! 11. Delete AudioInput instance
|
|
284 |
//! 12. Delete DevSound instance
|
|
285 |
//! TEST_BLOCK 003
|
|
286 |
//! 1. Create DevSound instance
|
|
287 |
//! 2. Create AudioOutput instance (DevSoundInstanceName = devsound1)
|
|
288 |
//! 3. Initialize DevSound (Mode = EMMFStatePlaying; FourCC = {SpecialFourCC,RAW})
|
|
289 |
//! 4. Set Priority (Priority = {Priority,PriorityAudioPlayback}; Preference = {PriorityPreference,PriorityPreferenceSWISPlayback} ; PriorityState=EMMFStatePlaying)
|
|
290 |
//! 5. Capabilities
|
|
291 |
//! 6. Set Configuration and delay 20 seconds(Channels = EMMFStereo; Rate = EMMFSampleRate44100Hz)
|
|
292 |
//! 7. Open file (Filename = {drive,mmc}\multimedia\mmf\devsound\MP3\MP3_44.1k_128kbps_st_Test2.mp3)
|
|
293 |
//! 8. Set secure output (SecureOutput = 1)
|
|
294 |
//! 9. Play 10 seconds
|
|
295 |
//! 10. Stop
|
|
296 |
//! 11. Close file
|
|
297 |
//! 12. Delete AudioOutput instance
|
|
298 |
//! 13. Delete DevSound instance
|
|
299 |
//!@SYMTestStatus Verified
|
|
300 |
//!@SYMTestPriority High
|
|
301 |
//!@SYMTestExpectedResults
|
|
302 |
//! AA_Secured audio playback during multiple recordings
|
|
303 |
//! TEST_BLOCK 001
|
|
304 |
//! AA_Secured audio playback during multiple recordings
|
|
305 |
//! TEST_BLOCK 002
|
|
306 |
//! AA_Secured audio playback during multiple recordings
|
|
307 |
//! TEST_BLOCK 003
|
|
308 |
//! AA_Secured audio playback during multiple recordings
|
|
309 |
//!@SYMTestType CIT
|
|
310 |
|
|
311 |
|
|
312 |
CONCURRENT
|
|
313 |
|
|
314 |
|
|
315 |
|
|
316 |
START_TEST_BLOCK 300 t_devsoundext \multimedia\mmf\devsound\multimedia-mmf-devsoundext-validation-automated-comb_pr.ini
|
|
317 |
CREATE_OBJECT CMMFDevSound devsound2
|
|
318 |
CREATE_OBJECT CAudioInput audioinput2
|
|
319 |
COMMAND devsound2 NewL
|
|
320 |
COMMAND audioinput2 NewL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0004-0001-NewL_command02
|
|
321 |
COMMAND devsound2 InitializeL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0004-0001-InitializeL_command03
|
|
322 |
OUTSTANDING
|
|
323 |
COMMAND devsound2 SetPrioritySettings MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0004-0001-SetPrioritySettings_command04
|
|
324 |
COMMAND devsound2 Capabilities
|
|
325 |
COMMAND devsound2 SetConfigL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0004-0001-SetConfigL_command06
|
|
326 |
COMMAND devsound2 ReplaceFile MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0004-0001-ReplaceFile_command07
|
|
327 |
COMMAND audioinput2 SetAudioInput MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0004-0001-SetAudioInput_command08
|
|
328 |
COMMAND !AsyncError=-13 devsound2 RecordInitL
|
|
329 |
ASYNC_DELAY 30000000
|
|
330 |
COMMAND devsound2 Stop
|
|
331 |
COMMAND devsound2 CloseFile
|
|
332 |
COMMAND audioinput2 ~
|
|
333 |
COMMAND devsound2 ~
|
|
334 |
END_TEST_BLOCK
|
|
335 |
|
|
336 |
|
|
337 |
|
|
338 |
START_TEST_BLOCK 300 t_devsoundext \multimedia\mmf\devsound\multimedia-mmf-devsoundext-validation-automated-comb_pr.ini
|
|
339 |
CREATE_OBJECT CMMFDevSound devsound3
|
|
340 |
CREATE_OBJECT CAudioInput audioinput3
|
|
341 |
COMMAND devsound3 NewL
|
|
342 |
COMMAND audioinput3 NewL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0004-0002-NewL_command02
|
|
343 |
COMMAND devsound3 InitializeL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0004-0002-InitializeL_command03
|
|
344 |
OUTSTANDING
|
|
345 |
COMMAND devsound3 SetPrioritySettings MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0004-0002-SetPrioritySettings_command04
|
|
346 |
COMMAND devsound3 Capabilities
|
|
347 |
COMMAND devsound3 SetConfigL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0004-0002-SetConfigL_command06
|
|
348 |
DELAY 10000000
|
|
349 |
COMMAND devsound3 ReplaceFile MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0004-0002-ReplaceFile_command07
|
|
350 |
COMMAND audioinput3 SetAudioInput MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0004-0002-SetAudioInput_command08
|
|
351 |
COMMAND !AsyncError=-21 devsound3 RecordInitL
|
|
352 |
ASYNC_DELAY 20000000
|
|
353 |
COMMAND devsound3 CloseFile
|
|
354 |
COMMAND audioinput3 ~
|
|
355 |
COMMAND devsound3 ~
|
|
356 |
END_TEST_BLOCK
|
|
357 |
|
|
358 |
|
|
359 |
|
|
360 |
START_TEST_BLOCK 300 t_devsoundext \multimedia\mmf\devsound\multimedia-mmf-devsoundext-validation-automated-comb_pr.ini
|
|
361 |
CREATE_OBJECT CMMFDevSound devsound1
|
|
362 |
CREATE_OBJECT CAudioOutput audiooutput1
|
|
363 |
COMMAND devsound1 NewL
|
|
364 |
COMMAND audiooutput1 NewL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0004-0003-NewL_command02
|
|
365 |
COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0004-0003-InitializeL_command03
|
|
366 |
OUTSTANDING
|
|
367 |
COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0004-0003-SetPrioritySettings_command04
|
|
368 |
COMMAND devsound1 Capabilities
|
|
369 |
COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0004-0003-SetConfigL_command06
|
|
370 |
DELAY 20000000
|
|
371 |
COMMAND devsound1 OpenFile MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0004-0003-OpenFile_command07
|
|
372 |
COMMAND audiooutput1 SetSecureOutput MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0004-0003-SetSecureOutput_command08
|
|
373 |
COMMAND devsound1 PlayInitL
|
|
374 |
ASYNC_DELAY 10000000
|
|
375 |
COMMAND devsound1 Stop
|
|
376 |
COMMAND devsound1 CloseFile
|
|
377 |
COMMAND audiooutput1 ~
|
|
378 |
COMMAND devsound1 ~
|
|
379 |
END_TEST_BLOCK
|
|
380 |
END_TESTCASE MULTIMEDIA-MMF-DEVSOUNDEXT-VALIDATION-AUTOMATED-COMB_PR-0004
|
|
381 |
|
|
382 |
|
|
383 |
|
|
384 |
START_TESTCASE MULTIMEDIA-MMF-DEVSOUNDEXT-VALIDATION-AUTOMATED-COMB_PR-0006
|
|
385 |
|
|
386 |
//!@SYMTestCaseID MULTIMEDIA-MMF-DEVSOUNDEXT-VALIDATION-AUTOMATED-COMB_PR-0006
|
|
387 |
//!@SYMAPI
|
|
388 |
//! CMMFDevSound:: InitializeL(MDevSoundObserver {ref}, TFourCC , TMMFState )
|
|
389 |
//! CMMFDevSound:: PlayInitL()
|
|
390 |
//! CMMFDevSound:: RecordInitL()
|
|
391 |
//! TEST_BLOCK 001
|
|
392 |
//! CMMFDevSound:: InitializeL(MDevSoundObserver {ref}, TFourCC , TMMFState )
|
|
393 |
//! CMMFDevSound:: PlayInitL()
|
|
394 |
//! CMMFDevSound:: RecordInitL()
|
|
395 |
//! CAudioInput::SetAudioInputL(TAudioInputArray )
|
|
396 |
//! TEST_BLOCK 002
|
|
397 |
//! CMMFDevSound:: InitializeL(MDevSoundObserver {ref}, TFourCC , TMMFState )
|
|
398 |
//! CMMFDevSound:: PlayInitL()
|
|
399 |
//! CAudioOutput::SetAudioOutputL( TAudioOutputPreference aAudioOutput = ENoPreference )
|
|
400 |
//!@SYMAuthor jguillermo
|
|
401 |
//!@SYMCreationDate 8/25/2008
|
|
402 |
//!@SYMTestCaseDesc Secured SWIS playback during audio recording when recording has higher priority
|
|
403 |
//!@SYMTestActions
|
|
404 |
//! TEST_BLOCK 001
|
|
405 |
//! 1. Create DevSound instance
|
|
406 |
//! 2. Create AudioInput instance (DevSoundInstanceName = devsound1)
|
|
407 |
//! 3. Initialize DevSound (Mode = EMMFStateRecording; FourCC ={SpecialFourCC,RAW})
|
|
408 |
//! 4. Set Priority (Priority = {Priority,PriorityIncomingCall}; Preference = {PriorityPreference,PriorityPreferenceAudioRecording};PriorityState=EMMFStateRecording)
|
|
409 |
//! 5. Capabilities
|
|
410 |
//! 6. Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate48000Hz)
|
|
411 |
//! 7. Replace file (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\SecPlayDuringRecHigher.pcm)
|
|
412 |
//! 8. Set audio input (AudioInput = Input_OutputtoSpeaker)
|
|
413 |
//! 9. Record 20 seconds
|
|
414 |
//! 10. Stop
|
|
415 |
//! 11. Close file
|
|
416 |
//! 12. Delete AudioInput instance
|
|
417 |
//! 13. Delete DevSound instance
|
|
418 |
//! TEST_BLOCK 002
|
|
419 |
//! 1. Create DevSound instance
|
|
420 |
//! 2. Create AudioOutput instance (DevSoundInstanceName = devsound1)
|
|
421 |
//! 3. Initialize DevSound (Mode = EMMFStatePlaying; FourCC = MP3 )
|
|
422 |
//! 4. Set Priority (Priority = {Priority,PrioritySWISPlayback}; Preference = {PriorityPreference,PriorityPreferenceSWISPlayback};PriorityState=EMMFStatePlaying)
|
|
423 |
//! 5. Capabilities
|
|
424 |
//! 6. Set Configuration and delay 10 seconds(Channels = EMMFStereo; Rate = EMMFSampleRate44100Hz)
|
|
425 |
//! 7. Open file (Filename = {drive,mmc}\multimedia\mmf\devsound\MP3\MP3_44.1k_128kbps_st_Test2.mp3)
|
|
426 |
//! 8. Set secure output (SecureOutput = 1)
|
|
427 |
//! 9. Play EOF
|
|
428 |
//! 10. Close file
|
|
429 |
//! 11. Delete AudioOutput instance
|
|
430 |
//! 12. Delete DevSound instance
|
|
431 |
//!@SYMTestStatus Verified
|
|
432 |
//!@SYMTestPriority High
|
|
433 |
//!@SYMTestExpectedResults
|
|
434 |
//! AA_Secured SWIS playback during audio recording when recording has higher priority
|
|
435 |
//! TEST_BLOCK 001
|
|
436 |
//! AA_Secured SWIS playback during audio recording when recording has higher priority
|
|
437 |
//! TEST_BLOCK 002
|
|
438 |
//! AA_Secured SWIS playback during audio recording when recording has higher priority
|
|
439 |
//!@SYMTestType CIT
|
|
440 |
|
|
441 |
|
|
442 |
CONCURRENT
|
|
443 |
|
|
444 |
|
|
445 |
|
|
446 |
START_TEST_BLOCK 100 t_devsoundext \multimedia\mmf\devsound\multimedia-mmf-devsoundext-validation-automated-comb_pr.ini
|
|
447 |
CREATE_OBJECT CMMFDevSound devsound1
|
|
448 |
CREATE_OBJECT CAudioInput audioinput1
|
|
449 |
COMMAND devsound1 NewL
|
|
450 |
COMMAND audioinput1 NewL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0006-0001-NewL_command02
|
|
451 |
COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0006-0001-InitializeL_command03
|
|
452 |
OUTSTANDING
|
|
453 |
COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0006-0001-SetPrioritySettings_command04
|
|
454 |
COMMAND devsound1 Capabilities
|
|
455 |
COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0006-0001-SetConfigL_command06
|
|
456 |
COMMAND devsound1 ReplaceFile MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0006-0001-ReplaceFile_command07
|
|
457 |
COMMAND audioinput1 SetAudioInput MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0006-0001-SetAudioInput_command08
|
|
458 |
COMMAND devsound1 RecordInitL
|
|
459 |
ASYNC_DELAY 20000000
|
|
460 |
COMMAND devsound1 Stop
|
|
461 |
COMMAND devsound1 CloseFile
|
|
462 |
COMMAND audioinput1 ~
|
|
463 |
COMMAND devsound1 ~
|
|
464 |
END_TEST_BLOCK
|
|
465 |
|
|
466 |
|
|
467 |
|
|
468 |
START_TEST_BLOCK 100 t_devsoundext \multimedia\mmf\devsound\multimedia-mmf-devsoundext-validation-automated-comb_pr.ini
|
|
469 |
CREATE_OBJECT CMMFDevSound devsound1
|
|
470 |
CREATE_OBJECT CAudioOutput audiooutput1
|
|
471 |
COMMAND devsound1 NewL
|
|
472 |
COMMAND audiooutput1 NewL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0006-0002-NewL_command02
|
|
473 |
COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0006-0002-InitializeL_command03
|
|
474 |
OUTSTANDING
|
|
475 |
COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0006-0002-SetPrioritySettings_command04
|
|
476 |
COMMAND devsound1 Capabilities
|
|
477 |
COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0006-0002-SetConfigL_command06
|
|
478 |
DELAY 10000000
|
|
479 |
COMMAND devsound1 OpenFile MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0006-0002-OpenFile_command07
|
|
480 |
COMMAND audiooutput1 SetSecureOutput MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0006-0002-SetSecureOutput_command08
|
|
481 |
COMMAND !AsyncError=-21 devsound1 PlayInitL
|
|
482 |
OUTSTANDING
|
|
483 |
COMMAND devsound1 CloseFile
|
|
484 |
COMMAND audiooutput1 ~
|
|
485 |
COMMAND devsound1 ~
|
|
486 |
END_TEST_BLOCK
|
|
487 |
END_TESTCASE MULTIMEDIA-MMF-DEVSOUNDEXT-VALIDATION-AUTOMATED-COMB_PR-0006
|
|
488 |
|
|
489 |
|
|
490 |
|
|
491 |
|
|
492 |
START_TESTCASE MULTIMEDIA-MMF-DEVSOUNDEXT-VALIDATION-AUTOMATED-COMB_PR-0007
|
|
493 |
|
|
494 |
//!@SYMTestCaseID MULTIMEDIA-MMF-DEVSOUNDEXT-VALIDATION-AUTOMATED-COMB_PR-0007
|
|
495 |
//!@SYMAPI
|
|
496 |
//! TEST_BLOCK 001
|
|
497 |
//! CMMFDevSound::InitializeL(MDevSoundObserver{ref}, TFourCC, TMMFState)
|
|
498 |
//! CMMFDevSound::SetPrioritySettings(const TMMFPrioritySettings{ref})
|
|
499 |
//! CMMFDevSound::Capabilities()
|
|
500 |
//! CMMFDevSound::SetConfigL(const TMMFCapabilities{ref})
|
|
501 |
//! CMMFDevSound::PlayInitL()
|
|
502 |
//! CMMFDevSound::Stop()
|
|
503 |
//! TEST_BLOCK 002
|
|
504 |
//! CMMFDevSound::InitializeL(MDevSoundObserver{ref}, TFourCC, TMMFState)
|
|
505 |
//! CMMFDevSound::SetPrioritySettings(const TMMFPrioritySettings{ref})
|
|
506 |
//! CMMFDevSound::Capabilities()
|
|
507 |
//! CMMFDevSound::SetConfigL(const TMMFCapabilities{ref})
|
|
508 |
//! CMMFAudioInput::SetAudioInputL(TAudioInputArray{ref})
|
|
509 |
//! CMMFDevSound::RecordInitL()
|
|
510 |
//! CMMFDevSound::Stop()
|
|
511 |
//! CMMFDevSound::PlayInitL()
|
|
512 |
//!
|
|
513 |
//!@SYMAuthor myanez
|
|
514 |
//!@SYMCreationDate 8/25/2008
|
|
515 |
//!@SYMTestCaseDesc Audio routing - Audio playback 16k mono recording from speaker
|
|
516 |
//!@SYMTestActions
|
|
517 |
//! TEST_BLOCK 001
|
|
518 |
//! 1. Create Devsound Instance
|
|
519 |
//! 2. Open File (Filename = {drive,mmc}\multimedia\mmf\devsound\MP3\MP3_48k_256kbps_st_1kHzsine_st2mono.mp3)
|
|
520 |
//! 3. Initialize DevSound (Mode = EMMFStatePlaying; FourCC = MP3)
|
|
521 |
//! 4. Set Priority (Priority = {Priority,PriorityAudioPlayback}; Preference = {PriorityPreference,PriorityPreferenceNone};PriorityState=EMMFStatePlaying)
|
|
522 |
//! 5. Capabilities
|
|
523 |
//! 6. Set Configuration (Channels = EMMFStereo; Rate = EMMFSampleRate48000Hz)
|
|
524 |
//! 7. Start Play for 20 seconds
|
|
525 |
//! 8. Stop
|
|
526 |
//! 9. Close File
|
|
527 |
//! 10. Destroy Devsound Instance
|
|
528 |
//!
|
|
529 |
//! TEST_BLOCK 002
|
|
530 |
//! 1. Create DevSound Instance
|
|
531 |
//! 2. Create AudioInput Instance (DevSoundInstanceName = devsound1)
|
|
532 |
//! 3. Replace File (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\RoutingPlay16kMonoRecSpeaker.pcm)
|
|
533 |
//! 4. Initialize DevSound (Mode = EMMFStateRecording; FourCC = P16)
|
|
534 |
//! 5. Set Priority (Priority = {Priority,PriorityVoiceRecording}; Preference = {PriorityPreference,PriorityPreferenceVoiceRecording};PriorityState=EMMFStateRecording)
|
|
535 |
//! 6. Capabilities
|
|
536 |
//! 7. Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate16000Hz)
|
|
537 |
//! 8. Stop for 10 seconds
|
|
538 |
//! 9. Set Audio Input (AudioInput = Input_OutputtoSpeaker)
|
|
539 |
//! 10. Start Record for 20 seconds
|
|
540 |
//! 11. Stop for 5 seconds
|
|
541 |
//! 12. Close File
|
|
542 |
//! 13. Open File (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\RoutingPlay16kMonoRecSpeaker.pcm)
|
|
543 |
//! 14. 12. Initialize DevSound (Mode = EMMFStatePlaying; FourCC = P16)
|
|
544 |
//! 15. 13. Set Priority (Priority = {Priority,PriorityAudioPlayback}; Preference = {PriorityPreference,PriorityPreferenceAudioPlayback};PriorityState=EMMFStatePlaying)
|
|
545 |
//! 16. 14. Capabilities
|
|
546 |
//! 17. 15. Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate16000Hz)
|
|
547 |
//! 18. 17. Start Play
|
|
548 |
//! 19. 18. Close File
|
|
549 |
//! 20. 19. Destroy AudioInput Instance
|
|
550 |
//! 21. Destroy DevSound Instance
|
|
551 |
//!@SYMTestStatus Verified
|
|
552 |
//!@SYMTestPriority High
|
|
553 |
//!@SYMTestExpectedResults
|
|
554 |
//! Audio playback 16k mono recording from speaker
|
|
555 |
//! TEST_BLOCK 001
|
|
556 |
//! Play MP3 File with Audio Playback Priority and NonePreference, Expecting Error -13
|
|
557 |
//! TEST_BLOCK 002
|
|
558 |
//! Record with Voice Recording Priority and Voice Recording Preference; Play with Audio PLayback Priority and Audio PLayback Preference
|
|
559 |
//!@SYMTestType CIT
|
|
560 |
|
|
561 |
|
|
562 |
CONCURRENT
|
|
563 |
|
|
564 |
|
|
565 |
|
|
566 |
START_TEST_BLOCK 60 t_devsoundext \multimedia\mmf\devsound\multimedia-mmf-devsoundext-validation-automated-comb_pr.ini
|
|
567 |
CREATE_OBJECT CMMFDevSound devsound1
|
|
568 |
COMMAND devsound1 NewL
|
|
569 |
COMMAND devsound1 OpenFile MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0007-0001-OpenFile_command02
|
|
570 |
COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0007-0001-InitializeL_command03
|
|
571 |
OUTSTANDING
|
|
572 |
COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0007-0001-SetPrioritySettings_command04
|
|
573 |
COMMAND devsound1 Capabilities
|
|
574 |
COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0007-0001-SetConfigL_command06
|
|
575 |
COMMAND !AsyncError=-13 devsound1 PlayInitL
|
|
576 |
ASYNC_DELAY 20000000
|
|
577 |
COMMAND devsound1 Stop
|
|
578 |
COMMAND devsound1 CloseFile
|
|
579 |
COMMAND devsound1 ~
|
|
580 |
END_TEST_BLOCK
|
|
581 |
|
|
582 |
|
|
583 |
|
|
584 |
START_TEST_BLOCK 65 t_devsoundext \multimedia\mmf\devsound\multimedia-mmf-devsoundext-validation-automated-comb_pr.ini
|
|
585 |
CREATE_OBJECT CMMFDevSound devsound1
|
|
586 |
CREATE_OBJECT CAudioInput audioinput1
|
|
587 |
COMMAND devsound1 NewL
|
|
588 |
COMMAND audioinput1 NewL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0007-0002-NewL_command02
|
|
589 |
COMMAND devsound1 ReplaceFile MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0007-0002-ReplaceFile_command03
|
|
590 |
COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0007-0002-InitializeL_command04
|
|
591 |
OUTSTANDING
|
|
592 |
COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0007-0002-SetPrioritySettings_command05
|
|
593 |
COMMAND devsound1 Capabilities
|
|
594 |
COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0007-0002-SetConfigL_command07
|
|
595 |
COMMAND devsound1 Stop
|
|
596 |
DELAY 10000000
|
|
597 |
COMMAND audioinput1 SetAudioInput MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0007-0002-SetAudioInput_command09
|
|
598 |
COMMAND devsound1 RecordInitL
|
|
599 |
ASYNC_DELAY 20000000
|
|
600 |
COMMAND devsound1 Stop
|
|
601 |
DELAY 5000000
|
|
602 |
COMMAND devsound1 CloseFile
|
|
603 |
COMMAND devsound1 OpenFile MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0007-0002-OpenFile_command13
|
|
604 |
COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0007-0002-InitializeL_command14
|
|
605 |
OUTSTANDING
|
|
606 |
COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0007-0002-SetPrioritySettings_command15
|
|
607 |
COMMAND devsound1 Capabilities
|
|
608 |
COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0007-0002-SetConfigL_command17
|
|
609 |
COMMAND devsound1 PlayInitL
|
|
610 |
OUTSTANDING
|
|
611 |
COMMAND devsound1 CloseFile
|
|
612 |
COMMAND audioinput1 ~
|
|
613 |
COMMAND devsound1 ~
|
|
614 |
END_TEST_BLOCK
|
|
615 |
END_TESTCASE MULTIMEDIA-MMF-DEVSOUNDEXT-VALIDATION-AUTOMATED-COMB_PR-0007
|
|
616 |
|
|
617 |
|
|
618 |
|
|
619 |
|
|
620 |
START_TESTCASE MULTIMEDIA-MMF-DEVSOUNDEXT-VALIDATION-AUTOMATED-COMB_PR-0008
|
|
621 |
|
|
622 |
//!@SYMTestCaseID MULTIMEDIA-MMF-DEVSOUNDEXT-VALIDATION-AUTOMATED-COMB_PR-0008
|
|
623 |
//!@SYMAPI
|
|
624 |
//! TEST_BLOCK 001
|
|
625 |
//! CMMFDevSound::InitializeL(MDevSoundObserver{ref}, TFourCC{ref}, TMMFState)
|
|
626 |
//! CMMFDevSound::SetPrioritySettings(const TMMFPrioritySettings{ref})
|
|
627 |
//! CMMFDevSound::Capabilities()
|
|
628 |
//! CMMFDevSound::SetConfigL(const TMMFCapabilities{ref})
|
|
629 |
//! CMMFDevSound::PlayInitL()
|
|
630 |
//! CMMFDevSound::Stop()
|
|
631 |
//! TEST_BLOCK 002
|
|
632 |
//! CMMFDevSound::InitializeL(MDevSoundObserver{ref}, TFourCC, TMMFState)
|
|
633 |
//! CMMFDevSound::SetPrioritySettings(const TMMFPrioritySettings{ref})
|
|
634 |
//! CMMFDevSound::Capabilities()
|
|
635 |
//! CMMFDevSound::SetConfigL(const TMMFCapabilities{ref})
|
|
636 |
//! CMMFAudioInput::SetAudioInputL(TAudioInputArray)
|
|
637 |
//! CMMFDevSound::RecordInitL()
|
|
638 |
//! CMMFDevSound::Stop()
|
|
639 |
//! CMMFDevSound::PlayInitL()
|
|
640 |
//!
|
|
641 |
//!@SYMAuthor myanez
|
|
642 |
//!@SYMCreationDate 8/25/2008
|
|
643 |
//!@SYMTestCaseDesc Audio routing - Audio playback 16k stereo recording from speaker
|
|
644 |
//!@SYMTestActions
|
|
645 |
//! TEST_BLOCK 001
|
|
646 |
//! 1. Create Devsound Instance
|
|
647 |
//! 2. Open File (Filename = {drive,mmc}\multimedia\mmf\devsound\MP3\MP3_44.1k_128kbps_st_Test2.mp3)
|
|
648 |
//! 3. Initialize DevSound (Mode = EMMFStatePlaying; FourCC = MP3)
|
|
649 |
//! 4. Set Priority (Priority = {Priority,PriorityAudioPlayback}; Preference = {PriorityPreference,PriorityPreferenceNone} ; PriorityState=EMMFStatePlaying)
|
|
650 |
//! 5. Capabilities
|
|
651 |
//! 6. Set Configuration (Channels = EMMFStereo; Rate = EMMFSampleRate48000Hz)
|
|
652 |
//! 7. Play for 20 seconds
|
|
653 |
//! 8. Stop
|
|
654 |
//! 9. Close File
|
|
655 |
//! 10. Destroy Devsound Instance
|
|
656 |
//! TEST_BLOCK 002
|
|
657 |
//! 1. Create DevSound Instance
|
|
658 |
//! 2. Create AudioInput Instance (DevSoundInstanceName = devsound1)
|
|
659 |
//! 3. Replace File (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\RoutingPlay16kStereoRecSpeaker.pcm)
|
|
660 |
//! 4. Initialize DevSound (Mode = EMMFStateRecording; FourCC = P16)
|
|
661 |
//! 5. Set Priority (Priority = {Priority,PriorityVoiceRecording}; Preference = {PriorityPreference,PriorityPreferenceVoiceRecording} ; PriorityState=EMMFStateRecording)
|
|
662 |
//! 6. Capabilities
|
|
663 |
//! 7. Set Configuration (Channels = EMMFStereo; Rate = EMMFSampleRate16000Hz)
|
|
664 |
//! 8. Stop for 10 seconds
|
|
665 |
//! 9. Set Audio Input (AudioInput = Input_OutputtoSpeaker)
|
|
666 |
//! 10. Start Record for 20 seconds
|
|
667 |
//! 11. Stop for 5 seconds
|
|
668 |
//! 12. Initialize DevSound (Mode = EMMFStatePlaying; FourCC = P16)
|
|
669 |
//! 13. Set Priority (Priority = {Priority,PriorityAudioPlayback}; Preference = {PriorityPreference,PriorityPreferenceAudioPlayback} ; PriorityState=EMMFStatePlaying)
|
|
670 |
//! 14. Capabilities
|
|
671 |
//! 15. Set Configuration (Channels = EMMFStereo; Rate = EMMFSampleRate16000Hz)
|
|
672 |
//! 16. Start File Positions
|
|
673 |
//! 17. Start Play
|
|
674 |
//! 18.Close File
|
|
675 |
//! 19. Destroy AudioInput Instance
|
|
676 |
//! 20. Destroy DevSound Instance
|
|
677 |
//!@SYMTestStatus Verified
|
|
678 |
//!@SYMTestPriority High
|
|
679 |
//!@SYMTestExpectedResults
|
|
680 |
//! Audio playback 16k stereo recording from speaker
|
|
681 |
//! TEST_BLOCK 001
|
|
682 |
//! Play MP3 File with Audio Playback Priority and NonePreference.
|
|
683 |
//! TEST_BLOCK 002
|
|
684 |
//! Record with Voice Recording Priority and Voice Recording Preference; Play with Audio PLayback Priority and Audio PLayback Preference
|
|
685 |
//!@SYMTestType CIT
|
|
686 |
|
|
687 |
|
|
688 |
CONCURRENT
|
|
689 |
|
|
690 |
|
|
691 |
|
|
692 |
START_TEST_BLOCK 60 t_devsoundext \multimedia\mmf\devsound\multimedia-mmf-devsoundext-validation-automated-comb_pr.ini
|
|
693 |
CREATE_OBJECT CMMFDevSound devsound1
|
|
694 |
COMMAND devsound1 NewL
|
|
695 |
COMMAND devsound1 OpenFile MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0008-0001-OpenFile_command02
|
|
696 |
COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0008-0001-InitializeL_command03
|
|
697 |
OUTSTANDING
|
|
698 |
COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0008-0001-SetPrioritySettings_command04
|
|
699 |
COMMAND devsound1 Capabilities
|
|
700 |
COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0008-0001-SetConfigL_command06
|
|
701 |
COMMAND !AsyncError=-13 devsound1 PlayInitL
|
|
702 |
ASYNC_DELAY 20000000
|
|
703 |
COMMAND devsound1 Stop
|
|
704 |
COMMAND devsound1 CloseFile
|
|
705 |
COMMAND devsound1 ~
|
|
706 |
END_TEST_BLOCK
|
|
707 |
|
|
708 |
|
|
709 |
|
|
710 |
START_TEST_BLOCK 65 t_devsoundext \multimedia\mmf\devsound\multimedia-mmf-devsoundext-validation-automated-comb_pr.ini
|
|
711 |
CREATE_OBJECT CMMFDevSound devsound1
|
|
712 |
CREATE_OBJECT CAudioInput audioinput1
|
|
713 |
COMMAND devsound1 NewL
|
|
714 |
COMMAND audioinput1 NewL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0008-0002-NewL_command02
|
|
715 |
COMMAND devsound1 ReplaceFile MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0008-0002-ReplaceFile_command03
|
|
716 |
COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0008-0002-InitializeL_command04
|
|
717 |
OUTSTANDING
|
|
718 |
COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0008-0002-SetPrioritySettings_command05
|
|
719 |
COMMAND devsound1 Capabilities
|
|
720 |
COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0008-0002-SetConfigL_command07
|
|
721 |
COMMAND devsound1 Stop
|
|
722 |
DELAY 10000000
|
|
723 |
COMMAND audioinput1 SetAudioInput MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0008-0002-SetAudioInput_command09
|
|
724 |
COMMAND devsound1 RecordInitL
|
|
725 |
ASYNC_DELAY 20000000
|
|
726 |
COMMAND devsound1 Stop
|
|
727 |
DELAY 5000000
|
|
728 |
COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0008-0002-InitializeL_command12
|
|
729 |
OUTSTANDING
|
|
730 |
COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0008-0002-SetPrioritySettings_command13
|
|
731 |
COMMAND devsound1 Capabilities
|
|
732 |
COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0008-0002-SetConfigL_command15
|
|
733 |
COMMAND devsound1 FileStartPosition
|
|
734 |
COMMAND devsound1 PlayInitL
|
|
735 |
OUTSTANDING
|
|
736 |
COMMAND devsound1 CloseFile
|
|
737 |
COMMAND audioinput1 ~
|
|
738 |
COMMAND devsound1 ~
|
|
739 |
END_TEST_BLOCK
|
|
740 |
END_TESTCASE MULTIMEDIA-MMF-DEVSOUNDEXT-VALIDATION-AUTOMATED-COMB_PR-0008
|
|
741 |
|
|
742 |
|
|
743 |
|
|
744 |
|
|
745 |
START_TESTCASE MULTIMEDIA-MMF-DEVSOUNDEXT-VALIDATION-AUTOMATED-COMB_PR-0009
|
|
746 |
|
|
747 |
//!@SYMTestCaseID MULTIMEDIA-MMF-DEVSOUNDEXT-VALIDATION-AUTOMATED-COMB_PR-0009
|
|
748 |
//!@SYMAPI
|
|
749 |
//! TEST_BLOCK 001
|
|
750 |
//! CMMFDevSound::InitializeL(MDevSoundObserver{ref}, TFourCC, TMMFState)
|
|
751 |
//! CMMFDevSound::SetPrioritySettings(const TMMFPrioritySettings{ref})
|
|
752 |
//! CMMFDevSound::Capabilities()
|
|
753 |
//! CMMFDevSound::SetConfigL(const TMMFCapabilities{ref})
|
|
754 |
//! CMMFDevSound::PlayInitL()
|
|
755 |
//! CMMFDevSound::Stop()
|
|
756 |
//! TEST_BLOCK 002
|
|
757 |
//! CMMFDevSound::InitializeL(MDevSoundObserver{ref}, TFourCC, TMMFState)
|
|
758 |
//! CMMFDevSound::SetPrioritySettings(const TMMFPrioritySettings{ref})
|
|
759 |
//! CMMFDevSound::Capabilities()
|
|
760 |
//! CMMFDevSound::SetConfigL(const TMMFCapabilities{ref})
|
|
761 |
//! CMMFAudioInput::SetAudioInputL(TAudioInputArray)
|
|
762 |
//! CMMFDevSound::RecordInitL()
|
|
763 |
//! CMMFDevSound::Stop()
|
|
764 |
//! CMMFDevSound::PlayInitL()
|
|
765 |
//!
|
|
766 |
//!@SYMAuthor myanez
|
|
767 |
//!@SYMCreationDate 8/25/2008
|
|
768 |
//!@SYMTestCaseDesc Audio routing - Audio playback 48k mono recording from speaker
|
|
769 |
//!@SYMTestActions
|
|
770 |
//! TEST_BLOCK 001
|
|
771 |
//! 1. Create Devsound Instance
|
|
772 |
//! 2. Open File (Filename = {drive,mmc}\multimedia\mmf\devsound\MP3\MP3_48k_256kbps_st_1kHzsine_st2mono.mp3)
|
|
773 |
//! 3. Initialize DevSound (Mode = EMMFStatePlaying; FourCC = MP3)
|
|
774 |
//! 4. Set Priority (Priority = {Priority,PriorityAudioPlayback}; Preference = {PriorityPreference,PriorityPreferenceNone};PriorityState=EMMFStatePlaying)
|
|
775 |
//! 5. Capabilities
|
|
776 |
//! 6. Set Configuration (Channels = EMMFStereo; Rate = EMMFSampleRate48000Hz)
|
|
777 |
//! 7. Play for 20 seconds
|
|
778 |
//! 8. Stop
|
|
779 |
//! 9. Close File
|
|
780 |
//! 10. Destroy Devsound Instance
|
|
781 |
//! TEST_BLOCK 002
|
|
782 |
//! 1. Create DevSound Instance
|
|
783 |
//! 2. Create AudioInput Instance (DevSoundInstanceName = devsound1)
|
|
784 |
//! 3. Replace File (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\RoutingPlay48kMonoRecSpeaker.pcm)
|
|
785 |
//! 4. Initialize DevSound (Mode = EMMFStateRecording; FourCC = P16)
|
|
786 |
//! 5. Set Priority (Priority = {Priority,PriorityVoiceRecording}; Preference = {PriorityPreference,PriorityPreferenceVoiceRecording};PriorityState=EMMFStateRecording)
|
|
787 |
//! 6. Capabilities
|
|
788 |
//! 7. Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate48000Hz)
|
|
789 |
//! 8. Stop for 10 seconds
|
|
790 |
//! 9. Set Audio Input (AudioInput = Input_OutputtoSpeaker)
|
|
791 |
//! 10.Record for 20 seconds
|
|
792 |
//! 11. Stop for 5 seconds
|
|
793 |
//! 12. Initialize DevSound (Mode = EMMFStatePlaying; FourCC = P16)
|
|
794 |
//! 13. Set Priority (Priority = {Priority,PriorityAudioPlayback}; Preference = {PriorityPreference,PriorityPreferenceAudioPlayback};PriorityState=EMMFStatePlaying)
|
|
795 |
//! 14. Capabilities
|
|
796 |
//! 15. Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate48000Hz)
|
|
797 |
//! 16. Start File Positions
|
|
798 |
//! 17. Start Play
|
|
799 |
//! 18. Close File
|
|
800 |
//! 19. Destroy AudioInput Instance
|
|
801 |
//! 20. Destroy DevSound Instance
|
|
802 |
//!@SYMTestStatus Verified
|
|
803 |
//!@SYMTestPriority High
|
|
804 |
//!@SYMTestExpectedResults
|
|
805 |
//! Audio playback 48k mono recording from speaker
|
|
806 |
//! TEST_BLOCK 001
|
|
807 |
//! Play MP3 File with Audio Playback Priority and NonePreference.
|
|
808 |
//! TEST_BLOCK 002
|
|
809 |
//! Record with Voice Recording Priority and Voice Recording Preference; Play with Audio PLayback Priority and Audio PLayback Preference
|
|
810 |
//!@SYMTestType CIT
|
|
811 |
|
|
812 |
|
|
813 |
CONCURRENT
|
|
814 |
|
|
815 |
|
|
816 |
|
|
817 |
START_TEST_BLOCK 60 t_devsoundext \multimedia\mmf\devsound\multimedia-mmf-devsoundext-validation-automated-comb_pr.ini
|
|
818 |
CREATE_OBJECT CMMFDevSound devsound1
|
|
819 |
COMMAND devsound1 NewL
|
|
820 |
COMMAND devsound1 OpenFile MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0009-0001-OpenFile_command02
|
|
821 |
COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0009-0001-InitializeL_command03
|
|
822 |
OUTSTANDING
|
|
823 |
COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0009-0001-SetPrioritySettings_command04
|
|
824 |
COMMAND devsound1 Capabilities
|
|
825 |
COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0009-0001-SetConfigL_command06
|
|
826 |
COMMAND !AsyncError=-13 devsound1 PlayInitL
|
|
827 |
ASYNC_DELAY 20000000
|
|
828 |
COMMAND devsound1 Stop
|
|
829 |
COMMAND devsound1 CloseFile
|
|
830 |
COMMAND devsound1 ~
|
|
831 |
END_TEST_BLOCK
|
|
832 |
|
|
833 |
|
|
834 |
|
|
835 |
START_TEST_BLOCK 65 t_devsoundext \multimedia\mmf\devsound\multimedia-mmf-devsoundext-validation-automated-comb_pr.ini
|
|
836 |
CREATE_OBJECT CMMFDevSound devsound1
|
|
837 |
CREATE_OBJECT CAudioInput audioinput1
|
|
838 |
COMMAND devsound1 NewL
|
|
839 |
COMMAND audioinput1 NewL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0009-0002-NewL_command02
|
|
840 |
COMMAND devsound1 ReplaceFile MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0009-0002-ReplaceFile_command03
|
|
841 |
COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0009-0002-InitializeL_command04
|
|
842 |
OUTSTANDING
|
|
843 |
COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0009-0002-SetPrioritySettings_command05
|
|
844 |
COMMAND devsound1 Capabilities
|
|
845 |
COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0009-0002-SetConfigL_command07
|
|
846 |
COMMAND devsound1 Stop
|
|
847 |
DELAY 10000000
|
|
848 |
COMMAND audioinput1 SetAudioInput MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0009-0002-SetAudioInput_command09
|
|
849 |
COMMAND devsound1 RecordInitL
|
|
850 |
ASYNC_DELAY 20000000
|
|
851 |
COMMAND devsound1 Stop
|
|
852 |
DELAY 5000000
|
|
853 |
COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0009-0002-InitializeL_command12
|
|
854 |
OUTSTANDING
|
|
855 |
COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0009-0002-SetPrioritySettings_command13
|
|
856 |
COMMAND devsound1 Capabilities
|
|
857 |
COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0009-0002-SetConfigL_command15
|
|
858 |
COMMAND devsound1 FileStartPosition
|
|
859 |
COMMAND devsound1 PlayInitL
|
|
860 |
OUTSTANDING
|
|
861 |
COMMAND devsound1 CloseFile
|
|
862 |
COMMAND audioinput1 ~
|
|
863 |
COMMAND devsound1 ~
|
|
864 |
END_TEST_BLOCK
|
|
865 |
END_TESTCASE MULTIMEDIA-MMF-DEVSOUNDEXT-VALIDATION-AUTOMATED-COMB_PR-0009
|
|
866 |
|
|
867 |
|
|
868 |
|
|
869 |
|
|
870 |
START_TESTCASE MULTIMEDIA-MMF-DEVSOUNDEXT-VALIDATION-AUTOMATED-COMB_PR-0011
|
|
871 |
|
|
872 |
//!@SYMTestCaseID MULTIMEDIA-MMF-DEVSOUNDEXT-VALIDATION-AUTOMATED-COMB_PR-0011
|
|
873 |
//!@SYMAPI
|
|
874 |
//! TEST_BLOCK 001
|
|
875 |
//! CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TMMFState )
|
|
876 |
//! CMMFDevSound::SetPrioritySettings(const TMMFPrioritySettings {ref} )
|
|
877 |
//! CMMFDevSound::Capabilities()
|
|
878 |
//! CMMFDevSound::SetConfigL(const TMMFCapabilities {ref} )
|
|
879 |
//! CMMFDevSound::PlayInitL()
|
|
880 |
//! CMMFDevSound::Stop()
|
|
881 |
//! TEST_BLOCK 002
|
|
882 |
//! CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TMMFState )
|
|
883 |
//! CMMFDevSound::SetPrioritySettings(const TMMFPrioritySettings {ref} )
|
|
884 |
//! CMMFDevSound::Capabilities()
|
|
885 |
//! CMMFDevSound::SetConfigL(const TMMFCapabilities {ref} )
|
|
886 |
//! CMMFDevSound::PlayInitL()
|
|
887 |
//! CMMFDevSound::RecordInitL()
|
|
888 |
//! CMMFDevSound::Stop()
|
|
889 |
//! CMMFDevsound::PlayToneSequenceL(const TDesC8 {ref})
|
|
890 |
//! CMMFDevSound::SetGain()
|
|
891 |
//! CMMFAudioInput::SetAudioInputL(TAudioInputArray)
|
|
892 |
//!@SYMAuthor etorres
|
|
893 |
//!@SYMCreationDate 8/25/2008
|
|
894 |
//!@SYMTestCaseDesc Gain control of audio playback recording
|
|
895 |
//!@SYMTestActions
|
|
896 |
//! TEST_BLOCK 001
|
|
897 |
//! 1. Create Devsound Instance
|
|
898 |
//! 2. Open File (Filename = {drive,mmc}\multimedia\mmf\devsound\MP3\MP3_44.1k_128kbps_st_Test2.mp3)
|
|
899 |
//! 3. Initialize DevSound (Mode = EMMFStatePlaying; FourCC = MP3)
|
|
900 |
//! 4. Set Priority (Priority = {Priority,PriorityAudioPlayback}; Preference = {PriorityPreference,PriorityPreferenceNone};PriorityState=EMMFStatePlaying)
|
|
901 |
//! 5. Capabilities
|
|
902 |
//! 6. Set Configuration (Channels = EMMFStereo; Rate = EMMFSampleRate44100Hz)
|
|
903 |
//! 7. Play for 20 seconds
|
|
904 |
//! 8. Stop
|
|
905 |
//! 9.Close File
|
|
906 |
//! 10.Destroy Devsound Instance
|
|
907 |
//! TEST_BLOCK 002
|
|
908 |
//! 1. Create DevSound Instance
|
|
909 |
//! 2. Create AudioInput Instance (DevSoundInstanceName = devsound1)
|
|
910 |
//! 3. Replace File (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\GainPlayRec.amr)
|
|
911 |
//! 4. Initialize DevSound (Mode = EMMFStateRecording; FourCC = AMR)
|
|
912 |
//! 5. Set Priority (Priority = {Priority,PriorityVoiceRecording}; Preference = {PriorityPreference,PriorityPreferenceVoiceRecording};PriorityState=EMMFStateRecording)
|
|
913 |
//! 6. Capabilities
|
|
914 |
//! 7. Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz)
|
|
915 |
//! 8. Stop for 5 seconds
|
|
916 |
//! 9. Set Audio Input (AudioInput = Input_OutputtoSpeaker)
|
|
917 |
//! 10. Record for 10 seconds
|
|
918 |
//! 11. SetGain(Gain= 0)
|
|
919 |
//! 12. SetGain(Gain=1)
|
|
920 |
//! 13. Stop for 10 seconds
|
|
921 |
//! 14. Initialize DevSound (Mode = EMMFStatePlaying; FourCC = AMR)
|
|
922 |
//! 15. Set Priority (Priority = {Priority,PriorityAudioPlayback}; Preference = {PriorityPreference,PriorityPreferenceAudioPlayback};PriorityState=EMMFStatePlaying)
|
|
923 |
//! 16. Capabilities
|
|
924 |
//! 17. Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz)
|
|
925 |
//! 18. OpenFile (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\GainPlayRec.amr)
|
|
926 |
//! 19. Start Play
|
|
927 |
//! 20.Close File
|
|
928 |
//! 21.Destroy AudioInput Instance
|
|
929 |
//! 22.Destroy DevSound Instance
|
|
930 |
//!@SYMTestStatus Verified
|
|
931 |
//!@SYMTestPriority High
|
|
932 |
//!@SYMTestExpectedResults
|
|
933 |
//! TEST_BLOCK 001
|
|
934 |
//! MP3 playback
|
|
935 |
//! TEST_BLOCK 002
|
|
936 |
//! AMR recording {ref} playback with expected error=-21
|
|
937 |
//!@SYMTestType CIT
|
|
938 |
|
|
939 |
|
|
940 |
CONCURRENT
|
|
941 |
|
|
942 |
|
|
943 |
|
|
944 |
START_TEST_BLOCK 60 t_devsoundext \multimedia\mmf\devsound\multimedia-mmf-devsoundext-validation-automated-comb_pr.ini
|
|
945 |
CREATE_OBJECT CMMFDevSound devsound1
|
|
946 |
COMMAND devsound1 NewL
|
|
947 |
COMMAND devsound1 OpenFile MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0011-0001-OpenFile_command02
|
|
948 |
COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0011-0001-InitializeL_command03
|
|
949 |
OUTSTANDING
|
|
950 |
COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0011-0001-SetPrioritySettings_command04
|
|
951 |
COMMAND devsound1 Capabilities
|
|
952 |
COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0011-0001-SetConfigL_command06
|
|
953 |
COMMAND devsound1 PlayInitL
|
|
954 |
ASYNC_DELAY 20000000
|
|
955 |
COMMAND devsound1 Stop
|
|
956 |
COMMAND devsound1 CloseFile
|
|
957 |
COMMAND devsound1 ~
|
|
958 |
END_TEST_BLOCK
|
|
959 |
|
|
960 |
|
|
961 |
|
|
962 |
START_TEST_BLOCK 60 t_devsoundext \multimedia\mmf\devsound\multimedia-mmf-devsoundext-validation-automated-comb_pr.ini
|
|
963 |
CREATE_OBJECT CMMFDevSound devsound1
|
|
964 |
CREATE_OBJECT CAudioInput audioinput1
|
|
965 |
COMMAND devsound1 NewL
|
|
966 |
COMMAND audioinput1 NewL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0011-0002-NewL_command02
|
|
967 |
COMMAND devsound1 ReplaceFile MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0011-0002-ReplaceFile_command03
|
|
968 |
COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0011-0002-InitializeL_command04
|
|
969 |
OUTSTANDING
|
|
970 |
COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0011-0002-SetPrioritySettings_command05
|
|
971 |
COMMAND devsound1 Capabilities
|
|
972 |
COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0011-0002-SetConfigL_command07
|
|
973 |
COMMAND devsound1 Stop
|
|
974 |
DELAY 5000000
|
|
975 |
COMMAND audioinput1 SetAudioInput MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0011-0002-SetAudioInput_command09
|
|
976 |
COMMAND !AsyncError=-21 devsound1 RecordInitL
|
|
977 |
ASYNC_DELAY 10000000
|
|
978 |
COMMAND devsound1 SetGain MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0011-0002-SetGain_command12
|
|
979 |
ASYNC_DELAY 10000000
|
|
980 |
COMMAND devsound1 SetGain MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0011-0002-SetGain_command13
|
|
981 |
ASYNC_DELAY 10000000
|
|
982 |
COMMAND devsound1 Stop
|
|
983 |
DELAY 10000000
|
|
984 |
COMMAND devsound1 CloseFile
|
|
985 |
COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0011-0002-InitializeL_command15
|
|
986 |
OUTSTANDING
|
|
987 |
COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0011-0002-SetPrioritySettings_command16
|
|
988 |
COMMAND devsound1 Capabilities
|
|
989 |
COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0011-0002-SetConfigL_command18
|
|
990 |
COMMAND devsound1 OpenFile MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0011-0002-OpenFile_command19
|
|
991 |
COMMAND devsound1 PlayInitL
|
|
992 |
OUTSTANDING
|
|
993 |
COMMAND devsound1 CloseFile
|
|
994 |
COMMAND audioinput1 ~
|
|
995 |
COMMAND devsound1 ~
|
|
996 |
END_TEST_BLOCK
|
|
997 |
END_TESTCASE MULTIMEDIA-MMF-DEVSOUNDEXT-VALIDATION-AUTOMATED-COMB_PR-0011
|
|
998 |
|
|
999 |
|
|
1000 |
|
|
1001 |
|
|
1002 |
START_TESTCASE MULTIMEDIA-MMF-DEVSOUNDEXT-VALIDATION-AUTOMATED-COMB_PR-0012
|
|
1003 |
|
|
1004 |
//!@SYMTestCaseID MULTIMEDIA-MMF-DEVSOUNDEXT-VALIDATION-AUTOMATED-COMB_PR-0012
|
|
1005 |
//!@SYMAPI
|
|
1006 |
//! CMMFDevSound:: InitializeL(MDevSoundObserver {ref}, TFourCC , TMMFState )
|
|
1007 |
//! CMMFDevSound:: PlayInitL()
|
|
1008 |
//! CMMFDevSound:: RecordInitL()
|
|
1009 |
//! TEST_BLOCK 001
|
|
1010 |
//! CMMFDevSound:: InitializeL(MDevSoundObserver {ref}, TFourCC , TMMFState )
|
|
1011 |
//! CMMFDevSound:: PlayInitL()
|
|
1012 |
//! TEST_BLOCK 002
|
|
1013 |
//! CMMFDevSound:: InitializeL(MDevSoundObserver {ref}, TFourCC , TMMFState )
|
|
1014 |
//! CMMFDevSound:: PlayInitL()
|
|
1015 |
//! CMMFDevSound:: RecordInitL()
|
|
1016 |
//! CAudioInput::SetAudioInputL(TAudioInputArray )
|
|
1017 |
//!@SYMAuthor jguillermo
|
|
1018 |
//!@SYMCreationDate 8/25/2008
|
|
1019 |
//!@SYMTestCaseDesc Audio routing - Audio playback 48k mono recording from speaker when accessory is used
|
|
1020 |
//!@SYMTestActions
|
|
1021 |
//! TEST_BLOCK 001
|
|
1022 |
//! 1. Create DevSound instance
|
|
1023 |
//! 2. Initialize DevSound (Mode = EMMFStatePlaying; FourCC = MP3)
|
|
1024 |
//! 3. Set Priority (Priority = {Priority,PriorityAudioPlayback}; Preference = {PriorityPreference,PriorityPreferenceNone};PriorityState=EMMFStatePlaying)
|
|
1025 |
//! 4. Capabilities
|
|
1026 |
//! 5. Set Configuration (Channels = EMMFStereo; Rate = EMMFSampleRate44100Hz)
|
|
1027 |
//! 6. Open file (Filename= {drive,mmc}\multimedia\mmf\devsound\MP3\MP3_44.1k_128kbps_st_Test3.mp3)
|
|
1028 |
//! 7. Play 20 seconds
|
|
1029 |
//! 8. Stop
|
|
1030 |
//! 9. Close file
|
|
1031 |
//! 10. Delete DevSound instance
|
|
1032 |
//! TEST_BLOCK 002
|
|
1033 |
//! 1. Create DevSound instance
|
|
1034 |
//! 2. Create AudioInput instance (DevSoundInstanceName = devsound1)
|
|
1035 |
//! 3. Initialize DevSound (Mode = EMMFStateRecording; FourCC ={SpecialFourCC,RAW})
|
|
1036 |
//! 4. Set Priority (Priority = {Priority,PriorityVoiceRecording}; Preference = {PriorityPreference,PriorityPreferenceVoiceRecording};PriorityState=EMMFStateRecording)
|
|
1037 |
//! 5. Capabilities
|
|
1038 |
//! 6. Set Configuration and delay 10 seconds(Channels = EMMFMono; Rate = EMMFSampleRate48000Hz)
|
|
1039 |
//! 7. Replace file (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\RoutingPlayRecSpeakerAcc.pcm)
|
|
1040 |
//! 8. Set audio input (AudioInput = Input_OutputtoSpeaker)
|
|
1041 |
//! 9. Record 20 seconds
|
|
1042 |
//! 10. Stop 5 seconds
|
|
1043 |
//! 11. Close file
|
|
1044 |
//! 12. Initialize DevSound (Mode = EMMFStatePlaying; FourCC ={SpecialFourCC,RAW})
|
|
1045 |
//! 13. Set Priority (Priority = {Priority,PriorityAudioPlayback}; Preference = {PriorityPreference,PriorityPreferenceAudioPlayback};PriorityState=EMMFStatePlaying)
|
|
1046 |
//! 14. Set Configuration(Channels = EMMFMono; Rate = EMMFSampleRate48000Hz)
|
|
1047 |
//! 15. Open file (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\RoutingPlayRecSpeakerAcc.pcm)
|
|
1048 |
//! 16. Play EOF
|
|
1049 |
//! 17. Close file
|
|
1050 |
//! 18. Delete AudioInput instance
|
|
1051 |
//! 19. Delete DevSound instance
|
|
1052 |
//!@SYMTestStatus Verified
|
|
1053 |
//!@SYMTestPriority High
|
|
1054 |
//!@SYMTestExpectedResults
|
|
1055 |
//! AA_Audio routing - Audio playback 48k mono recording from speaker when accessory is used
|
|
1056 |
//! TEST_BLOCK 001
|
|
1057 |
//! AA_Audio routing - Audio playback 48k mono recording from speaker when accessory is used
|
|
1058 |
//! TEST_BLOCK 002
|
|
1059 |
//! AA_Audio routing - Audio playback 48k mono recording from speaker when accessory is used
|
|
1060 |
//!@SYMTestType CIT
|
|
1061 |
|
|
1062 |
|
|
1063 |
CONCURRENT
|
|
1064 |
|
|
1065 |
|
|
1066 |
|
|
1067 |
START_TEST_BLOCK 70 t_devsoundext \multimedia\mmf\devsound\multimedia-mmf-devsoundext-validation-automated-comb_pr.ini
|
|
1068 |
CREATE_OBJECT CMMFDevSound devsound1
|
|
1069 |
COMMAND devsound1 NewL
|
|
1070 |
COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0012-0001-InitializeL_command02
|
|
1071 |
OUTSTANDING
|
|
1072 |
COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0012-0001-SetPrioritySettings_command03
|
|
1073 |
COMMAND devsound1 Capabilities
|
|
1074 |
COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0012-0001-SetConfigL_command05
|
|
1075 |
COMMAND devsound1 OpenFile MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0012-0001-OpenFile_command06
|
|
1076 |
COMMAND !AsyncError=-13 devsound1 PlayInitL
|
|
1077 |
ASYNC_DELAY 20000000
|
|
1078 |
COMMAND devsound1 Stop
|
|
1079 |
COMMAND devsound1 CloseFile
|
|
1080 |
COMMAND devsound1 ~
|
|
1081 |
END_TEST_BLOCK
|
|
1082 |
|
|
1083 |
|
|
1084 |
|
|
1085 |
START_TEST_BLOCK 70 t_devsoundext \multimedia\mmf\devsound\multimedia-mmf-devsoundext-validation-automated-comb_pr.ini
|
|
1086 |
CREATE_OBJECT CMMFDevSound devsound1
|
|
1087 |
CREATE_OBJECT CAudioInput audioinput1
|
|
1088 |
COMMAND devsound1 NewL
|
|
1089 |
COMMAND audioinput1 NewL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0012-0002-NewL_command02
|
|
1090 |
COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0012-0002-InitializeL_command03
|
|
1091 |
OUTSTANDING
|
|
1092 |
COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0012-0002-SetPrioritySettings_command04
|
|
1093 |
COMMAND devsound1 Capabilities
|
|
1094 |
COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0012-0002-SetConfigL_command06
|
|
1095 |
DELAY 10000000
|
|
1096 |
COMMAND devsound1 ReplaceFile MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0012-0002-ReplaceFile_command07
|
|
1097 |
COMMAND audioinput1 SetAudioInput MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0012-0002-SetAudioInput_command08
|
|
1098 |
COMMAND devsound1 RecordInitL
|
|
1099 |
ASYNC_DELAY 20000000
|
|
1100 |
COMMAND devsound1 Stop
|
|
1101 |
DELAY 5000000
|
|
1102 |
COMMAND devsound1 CloseFile
|
|
1103 |
COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0012-0002-InitializeL_command12
|
|
1104 |
OUTSTANDING
|
|
1105 |
COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0012-0002-SetPrioritySettings_command13
|
|
1106 |
COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0012-0002-SetConfigL_command14
|
|
1107 |
COMMAND devsound1 OpenFile MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0012-0002-OpenFile_command15
|
|
1108 |
COMMAND devsound1 PlayInitL
|
|
1109 |
OUTSTANDING
|
|
1110 |
COMMAND devsound1 CloseFile
|
|
1111 |
COMMAND audioinput1 ~
|
|
1112 |
COMMAND devsound1 ~
|
|
1113 |
END_TEST_BLOCK
|
|
1114 |
END_TESTCASE MULTIMEDIA-MMF-DEVSOUNDEXT-VALIDATION-AUTOMATED-COMB_PR-0012
|
|
1115 |
|
|
1116 |
|
|
1117 |
|
|
1118 |
|
|
1119 |
START_TESTCASE MULTIMEDIA-MMF-DEVSOUNDEXT-VALIDATION-AUTOMATED-COMB_PR-0013
|
|
1120 |
|
|
1121 |
//!@SYMTestCaseID MULTIMEDIA-MMF-DEVSOUNDEXT-VALIDATION-AUTOMATED-COMB_PR-0013
|
|
1122 |
//!@SYMAPI
|
|
1123 |
//! CMMFDevSound:: InitializeL(MDevSoundObserver {ref}, TFourCC , TMMFState )
|
|
1124 |
//! CMMFDevSound:: PlayInitL()
|
|
1125 |
//! CMMFDevSound:: RecordInitL()
|
|
1126 |
//! TEST_BLOCK 001
|
|
1127 |
//! CMMFDevSound:: InitializeL(MDevSoundObserver {ref}, TFourCC , TMMFState )
|
|
1128 |
//! CMMFDevSound:: PlayInitL()
|
|
1129 |
//! TEST_BLOCK 002
|
|
1130 |
//! CMMFDevSound:: InitializeL(MDevSoundObserver {ref}, TFourCC , TMMFState )
|
|
1131 |
//! CMMFDevSound:: PlayInitL()
|
|
1132 |
//! CMMFDevSound:: RecordInitL()
|
|
1133 |
//! CAudioInput::SetAudioInputL(TAudioInputArray )
|
|
1134 |
//!@SYMAuthor jguillermo
|
|
1135 |
//!@SYMCreationDate 8/25/2008
|
|
1136 |
//!@SYMTestCaseDesc Audio routing - Audio playback 48k stereo recording from speaker
|
|
1137 |
//!@SYMTestActions
|
|
1138 |
//! TEST_BLOCK 001
|
|
1139 |
//! 1. Create DevSound instance
|
|
1140 |
//! 2. Initialize DevSound (Mode = EMMFStatePlaying; FourCC = MP3)
|
|
1141 |
//! 3. Set Priority (Priority = {Priority,PriorityAudioPlayback}; Preference = {PriorityPreference,PriorityPreferenceNone} ; PriorityState=EMMFStatePlaying)
|
|
1142 |
//! 4. Capabilities
|
|
1143 |
//! 5. Set Configuration (Channels = EMMFStereo; Rate = EMMFSampleRate44100Hz)
|
|
1144 |
//! 6. Open file (Filename= {drive,mmc}\multimedia\mmf\devsound\MP3\MP3_44.1k_128kbps_st_Test3.mp3)
|
|
1145 |
//! 7. Play 20 seconds
|
|
1146 |
//! 9. Stop
|
|
1147 |
//! 9. Close file
|
|
1148 |
//! 10. Delete DevSound instance
|
|
1149 |
//! TEST_BLOCK 002
|
|
1150 |
//! 1. Create DevSound instance
|
|
1151 |
//! 2. Create AudioInput instance (DevSoundInstanceName = devsound1)
|
|
1152 |
//! 3. Initialize DevSound (Mode = EMMFStateRecording; FourCC ={SpecialFourCC,RAW})
|
|
1153 |
//! 4. Set Priority (Priority = {Priority,PriorityVoiceRecording}; Preference = {PriorityPreference,PriorityPreferenceVoiceRecording} ; PriorityState=EMMFStateRecording)
|
|
1154 |
//! 5. Capabilities
|
|
1155 |
//! 6. Set Configuration and delay 10 seconds(Channels = EMMFStereo; Rate = EMMFSampleRate48000Hz)
|
|
1156 |
//! 7. Replace file (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\RoutingPlay48kStereoRecSpeaker.pcm)
|
|
1157 |
//! 8. Set audio input (AudioInput = Input_OutputtoSpeaker)
|
|
1158 |
//! 9. Record 20 seconds
|
|
1159 |
//! 10. Stop 5 seconds
|
|
1160 |
//! 11. Close file
|
|
1161 |
//! 12. Initialize DevSound (Mode = EMMFStatePlaying; FourCC ={SpecialFourCC,RAW})
|
|
1162 |
//! 13. Set Priority (Priority = {Priority,PriorityAudioPlayback} ; Preference = {PriorityPreference,PriorityPreferenceAudioPlayback} ; PriorityState=EMMFStatePlaying)
|
|
1163 |
//! 14. Set Configuration(Channels = EMMFStereo; Rate = EMMFSampleRate48000Hz)
|
|
1164 |
//! 15. Open file (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\RoutingPlay48kStereoRecSpeaker.pcm)
|
|
1165 |
//! 16. Play EOF
|
|
1166 |
//! 17. Close file
|
|
1167 |
//! 18. Delete AudioInput instance
|
|
1168 |
//! 19. Delete DevSound instance
|
|
1169 |
//!@SYMTestStatus Verified
|
|
1170 |
//!@SYMTestPriority High
|
|
1171 |
//!@SYMTestExpectedResults
|
|
1172 |
//! AA_Audio routing - Audio playback 48k stereo recording from speaker
|
|
1173 |
//! TEST_BLOCK 001
|
|
1174 |
//! AA_Audio routing - Audio playback 48k stereo recording from speaker
|
|
1175 |
//! TEST_BLOCK 002
|
|
1176 |
//! AA_Audio routing - Audio playback 48k stereo recording from speaker
|
|
1177 |
//!@SYMTestType CIT
|
|
1178 |
|
|
1179 |
|
|
1180 |
CONCURRENT
|
|
1181 |
|
|
1182 |
|
|
1183 |
|
|
1184 |
START_TEST_BLOCK 70 t_devsoundext \multimedia\mmf\devsound\multimedia-mmf-devsoundext-validation-automated-comb_pr.ini
|
|
1185 |
CREATE_OBJECT CMMFDevSound devsound1
|
|
1186 |
COMMAND devsound1 NewL
|
|
1187 |
COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0013-0001-InitializeL_command02
|
|
1188 |
OUTSTANDING
|
|
1189 |
COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0013-0001-SetPrioritySettings_command03
|
|
1190 |
COMMAND devsound1 Capabilities
|
|
1191 |
COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0013-0001-SetConfigL_command05
|
|
1192 |
COMMAND devsound1 OpenFile MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0013-0001-OpenFile_command06
|
|
1193 |
COMMAND !AsyncError=-13 devsound1 PlayInitL
|
|
1194 |
ASYNC_DELAY 20000000
|
|
1195 |
COMMAND devsound1 Stop
|
|
1196 |
COMMAND devsound1 CloseFile
|
|
1197 |
COMMAND devsound1 ~
|
|
1198 |
END_TEST_BLOCK
|
|
1199 |
|
|
1200 |
|
|
1201 |
|
|
1202 |
START_TEST_BLOCK 70 t_devsoundext \multimedia\mmf\devsound\multimedia-mmf-devsoundext-validation-automated-comb_pr.ini
|
|
1203 |
CREATE_OBJECT CMMFDevSound devsound1
|
|
1204 |
CREATE_OBJECT CAudioInput audioinput1
|
|
1205 |
COMMAND devsound1 NewL
|
|
1206 |
COMMAND audioinput1 NewL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0013-0002-NewL_command02
|
|
1207 |
COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0013-0002-InitializeL_command03
|
|
1208 |
OUTSTANDING
|
|
1209 |
COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0013-0002-SetPrioritySettings_command04
|
|
1210 |
COMMAND devsound1 Capabilities
|
|
1211 |
COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0013-0002-SetConfigL_command06
|
|
1212 |
COMMAND devsound1 ReplaceFile MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0013-0002-ReplaceFile_command07
|
|
1213 |
COMMAND audioinput1 SetAudioInput MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0013-0002-SetAudioInput_command08
|
|
1214 |
COMMAND !AsyncError=-21 devsound1 RecordInitL
|
|
1215 |
ASYNC_DELAY 20000000
|
|
1216 |
COMMAND devsound1 Stop
|
|
1217 |
DELAY 5000000
|
|
1218 |
COMMAND devsound1 CloseFile
|
|
1219 |
COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0013-0002-InitializeL_command13
|
|
1220 |
OUTSTANDING
|
|
1221 |
COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0013-0002-SetPrioritySettings_command14
|
|
1222 |
COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0013-0002-SetConfigL_command15
|
|
1223 |
COMMAND devsound1 OpenFile MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0013-0002-OpenFile_command16
|
|
1224 |
COMMAND devsound1 PlayInitL
|
|
1225 |
OUTSTANDING
|
|
1226 |
COMMAND devsound1 CloseFile
|
|
1227 |
COMMAND audioinput1 ~
|
|
1228 |
COMMAND devsound1 ~
|
|
1229 |
END_TEST_BLOCK
|
|
1230 |
END_TESTCASE MULTIMEDIA-MMF-DEVSOUNDEXT-VALIDATION-AUTOMATED-COMB_PR-0013
|
|
1231 |
|
|
1232 |
|
|
1233 |
|
|
1234 |
|
|
1235 |
START_TESTCASE MULTIMEDIA-MMF-DEVSOUNDEXT-VALIDATION-AUTOMATED-COMB_PR-0015
|
|
1236 |
|
|
1237 |
//!@SYMTestCaseID MULTIMEDIA-MMF-DEVSOUNDEXT-VALIDATION-AUTOMATED-COMB_PR-0015
|
|
1238 |
//!@SYMAPI
|
|
1239 |
//! CMMFDevSound:: InitializeL(MDevSoundObserver {ref}, TFourCC , TMMFState )
|
|
1240 |
//! CMMFDevSound:: PlayInitL()
|
|
1241 |
//! CMMFDevSound:: RecordInitL()
|
|
1242 |
//! TEST_BLOCK 001
|
|
1243 |
//! CMMFDevSound:: InitializeL(MDevSoundObserver {ref}, TFourCC , TMMFState )
|
|
1244 |
//! CMMFDevSound:: PlayInitL()
|
|
1245 |
//! TEST_BLOCK 002
|
|
1246 |
//! CMMFDevSound:: InitializeL(MDevSoundObserver {ref}, TFourCC , TMMFState )
|
|
1247 |
//! CMMFDevSound:: PlayInitL()
|
|
1248 |
//! CMMFDevSound:: RecordInitL()
|
|
1249 |
//! CAudioInput::SetAudioInputL(TAudioInputArray )
|
|
1250 |
//!@SYMAuthor jguillermo
|
|
1251 |
//!@SYMCreationDate 8/25/2008
|
|
1252 |
//!@SYMTestCaseDesc Audio routing - Audio playback 8k mono recording from speaker
|
|
1253 |
//!@SYMTestActions
|
|
1254 |
//! TEST_BLOCK 001
|
|
1255 |
//! 1. Create DevSound instance
|
|
1256 |
//! 2. Initialize DevSound (Mode = EMMFStatePlaying; FourCC = MP3)
|
|
1257 |
//! 3. Set Priority (Priority = {Priority,PriorityAudioPlayback}; Preference = {PriorityPreference,PriorityPreferenceNone};PriorityState=EMMFStatePlaying)
|
|
1258 |
//! 4. Capabilities
|
|
1259 |
//! 5. Set Configuration (Channels = EMMFStereo; Rate = EMMFSampleRate48000Hz)
|
|
1260 |
//! 6. Open file (Filename= {drive,mmc}\multimedia\mmf\devsound\MP3\MP3_48k_256kbps_st_1kHzsine_st2mono.mp3)
|
|
1261 |
//! 7. Play 20 seconds
|
|
1262 |
//! 8. Stop
|
|
1263 |
//! 9. Close file
|
|
1264 |
//! 10. Delete DevSound instance
|
|
1265 |
//! TEST_BLOCK 002
|
|
1266 |
//! 1. Create DevSound instance
|
|
1267 |
//! 2. Create AudioInput instance (DevSoundInstanceName = devsound1)
|
|
1268 |
//! 3. Initialize DevSound (Mode = EMMFStateRecording; FourCC ={SpecialFourCC,RAW})
|
|
1269 |
//! 4. Set Priority (Priority = {Priority,PriorityVoiceRecording}; Preference = {PriorityPreference,PriorityPreferenceVoiceRecording};PriorityState=EMMFStateRecording)
|
|
1270 |
//! 5. Capabilities
|
|
1271 |
//! 6. Set Configuration and delay 10 seconds(Channels = EMMFMono; Rate = EMMFSampleRate8000Hz)
|
|
1272 |
//! 7. Replace file (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\RoutingPlay8kMonoRecSpeaker.pcm)
|
|
1273 |
//! 8. Set audio input (AudioInput = Input_OutputtoSpeaker)
|
|
1274 |
//! 9. Record 20 seconds
|
|
1275 |
//! 10. Stop 5 seconds
|
|
1276 |
//! 11. Close file
|
|
1277 |
//! 12. Initialize DevSound (Mode = EMMFStatePlaying; FourCC ={SpecialFourCC,RAW})
|
|
1278 |
//! 13. Set Priority (Priority = {Priority,PriorityAudioPlayback}; Preference = {PriorityPreference,PriorityPreferenceAudioPlayback};PriorityState=EMMFStatePlaying)
|
|
1279 |
//! 14. Set Configuration(Channels = EMMFMono; Rate = EMMFSampleRate8000Hz)
|
|
1280 |
//! 15. Open file (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\RoutingPlay8kMonoRecSpeaker.pcm)
|
|
1281 |
//! 16. Play EOF
|
|
1282 |
//! 17. Close file
|
|
1283 |
//! 18. Delete AudioInput instance
|
|
1284 |
//! 19. Delete DevSound instance
|
|
1285 |
//!@SYMTestStatus Implemented
|
|
1286 |
//!@SYMTestPriority High
|
|
1287 |
//!@SYMTestExpectedResults
|
|
1288 |
//! AA_Audio routing - Audio playback 8k mono recording from speaker
|
|
1289 |
//! TEST_BLOCK 001
|
|
1290 |
//! AA_Audio routing - Audio playback 8k mono recording from speaker
|
|
1291 |
//! TEST_BLOCK 002
|
|
1292 |
//! AA_Audio routing - Audio playback 8k mono recording from speaker
|
|
1293 |
//!@SYMTestType CIT
|
|
1294 |
|
|
1295 |
|
|
1296 |
CONCURRENT
|
|
1297 |
|
|
1298 |
|
|
1299 |
|
|
1300 |
START_TEST_BLOCK 70 t_devsoundext \multimedia\mmf\devsound\multimedia-mmf-devsoundext-validation-automated-comb_pr.ini
|
|
1301 |
CREATE_OBJECT CMMFDevSound devsound1
|
|
1302 |
COMMAND devsound1 NewL
|
|
1303 |
COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0015-0001-InitializeL_command02
|
|
1304 |
OUTSTANDING
|
|
1305 |
COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0015-0001-SetPrioritySettings_command03
|
|
1306 |
COMMAND devsound1 Capabilities
|
|
1307 |
COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0015-0001-SetConfigL_command05
|
|
1308 |
COMMAND devsound1 OpenFile MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0015-0001-OpenFile_command06
|
|
1309 |
COMMAND devsound1 PlayInitL
|
|
1310 |
ASYNC_DELAY 20000000
|
|
1311 |
COMMAND devsound1 Stop
|
|
1312 |
COMMAND devsound1 CloseFile
|
|
1313 |
COMMAND devsound1 ~
|
|
1314 |
END_TEST_BLOCK
|
|
1315 |
|
|
1316 |
|
|
1317 |
|
|
1318 |
START_TEST_BLOCK 70 t_devsoundext \multimedia\mmf\devsound\multimedia-mmf-devsoundext-validation-automated-comb_pr.ini
|
|
1319 |
CREATE_OBJECT CMMFDevSound devsound1
|
|
1320 |
CREATE_OBJECT CAudioInput audioinput1
|
|
1321 |
COMMAND devsound1 NewL
|
|
1322 |
COMMAND audioinput1 NewL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0015-0002-NewL_command02
|
|
1323 |
COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0015-0002-InitializeL_command03
|
|
1324 |
OUTSTANDING
|
|
1325 |
COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0015-0002-SetPrioritySettings_command04
|
|
1326 |
COMMAND devsound1 Capabilities
|
|
1327 |
COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0015-0002-SetConfigL_command06
|
|
1328 |
DELAY 10000000
|
|
1329 |
COMMAND devsound1 ReplaceFile MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0015-0002-ReplaceFile_command07
|
|
1330 |
COMMAND audioinput1 SetAudioInput MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0015-0002-SetAudioInput_command08
|
|
1331 |
COMMAND !AsyncError=-21 devsound1 RecordInitL
|
|
1332 |
ASYNC_DELAY 20000000
|
|
1333 |
COMMAND devsound1 Stop
|
|
1334 |
DELAY 5000000
|
|
1335 |
COMMAND devsound1 CloseFile
|
|
1336 |
COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0015-0002-InitializeL_command13
|
|
1337 |
OUTSTANDING
|
|
1338 |
COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0015-0002-SetPrioritySettings_command14
|
|
1339 |
COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0015-0002-SetConfigL_command15
|
|
1340 |
COMMAND devsound1 OpenFile MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0015-0002-OpenFile_command16
|
|
1341 |
COMMAND devsound1 PlayInitL
|
|
1342 |
OUTSTANDING
|
|
1343 |
COMMAND devsound1 CloseFile
|
|
1344 |
COMMAND audioinput1 ~
|
|
1345 |
COMMAND devsound1 ~
|
|
1346 |
END_TEST_BLOCK
|
|
1347 |
END_TESTCASE MULTIMEDIA-MMF-DEVSOUNDEXT-VALIDATION-AUTOMATED-COMB_PR-0015
|
|
1348 |
|
|
1349 |
|
|
1350 |
|
|
1351 |
|
|
1352 |
START_TESTCASE MULTIMEDIA-MMF-DEVSOUNDEXT-VALIDATION-AUTOMATED-COMB_PR-0016
|
|
1353 |
|
|
1354 |
//!@SYMTestCaseID MULTIMEDIA-MMF-DEVSOUNDEXT-VALIDATION-AUTOMATED-COMB_PR-0016
|
|
1355 |
//!@SYMAPI
|
|
1356 |
//! CMMFDevSound:: InitializeL(MDevSoundObserver {ref}, TFourCC , TMMFState )
|
|
1357 |
//! CMMFDevSound:: PlayInitL()
|
|
1358 |
//! CMMFDevSound:: RecordInitL()
|
|
1359 |
//! TEST_BLOCK 001
|
|
1360 |
//! CMMFDevSound:: InitializeL(MDevSoundObserver {ref}, TFourCC , TMMFState )
|
|
1361 |
//! CMMFDevSound:: PlayInitL()
|
|
1362 |
//! TEST_BLOCK 002
|
|
1363 |
//! CMMFDevSound:: InitializeL(MDevSoundObserver {ref}, TFourCC , TMMFState )
|
|
1364 |
//! CMMFDevSound:: PlayInitL()
|
|
1365 |
//! CMMFDevSound:: RecordInitL()
|
|
1366 |
//! CAudioInput::SetAudioInputL(TAudioInputArray )
|
|
1367 |
//!@SYMAuthor jguillermo
|
|
1368 |
//!@SYMCreationDate 8/25/2008
|
|
1369 |
//!@SYMTestCaseDesc Audio routing - Audio playback 8k stereo recording from speaker
|
|
1370 |
//!@SYMTestActions
|
|
1371 |
//! TEST_BLOCK 001
|
|
1372 |
//! 1. Create DevSound instance
|
|
1373 |
//! 2. Initialize DevSound (Mode = EMMFStatePlaying; FourCC = MP3)
|
|
1374 |
//! 3. Set Priority (Priority = {Priority,PriorityAudioPlayback} ; Preference = {PriorityPreference,PriorityPreferenceNone};PriorityState=EMMFStatePlaying)
|
|
1375 |
//! 4. Capabilities
|
|
1376 |
//! 5. Set Configuration (Channels = EMMFStereo; Rate = EMMFSampleRate44100Hz)
|
|
1377 |
//! 6. Open file (Filename= {drive,mmc}\multimedia\mmf\devsound\MP3\MP3_44.1k_128kbps_st_Test3.mp3)
|
|
1378 |
//! 7. Play 20 seconds
|
|
1379 |
//! 8. Stop
|
|
1380 |
//! 9. Close file
|
|
1381 |
//! 10. Delete DevSound instance
|
|
1382 |
//! TEST_BLOCK 002
|
|
1383 |
//! 1. Create DevSound instance
|
|
1384 |
//! 2. Create AudioInput instance (DevSoundInstanceName = devsound1)
|
|
1385 |
//! 3. Initialize DevSound (Mode = EMMFStateRecording; FourCC ={SpecialFourCC,RAW})
|
|
1386 |
//! 4. Set Priority (Priority = {Priority,PriorityVoiceRecording}; Preference = {PriorityPreference,PriorityPreferenceVoiceRecording} ; PriorityState=EMMFStateRecording)
|
|
1387 |
//! 5. Capabilities
|
|
1388 |
//! 6. Set Configuration and delay 10 seconds(Channels = EMMFStereo; Rate = EMMFSampleRate8000Hz)
|
|
1389 |
//! 7. Replace file (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\RoutingPlay8kStereoRecSpeaker.pcm )
|
|
1390 |
//! 8. Set audio input (AudioInput = Input_OutputtoSpeaker)
|
|
1391 |
//! 9. Record 20 seconds
|
|
1392 |
//! 10. Stop 5 seconds
|
|
1393 |
//! 11. Close file
|
|
1394 |
//! 12. Initialize DevSound (Mode = EMMFStatePlaying; FourCC ={SpecialFourCC,RAW})
|
|
1395 |
//! 13. Set Priority (Priority = {Priority,PriorityAudioPlayback}; Preference = {PriorityPreference,PriorityPreferenceAudioPlayback} ; PriorityState=EMMFStatePlaying)
|
|
1396 |
//! 14. Set Configuration(Channels = EMMFStereo; Rate = EMMFSampleRate8000Hz)
|
|
1397 |
//! 15. Open file (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\RoutingPlay8kStereoRecSpeaker.pcm)
|
|
1398 |
//! 16. Play EOF
|
|
1399 |
//! 17. Close file
|
|
1400 |
//! 18. Delete AudioInput instance
|
|
1401 |
//! 19. Delete DevSound instance
|
|
1402 |
//!@SYMTestStatus Verified
|
|
1403 |
//!@SYMTestPriority High
|
|
1404 |
//!@SYMTestExpectedResults
|
|
1405 |
//! AA_Audio routing - Audio playback 8k stereo recording from speaker
|
|
1406 |
//! TEST_BLOCK 001
|
|
1407 |
//! AA_Audio routing - Audio playback 8k stereo recording from speaker
|
|
1408 |
//! TEST_BLOCK 002
|
|
1409 |
//! AA_Audio routing - Audio playback 8k stereo recording from speaker
|
|
1410 |
//!@SYMTestType CIT
|
|
1411 |
|
|
1412 |
|
|
1413 |
CONCURRENT
|
|
1414 |
|
|
1415 |
|
|
1416 |
|
|
1417 |
START_TEST_BLOCK 70 t_devsoundext \multimedia\mmf\devsound\multimedia-mmf-devsoundext-validation-automated-comb_pr.ini
|
|
1418 |
CREATE_OBJECT CMMFDevSound devsound1
|
|
1419 |
COMMAND devsound1 NewL
|
|
1420 |
COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0016-0001-InitializeL_command02
|
|
1421 |
OUTSTANDING
|
|
1422 |
COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0016-0001-SetPrioritySettings_command03
|
|
1423 |
COMMAND devsound1 Capabilities
|
|
1424 |
COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0016-0001-SetConfigL_command05
|
|
1425 |
COMMAND devsound1 OpenFile MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0016-0001-OpenFile_command06
|
|
1426 |
COMMAND devsound1 PlayInitL
|
|
1427 |
ASYNC_DELAY 20000000
|
|
1428 |
COMMAND devsound1 Stop
|
|
1429 |
COMMAND devsound1 CloseFile
|
|
1430 |
COMMAND devsound1 ~
|
|
1431 |
END_TEST_BLOCK
|
|
1432 |
|
|
1433 |
|
|
1434 |
|
|
1435 |
START_TEST_BLOCK 70 t_devsoundext \multimedia\mmf\devsound\multimedia-mmf-devsoundext-validation-automated-comb_pr.ini
|
|
1436 |
CREATE_OBJECT CMMFDevSound devsound1
|
|
1437 |
CREATE_OBJECT CAudioInput audioinput1
|
|
1438 |
COMMAND devsound1 NewL
|
|
1439 |
COMMAND audioinput1 NewL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0016-0002-NewL_command02
|
|
1440 |
COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0016-0002-InitializeL_command03
|
|
1441 |
OUTSTANDING
|
|
1442 |
COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0016-0002-SetPrioritySettings_command04
|
|
1443 |
COMMAND devsound1 Capabilities
|
|
1444 |
COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0016-0002-SetConfigL_command06
|
|
1445 |
DELAY 10000000
|
|
1446 |
COMMAND devsound1 ReplaceFile MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0016-0002-ReplaceFile_command07
|
|
1447 |
COMMAND audioinput1 SetAudioInput MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0016-0002-SetAudioInput_command08
|
|
1448 |
COMMAND !AsyncError=-21 devsound1 RecordInitL
|
|
1449 |
ASYNC_DELAY 20000000
|
|
1450 |
COMMAND devsound1 Stop
|
|
1451 |
DELAY 5000000
|
|
1452 |
COMMAND devsound1 CloseFile
|
|
1453 |
COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0016-0002-InitializeL_command13
|
|
1454 |
OUTSTANDING
|
|
1455 |
COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0016-0002-SetPrioritySettings_command14
|
|
1456 |
COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0016-0002-SetConfigL_command15
|
|
1457 |
COMMAND devsound1 OpenFile MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0016-0002-OpenFile_command16
|
|
1458 |
COMMAND devsound1 PlayInitL
|
|
1459 |
OUTSTANDING
|
|
1460 |
COMMAND devsound1 CloseFile
|
|
1461 |
COMMAND audioinput1 ~
|
|
1462 |
COMMAND devsound1 ~
|
|
1463 |
END_TEST_BLOCK
|
|
1464 |
END_TESTCASE MULTIMEDIA-MMF-DEVSOUNDEXT-VALIDATION-AUTOMATED-COMB_PR-0016
|
|
1465 |
|
|
1466 |
|
|
1467 |
|
|
1468 |
|
|
1469 |
START_TESTCASE MULTIMEDIA-MMF-DEVSOUNDEXT-VALIDATION-AUTOMATED-COMB_PR-0017
|
|
1470 |
|
|
1471 |
//!@SYMTestCaseID MULTIMEDIA-MMF-DEVSOUNDEXT-VALIDATION-AUTOMATED-COMB_PR-0017
|
|
1472 |
//!@SYMAPI
|
|
1473 |
//! CMMFDevSound:: InitializeL(MDevSoundObserver {ref}, TFourCC , TMMFState )
|
|
1474 |
//! CMMFDevSound:: PlayInitL()
|
|
1475 |
//! CMMFDevSound:: RecordInitL()
|
|
1476 |
//! TEST_BLOCK 001
|
|
1477 |
//! CMMFDevSound:: InitializeL(MDevSoundObserver {ref}, TFourCC , TMMFState )
|
|
1478 |
//! CMMFDevSound:: PlayInitL()
|
|
1479 |
//! TEST_BLOCK 002
|
|
1480 |
//! CMMFDevSound:: InitializeL(MDevSoundObserver {ref}, TFourCC , TMMFState )
|
|
1481 |
//! CMMFDevSound:: PlayInitL()
|
|
1482 |
//! CMMFDevSound:: RecordInitL()
|
|
1483 |
//! TEST_BLOCK 003
|
|
1484 |
//! CMMFDevSound:: InitializeL(MDevSoundObserver {ref}, TFourCC , TMMFState )
|
|
1485 |
//! CMMFDevSound:: PlayInitL()
|
|
1486 |
//! CMMFDevSound:: RecordInitL()
|
|
1487 |
//! CAudioInput::SetAudioInputL(TAudioInputArray )
|
|
1488 |
//!@SYMAuthor jguillermo
|
|
1489 |
//!@SYMCreationDate 8/25/2008
|
|
1490 |
//!@SYMTestCaseDesc Audio routing - Playback mixing 48k mono recording from speaker
|
|
1491 |
//!@SYMTestActions
|
|
1492 |
//! TEST_BLOCK 001
|
|
1493 |
//! 1. Create DevSound instance
|
|
1494 |
//! 2. Initialize DevSound (Mode = EMMFStatePlaying; FourCC = MP3)
|
|
1495 |
//! 3. Set Priority (Priority = {Priority,PriorityAudioPlayback}; Preference = {PriorityPreference,PriorityPreferenceNone};PriorityState=EMMFStatePlaying)
|
|
1496 |
//! 4. Capabilities
|
|
1497 |
//! 5. Set Configuration (Channels = EMMFStereo; Rate = EMMFSampleRate44100Hz)
|
|
1498 |
//! 6. Open file (Filename= {drive,mmc}\multimedia\mmf\devsound\MP3\MP3_44.1k_128kbps_st_Test3.mp3)
|
|
1499 |
//! 7. Play 35 seconds
|
|
1500 |
//! 8. Stop
|
|
1501 |
//! 9. Close file
|
|
1502 |
//! 10. Delete DevSound instance
|
|
1503 |
//! TEST_BLOCK 002
|
|
1504 |
//! 1. Create DevSound instance
|
|
1505 |
//! 2. Initialize DevSound (Mode = EMMFStatePlaying; FourCC ={SpecialFourCC,RAW})
|
|
1506 |
//! 3. Set Priority (Priority = {Priority,PriorityAudioPlayback}; Preference = {PriorityPreference,PriorityPreferenceNone};PriorityState=EMMFStatePlaying)
|
|
1507 |
//! 4. Capabilities
|
|
1508 |
//! 5. Set Configuration and delay 5 seconds (Channels = EMMFStereo; Rate = EMMFSampleRate48000Hz)
|
|
1509 |
//! 6. Open file (Filename= {drive,mmc}\multimedia\mmf\devsound\PCM\PCM_48k_16b_signed_st_Test1.pcm)
|
|
1510 |
//! 7. Play 30 seconds
|
|
1511 |
//! 8. Stop
|
|
1512 |
//! 9. Close file
|
|
1513 |
//! 10. Delete DevSound instance
|
|
1514 |
//!
|
|
1515 |
//! TEST_BLOCK 003
|
|
1516 |
//! 1. Create DevSound instance
|
|
1517 |
//! 2. Create AudioInput instance (DevSoundInstanceName = devsound1)
|
|
1518 |
//! 3. Initialize DevSound (Mode = EMMFStateRecording; FourCC ={SpecialFourCC,RAW})
|
|
1519 |
//! 4. Set Priority (Priority = {Priority,PriorityVoiceRecording}; Preference = {PriorityPreference,PriorityPreferenceVoiceRecording};PriorityState=EMMFStateRecording)
|
|
1520 |
//! 5. Capabilities
|
|
1521 |
//! 6. Set Configuration and delay 15 seconds(Channels = EMMFMono; Rate = EMMFSampleRate48000Hz)
|
|
1522 |
//! 7. Replace file (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\RoutingPlayMixingRecSpeaker.pcm)
|
|
1523 |
//! 8. Set audio input (AudioInput = Input_OutputtoSpeaker)
|
|
1524 |
//! 9. Record 15 seconds
|
|
1525 |
//! 10. Stop 15 seconds
|
|
1526 |
//! 11. Close file
|
|
1527 |
//! 12. Initialize DevSound (Mode = EMMFStatePlaying; FourCC ={SpecialFourCC,RAW})
|
|
1528 |
//! 13. Set Priority (Priority = {Priority,PriorityAudioPlayback}; Preference = {PriorityPreference,PriorityPreferenceAudioPlayback};PriorityState=EMMFStatePlaying)
|
|
1529 |
//! 14. Set Configuration(Channels = EMMFMono; Rate = EMMFSampleRate48000Hz)
|
|
1530 |
//! 15. Open file (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\RoutingPlayMixingRecSpeaker.pcm)
|
|
1531 |
//! 16. Play EOF
|
|
1532 |
//! 17. Close file
|
|
1533 |
//! 18. Delete AudioInput instance
|
|
1534 |
//! 19. Delete DevSound instance
|
|
1535 |
//!
|
|
1536 |
//!@SYMTestStatus Verified
|
|
1537 |
//!@SYMTestPriority High
|
|
1538 |
//!@SYMTestExpectedResults
|
|
1539 |
//! AA_Audio routing - Playback mixing 48k mono recording from speaker
|
|
1540 |
//! TEST_BLOCK 001
|
|
1541 |
//! AA_Audio routing - Playback mixing 48k mono recording from speaker
|
|
1542 |
//! TEST_BLOCK 002
|
|
1543 |
//! AA_Audio routing - Playback mixing 48k mono recording from speaker
|
|
1544 |
//! TEST_BLOCK 003
|
|
1545 |
//! AA_Audio routing - Playback mixing 48k mono recording from speaker
|
|
1546 |
//!@SYMTestType CIT
|
|
1547 |
|
|
1548 |
|
|
1549 |
CONCURRENT
|
|
1550 |
|
|
1551 |
|
|
1552 |
|
|
1553 |
START_TEST_BLOCK 70 t_devsoundext \multimedia\mmf\devsound\multimedia-mmf-devsoundext-validation-automated-comb_pr.ini
|
|
1554 |
CREATE_OBJECT CMMFDevSound devsound1
|
|
1555 |
COMMAND devsound1 NewL
|
|
1556 |
COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0017-0001-InitializeL_command02
|
|
1557 |
OUTSTANDING
|
|
1558 |
COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0017-0001-SetPrioritySettings_command03
|
|
1559 |
COMMAND devsound1 Capabilities
|
|
1560 |
COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0017-0001-SetConfigL_command05
|
|
1561 |
COMMAND devsound1 OpenFile MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0017-0001-OpenFile_command06
|
|
1562 |
COMMAND !AsyncError=-13 devsound1 PlayInitL
|
|
1563 |
ASYNC_DELAY 35000000
|
|
1564 |
COMMAND devsound1 Stop
|
|
1565 |
COMMAND devsound1 CloseFile
|
|
1566 |
COMMAND devsound1 ~
|
|
1567 |
END_TEST_BLOCK
|
|
1568 |
|
|
1569 |
|
|
1570 |
|
|
1571 |
START_TEST_BLOCK 70 t_devsoundext \multimedia\mmf\devsound\multimedia-mmf-devsoundext-validation-automated-comb_pr.ini
|
|
1572 |
CREATE_OBJECT CMMFDevSound devsound1
|
|
1573 |
COMMAND devsound1 NewL
|
|
1574 |
COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0017-0002-InitializeL_command02
|
|
1575 |
OUTSTANDING
|
|
1576 |
COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0017-0002-SetPrioritySettings_command03
|
|
1577 |
COMMAND devsound1 Capabilities
|
|
1578 |
COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0017-0002-SetConfigL_command05
|
|
1579 |
DELAY 5000000
|
|
1580 |
COMMAND devsound1 OpenFile MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0017-0002-OpenFile_command06
|
|
1581 |
COMMAND !AsyncError=-13 devsound1 PlayInitL
|
|
1582 |
ASYNC_DELAY 30000000
|
|
1583 |
COMMAND devsound1 Stop
|
|
1584 |
COMMAND devsound1 CloseFile
|
|
1585 |
COMMAND devsound1 ~
|
|
1586 |
END_TEST_BLOCK
|
|
1587 |
|
|
1588 |
|
|
1589 |
|
|
1590 |
START_TEST_BLOCK 70 t_devsoundext \multimedia\mmf\devsound\multimedia-mmf-devsoundext-validation-automated-comb_pr.ini
|
|
1591 |
CREATE_OBJECT CMMFDevSound devsound1
|
|
1592 |
CREATE_OBJECT CAudioInput audioinput1
|
|
1593 |
COMMAND devsound1 NewL
|
|
1594 |
COMMAND audioinput1 NewL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0017-0003-NewL_command02
|
|
1595 |
COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0017-0003-InitializeL_command03
|
|
1596 |
OUTSTANDING
|
|
1597 |
COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0017-0003-SetPrioritySettings_command04
|
|
1598 |
COMMAND devsound1 Capabilities
|
|
1599 |
COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0017-0003-SetConfigL_command06
|
|
1600 |
DELAY 15000000
|
|
1601 |
COMMAND devsound1 ReplaceFile MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0017-0003-ReplaceFile_command07
|
|
1602 |
COMMAND audioinput1 SetAudioInput MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0017-0003-SetAudioInput_command08
|
|
1603 |
COMMAND devsound1 RecordInitL
|
|
1604 |
ASYNC_DELAY 15000000
|
|
1605 |
COMMAND devsound1 Stop
|
|
1606 |
DELAY 15000000
|
|
1607 |
COMMAND devsound1 CloseFile
|
|
1608 |
COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0017-0003-InitializeL_command12
|
|
1609 |
OUTSTANDING
|
|
1610 |
COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0017-0003-SetPrioritySettings_command13
|
|
1611 |
COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0017-0003-SetConfigL_command14
|
|
1612 |
COMMAND devsound1 OpenFile MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0017-0003-OpenFile_command15
|
|
1613 |
COMMAND devsound1 PlayInitL
|
|
1614 |
OUTSTANDING
|
|
1615 |
COMMAND devsound1 CloseFile
|
|
1616 |
COMMAND audioinput1 ~
|
|
1617 |
COMMAND devsound1 ~
|
|
1618 |
END_TEST_BLOCK
|
|
1619 |
END_TESTCASE MULTIMEDIA-MMF-DEVSOUNDEXT-VALIDATION-AUTOMATED-COMB_PR-0017
|
|
1620 |
|