os/mm/mmapitest/devsoundexthaitest/scripts/multimedia-mmf-devsoundext-validation-automated-comb_pr.script
changeset 0 bde4ae8d615e
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/os/mm/mmapitest/devsoundexthaitest/scripts/multimedia-mmf-devsoundext-validation-automated-comb_pr.script	Fri Jun 15 03:10:57 2012 +0200
     1.3 @@ -0,0 +1,1620 @@
     1.4 +//
     1.5 +// Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
     1.6 +// All rights reserved.
     1.7 +// This component and the accompanying materials are made available
     1.8 +// under the terms of "Eclipse Public License v1.0"
     1.9 +// which accompanies this distribution, and is available
    1.10 +// at the URL "http://www.eclipse.org/legal/epl-v10.html".
    1.11 +//
    1.12 +// Initial Contributors:
    1.13 +// Nokia Corporation - initial contribution.
    1.14 +//
    1.15 +// Contributors:
    1.16 +//
    1.17 +// Description: 
    1.18 +//
    1.19 +//
    1.20 +//! @file
    1.21 +//! @SYMTestSuiteName multimedia-mmf-devsoundext-validation-automated-comb_pr
    1.22 +//! @SYMScriptTestEnvironment This test script requires a basic ROM.
    1.23 +//
    1.24 +// Tests all public elements of the CMMFDevSound
    1.25 +// classes as a means of confidence that the APIs work as expected.
    1.26 +// 
    1.27 +// The purpose is to provide a regression test suite of PublishedAll
    1.28 +// APIs for: CMMFDevSound
    1.29 +// The tests are fully automated.
    1.30 +//
    1.31 +
    1.32 +
    1.33 +
    1.34 +LOAD_SUITE t_devsoundext
    1.35 +
    1.36 +
    1.37 +START_TESTCASE MULTIMEDIA-MMF-DEVSOUNDEXT-VALIDATION-AUTOMATED-COMB_PR-0002
    1.38 +
    1.39 +//!@SYMTestCaseID		MULTIMEDIA-MMF-DEVSOUNDEXT-VALIDATION-AUTOMATED-COMB_PR-0002
    1.40 +//!@SYMAPI
    1.41 +//!                CMMFDevSound::PlayInitL()
    1.42 +//!                 CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC , TMMFState )
    1.43 +//!                 CAudioOutput::SetAudioOutputL( TAudioOutputPreference aAudioOutput = ENoPreference )
    1.44 +//!                 CAudioInput::SetAudioInputL(TAudioInputArray )
    1.45 +//! TEST_BLOCK 001
    1.46 +//!                CMMFDevSound::PlayInitL()
    1.47 +//!                 CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC , TMMFState )
    1.48 +//!                 CAudioOutput::SetAudioOutputL( TAudioOutputPreference aAudioOutput = ENoPreference )
    1.49 +//! TEST_BLOCK 002
    1.50 +//!                CMMFDevSound::PlayInitL()
    1.51 +//!                 CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC , TMMFState )
    1.52 +//!                 CAudioInput::SetAudioInputL(TAudioInputArray )
    1.53 +//!@SYMAuthor			jguillermo
    1.54 +//!@SYMCreationDate		8/11/2008 
    1.55 +//!@SYMTestCaseDesc		Audio recording during secured audio playback when recording has higher priority
    1.56 +//!@SYMTestActions
    1.57 +//! TEST_BLOCK 001
    1.58 +//!                1. Create DevSound instance
    1.59 +//!                2. Create AudioOutput instance (DevSoundInstanceName = devsound1)
    1.60 +//!                3. Set secure output (SecureOutput = 1)
    1.61 +//!                4. Initialize DevSound (Mode = EMMFStatePlaying; FourCC = MP3)
    1.62 +//!                5. Set Priority (Priority = {Priority,PriorityAudioPlayback}; Preference = {PriorityPreference,PriorityPreferenceAudioPlayback};PriorityState=EMMFStatePlaying)
    1.63 +//!                6. Capabilities
    1.64 +//!                7. Set Configuration (Channels = EMMFStereo; Rate = EMMFSampleRate44100Hz)    
    1.65 +//!                8. Open file (Filename = {drive,mmc}\multimedia\mmf\devsound\MP3\MP3_44.1k_128kbps_st_Test2.mp3)  
    1.66 +//!                9. Play   
    1.67 +//!                10. Close file   
    1.68 +//!                11. Delete AudioOutput instance  
    1.69 +//!                12. Delete DevSound instance
    1.70 +//! TEST_BLOCK 002
    1.71 +//!                1. Create DevSound instance
    1.72 +//!                2. Create AudioInput instance (DevSoundInstanceName = devsound1)
    1.73 +//!                3. Initialize DevSound (Mode = EMMFStateRecording; FourCC = {SpecialFourCC,RAW})
    1.74 +//!                4. Set Priority (Priority = {Priority,PriorityIncomingCall}; Preference = {PriorityPreference,PriorityPreferenceAudioRecording};PriorityState=EMMFStateRecording)
    1.75 +//!                5. Capabilities
    1.76 +//!                6. Set Configuration and delay for 10 seconds (Channels = EMMFMono; Rate = EMMFSampleRate48000Hz)
    1.77 +//!                7. Replace file (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\RecHigherDuringSecPlay.pcm)       
    1.78 +//!                8. Set audio input (AudioInput = Input_OutputtoSpeaker)              
    1.79 +//!                9. Record 10 seconds               
    1.80 +//!                10. Stop                       
    1.81 +//!                11. Close file              
    1.82 +//!                12. Delete AudioOutput instance                  
    1.83 +//!                13. Delete DevSound instance
    1.84 +//!@SYMTestStatus		Verified
    1.85 +//!@SYMTestPriority		High
    1.86 +//!@SYMTestExpectedResults
    1.87 +//!                Audio recording during secured audio playback when recording has higher priority
    1.88 +//! TEST_BLOCK 001
    1.89 +//!                Audio recording during secured audio playback when recording has higher priority_1
    1.90 +//! TEST_BLOCK 002
    1.91 +//!                Audio recording during secured audio playback when recording has higher priority_2
    1.92 +//!@SYMTestType			CIT
    1.93 +
    1.94 +
    1.95 +	CONCURRENT
    1.96 +
    1.97 +
    1.98 +
    1.99 +	START_TEST_BLOCK	100	t_devsoundext	\multimedia\mmf\devsound\multimedia-mmf-devsoundext-validation-automated-comb_pr.ini
   1.100 +		CREATE_OBJECT	CMMFDevSound		devsound1
   1.101 +		CREATE_OBJECT	CAudioOutput		audiooutput1
   1.102 +		COMMAND		devsound1		NewL
   1.103 +		COMMAND		audiooutput1		NewL			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0002-0001-NewL_command02
   1.104 +		COMMAND		audiooutput1		SetSecureOutput			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0002-0001-SetSecureOutput_command03
   1.105 +		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0002-0001-InitializeL_command04
   1.106 +		OUTSTANDING
   1.107 +		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0002-0001-SetPrioritySettings_command05
   1.108 +		COMMAND		devsound1		Capabilities
   1.109 +		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0002-0001-SetConfigL_command07
   1.110 +		COMMAND		devsound1		OpenFile			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0002-0001-OpenFile_command08
   1.111 +		COMMAND		devsound1		PlayInitL
   1.112 +		OUTSTANDING
   1.113 +		COMMAND		devsound1		CloseFile
   1.114 +		COMMAND		audiooutput1		~
   1.115 +		COMMAND		devsound1		~
   1.116 +	END_TEST_BLOCK
   1.117 +
   1.118 +
   1.119 +
   1.120 +	START_TEST_BLOCK	100	t_devsoundext	\multimedia\mmf\devsound\multimedia-mmf-devsoundext-validation-automated-comb_pr.ini
   1.121 +		CREATE_OBJECT	CMMFDevSound		devsound1
   1.122 +		CREATE_OBJECT	CAudioInput		audioinput1
   1.123 +		COMMAND		devsound1		NewL
   1.124 +		COMMAND		audioinput1		NewL			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0002-0002-NewL_command02
   1.125 +		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0002-0002-InitializeL_command03
   1.126 +		OUTSTANDING
   1.127 +		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0002-0002-SetPrioritySettings_command04
   1.128 +		COMMAND		devsound1		Capabilities
   1.129 +		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0002-0002-SetConfigL_command06
   1.130 +		DELAY  10000000 
   1.131 +		COMMAND		devsound1		ReplaceFile			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0002-0002-ReplaceFile_command07
   1.132 +		COMMAND		audioinput1		SetAudioInput			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0002-0002-SetAudioInput_command08
   1.133 +		COMMAND     devsound1		RecordInitL
   1.134 +		ASYNC_DELAY  10000000 
   1.135 +		COMMAND		devsound1		Stop
   1.136 +		COMMAND		devsound1		CloseFile
   1.137 +		COMMAND		audioinput1		~
   1.138 +		COMMAND		devsound1		~
   1.139 +	END_TEST_BLOCK
   1.140 +END_TESTCASE MULTIMEDIA-MMF-DEVSOUNDEXT-VALIDATION-AUTOMATED-COMB_PR-0002
   1.141 +
   1.142 +
   1.143 +
   1.144 +
   1.145 +START_TESTCASE MULTIMEDIA-MMF-DEVSOUNDEXT-VALIDATION-AUTOMATED-COMB_PR-0003
   1.146 +
   1.147 +//!@SYMTestCaseID		MULTIMEDIA-MMF-DEVSOUNDEXT-VALIDATION-AUTOMATED-COMB_PR-0003
   1.148 +//!@SYMAPI
   1.149 +//! TEST_BLOCK 001
   1.150 +//!                CMMFDevSound:: InitializeL(MDevSoundObserver {ref}, TFourCC , TMMFState )
   1.151 +//!                 CAudioOutput::SetAudioOutputL( TAudioOutputPreference aAudioOutput = ENoPreference )
   1.152 +//! TEST_BLOCK 002
   1.153 +//!                CMMFDevSound:: InitializeL(MDevSoundObserver {ref}, TFourCC , TMMFState )
   1.154 +//!@SYMAuthor			jpacho
   1.155 +//!@SYMCreationDate		8/25/2008 
   1.156 +//!@SYMTestCaseDesc		Recording with visualization preferences during secured audio playback
   1.157 +//!@SYMTestActions
   1.158 +//! TEST_BLOCK 001
   1.159 +//!                1. Create DevSound instance
   1.160 +//!                2. CreateAudioOutput instance (DevSoundInstanceName=devsound1)
   1.161 +//!                3. Open file (Filename = {drive,mmc}\multimedia\mmf\devsound\PCM\PCM_48k_16b_signed_st_Test1.pcm)        
   1.162 +//!                4. Set secure output (SecureOutput=1)     
   1.163 +//!                5. Initialize DevSound (Mode = EMMFStatePlaying; FourCC = {SpecialFourCC,RAW})        
   1.164 +//!                6. Set Priority (Priority = {Priority,PriorityAudioPlayback}; Preference = {PriorityPreference,PriorityPreferenceAudioPlayback};PriorityState=EMMFStatePlaying)  
   1.165 +//!                7. Capabilities                
   1.166 +//!                8. Set Configuration (Channels = EMMFStereo; Rate = EMMFSampleRate48000Hz)                       
   1.167 +//!                9.Start play 20s                       
   1.168 +//!                10.Stop                  
   1.169 +//!                11. Close file                 
   1.170 +//!                12. Destroy AudioOutput instance                 
   1.171 +//!                13. Destroy DevSound instance                      
   1.172 +//!                
   1.173 +
   1.174 +//! TEST_BLOCK 002
   1.175 +//!                1. Create DevSound instance
   1.176 +//!                2. Replace file (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\VisRecordDuringSecPlay.pcm)                   
   1.177 +//!                3. Initialize DevSound (Mode = EMMFStateRecording; FourCC = {SpecialFourCC,RAW})                
   1.178 +//!                4. Set Priority (Priority = {Priority,PriorityVisualization}; Preference = {PriorityPreference,PriorityPreferenceVisualization};PriorityState=EMMFStateRecording)  
   1.179 +//!                5. Capabilities                       
   1.180 +//!                6. Set Configuration delay 10s (Channels = EMMFMono; Rate = EMMFSampleRate48000Hz)                    
   1.181 +//!                7. Start record 20s                           
   1.182 +//!                8. Close file                                    
   1.183 +//!                9.Destroy DevSound instance                         
   1.184 +//!                
   1.185 +
   1.186 +//!@SYMTestStatus		Verified
   1.187 +//!@SYMTestPriority		High
   1.188 +//!@SYMTestExpectedResults   1, in TestBlock 001, step 9, Play without error.
   1.189 +//!                          2, in TestBlock 002, step 7, record return expected error -21.
   1.190 +//!@SYMTestType			CIT
   1.191 +
   1.192 +
   1.193 +	CONCURRENT
   1.194 +
   1.195 +
   1.196 +
   1.197 +	START_TEST_BLOCK	90	t_devsoundext	\multimedia\mmf\devsound\multimedia-mmf-devsoundext-validation-automated-comb_pr.ini
   1.198 +		CREATE_OBJECT	CMMFDevSound		devsound1
   1.199 +		CREATE_OBJECT	CAudioOutput		audiooutput1
   1.200 +		COMMAND		devsound1		NewL
   1.201 +		COMMAND		audiooutput1		NewL			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0003-0001-NewL_command02
   1.202 +		COMMAND		devsound1		OpenFile			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0003-0001-OpenFile_command03
   1.203 +		COMMAND		audiooutput1		SetSecureOutput			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0003-0001-SetSecureOutput_command04
   1.204 +		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0003-0001-InitializeL_command05
   1.205 +		OUTSTANDING
   1.206 +		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0003-0001-SetPrioritySettings_command06
   1.207 +		COMMAND		devsound1		Capabilities
   1.208 +		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0003-0001-SetConfigL_command08
   1.209 +		COMMAND		devsound1		PlayInitL
   1.210 +		ASYNC_DELAY  20000000 
   1.211 +		COMMAND		devsound1		Stop
   1.212 +		COMMAND		devsound1		CloseFile
   1.213 +		COMMAND		audiooutput1		~
   1.214 +		COMMAND		devsound1		~
   1.215 +	END_TEST_BLOCK
   1.216 +
   1.217 +
   1.218 +
   1.219 +	START_TEST_BLOCK	90	t_devsoundext	\multimedia\mmf\devsound\multimedia-mmf-devsoundext-validation-automated-comb_pr.ini
   1.220 +		CREATE_OBJECT	CMMFDevSound		devsound1
   1.221 +		COMMAND		devsound1		NewL
   1.222 +		COMMAND		devsound1		ReplaceFile			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0003-0002-ReplaceFile_command02
   1.223 +		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0003-0002-InitializeL_command03
   1.224 +		OUTSTANDING
   1.225 +		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0003-0002-SetPrioritySettings_command04
   1.226 +		COMMAND		devsound1		Capabilities
   1.227 +		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0003-0002-SetConfigL_command06
   1.228 +		DELAY  10000000 
   1.229 +		COMMAND  !AsyncError=-21 devsound1   RecordInitL
   1.230 +		ASYNC_DELAY  20000000 
   1.231 +		COMMAND		devsound1		CloseFile
   1.232 +		COMMAND		devsound1		~
   1.233 +	END_TEST_BLOCK
   1.234 +END_TESTCASE MULTIMEDIA-MMF-DEVSOUNDEXT-VALIDATION-AUTOMATED-COMB_PR-0003
   1.235 +
   1.236 +
   1.237 +START_TESTCASE MULTIMEDIA-MMF-DEVSOUNDEXT-VALIDATION-AUTOMATED-COMB_PR-0004
   1.238 +
   1.239 +//!@SYMTestCaseID		MULTIMEDIA-MMF-DEVSOUNDEXT-VALIDATION-AUTOMATED-COMB_PR-0004
   1.240 +//!@SYMAPI
   1.241 +//!                CMMFDevSound:: InitializeL(MDevSoundObserver {ref}, TFourCC , TMMFState )
   1.242 +//!                 CMMFDevSound:: PlayInitL()
   1.243 +//!                 CMMFDevSound:: RecordInitL()
   1.244 +//! TEST_BLOCK 001
   1.245 +//!                CMMFDevSound:: InitializeL(MDevSoundObserver {ref}, TFourCC , TMMFState )
   1.246 +//!                 CMMFDevSound:: PlayInitL()
   1.247 +//!                 CMMFDevSound:: RecordInitL()
   1.248 +//!                 CAudioInput::SetAudioInputL(TAudioInputArray )
   1.249 +//! TEST_BLOCK 002
   1.250 +//!                CMMFDevSound:: InitializeL(MDevSoundObserver {ref}, TFourCC , TMMFState )
   1.251 +//!                 CMMFDevSound:: PlayInitL()
   1.252 +//!                 CMMFDevSound:: RecordInitL()
   1.253 +//!                 CAudioInput::SetAudioInputL(TAudioInputArray )
   1.254 +//! TEST_BLOCK 003
   1.255 +//!                CMMFDevSound:: InitializeL(MDevSoundObserver {ref}, TFourCC , TMMFState )
   1.256 +//!                 CMMFDevSound:: PlayInitL()
   1.257 +//!                 CAudioOutput::SetAudioOutputL( TAudioOutputPreference aAudioOutput = ENoPreference )
   1.258 +//!@SYMAuthor			jguillermo
   1.259 +//!@SYMCreationDate		8/25/2008 
   1.260 +//!@SYMTestCaseDesc		Secured audio playback during multiple recordings
   1.261 +//!@SYMTestActions
   1.262 +//! TEST_BLOCK 001
   1.263 +//!                1. Create DevSound instance
   1.264 +//!                2. Create AudioInput instance (DevSoundInstanceName = devsound1)
   1.265 +//!                3. Initialize DevSound (Mode = EMMFStateRecording; FourCC = {SpecialFourCC,RAW})
   1.266 +//!                4. Set Priority (Priority = {Priority,PriorityVisualization}; Preference = {PriorityPreference,PriorityPreferenceAudioRecording} ; PriorityState=EMMFStateRecording)
   1.267 +//!                5. Capabilities
   1.268 +//!                6. Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate48000Hz)
   1.269 +//!                7. Replace file (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\SecPlayDuringMultipleRecordings1.pcm)      
   1.270 +//!                8. Set audio input (AudioInput = Input_OutputtoSpeaker)                      
   1.271 +//!                9. Record 30 seconds                                                
   1.272 +//!                10. Close file                                              
   1.273 +//!                11. Delete AudioInput instance                
   1.274 +//!                12. Delete DevSound instance
   1.275 +//! TEST_BLOCK 002
   1.276 +//!                1. Create DevSound instance
   1.277 +//!                2. Create AudioInput instance (DevSoundInstanceName = devsound1)
   1.278 +//!                3. Initialize DevSound (Mode = EMMFStateRecording; FourCC = {SpecialFourCC,RAW})
   1.279 +//!                4. Set Priority (Priority = {Priority,PriorityVisualization}; Preference = {PriorityPreference,PriorityPreferenceAudioRecording} ; PriorityState=EMMFStateRecording)
   1.280 +//!                5. Capabilities
   1.281 +//!                6. Set Configuration and delay 10 seconds(Channels = EMMFMono; Rate = EMMFSampleRate48000Hz)
   1.282 +//!                7. Replace file (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\SecPlayDuringMultipleRecordings2.pcm)                   
   1.283 +//!                8. Set audio input (AudioInput = Input_OutputtoSpeaker)     
   1.284 +//!                9. Record 20 seconds                                   
   1.285 +//!                10. Close file                                               
   1.286 +//!                11. Delete AudioInput instance                
   1.287 +//!                12. Delete DevSound instance
   1.288 +//! TEST_BLOCK 003
   1.289 +//!                1. Create DevSound instance
   1.290 +//!                2. Create AudioOutput instance (DevSoundInstanceName = devsound1)
   1.291 +//!                3. Initialize DevSound (Mode = EMMFStatePlaying; FourCC = {SpecialFourCC,RAW})
   1.292 +//!                4. Set Priority (Priority = {Priority,PriorityAudioPlayback}; Preference = {PriorityPreference,PriorityPreferenceSWISPlayback} ; PriorityState=EMMFStatePlaying)
   1.293 +//!                5. Capabilities
   1.294 +//!                6. Set Configuration and delay 20 seconds(Channels = EMMFStereo; Rate = EMMFSampleRate44100Hz)
   1.295 +//!                7. Open file (Filename = {drive,mmc}\multimedia\mmf\devsound\MP3\MP3_44.1k_128kbps_st_Test2.mp3)                 
   1.296 +//!                8. Set secure output (SecureOutput = 1)                             
   1.297 +//!                9. Play 10 seconds                                                          
   1.298 +//!                10. Stop                                                    
   1.299 +//!                11. Close file                                      
   1.300 +//!                12. Delete AudioOutput instance                 
   1.301 +//!                13. Delete DevSound instance
   1.302 +//!@SYMTestStatus		Verified
   1.303 +//!@SYMTestPriority		High
   1.304 +//!@SYMTestExpectedResults
   1.305 +//!                AA_Secured audio playback during multiple recordings
   1.306 +//! TEST_BLOCK 001
   1.307 +//!                AA_Secured audio playback during multiple recordings
   1.308 +//! TEST_BLOCK 002
   1.309 +//!                AA_Secured audio playback during multiple recordings
   1.310 +//! TEST_BLOCK 003
   1.311 +//!                AA_Secured audio playback during multiple recordings
   1.312 +//!@SYMTestType			CIT
   1.313 +
   1.314 +
   1.315 +	CONCURRENT
   1.316 +
   1.317 +
   1.318 +
   1.319 +	START_TEST_BLOCK	300	t_devsoundext	\multimedia\mmf\devsound\multimedia-mmf-devsoundext-validation-automated-comb_pr.ini
   1.320 +		CREATE_OBJECT	CMMFDevSound		devsound2
   1.321 +		CREATE_OBJECT	CAudioInput		audioinput2
   1.322 +		COMMAND		devsound2		NewL
   1.323 +		COMMAND		audioinput2		NewL			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0004-0001-NewL_command02
   1.324 +		COMMAND		devsound2		InitializeL			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0004-0001-InitializeL_command03
   1.325 +		OUTSTANDING
   1.326 +		COMMAND		devsound2		SetPrioritySettings			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0004-0001-SetPrioritySettings_command04
   1.327 +		COMMAND		devsound2		Capabilities
   1.328 +		COMMAND		devsound2		SetConfigL			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0004-0001-SetConfigL_command06
   1.329 +		COMMAND		devsound2		ReplaceFile			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0004-0001-ReplaceFile_command07
   1.330 +		COMMAND		audioinput2		SetAudioInput			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0004-0001-SetAudioInput_command08
   1.331 +		COMMAND	!AsyncError=-13 devsound2  RecordInitL
   1.332 +		ASYNC_DELAY  30000000
   1.333 +		COMMAND		devsound2		Stop 
   1.334 +		COMMAND		devsound2		CloseFile
   1.335 +		COMMAND		audioinput2		~
   1.336 +		COMMAND		devsound2		~
   1.337 +	END_TEST_BLOCK
   1.338 +
   1.339 +
   1.340 +
   1.341 +	START_TEST_BLOCK	300	t_devsoundext	\multimedia\mmf\devsound\multimedia-mmf-devsoundext-validation-automated-comb_pr.ini
   1.342 +		CREATE_OBJECT	CMMFDevSound		devsound3
   1.343 +		CREATE_OBJECT	CAudioInput		audioinput3
   1.344 +		COMMAND		devsound3		NewL
   1.345 +		COMMAND		audioinput3		NewL			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0004-0002-NewL_command02
   1.346 +		COMMAND		devsound3		InitializeL			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0004-0002-InitializeL_command03
   1.347 +		OUTSTANDING
   1.348 +		COMMAND		devsound3		SetPrioritySettings			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0004-0002-SetPrioritySettings_command04
   1.349 +		COMMAND		devsound3		Capabilities
   1.350 +		COMMAND		devsound3		SetConfigL			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0004-0002-SetConfigL_command06
   1.351 +		DELAY  10000000 
   1.352 +		COMMAND		devsound3		ReplaceFile			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0004-0002-ReplaceFile_command07
   1.353 +		COMMAND		audioinput3		SetAudioInput			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0004-0002-SetAudioInput_command08
   1.354 +		COMMAND	  !AsyncError=-21 devsound3   RecordInitL
   1.355 +		ASYNC_DELAY  20000000 
   1.356 +		COMMAND		devsound3		CloseFile
   1.357 +		COMMAND		audioinput3		~
   1.358 +		COMMAND		devsound3		~
   1.359 +	END_TEST_BLOCK
   1.360 +
   1.361 +
   1.362 +
   1.363 +	START_TEST_BLOCK	300	t_devsoundext	\multimedia\mmf\devsound\multimedia-mmf-devsoundext-validation-automated-comb_pr.ini
   1.364 +		CREATE_OBJECT	CMMFDevSound		devsound1
   1.365 +		CREATE_OBJECT	CAudioOutput		audiooutput1
   1.366 +		COMMAND		devsound1		NewL
   1.367 +		COMMAND		audiooutput1		NewL			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0004-0003-NewL_command02
   1.368 +		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0004-0003-InitializeL_command03
   1.369 +		OUTSTANDING
   1.370 +		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0004-0003-SetPrioritySettings_command04
   1.371 +		COMMAND		devsound1		Capabilities
   1.372 +		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0004-0003-SetConfigL_command06
   1.373 +		DELAY  20000000 
   1.374 +		COMMAND		devsound1		OpenFile			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0004-0003-OpenFile_command07
   1.375 +		COMMAND		audiooutput1		SetSecureOutput			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0004-0003-SetSecureOutput_command08
   1.376 +		COMMAND		devsound1		PlayInitL
   1.377 +		ASYNC_DELAY  10000000 
   1.378 +		COMMAND		devsound1		Stop
   1.379 +		COMMAND		devsound1		CloseFile
   1.380 +		COMMAND		audiooutput1		~
   1.381 +		COMMAND		devsound1		~
   1.382 +	END_TEST_BLOCK
   1.383 +END_TESTCASE MULTIMEDIA-MMF-DEVSOUNDEXT-VALIDATION-AUTOMATED-COMB_PR-0004
   1.384 +
   1.385 +
   1.386 +
   1.387 +START_TESTCASE MULTIMEDIA-MMF-DEVSOUNDEXT-VALIDATION-AUTOMATED-COMB_PR-0006
   1.388 +
   1.389 +//!@SYMTestCaseID		MULTIMEDIA-MMF-DEVSOUNDEXT-VALIDATION-AUTOMATED-COMB_PR-0006
   1.390 +//!@SYMAPI
   1.391 +//!                CMMFDevSound:: InitializeL(MDevSoundObserver {ref}, TFourCC , TMMFState )
   1.392 +//!                 CMMFDevSound:: PlayInitL()
   1.393 +//!                 CMMFDevSound:: RecordInitL()
   1.394 +//! TEST_BLOCK 001
   1.395 +//!                CMMFDevSound:: InitializeL(MDevSoundObserver {ref}, TFourCC , TMMFState )
   1.396 +//!                 CMMFDevSound:: PlayInitL()
   1.397 +//!                 CMMFDevSound:: RecordInitL()
   1.398 +//!                 CAudioInput::SetAudioInputL(TAudioInputArray )
   1.399 +//! TEST_BLOCK 002
   1.400 +//!                CMMFDevSound:: InitializeL(MDevSoundObserver {ref}, TFourCC , TMMFState )
   1.401 +//!                 CMMFDevSound:: PlayInitL()
   1.402 +//!                 CAudioOutput::SetAudioOutputL( TAudioOutputPreference aAudioOutput = ENoPreference )
   1.403 +//!@SYMAuthor			jguillermo
   1.404 +//!@SYMCreationDate		8/25/2008 
   1.405 +//!@SYMTestCaseDesc		Secured SWIS playback during audio recording when recording has higher priority
   1.406 +//!@SYMTestActions
   1.407 +//! TEST_BLOCK 001
   1.408 +//!                1. Create DevSound instance
   1.409 +//!                2. Create AudioInput instance (DevSoundInstanceName = devsound1)
   1.410 +//!                3. Initialize DevSound (Mode = EMMFStateRecording; FourCC ={SpecialFourCC,RAW})
   1.411 +//!                4. Set Priority (Priority = {Priority,PriorityIncomingCall}; Preference = {PriorityPreference,PriorityPreferenceAudioRecording};PriorityState=EMMFStateRecording)
   1.412 +//!                5. Capabilities
   1.413 +//!                6. Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate48000Hz)
   1.414 +//!                7. Replace file (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\SecPlayDuringRecHigher.pcm)    
   1.415 +//!                8. Set audio input (AudioInput = Input_OutputtoSpeaker)         
   1.416 +//!                9. Record 20 seconds                 
   1.417 +//!                10. Stop                         
   1.418 +//!                11. Close file                 
   1.419 +//!                12. Delete AudioInput instance               
   1.420 +//!                13. Delete DevSound instance
   1.421 +//! TEST_BLOCK 002
   1.422 +//!                1. Create DevSound instance
   1.423 +//!                2. Create AudioOutput instance (DevSoundInstanceName = devsound1)
   1.424 +//!                3. Initialize DevSound (Mode = EMMFStatePlaying; FourCC = MP3 )
   1.425 +//!                4. Set Priority (Priority = {Priority,PrioritySWISPlayback}; Preference = {PriorityPreference,PriorityPreferenceSWISPlayback};PriorityState=EMMFStatePlaying)
   1.426 +//!                5. Capabilities
   1.427 +//!                6. Set Configuration and delay 10 seconds(Channels = EMMFStereo; Rate = EMMFSampleRate44100Hz)
   1.428 +//!                7. Open file (Filename = {drive,mmc}\multimedia\mmf\devsound\MP3\MP3_44.1k_128kbps_st_Test2.mp3)            
   1.429 +//!                8. Set secure output (SecureOutput = 1)                      
   1.430 +//!                9. Play EOF                     
   1.431 +//!                10. Close file                  
   1.432 +//!                11. Delete AudioOutput instance              
   1.433 +//!                12. Delete DevSound instance
   1.434 +//!@SYMTestStatus		Verified
   1.435 +//!@SYMTestPriority		High
   1.436 +//!@SYMTestExpectedResults
   1.437 +//!                AA_Secured SWIS playback during audio recording when recording has higher priority
   1.438 +//! TEST_BLOCK 001
   1.439 +//!                AA_Secured SWIS playback during audio recording when recording has higher priority
   1.440 +//! TEST_BLOCK 002
   1.441 +//!                AA_Secured SWIS playback during audio recording when recording has higher priority
   1.442 +//!@SYMTestType			CIT
   1.443 +
   1.444 +
   1.445 +	CONCURRENT
   1.446 +
   1.447 +
   1.448 +
   1.449 +	START_TEST_BLOCK	100	t_devsoundext	\multimedia\mmf\devsound\multimedia-mmf-devsoundext-validation-automated-comb_pr.ini
   1.450 +		CREATE_OBJECT	CMMFDevSound		devsound1
   1.451 +		CREATE_OBJECT	CAudioInput		audioinput1
   1.452 +		COMMAND		devsound1		NewL
   1.453 +		COMMAND		audioinput1		NewL			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0006-0001-NewL_command02
   1.454 +		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0006-0001-InitializeL_command03
   1.455 +		OUTSTANDING
   1.456 +		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0006-0001-SetPrioritySettings_command04
   1.457 +		COMMAND		devsound1		Capabilities
   1.458 +		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0006-0001-SetConfigL_command06
   1.459 +		COMMAND		devsound1		ReplaceFile			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0006-0001-ReplaceFile_command07
   1.460 +		COMMAND		audioinput1		SetAudioInput			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0006-0001-SetAudioInput_command08
   1.461 +		COMMAND		devsound1		RecordInitL
   1.462 +		ASYNC_DELAY  20000000 
   1.463 +		COMMAND		devsound1		Stop
   1.464 +		COMMAND		devsound1		CloseFile
   1.465 +		COMMAND		audioinput1		~
   1.466 +		COMMAND		devsound1		~
   1.467 +	END_TEST_BLOCK
   1.468 +
   1.469 +
   1.470 +
   1.471 +	START_TEST_BLOCK	100	t_devsoundext	\multimedia\mmf\devsound\multimedia-mmf-devsoundext-validation-automated-comb_pr.ini
   1.472 +		CREATE_OBJECT	CMMFDevSound		devsound1
   1.473 +		CREATE_OBJECT	CAudioOutput		audiooutput1
   1.474 +		COMMAND		devsound1		NewL
   1.475 +		COMMAND		audiooutput1		NewL			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0006-0002-NewL_command02
   1.476 +		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0006-0002-InitializeL_command03
   1.477 +		OUTSTANDING
   1.478 +		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0006-0002-SetPrioritySettings_command04
   1.479 +		COMMAND		devsound1		Capabilities
   1.480 +		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0006-0002-SetConfigL_command06
   1.481 +		DELAY  10000000 
   1.482 +		COMMAND		devsound1		OpenFile			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0006-0002-OpenFile_command07
   1.483 +		COMMAND		audiooutput1		SetSecureOutput			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0006-0002-SetSecureOutput_command08
   1.484 +		COMMAND	!AsyncError=-21	devsound1   PlayInitL
   1.485 +		OUTSTANDING
   1.486 +		COMMAND		devsound1		CloseFile
   1.487 +		COMMAND		audiooutput1		~
   1.488 +		COMMAND		devsound1		~
   1.489 +	END_TEST_BLOCK
   1.490 +END_TESTCASE MULTIMEDIA-MMF-DEVSOUNDEXT-VALIDATION-AUTOMATED-COMB_PR-0006
   1.491 +
   1.492 +
   1.493 +
   1.494 +
   1.495 +START_TESTCASE MULTIMEDIA-MMF-DEVSOUNDEXT-VALIDATION-AUTOMATED-COMB_PR-0007
   1.496 +
   1.497 +//!@SYMTestCaseID		MULTIMEDIA-MMF-DEVSOUNDEXT-VALIDATION-AUTOMATED-COMB_PR-0007
   1.498 +//!@SYMAPI
   1.499 +//! TEST_BLOCK 001
   1.500 +//!                CMMFDevSound::InitializeL(MDevSoundObserver{ref}, TFourCC, TMMFState)
   1.501 +//!                CMMFDevSound::SetPrioritySettings(const TMMFPrioritySettings{ref})
   1.502 +//!                CMMFDevSound::Capabilities()
   1.503 +//!                CMMFDevSound::SetConfigL(const TMMFCapabilities{ref})
   1.504 +//!                CMMFDevSound::PlayInitL()
   1.505 +//!                CMMFDevSound::Stop()
   1.506 +//! TEST_BLOCK 002
   1.507 +//!                CMMFDevSound::InitializeL(MDevSoundObserver{ref}, TFourCC, TMMFState)
   1.508 +//!                CMMFDevSound::SetPrioritySettings(const TMMFPrioritySettings{ref})
   1.509 +//!                CMMFDevSound::Capabilities()
   1.510 +//!                CMMFDevSound::SetConfigL(const TMMFCapabilities{ref})
   1.511 +//!                CMMFAudioInput::SetAudioInputL(TAudioInputArray{ref})
   1.512 +//!                CMMFDevSound::RecordInitL()
   1.513 +//!                CMMFDevSound::Stop()
   1.514 +//!                CMMFDevSound::PlayInitL()
   1.515 +//!                
   1.516 +//!@SYMAuthor			myanez
   1.517 +//!@SYMCreationDate		8/25/2008 
   1.518 +//!@SYMTestCaseDesc		Audio routing - Audio playback 16k mono recording from speaker
   1.519 +//!@SYMTestActions
   1.520 +//! TEST_BLOCK 001
   1.521 +//!                1. Create Devsound Instance 
   1.522 +//!                2. Open File (Filename = {drive,mmc}\multimedia\mmf\devsound\MP3\MP3_48k_256kbps_st_1kHzsine_st2mono.mp3)        
   1.523 +//!                3. Initialize DevSound (Mode = EMMFStatePlaying; FourCC = MP3)                      
   1.524 +//!                4. Set Priority (Priority = {Priority,PriorityAudioPlayback}; Preference = {PriorityPreference,PriorityPreferenceNone};PriorityState=EMMFStatePlaying)   
   1.525 +//!                5. Capabilities             
   1.526 +//!                6. Set Configuration (Channels = EMMFStereo; Rate = EMMFSampleRate48000Hz)         
   1.527 +//!                7. Start Play for 20 seconds                  
   1.528 +//!                8. Stop                
   1.529 +//!                9. Close File              
   1.530 +//!                10. Destroy Devsound Instance         
   1.531 +//!                
   1.532 +//! TEST_BLOCK 002
   1.533 +//!                1. Create DevSound Instance
   1.534 +//!                2. Create AudioInput Instance (DevSoundInstanceName = devsound1)
   1.535 +//!                3. Replace File (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\RoutingPlay16kMonoRecSpeaker.pcm) 
   1.536 +//!                4. Initialize DevSound (Mode = EMMFStateRecording; FourCC = P16)          
   1.537 +//!                5. Set Priority (Priority = {Priority,PriorityVoiceRecording}; Preference = {PriorityPreference,PriorityPreferenceVoiceRecording};PriorityState=EMMFStateRecording)  
   1.538 +//!                6. Capabilities     
   1.539 +//!                7. Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate16000Hz)    
   1.540 +//!                8. Stop for 10 seconds          
   1.541 +//!                9. Set Audio Input (AudioInput = Input_OutputtoSpeaker)         
   1.542 +//!                10. Start Record for 20 seconds          
   1.543 +//!                11. Stop for 5 seconds
   1.544 +//!                12. Close File         
   1.545 +//!                13. Open File  (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\RoutingPlay16kMonoRecSpeaker.pcm) 
   1.546 +//!                14. 12.  Initialize DevSound (Mode = EMMFStatePlaying; FourCC = P16)            
   1.547 +//!                15. 13. Set Priority (Priority = {Priority,PriorityAudioPlayback}; Preference = {PriorityPreference,PriorityPreferenceAudioPlayback};PriorityState=EMMFStatePlaying)
   1.548 +//!                16. 14. Capabilities     
   1.549 +//!                17. 15. Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate16000Hz)                    
   1.550 +//!                18. 17. Start Play       
   1.551 +//!                19. 18. Close File         
   1.552 +//!                20. 19. Destroy AudioInput Instance        
   1.553 +//!                21. Destroy DevSound Instance
   1.554 +//!@SYMTestStatus		Verified
   1.555 +//!@SYMTestPriority		High
   1.556 +//!@SYMTestExpectedResults
   1.557 +//!                Audio playback 16k mono recording from speaker
   1.558 +//! TEST_BLOCK 001
   1.559 +//!                Play MP3 File with Audio Playback Priority and NonePreference, Expecting Error -13
   1.560 +//! TEST_BLOCK 002
   1.561 +//!                Record with Voice Recording Priority and Voice Recording Preference; Play with Audio PLayback Priority  and Audio PLayback Preference
   1.562 +//!@SYMTestType			CIT
   1.563 +
   1.564 +
   1.565 +	CONCURRENT
   1.566 +
   1.567 +
   1.568 +
   1.569 +	START_TEST_BLOCK	60	t_devsoundext	\multimedia\mmf\devsound\multimedia-mmf-devsoundext-validation-automated-comb_pr.ini
   1.570 +		CREATE_OBJECT	CMMFDevSound		devsound1
   1.571 +		COMMAND		devsound1		NewL
   1.572 +		COMMAND		devsound1		OpenFile			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0007-0001-OpenFile_command02
   1.573 +		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0007-0001-InitializeL_command03
   1.574 +		OUTSTANDING
   1.575 +		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0007-0001-SetPrioritySettings_command04
   1.576 +		COMMAND		devsound1		Capabilities
   1.577 +		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0007-0001-SetConfigL_command06
   1.578 +		COMMAND	!AsyncError=-13	devsound1       PlayInitL
   1.579 +		ASYNC_DELAY  20000000 
   1.580 +		COMMAND		devsound1		Stop
   1.581 +		COMMAND		devsound1		CloseFile
   1.582 +		COMMAND		devsound1		~
   1.583 +	END_TEST_BLOCK
   1.584 +
   1.585 +
   1.586 +
   1.587 +	START_TEST_BLOCK	65	t_devsoundext	\multimedia\mmf\devsound\multimedia-mmf-devsoundext-validation-automated-comb_pr.ini
   1.588 +		CREATE_OBJECT	CMMFDevSound		devsound1
   1.589 +		CREATE_OBJECT	CAudioInput		audioinput1
   1.590 +		COMMAND		devsound1		NewL
   1.591 +		COMMAND		audioinput1		NewL			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0007-0002-NewL_command02
   1.592 +		COMMAND		devsound1		ReplaceFile			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0007-0002-ReplaceFile_command03
   1.593 +		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0007-0002-InitializeL_command04
   1.594 +		OUTSTANDING
   1.595 +		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0007-0002-SetPrioritySettings_command05
   1.596 +		COMMAND		devsound1		Capabilities
   1.597 +		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0007-0002-SetConfigL_command07
   1.598 +		COMMAND		devsound1		Stop
   1.599 +		DELAY  10000000 
   1.600 +		COMMAND		audioinput1		SetAudioInput			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0007-0002-SetAudioInput_command09
   1.601 +		COMMAND		devsound1		RecordInitL
   1.602 +		ASYNC_DELAY  20000000 
   1.603 +		COMMAND		devsound1		Stop
   1.604 +		DELAY  5000000 
   1.605 +		COMMAND		devsound1		CloseFile
   1.606 +		COMMAND		devsound1		OpenFile			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0007-0002-OpenFile_command13
   1.607 +		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0007-0002-InitializeL_command14
   1.608 +		OUTSTANDING
   1.609 +		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0007-0002-SetPrioritySettings_command15
   1.610 +		COMMAND		devsound1		Capabilities
   1.611 +		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0007-0002-SetConfigL_command17
   1.612 +		COMMAND		devsound1		PlayInitL
   1.613 +		OUTSTANDING
   1.614 +		COMMAND		devsound1		CloseFile
   1.615 +		COMMAND		audioinput1		~
   1.616 +		COMMAND		devsound1		~
   1.617 +	END_TEST_BLOCK
   1.618 +END_TESTCASE MULTIMEDIA-MMF-DEVSOUNDEXT-VALIDATION-AUTOMATED-COMB_PR-0007
   1.619 +
   1.620 +
   1.621 +
   1.622 +
   1.623 +START_TESTCASE MULTIMEDIA-MMF-DEVSOUNDEXT-VALIDATION-AUTOMATED-COMB_PR-0008
   1.624 +
   1.625 +//!@SYMTestCaseID		MULTIMEDIA-MMF-DEVSOUNDEXT-VALIDATION-AUTOMATED-COMB_PR-0008
   1.626 +//!@SYMAPI
   1.627 +//! TEST_BLOCK 001
   1.628 +//!                CMMFDevSound::InitializeL(MDevSoundObserver{ref}, TFourCC{ref}, TMMFState)
   1.629 +//!                CMMFDevSound::SetPrioritySettings(const TMMFPrioritySettings{ref})
   1.630 +//!                CMMFDevSound::Capabilities()
   1.631 +//!                CMMFDevSound::SetConfigL(const TMMFCapabilities{ref})
   1.632 +//!                CMMFDevSound::PlayInitL()
   1.633 +//!                CMMFDevSound::Stop()
   1.634 +//! TEST_BLOCK 002
   1.635 +//!                CMMFDevSound::InitializeL(MDevSoundObserver{ref}, TFourCC, TMMFState)
   1.636 +//!                CMMFDevSound::SetPrioritySettings(const TMMFPrioritySettings{ref})
   1.637 +//!                CMMFDevSound::Capabilities()
   1.638 +//!                CMMFDevSound::SetConfigL(const TMMFCapabilities{ref})
   1.639 +//!                CMMFAudioInput::SetAudioInputL(TAudioInputArray)
   1.640 +//!                CMMFDevSound::RecordInitL()
   1.641 +//!                CMMFDevSound::Stop()
   1.642 +//!                CMMFDevSound::PlayInitL()
   1.643 +//!                
   1.644 +//!@SYMAuthor			myanez
   1.645 +//!@SYMCreationDate		8/25/2008 
   1.646 +//!@SYMTestCaseDesc		Audio routing - Audio playback 16k stereo recording from speaker
   1.647 +//!@SYMTestActions
   1.648 +//! TEST_BLOCK 001
   1.649 +//!                1. Create Devsound Instance 
   1.650 +//!                2. Open File (Filename = {drive,mmc}\multimedia\mmf\devsound\MP3\MP3_44.1k_128kbps_st_Test2.mp3)        
   1.651 +//!                3. Initialize DevSound (Mode = EMMFStatePlaying; FourCC = MP3)                
   1.652 +//!                4. Set Priority (Priority = {Priority,PriorityAudioPlayback}; Preference = {PriorityPreference,PriorityPreferenceNone} ; PriorityState=EMMFStatePlaying)   
   1.653 +//!                5. Capabilities                 
   1.654 +//!                6. Set Configuration (Channels = EMMFStereo; Rate = EMMFSampleRate48000Hz)              
   1.655 +//!                7. Play for 20 seconds                            
   1.656 +//!                8. Stop                     
   1.657 +//!                9. Close File            
   1.658 +//!                10. Destroy Devsound Instance
   1.659 +//! TEST_BLOCK 002
   1.660 +//!                1. Create DevSound Instance
   1.661 +//!                2. Create AudioInput Instance (DevSoundInstanceName = devsound1)
   1.662 +//!                3. Replace File (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\RoutingPlay16kStereoRecSpeaker.pcm)       
   1.663 +//!                4. Initialize DevSound (Mode = EMMFStateRecording; FourCC = P16)                 
   1.664 +//!                5. Set Priority (Priority = {Priority,PriorityVoiceRecording}; Preference = {PriorityPreference,PriorityPreferenceVoiceRecording} ; PriorityState=EMMFStateRecording) 
   1.665 +//!                6. Capabilities          
   1.666 +//!                7. Set Configuration (Channels = EMMFStereo; Rate = EMMFSampleRate16000Hz)      
   1.667 +//!                8. Stop for 10 seconds             
   1.668 +//!                9. Set Audio Input (AudioInput = Input_OutputtoSpeaker)           
   1.669 +//!                10. Start Record for 20 seconds               
   1.670 +//!                11. Stop for 5 seconds                              
   1.671 +//!                12. Initialize DevSound (Mode = EMMFStatePlaying; FourCC = P16)            
   1.672 +//!                13. Set Priority (Priority = {Priority,PriorityAudioPlayback}; Preference = {PriorityPreference,PriorityPreferenceAudioPlayback} ; PriorityState=EMMFStatePlaying)
   1.673 +//!                14. Capabilities        
   1.674 +//!                15. Set Configuration (Channels = EMMFStereo; Rate = EMMFSampleRate16000Hz)          
   1.675 +//!                16. Start File Positions           
   1.676 +//!                17. Start Play           
   1.677 +//!                18.Close File           
   1.678 +//!                19. Destroy AudioInput Instance         
   1.679 +//!                20. Destroy DevSound Instance
   1.680 +//!@SYMTestStatus		Verified
   1.681 +//!@SYMTestPriority		High
   1.682 +//!@SYMTestExpectedResults
   1.683 +//!                Audio playback 16k stereo recording from speaker
   1.684 +//! TEST_BLOCK 001
   1.685 +//!                Play MP3 File with Audio Playback Priority and NonePreference.
   1.686 +//! TEST_BLOCK 002
   1.687 +//!                Record with Voice Recording Priority and Voice Recording Preference; Play with Audio PLayback Priority  and Audio PLayback Preference
   1.688 +//!@SYMTestType			CIT
   1.689 +
   1.690 +
   1.691 +	CONCURRENT
   1.692 +
   1.693 +
   1.694 +
   1.695 +	START_TEST_BLOCK	60	t_devsoundext	\multimedia\mmf\devsound\multimedia-mmf-devsoundext-validation-automated-comb_pr.ini
   1.696 +		CREATE_OBJECT	CMMFDevSound		devsound1
   1.697 +		COMMAND		devsound1		NewL
   1.698 +		COMMAND		devsound1		OpenFile			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0008-0001-OpenFile_command02
   1.699 +		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0008-0001-InitializeL_command03
   1.700 +		OUTSTANDING
   1.701 +		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0008-0001-SetPrioritySettings_command04
   1.702 +		COMMAND		devsound1		Capabilities
   1.703 +		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0008-0001-SetConfigL_command06
   1.704 +		COMMAND	!AsyncError=-13	devsound1       PlayInitL
   1.705 +		ASYNC_DELAY  20000000 
   1.706 +		COMMAND		devsound1		Stop
   1.707 +		COMMAND		devsound1		CloseFile
   1.708 +		COMMAND		devsound1		~
   1.709 +	END_TEST_BLOCK
   1.710 +
   1.711 +
   1.712 +
   1.713 +	START_TEST_BLOCK	65	t_devsoundext	\multimedia\mmf\devsound\multimedia-mmf-devsoundext-validation-automated-comb_pr.ini
   1.714 +		CREATE_OBJECT	CMMFDevSound		devsound1
   1.715 +		CREATE_OBJECT	CAudioInput		audioinput1
   1.716 +		COMMAND		devsound1		NewL
   1.717 +		COMMAND		audioinput1		NewL			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0008-0002-NewL_command02
   1.718 +		COMMAND		devsound1		ReplaceFile			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0008-0002-ReplaceFile_command03
   1.719 +		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0008-0002-InitializeL_command04
   1.720 +		OUTSTANDING
   1.721 +		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0008-0002-SetPrioritySettings_command05
   1.722 +		COMMAND		devsound1		Capabilities
   1.723 +		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0008-0002-SetConfigL_command07
   1.724 +		COMMAND		devsound1		Stop
   1.725 +		DELAY  10000000 
   1.726 +		COMMAND		audioinput1		SetAudioInput			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0008-0002-SetAudioInput_command09
   1.727 +		COMMAND		devsound1		RecordInitL
   1.728 +		ASYNC_DELAY  20000000 
   1.729 +		COMMAND		devsound1		Stop
   1.730 +		DELAY  5000000 
   1.731 +		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0008-0002-InitializeL_command12
   1.732 +		OUTSTANDING
   1.733 +		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0008-0002-SetPrioritySettings_command13
   1.734 +		COMMAND		devsound1		Capabilities
   1.735 +		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0008-0002-SetConfigL_command15
   1.736 +		COMMAND		devsound1		FileStartPosition
   1.737 +		COMMAND		devsound1		PlayInitL
   1.738 +		OUTSTANDING
   1.739 +		COMMAND		devsound1		CloseFile
   1.740 +		COMMAND		audioinput1		~
   1.741 +		COMMAND		devsound1		~
   1.742 +	END_TEST_BLOCK
   1.743 +END_TESTCASE MULTIMEDIA-MMF-DEVSOUNDEXT-VALIDATION-AUTOMATED-COMB_PR-0008
   1.744 +
   1.745 +
   1.746 +
   1.747 +
   1.748 +START_TESTCASE MULTIMEDIA-MMF-DEVSOUNDEXT-VALIDATION-AUTOMATED-COMB_PR-0009
   1.749 +
   1.750 +//!@SYMTestCaseID		MULTIMEDIA-MMF-DEVSOUNDEXT-VALIDATION-AUTOMATED-COMB_PR-0009
   1.751 +//!@SYMAPI
   1.752 +//! TEST_BLOCK 001
   1.753 +//!                CMMFDevSound::InitializeL(MDevSoundObserver{ref}, TFourCC, TMMFState)
   1.754 +//!                CMMFDevSound::SetPrioritySettings(const TMMFPrioritySettings{ref})
   1.755 +//!                CMMFDevSound::Capabilities()
   1.756 +//!                CMMFDevSound::SetConfigL(const TMMFCapabilities{ref})
   1.757 +//!                CMMFDevSound::PlayInitL()
   1.758 +//!                CMMFDevSound::Stop()
   1.759 +//! TEST_BLOCK 002
   1.760 +//!                CMMFDevSound::InitializeL(MDevSoundObserver{ref}, TFourCC, TMMFState)
   1.761 +//!                CMMFDevSound::SetPrioritySettings(const TMMFPrioritySettings{ref})
   1.762 +//!                CMMFDevSound::Capabilities()
   1.763 +//!                CMMFDevSound::SetConfigL(const TMMFCapabilities{ref})
   1.764 +//!                CMMFAudioInput::SetAudioInputL(TAudioInputArray)
   1.765 +//!                CMMFDevSound::RecordInitL()
   1.766 +//!                CMMFDevSound::Stop()
   1.767 +//!                CMMFDevSound::PlayInitL()
   1.768 +//!                
   1.769 +//!@SYMAuthor			myanez
   1.770 +//!@SYMCreationDate		8/25/2008 
   1.771 +//!@SYMTestCaseDesc		Audio routing - Audio playback 48k mono recording from speaker
   1.772 +//!@SYMTestActions
   1.773 +//! TEST_BLOCK 001
   1.774 +//!                1. Create Devsound Instance 
   1.775 +//!                2. Open File (Filename = {drive,mmc}\multimedia\mmf\devsound\MP3\MP3_48k_256kbps_st_1kHzsine_st2mono.mp3)   
   1.776 +//!                3. Initialize DevSound (Mode = EMMFStatePlaying; FourCC = MP3)           
   1.777 +//!                4. Set Priority (Priority = {Priority,PriorityAudioPlayback}; Preference = {PriorityPreference,PriorityPreferenceNone};PriorityState=EMMFStatePlaying) 
   1.778 +//!                5. Capabilities        
   1.779 +//!                6. Set Configuration (Channels = EMMFStereo; Rate = EMMFSampleRate48000Hz)       
   1.780 +//!                7. Play for 20 seconds          
   1.781 +//!                8. Stop                
   1.782 +//!                9. Close File            
   1.783 +//!                10. Destroy Devsound Instance
   1.784 +//! TEST_BLOCK 002
   1.785 +//!                1. Create DevSound Instance
   1.786 +//!                2. Create AudioInput Instance (DevSoundInstanceName = devsound1)
   1.787 +//!                3. Replace File (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\RoutingPlay48kMonoRecSpeaker.pcm)  
   1.788 +//!                4. Initialize DevSound (Mode = EMMFStateRecording; FourCC = P16)      
   1.789 +//!                5. Set Priority (Priority = {Priority,PriorityVoiceRecording}; Preference = {PriorityPreference,PriorityPreferenceVoiceRecording};PriorityState=EMMFStateRecording) 
   1.790 +//!                6. Capabilities          
   1.791 +//!                7. Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate48000Hz)       
   1.792 +//!                8. Stop for 10 seconds            
   1.793 +//!                9. Set Audio Input (AudioInput = Input_OutputtoSpeaker)          
   1.794 +//!                10.Record for 20 seconds           
   1.795 +//!                11. Stop for 5 seconds                
   1.796 +//!                12. Initialize DevSound (Mode = EMMFStatePlaying; FourCC = P16)        
   1.797 +//!                13. Set Priority (Priority = {Priority,PriorityAudioPlayback}; Preference = {PriorityPreference,PriorityPreferenceAudioPlayback};PriorityState=EMMFStatePlaying)
   1.798 +//!                14. Capabilities    
   1.799 +//!                15. Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate48000Hz)   
   1.800 +//!                16. Start File Positions      
   1.801 +//!                17. Start Play   
   1.802 +//!                18. Close File   
   1.803 +//!                19. Destroy AudioInput Instance   
   1.804 +//!                20. Destroy DevSound Instance
   1.805 +//!@SYMTestStatus		Verified
   1.806 +//!@SYMTestPriority		High
   1.807 +//!@SYMTestExpectedResults
   1.808 +//!                Audio playback 48k mono recording from speaker
   1.809 +//! TEST_BLOCK 001
   1.810 +//!                Play MP3 File with Audio Playback Priority and NonePreference.
   1.811 +//! TEST_BLOCK 002
   1.812 +//!                Record with Voice Recording Priority and Voice Recording Preference; Play with Audio PLayback Priority  and Audio PLayback Preference
   1.813 +//!@SYMTestType			CIT
   1.814 +
   1.815 +
   1.816 +	CONCURRENT
   1.817 +
   1.818 +
   1.819 +
   1.820 +	START_TEST_BLOCK	60	t_devsoundext	\multimedia\mmf\devsound\multimedia-mmf-devsoundext-validation-automated-comb_pr.ini
   1.821 +		CREATE_OBJECT	CMMFDevSound		devsound1
   1.822 +		COMMAND		devsound1		NewL
   1.823 +		COMMAND		devsound1		OpenFile			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0009-0001-OpenFile_command02
   1.824 +		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0009-0001-InitializeL_command03
   1.825 +		OUTSTANDING
   1.826 +		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0009-0001-SetPrioritySettings_command04
   1.827 +		COMMAND		devsound1		Capabilities
   1.828 +		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0009-0001-SetConfigL_command06
   1.829 +		COMMAND	!AsyncError=-13	devsound1       PlayInitL
   1.830 +		ASYNC_DELAY  20000000 
   1.831 +		COMMAND		devsound1		Stop
   1.832 +		COMMAND		devsound1		CloseFile
   1.833 +		COMMAND		devsound1		~
   1.834 +	END_TEST_BLOCK
   1.835 +
   1.836 +
   1.837 +
   1.838 +	START_TEST_BLOCK	65	t_devsoundext	\multimedia\mmf\devsound\multimedia-mmf-devsoundext-validation-automated-comb_pr.ini
   1.839 +		CREATE_OBJECT	CMMFDevSound		devsound1
   1.840 +		CREATE_OBJECT	CAudioInput		audioinput1
   1.841 +		COMMAND		devsound1		NewL
   1.842 +		COMMAND		audioinput1		NewL			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0009-0002-NewL_command02
   1.843 +		COMMAND		devsound1		ReplaceFile			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0009-0002-ReplaceFile_command03
   1.844 +		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0009-0002-InitializeL_command04
   1.845 +		OUTSTANDING
   1.846 +		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0009-0002-SetPrioritySettings_command05
   1.847 +		COMMAND		devsound1		Capabilities
   1.848 +		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0009-0002-SetConfigL_command07
   1.849 +		COMMAND		devsound1		Stop
   1.850 +		DELAY  10000000 
   1.851 +		COMMAND		audioinput1		SetAudioInput			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0009-0002-SetAudioInput_command09
   1.852 +		COMMAND		devsound1		RecordInitL
   1.853 +		ASYNC_DELAY  20000000 
   1.854 +		COMMAND		devsound1		Stop
   1.855 +		DELAY  5000000 
   1.856 +		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0009-0002-InitializeL_command12
   1.857 +		OUTSTANDING
   1.858 +		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0009-0002-SetPrioritySettings_command13
   1.859 +		COMMAND		devsound1		Capabilities
   1.860 +		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0009-0002-SetConfigL_command15
   1.861 +		COMMAND		devsound1		FileStartPosition
   1.862 +		COMMAND		devsound1		PlayInitL
   1.863 +		OUTSTANDING
   1.864 +		COMMAND		devsound1		CloseFile
   1.865 +		COMMAND		audioinput1		~
   1.866 +		COMMAND		devsound1		~
   1.867 +	END_TEST_BLOCK
   1.868 +END_TESTCASE MULTIMEDIA-MMF-DEVSOUNDEXT-VALIDATION-AUTOMATED-COMB_PR-0009
   1.869 +
   1.870 +
   1.871 +
   1.872 +
   1.873 +START_TESTCASE MULTIMEDIA-MMF-DEVSOUNDEXT-VALIDATION-AUTOMATED-COMB_PR-0011
   1.874 +
   1.875 +//!@SYMTestCaseID		MULTIMEDIA-MMF-DEVSOUNDEXT-VALIDATION-AUTOMATED-COMB_PR-0011
   1.876 +//!@SYMAPI
   1.877 +//! TEST_BLOCK 001
   1.878 +//!                CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TMMFState )
   1.879 +//!                CMMFDevSound::SetPrioritySettings(const TMMFPrioritySettings {ref} )
   1.880 +//!                CMMFDevSound::Capabilities()
   1.881 +//!                CMMFDevSound::SetConfigL(const TMMFCapabilities {ref} )
   1.882 +//!                CMMFDevSound::PlayInitL()
   1.883 +//!                CMMFDevSound::Stop()
   1.884 +//! TEST_BLOCK 002
   1.885 +//!                CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TMMFState )
   1.886 +//!                CMMFDevSound::SetPrioritySettings(const TMMFPrioritySettings {ref} )
   1.887 +//!                CMMFDevSound::Capabilities()
   1.888 +//!                CMMFDevSound::SetConfigL(const TMMFCapabilities {ref} )
   1.889 +//!                CMMFDevSound::PlayInitL()
   1.890 +//!                CMMFDevSound::RecordInitL()
   1.891 +//!                CMMFDevSound::Stop()
   1.892 +//!                CMMFDevsound::PlayToneSequenceL(const TDesC8 {ref})
   1.893 +//!                CMMFDevSound::SetGain()
   1.894 +//!                CMMFAudioInput::SetAudioInputL(TAudioInputArray)
   1.895 +//!@SYMAuthor			etorres
   1.896 +//!@SYMCreationDate		8/25/2008 
   1.897 +//!@SYMTestCaseDesc		 Gain control of audio playback recording
   1.898 +//!@SYMTestActions
   1.899 +//! TEST_BLOCK 001
   1.900 +//!                1. Create Devsound Instance 
   1.901 +//!                2. Open File (Filename = {drive,mmc}\multimedia\mmf\devsound\MP3\MP3_44.1k_128kbps_st_Test2.mp3)       
   1.902 +//!                3. Initialize DevSound (Mode = EMMFStatePlaying; FourCC = MP3)                    
   1.903 +//!                4. Set Priority (Priority = {Priority,PriorityAudioPlayback}; Preference = {PriorityPreference,PriorityPreferenceNone};PriorityState=EMMFStatePlaying)   
   1.904 +//!                5. Capabilities                
   1.905 +//!                6. Set Configuration (Channels = EMMFStereo; Rate = EMMFSampleRate44100Hz)              
   1.906 +//!                7. Play for 20 seconds                        
   1.907 +//!                8. Stop                                
   1.908 +//!                9.Close File                     
   1.909 +//!                10.Destroy Devsound Instance
   1.910 +//! TEST_BLOCK 002
   1.911 +//!                1. Create DevSound Instance   
   1.912 +//!                2. Create AudioInput Instance (DevSoundInstanceName = devsound1)
   1.913 +//!                3. Replace File (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\GainPlayRec.amr)        
   1.914 +//!                4. Initialize DevSound (Mode = EMMFStateRecording; FourCC = AMR)                
   1.915 +//!                5. Set Priority (Priority = {Priority,PriorityVoiceRecording}; Preference = {PriorityPreference,PriorityPreferenceVoiceRecording};PriorityState=EMMFStateRecording)
   1.916 +//!                6. Capabilities               
   1.917 +//!                7. Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz)            
   1.918 +//!                8. Stop for 5 seconds               
   1.919 +//!                9. Set Audio Input (AudioInput = Input_OutputtoSpeaker)          
   1.920 +//!                10. Record for 10 seconds              
   1.921 +//!                11. SetGain(Gain= 0)              
   1.922 +//!                12. SetGain(Gain=1)                 
   1.923 +//!                13. Stop for 10 seconds            
   1.924 +//!                14. Initialize DevSound (Mode = EMMFStatePlaying; FourCC = AMR)                        
   1.925 +//!                15. Set Priority (Priority = {Priority,PriorityAudioPlayback}; Preference = {PriorityPreference,PriorityPreferenceAudioPlayback};PriorityState=EMMFStatePlaying)
   1.926 +//!                16. Capabilities                                                 
   1.927 +//!                17. Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz)                        
   1.928 +//!                18. OpenFile (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\GainPlayRec.amr)                 
   1.929 +//!                19. Start Play                         
   1.930 +//!                20.Close File                             
   1.931 +//!                21.Destroy AudioInput Instance                   
   1.932 +//!                22.Destroy DevSound Instance
   1.933 +//!@SYMTestStatus		Verified
   1.934 +//!@SYMTestPriority		High
   1.935 +//!@SYMTestExpectedResults
   1.936 +//! TEST_BLOCK 001
   1.937 +//!                MP3 playback
   1.938 +//! TEST_BLOCK 002
   1.939 +//!                AMR recording {ref} playback with expected error=-21
   1.940 +//!@SYMTestType			CIT
   1.941 +
   1.942 +
   1.943 +	CONCURRENT
   1.944 +
   1.945 +
   1.946 +
   1.947 +	START_TEST_BLOCK	60	t_devsoundext	\multimedia\mmf\devsound\multimedia-mmf-devsoundext-validation-automated-comb_pr.ini
   1.948 +		CREATE_OBJECT	CMMFDevSound		devsound1
   1.949 +		COMMAND		devsound1		NewL
   1.950 +		COMMAND		devsound1		OpenFile			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0011-0001-OpenFile_command02
   1.951 +		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0011-0001-InitializeL_command03
   1.952 +		OUTSTANDING
   1.953 +		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0011-0001-SetPrioritySettings_command04
   1.954 +		COMMAND		devsound1		Capabilities
   1.955 +		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0011-0001-SetConfigL_command06
   1.956 +		COMMAND		devsound1		PlayInitL
   1.957 +		ASYNC_DELAY  20000000 
   1.958 +		COMMAND		devsound1		Stop
   1.959 +		COMMAND		devsound1		CloseFile
   1.960 +		COMMAND		devsound1		~
   1.961 +	END_TEST_BLOCK
   1.962 +
   1.963 +
   1.964 +
   1.965 +	START_TEST_BLOCK	60	t_devsoundext	\multimedia\mmf\devsound\multimedia-mmf-devsoundext-validation-automated-comb_pr.ini
   1.966 +		CREATE_OBJECT	CMMFDevSound		devsound1
   1.967 +		CREATE_OBJECT	CAudioInput		audioinput1
   1.968 +		COMMAND		devsound1		NewL
   1.969 +		COMMAND		audioinput1		NewL			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0011-0002-NewL_command02
   1.970 +		COMMAND		devsound1		ReplaceFile			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0011-0002-ReplaceFile_command03
   1.971 +		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0011-0002-InitializeL_command04
   1.972 +		OUTSTANDING
   1.973 +		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0011-0002-SetPrioritySettings_command05
   1.974 +		COMMAND		devsound1		Capabilities
   1.975 +		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0011-0002-SetConfigL_command07
   1.976 +		COMMAND		devsound1		Stop
   1.977 +		DELAY  5000000 
   1.978 +		COMMAND		audioinput1		SetAudioInput			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0011-0002-SetAudioInput_command09
   1.979 +		COMMAND	!AsyncError=-21	devsound1   RecordInitL
   1.980 +		ASYNC_DELAY  10000000 
   1.981 +		COMMAND		devsound1		SetGain			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0011-0002-SetGain_command12
   1.982 +		ASYNC_DELAY  10000000 
   1.983 +		COMMAND		devsound1		SetGain			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0011-0002-SetGain_command13
   1.984 +		ASYNC_DELAY  10000000 
   1.985 +		COMMAND		devsound1		Stop
   1.986 +		DELAY  10000000 
   1.987 +        COMMAND		devsound1		CloseFile
   1.988 +		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0011-0002-InitializeL_command15
   1.989 +		OUTSTANDING
   1.990 +		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0011-0002-SetPrioritySettings_command16
   1.991 +		COMMAND		devsound1		Capabilities
   1.992 +		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0011-0002-SetConfigL_command18
   1.993 +		COMMAND		devsound1		OpenFile			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0011-0002-OpenFile_command19
   1.994 +		COMMAND		devsound1		PlayInitL
   1.995 +		OUTSTANDING
   1.996 +		COMMAND		devsound1		CloseFile
   1.997 +		COMMAND		audioinput1		~
   1.998 +		COMMAND		devsound1		~
   1.999 +	END_TEST_BLOCK
  1.1000 +END_TESTCASE MULTIMEDIA-MMF-DEVSOUNDEXT-VALIDATION-AUTOMATED-COMB_PR-0011
  1.1001 +
  1.1002 +
  1.1003 +
  1.1004 +
  1.1005 +START_TESTCASE MULTIMEDIA-MMF-DEVSOUNDEXT-VALIDATION-AUTOMATED-COMB_PR-0012
  1.1006 +
  1.1007 +//!@SYMTestCaseID		MULTIMEDIA-MMF-DEVSOUNDEXT-VALIDATION-AUTOMATED-COMB_PR-0012
  1.1008 +//!@SYMAPI
  1.1009 +//!                CMMFDevSound:: InitializeL(MDevSoundObserver {ref}, TFourCC , TMMFState )
  1.1010 +//!                 CMMFDevSound:: PlayInitL()
  1.1011 +//!                 CMMFDevSound:: RecordInitL()
  1.1012 +//! TEST_BLOCK 001
  1.1013 +//!                CMMFDevSound::  InitializeL(MDevSoundObserver {ref}, TFourCC , TMMFState )
  1.1014 +//!                 CMMFDevSound:: PlayInitL()
  1.1015 +//! TEST_BLOCK 002
  1.1016 +//!                CMMFDevSound:: InitializeL(MDevSoundObserver {ref}, TFourCC , TMMFState )
  1.1017 +//!                 CMMFDevSound:: PlayInitL()
  1.1018 +//!                 CMMFDevSound:: RecordInitL()
  1.1019 +//!                 CAudioInput::SetAudioInputL(TAudioInputArray )
  1.1020 +//!@SYMAuthor			jguillermo
  1.1021 +//!@SYMCreationDate		8/25/2008 
  1.1022 +//!@SYMTestCaseDesc		Audio routing - Audio playback 48k mono recording from speaker when accessory is used
  1.1023 +//!@SYMTestActions
  1.1024 +//! TEST_BLOCK 001
  1.1025 +//!                1. Create DevSound instance
  1.1026 +//!                2. Initialize DevSound (Mode = EMMFStatePlaying; FourCC = MP3)
  1.1027 +//!                3. Set Priority (Priority = {Priority,PriorityAudioPlayback}; Preference = {PriorityPreference,PriorityPreferenceNone};PriorityState=EMMFStatePlaying)
  1.1028 +//!                4. Capabilities
  1.1029 +//!                5. Set Configuration (Channels = EMMFStereo; Rate = EMMFSampleRate44100Hz)
  1.1030 +//!                6. Open file (Filename= {drive,mmc}\multimedia\mmf\devsound\MP3\MP3_44.1k_128kbps_st_Test3.mp3)     
  1.1031 +//!                7. Play 20 seconds                           
  1.1032 +//!                8. Stop                           
  1.1033 +//!                9. Close file                  
  1.1034 +//!                10. Delete DevSound instance
  1.1035 +//! TEST_BLOCK 002
  1.1036 +//!                1. Create DevSound instance
  1.1037 +//!                2. Create AudioInput instance (DevSoundInstanceName = devsound1)
  1.1038 +//!                3. Initialize DevSound (Mode = EMMFStateRecording; FourCC ={SpecialFourCC,RAW})
  1.1039 +//!                4. Set Priority (Priority = {Priority,PriorityVoiceRecording}; Preference = {PriorityPreference,PriorityPreferenceVoiceRecording};PriorityState=EMMFStateRecording)
  1.1040 +//!                5. Capabilities
  1.1041 +//!                6. Set Configuration and delay 10 seconds(Channels = EMMFMono; Rate = EMMFSampleRate48000Hz)
  1.1042 +//!                7. Replace file (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\RoutingPlayRecSpeakerAcc.pcm)   
  1.1043 +//!                8. Set audio input (AudioInput = Input_OutputtoSpeaker)            
  1.1044 +//!                9. Record 20 seconds               
  1.1045 +//!                10. Stop 5 seconds                 
  1.1046 +//!                11. Close file                    
  1.1047 +//!                12. Initialize DevSound (Mode = EMMFStatePlaying; FourCC ={SpecialFourCC,RAW})            
  1.1048 +//!                13. Set Priority (Priority = {Priority,PriorityAudioPlayback}; Preference = {PriorityPreference,PriorityPreferenceAudioPlayback};PriorityState=EMMFStatePlaying)
  1.1049 +//!                14. Set Configuration(Channels = EMMFMono; Rate = EMMFSampleRate48000Hz)                   
  1.1050 +//!                15. Open file (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\RoutingPlayRecSpeakerAcc.pcm)           
  1.1051 +//!                16. Play EOF              
  1.1052 +//!                17. Close file           
  1.1053 +//!                18. Delete AudioInput instance          
  1.1054 +//!                19. Delete DevSound instance
  1.1055 +//!@SYMTestStatus		Verified
  1.1056 +//!@SYMTestPriority		High
  1.1057 +//!@SYMTestExpectedResults
  1.1058 +//!                AA_Audio routing - Audio playback 48k mono recording from speaker when accessory is used
  1.1059 +//! TEST_BLOCK 001
  1.1060 +//!                AA_Audio routing - Audio playback 48k mono recording from speaker when accessory is used
  1.1061 +//! TEST_BLOCK 002
  1.1062 +//!                AA_Audio routing - Audio playback 48k mono recording from speaker when accessory is used
  1.1063 +//!@SYMTestType			CIT
  1.1064 +
  1.1065 +
  1.1066 +	CONCURRENT
  1.1067 +
  1.1068 +
  1.1069 +
  1.1070 +	START_TEST_BLOCK	70	t_devsoundext	\multimedia\mmf\devsound\multimedia-mmf-devsoundext-validation-automated-comb_pr.ini
  1.1071 +		CREATE_OBJECT	CMMFDevSound		devsound1
  1.1072 +		COMMAND		devsound1		NewL
  1.1073 +		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0012-0001-InitializeL_command02
  1.1074 +		OUTSTANDING
  1.1075 +		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0012-0001-SetPrioritySettings_command03
  1.1076 +		COMMAND		devsound1		Capabilities
  1.1077 +		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0012-0001-SetConfigL_command05
  1.1078 +		COMMAND		devsound1		OpenFile			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0012-0001-OpenFile_command06
  1.1079 +		COMMAND	!AsyncError=-13	devsound1       PlayInitL
  1.1080 +		ASYNC_DELAY  20000000 
  1.1081 +		COMMAND		devsound1		Stop
  1.1082 +		COMMAND		devsound1		CloseFile
  1.1083 +		COMMAND		devsound1		~
  1.1084 +	END_TEST_BLOCK
  1.1085 +
  1.1086 +
  1.1087 +
  1.1088 +	START_TEST_BLOCK	70	t_devsoundext	\multimedia\mmf\devsound\multimedia-mmf-devsoundext-validation-automated-comb_pr.ini
  1.1089 +		CREATE_OBJECT	CMMFDevSound		devsound1
  1.1090 +		CREATE_OBJECT	CAudioInput		audioinput1
  1.1091 +		COMMAND		devsound1		NewL
  1.1092 +		COMMAND		audioinput1		NewL			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0012-0002-NewL_command02
  1.1093 +		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0012-0002-InitializeL_command03
  1.1094 +		OUTSTANDING
  1.1095 +		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0012-0002-SetPrioritySettings_command04
  1.1096 +		COMMAND		devsound1		Capabilities
  1.1097 +		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0012-0002-SetConfigL_command06
  1.1098 +		DELAY  10000000 
  1.1099 +		COMMAND		devsound1		ReplaceFile			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0012-0002-ReplaceFile_command07
  1.1100 +		COMMAND		audioinput1		SetAudioInput			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0012-0002-SetAudioInput_command08
  1.1101 +		COMMAND		devsound1		RecordInitL
  1.1102 +		ASYNC_DELAY  20000000 
  1.1103 +		COMMAND		devsound1		Stop
  1.1104 +		DELAY  5000000 
  1.1105 +		COMMAND		devsound1		CloseFile
  1.1106 +		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0012-0002-InitializeL_command12
  1.1107 +		OUTSTANDING
  1.1108 +		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0012-0002-SetPrioritySettings_command13
  1.1109 +		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0012-0002-SetConfigL_command14
  1.1110 +		COMMAND		devsound1		OpenFile			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0012-0002-OpenFile_command15
  1.1111 +		COMMAND		devsound1		PlayInitL
  1.1112 +		OUTSTANDING
  1.1113 +		COMMAND		devsound1		CloseFile
  1.1114 +		COMMAND		audioinput1		~
  1.1115 +		COMMAND		devsound1		~
  1.1116 +	END_TEST_BLOCK
  1.1117 +END_TESTCASE MULTIMEDIA-MMF-DEVSOUNDEXT-VALIDATION-AUTOMATED-COMB_PR-0012
  1.1118 +
  1.1119 +
  1.1120 +
  1.1121 +
  1.1122 +START_TESTCASE MULTIMEDIA-MMF-DEVSOUNDEXT-VALIDATION-AUTOMATED-COMB_PR-0013
  1.1123 +
  1.1124 +//!@SYMTestCaseID		MULTIMEDIA-MMF-DEVSOUNDEXT-VALIDATION-AUTOMATED-COMB_PR-0013
  1.1125 +//!@SYMAPI
  1.1126 +//!                CMMFDevSound:: InitializeL(MDevSoundObserver {ref}, TFourCC , TMMFState )
  1.1127 +//!                 CMMFDevSound:: PlayInitL()
  1.1128 +//!                 CMMFDevSound:: RecordInitL()
  1.1129 +//! TEST_BLOCK 001
  1.1130 +//!                CMMFDevSound::  InitializeL(MDevSoundObserver {ref}, TFourCC , TMMFState )
  1.1131 +//!                 CMMFDevSound:: PlayInitL()
  1.1132 +//! TEST_BLOCK 002
  1.1133 +//!                CMMFDevSound:: InitializeL(MDevSoundObserver {ref}, TFourCC , TMMFState )
  1.1134 +//!                 CMMFDevSound:: PlayInitL()
  1.1135 +//!                 CMMFDevSound:: RecordInitL()
  1.1136 +//!                 CAudioInput::SetAudioInputL(TAudioInputArray )
  1.1137 +//!@SYMAuthor			jguillermo
  1.1138 +//!@SYMCreationDate		8/25/2008 
  1.1139 +//!@SYMTestCaseDesc		Audio routing - Audio playback 48k stereo recording from speaker
  1.1140 +//!@SYMTestActions
  1.1141 +//! TEST_BLOCK 001
  1.1142 +//!                1. Create DevSound instance
  1.1143 +//!                2. Initialize DevSound (Mode = EMMFStatePlaying; FourCC = MP3)
  1.1144 +//!                3. Set Priority (Priority = {Priority,PriorityAudioPlayback}; Preference = {PriorityPreference,PriorityPreferenceNone} ; PriorityState=EMMFStatePlaying)
  1.1145 +//!                4. Capabilities
  1.1146 +//!                5. Set Configuration (Channels = EMMFStereo; Rate = EMMFSampleRate44100Hz)
  1.1147 +//!                6. Open file (Filename= {drive,mmc}\multimedia\mmf\devsound\MP3\MP3_44.1k_128kbps_st_Test3.mp3)           
  1.1148 +//!                7. Play 20 seconds                 
  1.1149 +//!                9. Stop                
  1.1150 +//!                9. Close file              
  1.1151 +//!                10. Delete DevSound instance
  1.1152 +//! TEST_BLOCK 002
  1.1153 +//!                1. Create DevSound instance
  1.1154 +//!                2. Create AudioInput instance (DevSoundInstanceName = devsound1)
  1.1155 +//!                3. Initialize DevSound (Mode = EMMFStateRecording; FourCC ={SpecialFourCC,RAW})
  1.1156 +//!                4. Set Priority (Priority = {Priority,PriorityVoiceRecording}; Preference = {PriorityPreference,PriorityPreferenceVoiceRecording} ; PriorityState=EMMFStateRecording)
  1.1157 +//!                5. Capabilities
  1.1158 +//!                6. Set Configuration and delay 10 seconds(Channels = EMMFStereo; Rate = EMMFSampleRate48000Hz)
  1.1159 +//!                7. Replace file (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\RoutingPlay48kStereoRecSpeaker.pcm)  
  1.1160 +//!                8. Set audio input (AudioInput = Input_OutputtoSpeaker)          
  1.1161 +//!                9. Record 20 seconds                    
  1.1162 +//!                10. Stop 5 seconds                        
  1.1163 +//!                11. Close file                             
  1.1164 +//!                12. Initialize DevSound (Mode = EMMFStatePlaying; FourCC ={SpecialFourCC,RAW})         
  1.1165 +//!                13. Set Priority (Priority = {Priority,PriorityAudioPlayback} ; Preference = {PriorityPreference,PriorityPreferenceAudioPlayback} ; PriorityState=EMMFStatePlaying)
  1.1166 +//!                14. Set Configuration(Channels = EMMFStereo; Rate = EMMFSampleRate48000Hz)                  
  1.1167 +//!                15. Open file (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\RoutingPlay48kStereoRecSpeaker.pcm)   
  1.1168 +//!                16. Play EOF                     
  1.1169 +//!                17. Close file                  
  1.1170 +//!                18. Delete AudioInput instance          
  1.1171 +//!                19. Delete DevSound instance
  1.1172 +//!@SYMTestStatus		Verified
  1.1173 +//!@SYMTestPriority		High
  1.1174 +//!@SYMTestExpectedResults
  1.1175 +//!                AA_Audio routing - Audio playback 48k stereo recording from speaker
  1.1176 +//! TEST_BLOCK 001
  1.1177 +//!                AA_Audio routing - Audio playback 48k stereo recording from speaker
  1.1178 +//! TEST_BLOCK 002
  1.1179 +//!                AA_Audio routing - Audio playback 48k stereo recording from speaker
  1.1180 +//!@SYMTestType			CIT
  1.1181 +
  1.1182 +
  1.1183 +	CONCURRENT
  1.1184 +
  1.1185 +
  1.1186 +
  1.1187 +	START_TEST_BLOCK	70	t_devsoundext	\multimedia\mmf\devsound\multimedia-mmf-devsoundext-validation-automated-comb_pr.ini
  1.1188 +		CREATE_OBJECT	CMMFDevSound		devsound1
  1.1189 +		COMMAND		devsound1		NewL
  1.1190 +		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0013-0001-InitializeL_command02
  1.1191 +		OUTSTANDING
  1.1192 +		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0013-0001-SetPrioritySettings_command03
  1.1193 +		COMMAND		devsound1		Capabilities
  1.1194 +		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0013-0001-SetConfigL_command05
  1.1195 +		COMMAND		devsound1		OpenFile			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0013-0001-OpenFile_command06
  1.1196 +		COMMAND	!AsyncError=-13	devsound1		PlayInitL
  1.1197 +		ASYNC_DELAY  20000000 
  1.1198 +		COMMAND		devsound1		Stop
  1.1199 +		COMMAND		devsound1		CloseFile
  1.1200 +		COMMAND		devsound1		~
  1.1201 +	END_TEST_BLOCK
  1.1202 +
  1.1203 +
  1.1204 +
  1.1205 +	START_TEST_BLOCK	70	t_devsoundext	\multimedia\mmf\devsound\multimedia-mmf-devsoundext-validation-automated-comb_pr.ini
  1.1206 +		CREATE_OBJECT	CMMFDevSound		devsound1
  1.1207 +		CREATE_OBJECT	CAudioInput		audioinput1
  1.1208 +		COMMAND		devsound1		NewL
  1.1209 +		COMMAND		audioinput1		NewL			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0013-0002-NewL_command02
  1.1210 +		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0013-0002-InitializeL_command03
  1.1211 +		OUTSTANDING
  1.1212 +		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0013-0002-SetPrioritySettings_command04
  1.1213 +		COMMAND		devsound1		Capabilities
  1.1214 +		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0013-0002-SetConfigL_command06
  1.1215 +		COMMAND		devsound1		ReplaceFile			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0013-0002-ReplaceFile_command07
  1.1216 +		COMMAND		audioinput1		SetAudioInput			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0013-0002-SetAudioInput_command08
  1.1217 +		COMMAND	!AsyncError=-21	devsound1   RecordInitL
  1.1218 +		ASYNC_DELAY  20000000 
  1.1219 +		COMMAND		devsound1		Stop
  1.1220 +		DELAY  5000000 
  1.1221 +		COMMAND		devsound1		CloseFile
  1.1222 +		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0013-0002-InitializeL_command13
  1.1223 +		OUTSTANDING
  1.1224 +		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0013-0002-SetPrioritySettings_command14
  1.1225 +		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0013-0002-SetConfigL_command15
  1.1226 +		COMMAND		devsound1		OpenFile			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0013-0002-OpenFile_command16
  1.1227 +		COMMAND		devsound1		PlayInitL
  1.1228 +		OUTSTANDING
  1.1229 +		COMMAND		devsound1		CloseFile
  1.1230 +		COMMAND		audioinput1		~
  1.1231 +		COMMAND		devsound1		~
  1.1232 +	END_TEST_BLOCK
  1.1233 +END_TESTCASE MULTIMEDIA-MMF-DEVSOUNDEXT-VALIDATION-AUTOMATED-COMB_PR-0013
  1.1234 +
  1.1235 +
  1.1236 +
  1.1237 +
  1.1238 +START_TESTCASE MULTIMEDIA-MMF-DEVSOUNDEXT-VALIDATION-AUTOMATED-COMB_PR-0015
  1.1239 +
  1.1240 +//!@SYMTestCaseID		MULTIMEDIA-MMF-DEVSOUNDEXT-VALIDATION-AUTOMATED-COMB_PR-0015
  1.1241 +//!@SYMAPI
  1.1242 +//!                CMMFDevSound:: InitializeL(MDevSoundObserver {ref}, TFourCC , TMMFState )
  1.1243 +//!                 CMMFDevSound:: PlayInitL()
  1.1244 +//!                 CMMFDevSound:: RecordInitL()
  1.1245 +//! TEST_BLOCK 001
  1.1246 +//!                CMMFDevSound:: InitializeL(MDevSoundObserver {ref}, TFourCC , TMMFState )
  1.1247 +//!                 CMMFDevSound:: PlayInitL()
  1.1248 +//! TEST_BLOCK 002
  1.1249 +//!                CMMFDevSound::  InitializeL(MDevSoundObserver {ref}, TFourCC , TMMFState )
  1.1250 +//!                 CMMFDevSound:: PlayInitL()
  1.1251 +//!                 CMMFDevSound:: RecordInitL()
  1.1252 +//!                 CAudioInput::SetAudioInputL(TAudioInputArray )
  1.1253 +//!@SYMAuthor			jguillermo
  1.1254 +//!@SYMCreationDate		8/25/2008 
  1.1255 +//!@SYMTestCaseDesc		Audio routing - Audio playback 8k mono recording from speaker
  1.1256 +//!@SYMTestActions
  1.1257 +//! TEST_BLOCK 001
  1.1258 +//!                1. Create DevSound instance
  1.1259 +//!                2. Initialize DevSound (Mode = EMMFStatePlaying; FourCC = MP3)
  1.1260 +//!                3. Set Priority (Priority = {Priority,PriorityAudioPlayback}; Preference = {PriorityPreference,PriorityPreferenceNone};PriorityState=EMMFStatePlaying)
  1.1261 +//!                4. Capabilities
  1.1262 +//!                5. Set Configuration (Channels = EMMFStereo; Rate = EMMFSampleRate48000Hz)
  1.1263 +//!                6. Open file (Filename= {drive,mmc}\multimedia\mmf\devsound\MP3\MP3_48k_256kbps_st_1kHzsine_st2mono.mp3)     
  1.1264 +//!                7. Play 20 seconds                
  1.1265 +//!                8. Stop                               
  1.1266 +//!                9. Close file                    
  1.1267 +//!                10. Delete DevSound instance
  1.1268 +//! TEST_BLOCK 002
  1.1269 +//!                1. Create DevSound instance
  1.1270 +//!                2. Create AudioInput instance (DevSoundInstanceName = devsound1)
  1.1271 +//!                3. Initialize DevSound (Mode = EMMFStateRecording; FourCC ={SpecialFourCC,RAW})
  1.1272 +//!                4. Set Priority (Priority = {Priority,PriorityVoiceRecording}; Preference = {PriorityPreference,PriorityPreferenceVoiceRecording};PriorityState=EMMFStateRecording)
  1.1273 +//!                5. Capabilities
  1.1274 +//!                6. Set Configuration and delay 10 seconds(Channels = EMMFMono; Rate = EMMFSampleRate8000Hz)
  1.1275 +//!                7. Replace file (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\RoutingPlay8kMonoRecSpeaker.pcm)   
  1.1276 +//!                8. Set audio input (AudioInput = Input_OutputtoSpeaker)                
  1.1277 +//!                9. Record 20 seconds              
  1.1278 +//!                10. Stop 5 seconds             
  1.1279 +//!                11. Close file           
  1.1280 +//!                12. Initialize DevSound (Mode = EMMFStatePlaying; FourCC ={SpecialFourCC,RAW})      
  1.1281 +//!                13. Set Priority (Priority = {Priority,PriorityAudioPlayback}; Preference = {PriorityPreference,PriorityPreferenceAudioPlayback};PriorityState=EMMFStatePlaying)
  1.1282 +//!                14. Set Configuration(Channels = EMMFMono; Rate = EMMFSampleRate8000Hz)         
  1.1283 +//!                15. Open file (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\RoutingPlay8kMonoRecSpeaker.pcm)    
  1.1284 +//!                16. Play EOF        
  1.1285 +//!                17. Close file         
  1.1286 +//!                18. Delete AudioInput instance              
  1.1287 +//!                19. Delete DevSound instance
  1.1288 +//!@SYMTestStatus		Implemented
  1.1289 +//!@SYMTestPriority		High
  1.1290 +//!@SYMTestExpectedResults
  1.1291 +//!                AA_Audio routing - Audio playback 8k mono recording from speaker
  1.1292 +//! TEST_BLOCK 001
  1.1293 +//!                AA_Audio routing - Audio playback 8k mono recording from speaker
  1.1294 +//! TEST_BLOCK 002
  1.1295 +//!                AA_Audio routing - Audio playback 8k mono recording from speaker
  1.1296 +//!@SYMTestType			CIT
  1.1297 +
  1.1298 +
  1.1299 +	CONCURRENT
  1.1300 +
  1.1301 +
  1.1302 +
  1.1303 +	START_TEST_BLOCK	70	t_devsoundext	\multimedia\mmf\devsound\multimedia-mmf-devsoundext-validation-automated-comb_pr.ini
  1.1304 +		CREATE_OBJECT	CMMFDevSound		devsound1
  1.1305 +		COMMAND		devsound1		NewL
  1.1306 +		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0015-0001-InitializeL_command02
  1.1307 +		OUTSTANDING
  1.1308 +		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0015-0001-SetPrioritySettings_command03
  1.1309 +		COMMAND		devsound1		Capabilities
  1.1310 +		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0015-0001-SetConfigL_command05
  1.1311 +		COMMAND		devsound1		OpenFile			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0015-0001-OpenFile_command06
  1.1312 +		COMMAND		devsound1		PlayInitL
  1.1313 +		ASYNC_DELAY  20000000 
  1.1314 +		COMMAND		devsound1		Stop
  1.1315 +		COMMAND		devsound1		CloseFile
  1.1316 +		COMMAND		devsound1		~
  1.1317 +	END_TEST_BLOCK
  1.1318 +
  1.1319 +
  1.1320 +
  1.1321 +	START_TEST_BLOCK	70	t_devsoundext	\multimedia\mmf\devsound\multimedia-mmf-devsoundext-validation-automated-comb_pr.ini
  1.1322 +		CREATE_OBJECT	CMMFDevSound		devsound1
  1.1323 +		CREATE_OBJECT	CAudioInput		audioinput1
  1.1324 +		COMMAND		devsound1		NewL
  1.1325 +		COMMAND		audioinput1		NewL			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0015-0002-NewL_command02
  1.1326 +		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0015-0002-InitializeL_command03
  1.1327 +		OUTSTANDING
  1.1328 +		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0015-0002-SetPrioritySettings_command04
  1.1329 +		COMMAND		devsound1		Capabilities
  1.1330 +		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0015-0002-SetConfigL_command06
  1.1331 +		DELAY  10000000 
  1.1332 +		COMMAND		devsound1		ReplaceFile			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0015-0002-ReplaceFile_command07
  1.1333 +		COMMAND		audioinput1		SetAudioInput			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0015-0002-SetAudioInput_command08
  1.1334 +		COMMAND	!AsyncError=-21	devsound1   RecordInitL
  1.1335 +		ASYNC_DELAY  20000000 
  1.1336 +		COMMAND		devsound1		Stop
  1.1337 +		DELAY  5000000 
  1.1338 +		COMMAND		devsound1		CloseFile
  1.1339 +		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0015-0002-InitializeL_command13
  1.1340 +		OUTSTANDING
  1.1341 +		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0015-0002-SetPrioritySettings_command14
  1.1342 +		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0015-0002-SetConfigL_command15
  1.1343 +		COMMAND		devsound1		OpenFile			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0015-0002-OpenFile_command16
  1.1344 +		COMMAND		devsound1		PlayInitL
  1.1345 +		OUTSTANDING
  1.1346 +		COMMAND		devsound1		CloseFile
  1.1347 +		COMMAND		audioinput1		~
  1.1348 +		COMMAND		devsound1		~
  1.1349 +	END_TEST_BLOCK
  1.1350 +END_TESTCASE MULTIMEDIA-MMF-DEVSOUNDEXT-VALIDATION-AUTOMATED-COMB_PR-0015
  1.1351 +
  1.1352 +
  1.1353 +
  1.1354 +
  1.1355 +START_TESTCASE MULTIMEDIA-MMF-DEVSOUNDEXT-VALIDATION-AUTOMATED-COMB_PR-0016
  1.1356 +
  1.1357 +//!@SYMTestCaseID		MULTIMEDIA-MMF-DEVSOUNDEXT-VALIDATION-AUTOMATED-COMB_PR-0016
  1.1358 +//!@SYMAPI
  1.1359 +//!                CMMFDevSound:: InitializeL(MDevSoundObserver {ref}, TFourCC , TMMFState )
  1.1360 +//!                 CMMFDevSound:: PlayInitL()
  1.1361 +//!                 CMMFDevSound:: RecordInitL()
  1.1362 +//! TEST_BLOCK 001
  1.1363 +//!                CMMFDevSound::  InitializeL(MDevSoundObserver {ref}, TFourCC , TMMFState )
  1.1364 +//!                 CMMFDevSound:: PlayInitL()
  1.1365 +//! TEST_BLOCK 002
  1.1366 +//!                CMMFDevSound:: InitializeL(MDevSoundObserver {ref}, TFourCC , TMMFState )
  1.1367 +//!                 CMMFDevSound:: PlayInitL()
  1.1368 +//!                 CMMFDevSound:: RecordInitL()
  1.1369 +//!                 CAudioInput::SetAudioInputL(TAudioInputArray )
  1.1370 +//!@SYMAuthor			jguillermo
  1.1371 +//!@SYMCreationDate		8/25/2008 
  1.1372 +//!@SYMTestCaseDesc		Audio routing - Audio playback 8k stereo recording from speaker
  1.1373 +//!@SYMTestActions
  1.1374 +//! TEST_BLOCK 001
  1.1375 +//!                1. Create DevSound instance
  1.1376 +//!                2. Initialize DevSound (Mode = EMMFStatePlaying; FourCC = MP3)
  1.1377 +//!                3. Set Priority (Priority = {Priority,PriorityAudioPlayback} ; Preference = {PriorityPreference,PriorityPreferenceNone};PriorityState=EMMFStatePlaying)
  1.1378 +//!                4. Capabilities
  1.1379 +//!                5. Set Configuration (Channels = EMMFStereo; Rate = EMMFSampleRate44100Hz)
  1.1380 +//!                6. Open file (Filename= {drive,mmc}\multimedia\mmf\devsound\MP3\MP3_44.1k_128kbps_st_Test3.mp3)    
  1.1381 +//!                7. Play 20 seconds             
  1.1382 +//!                8. Stop                              
  1.1383 +//!                9. Close file                 
  1.1384 +//!                10. Delete DevSound instance
  1.1385 +//! TEST_BLOCK 002
  1.1386 +//!                1. Create DevSound instance
  1.1387 +//!                2. Create AudioInput instance (DevSoundInstanceName = devsound1)
  1.1388 +//!                3. Initialize DevSound (Mode = EMMFStateRecording; FourCC ={SpecialFourCC,RAW})
  1.1389 +//!                4. Set Priority (Priority = {Priority,PriorityVoiceRecording}; Preference = {PriorityPreference,PriorityPreferenceVoiceRecording} ; PriorityState=EMMFStateRecording)
  1.1390 +//!                5. Capabilities
  1.1391 +//!                6. Set Configuration and delay 10 seconds(Channels = EMMFStereo; Rate = EMMFSampleRate8000Hz)
  1.1392 +//!                7. Replace file (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\RoutingPlay8kStereoRecSpeaker.pcm )     
  1.1393 +//!                8. Set audio input (AudioInput = Input_OutputtoSpeaker)             
  1.1394 +//!                9. Record 20 seconds                        
  1.1395 +//!                10. Stop 5 seconds                            
  1.1396 +//!                11. Close file                                 
  1.1397 +//!                12. Initialize DevSound (Mode = EMMFStatePlaying; FourCC ={SpecialFourCC,RAW})                  
  1.1398 +//!                13. Set Priority (Priority = {Priority,PriorityAudioPlayback}; Preference = {PriorityPreference,PriorityPreferenceAudioPlayback} ; PriorityState=EMMFStatePlaying)
  1.1399 +//!                14. Set Configuration(Channels = EMMFStereo; Rate = EMMFSampleRate8000Hz)                     
  1.1400 +//!                15. Open file (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\RoutingPlay8kStereoRecSpeaker.pcm)             
  1.1401 +//!                16. Play EOF                    
  1.1402 +//!                17. Close file                   
  1.1403 +//!                18. Delete AudioInput instance              
  1.1404 +//!                19. Delete DevSound instance
  1.1405 +//!@SYMTestStatus		Verified
  1.1406 +//!@SYMTestPriority		High
  1.1407 +//!@SYMTestExpectedResults
  1.1408 +//!                AA_Audio routing - Audio playback 8k stereo recording from speaker
  1.1409 +//! TEST_BLOCK 001
  1.1410 +//!                AA_Audio routing - Audio playback 8k stereo recording from speaker
  1.1411 +//! TEST_BLOCK 002
  1.1412 +//!                AA_Audio routing - Audio playback 8k stereo recording from speaker
  1.1413 +//!@SYMTestType			CIT
  1.1414 +
  1.1415 +
  1.1416 +	CONCURRENT
  1.1417 +
  1.1418 +
  1.1419 +
  1.1420 +	START_TEST_BLOCK	70	t_devsoundext	\multimedia\mmf\devsound\multimedia-mmf-devsoundext-validation-automated-comb_pr.ini
  1.1421 +		CREATE_OBJECT	CMMFDevSound		devsound1
  1.1422 +		COMMAND		devsound1		NewL
  1.1423 +		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0016-0001-InitializeL_command02
  1.1424 +		OUTSTANDING
  1.1425 +		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0016-0001-SetPrioritySettings_command03
  1.1426 +		COMMAND		devsound1		Capabilities
  1.1427 +		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0016-0001-SetConfigL_command05
  1.1428 +		COMMAND		devsound1		OpenFile			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0016-0001-OpenFile_command06
  1.1429 +		COMMAND		devsound1		PlayInitL
  1.1430 +		ASYNC_DELAY  20000000 
  1.1431 +		COMMAND		devsound1		Stop
  1.1432 +		COMMAND		devsound1		CloseFile
  1.1433 +		COMMAND		devsound1		~
  1.1434 +	END_TEST_BLOCK
  1.1435 +
  1.1436 +
  1.1437 +
  1.1438 +	START_TEST_BLOCK	70	t_devsoundext	\multimedia\mmf\devsound\multimedia-mmf-devsoundext-validation-automated-comb_pr.ini
  1.1439 +		CREATE_OBJECT	CMMFDevSound		devsound1
  1.1440 +		CREATE_OBJECT	CAudioInput		audioinput1
  1.1441 +		COMMAND		devsound1		NewL
  1.1442 +		COMMAND		audioinput1		NewL			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0016-0002-NewL_command02
  1.1443 +		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0016-0002-InitializeL_command03
  1.1444 +		OUTSTANDING
  1.1445 +		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0016-0002-SetPrioritySettings_command04
  1.1446 +		COMMAND		devsound1		Capabilities
  1.1447 +		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0016-0002-SetConfigL_command06
  1.1448 +		DELAY  10000000 
  1.1449 +		COMMAND		devsound1		ReplaceFile			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0016-0002-ReplaceFile_command07
  1.1450 +		COMMAND		audioinput1		SetAudioInput			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0016-0002-SetAudioInput_command08
  1.1451 +		COMMAND	!AsyncError=-21	devsound1   RecordInitL
  1.1452 +		ASYNC_DELAY  20000000 
  1.1453 +		COMMAND		devsound1		Stop
  1.1454 +		DELAY  5000000 
  1.1455 +		COMMAND		devsound1		CloseFile
  1.1456 +		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0016-0002-InitializeL_command13
  1.1457 +		OUTSTANDING
  1.1458 +		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0016-0002-SetPrioritySettings_command14
  1.1459 +		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0016-0002-SetConfigL_command15
  1.1460 +		COMMAND		devsound1		OpenFile			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0016-0002-OpenFile_command16
  1.1461 +		COMMAND		devsound1		PlayInitL
  1.1462 +		OUTSTANDING
  1.1463 +		COMMAND		devsound1		CloseFile
  1.1464 +		COMMAND		audioinput1		~
  1.1465 +		COMMAND		devsound1		~
  1.1466 +	END_TEST_BLOCK
  1.1467 +END_TESTCASE MULTIMEDIA-MMF-DEVSOUNDEXT-VALIDATION-AUTOMATED-COMB_PR-0016
  1.1468 +
  1.1469 +
  1.1470 +
  1.1471 +
  1.1472 +START_TESTCASE MULTIMEDIA-MMF-DEVSOUNDEXT-VALIDATION-AUTOMATED-COMB_PR-0017
  1.1473 +
  1.1474 +//!@SYMTestCaseID		MULTIMEDIA-MMF-DEVSOUNDEXT-VALIDATION-AUTOMATED-COMB_PR-0017
  1.1475 +//!@SYMAPI
  1.1476 +//!                CMMFDevSound:: InitializeL(MDevSoundObserver {ref}, TFourCC , TMMFState )
  1.1477 +//!                 CMMFDevSound:: PlayInitL()
  1.1478 +//!                 CMMFDevSound:: RecordInitL()
  1.1479 +//! TEST_BLOCK 001
  1.1480 +//!                CMMFDevSound::  InitializeL(MDevSoundObserver {ref}, TFourCC , TMMFState )
  1.1481 +//!                 CMMFDevSound:: PlayInitL()
  1.1482 +//! TEST_BLOCK 002
  1.1483 +//!                CMMFDevSound:: InitializeL(MDevSoundObserver {ref}, TFourCC , TMMFState )
  1.1484 +//!                 CMMFDevSound:: PlayInitL()
  1.1485 +//!                 CMMFDevSound:: RecordInitL()
  1.1486 +//! TEST_BLOCK 003
  1.1487 +//!                CMMFDevSound:: InitializeL(MDevSoundObserver {ref}, TFourCC , TMMFState )
  1.1488 +//!                 CMMFDevSound:: PlayInitL()
  1.1489 +//!                 CMMFDevSound:: RecordInitL()
  1.1490 +//!                 CAudioInput::SetAudioInputL(TAudioInputArray )
  1.1491 +//!@SYMAuthor			jguillermo
  1.1492 +//!@SYMCreationDate		8/25/2008 
  1.1493 +//!@SYMTestCaseDesc		Audio routing - Playback mixing 48k mono recording from speaker
  1.1494 +//!@SYMTestActions
  1.1495 +//! TEST_BLOCK 001
  1.1496 +//!                1. Create DevSound instance
  1.1497 +//!                2. Initialize DevSound (Mode = EMMFStatePlaying; FourCC = MP3)
  1.1498 +//!                3. Set Priority (Priority = {Priority,PriorityAudioPlayback}; Preference = {PriorityPreference,PriorityPreferenceNone};PriorityState=EMMFStatePlaying)
  1.1499 +//!                4. Capabilities
  1.1500 +//!                5. Set Configuration (Channels = EMMFStereo; Rate = EMMFSampleRate44100Hz)
  1.1501 +//!                6. Open file (Filename= {drive,mmc}\multimedia\mmf\devsound\MP3\MP3_44.1k_128kbps_st_Test3.mp3)                
  1.1502 +//!                7. Play 35 seconds                       
  1.1503 +//!                8. Stop                                       
  1.1504 +//!                9. Close file                          
  1.1505 +//!                10. Delete DevSound instance
  1.1506 +//! TEST_BLOCK 002
  1.1507 +//!                1. Create DevSound instance
  1.1508 +//!                2. Initialize DevSound (Mode = EMMFStatePlaying; FourCC ={SpecialFourCC,RAW})
  1.1509 +//!                3. Set Priority (Priority = {Priority,PriorityAudioPlayback}; Preference = {PriorityPreference,PriorityPreferenceNone};PriorityState=EMMFStatePlaying)
  1.1510 +//!                4. Capabilities
  1.1511 +//!                5. Set Configuration and delay 5 seconds (Channels = EMMFStereo; Rate = EMMFSampleRate48000Hz)
  1.1512 +//!                6. Open file (Filename= {drive,mmc}\multimedia\mmf\devsound\PCM\PCM_48k_16b_signed_st_Test1.pcm)                          
  1.1513 +//!                7. Play 30 seconds                                 
  1.1514 +//!                8. Stop                                      
  1.1515 +//!                9. Close file                         
  1.1516 +//!                10. Delete DevSound instance
  1.1517 +//!                
  1.1518 +//! TEST_BLOCK 003
  1.1519 +//!                1. Create DevSound instance
  1.1520 +//!                2. Create AudioInput instance (DevSoundInstanceName = devsound1)
  1.1521 +//!                3. Initialize DevSound (Mode = EMMFStateRecording; FourCC ={SpecialFourCC,RAW})
  1.1522 +//!                4. Set Priority (Priority = {Priority,PriorityVoiceRecording}; Preference = {PriorityPreference,PriorityPreferenceVoiceRecording};PriorityState=EMMFStateRecording)
  1.1523 +//!                5. Capabilities
  1.1524 +//!                6. Set Configuration and delay 15 seconds(Channels = EMMFMono; Rate = EMMFSampleRate48000Hz)
  1.1525 +//!                7. Replace file (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\RoutingPlayMixingRecSpeaker.pcm)           
  1.1526 +//!                8. Set audio input (AudioInput = Input_OutputtoSpeaker)                         
  1.1527 +//!                9. Record 15 seconds               
  1.1528 +//!                10. Stop 15 seconds                    
  1.1529 +//!                11. Close file                                   
  1.1530 +//!                12. Initialize DevSound (Mode = EMMFStatePlaying; FourCC ={SpecialFourCC,RAW})             
  1.1531 +//!                13. Set Priority (Priority = {Priority,PriorityAudioPlayback}; Preference = {PriorityPreference,PriorityPreferenceAudioPlayback};PriorityState=EMMFStatePlaying)
  1.1532 +//!                14. Set Configuration(Channels = EMMFMono; Rate = EMMFSampleRate48000Hz)           
  1.1533 +//!                15. Open file (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\RoutingPlayMixingRecSpeaker.pcm)         
  1.1534 +//!                16. Play EOF                          
  1.1535 +//!                17. Close file             
  1.1536 +//!                18. Delete AudioInput instance                  
  1.1537 +//!                19. Delete DevSound instance                    
  1.1538 +//!                
  1.1539 +//!@SYMTestStatus		Verified
  1.1540 +//!@SYMTestPriority		High
  1.1541 +//!@SYMTestExpectedResults
  1.1542 +//!                AA_Audio routing - Playback mixing 48k mono recording from speaker
  1.1543 +//! TEST_BLOCK 001
  1.1544 +//!                AA_Audio routing - Playback mixing 48k mono recording from speaker
  1.1545 +//! TEST_BLOCK 002
  1.1546 +//!                AA_Audio routing - Playback mixing 48k mono recording from speaker
  1.1547 +//! TEST_BLOCK 003
  1.1548 +//!                AA_Audio routing - Playback mixing 48k mono recording from speaker
  1.1549 +//!@SYMTestType			CIT
  1.1550 +
  1.1551 +
  1.1552 +	CONCURRENT
  1.1553 +
  1.1554 +
  1.1555 +
  1.1556 +	START_TEST_BLOCK	70	t_devsoundext	\multimedia\mmf\devsound\multimedia-mmf-devsoundext-validation-automated-comb_pr.ini
  1.1557 +		CREATE_OBJECT	CMMFDevSound		devsound1
  1.1558 +		COMMAND		devsound1		NewL
  1.1559 +		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0017-0001-InitializeL_command02
  1.1560 +		OUTSTANDING
  1.1561 +		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0017-0001-SetPrioritySettings_command03
  1.1562 +		COMMAND		devsound1		Capabilities
  1.1563 +		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0017-0001-SetConfigL_command05
  1.1564 +		COMMAND		devsound1		OpenFile			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0017-0001-OpenFile_command06
  1.1565 +		COMMAND	!AsyncError=-13	devsound1       PlayInitL
  1.1566 +		ASYNC_DELAY  35000000 
  1.1567 +		COMMAND		devsound1		Stop
  1.1568 +		COMMAND		devsound1		CloseFile
  1.1569 +		COMMAND		devsound1		~
  1.1570 +	END_TEST_BLOCK
  1.1571 +
  1.1572 +
  1.1573 +
  1.1574 +	START_TEST_BLOCK	70	t_devsoundext	\multimedia\mmf\devsound\multimedia-mmf-devsoundext-validation-automated-comb_pr.ini
  1.1575 +		CREATE_OBJECT	CMMFDevSound		devsound1
  1.1576 +		COMMAND		devsound1		NewL
  1.1577 +		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0017-0002-InitializeL_command02
  1.1578 +		OUTSTANDING
  1.1579 +		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0017-0002-SetPrioritySettings_command03
  1.1580 +		COMMAND		devsound1		Capabilities
  1.1581 +		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0017-0002-SetConfigL_command05
  1.1582 +		DELAY  5000000 
  1.1583 +		COMMAND		devsound1		OpenFile			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0017-0002-OpenFile_command06
  1.1584 +		COMMAND	!AsyncError=-13	devsound1       PlayInitL
  1.1585 +		ASYNC_DELAY  30000000 
  1.1586 +		COMMAND		devsound1		Stop
  1.1587 +		COMMAND		devsound1		CloseFile
  1.1588 +		COMMAND		devsound1		~
  1.1589 +	END_TEST_BLOCK
  1.1590 +
  1.1591 +
  1.1592 +
  1.1593 +	START_TEST_BLOCK	70	t_devsoundext	\multimedia\mmf\devsound\multimedia-mmf-devsoundext-validation-automated-comb_pr.ini
  1.1594 +		CREATE_OBJECT	CMMFDevSound		devsound1
  1.1595 +		CREATE_OBJECT	CAudioInput		audioinput1
  1.1596 +		COMMAND		devsound1		NewL
  1.1597 +		COMMAND		audioinput1		NewL			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0017-0003-NewL_command02
  1.1598 +		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0017-0003-InitializeL_command03
  1.1599 +		OUTSTANDING
  1.1600 +		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0017-0003-SetPrioritySettings_command04
  1.1601 +		COMMAND		devsound1		Capabilities
  1.1602 +		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0017-0003-SetConfigL_command06
  1.1603 +		DELAY  15000000 
  1.1604 +		COMMAND		devsound1		ReplaceFile			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0017-0003-ReplaceFile_command07
  1.1605 +		COMMAND		audioinput1		SetAudioInput			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0017-0003-SetAudioInput_command08
  1.1606 +		COMMAND		devsound1		RecordInitL
  1.1607 +		ASYNC_DELAY  15000000 
  1.1608 +		COMMAND		devsound1		Stop
  1.1609 +		DELAY  15000000 
  1.1610 +		COMMAND		devsound1		CloseFile
  1.1611 +		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0017-0003-InitializeL_command12
  1.1612 +		OUTSTANDING
  1.1613 +		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0017-0003-SetPrioritySettings_command13
  1.1614 +		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0017-0003-SetConfigL_command14
  1.1615 +		COMMAND		devsound1		OpenFile			MULTIMEDIA-MMF-DevSoundExt-Comb_Pr-0017-0003-OpenFile_command15
  1.1616 +		COMMAND		devsound1		PlayInitL
  1.1617 +		OUTSTANDING
  1.1618 +		COMMAND		devsound1		CloseFile
  1.1619 +		COMMAND		audioinput1		~
  1.1620 +		COMMAND		devsound1		~
  1.1621 +	END_TEST_BLOCK
  1.1622 +END_TESTCASE MULTIMEDIA-MMF-DEVSOUNDEXT-VALIDATION-AUTOMATED-COMB_PR-0017
  1.1623 +