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