os/boardsupport/haitest/bspsvs/suite/bsp/sound/scripts/base-bsp-sound-driver-automated.script
changeset 0 bde4ae8d615e
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/os/boardsupport/haitest/bspsvs/suite/bsp/sound/scripts/base-bsp-sound-driver-automated.script	Fri Jun 15 03:10:57 2012 +0200
     1.3 @@ -0,0 +1,6115 @@
     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 +//! @file
    1.20 +//! @SYMTestSuiteName  BASE-BSP-SOUND
    1.21 +//! @SYMScriptTestEnvironment This test script requires a base rom image
    1.22 +
    1.23 +/////////////////////////////////////////////////////////////////////
    1.24 +// BASE-BSP-SOUND-DRIVER-automated.script
    1.25 +//
    1.26 +//
    1.27 +// Tests all the PublishedPartner APIs of the RMdaDevSound
    1.28 +// class as a means of confidence that the APIs work as expected.
    1.29 +// All test cases will keep the sound system state and 
    1.30 +// restore that to initial state when test case finished
    1.31 +// Platform dependent configuration is picked up from the global environment files
    1.32 +//
    1.33 +/////////////////////////////////////////////////////////////////////
    1.34 +
    1.35 +RUN_UTILS MkDir		${SYSDRIVE}\base\
    1.36 +RUN_UTILS MkDir		${SYSDRIVE}\base\sound\
    1.37 +RUN_UTILS MkDir		${SYSDRIVE}\base\sound\validation
    1.38 +
    1.39 +
    1.40 +LOAD_SUITE	t_sound
    1.41 +DELAY		5000
    1.42 +
    1.43 +/////////////////////////////////////////////
    1.44 +// Driver functionality
    1.45 +/////////////////////////////////////////////
    1.46 +
    1.47 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-0001
    1.48 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-0001
    1.49 +//! @SYMAPI			RMdaDevSound::Open(TInt)
    1.50 +//! @SYMAuthor			Vassili Tsvetkov
    1.51 +//! @SYMCreationDate		15/06/2008
    1.52 +//! @SYMTestCaseDesc		Open a session to the sound device using the default unit of device value.
    1.53 +//!				
    1.54 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
    1.55 +//!				2. Call Close()
    1.56 +//!
    1.57 +//! @SYMTestStatus		Implemented
    1.58 +//! @SYMTestPriority		Critical
    1.59 +//! @SYMTestExpectedResults	Function does not leave nor panic. Session to the default sound driver is opened and closed
    1.60 +//! @SYMTestType		CIT
    1.61 +	START_TEST_BLOCK	100		t_sound			\base\sound\base-bsp-sound-driver.ini
    1.62 +		CREATE_OBJECT	RMdaDevSound	devsound  
    1.63 +		COMMAND		devsound	new
    1.64 +		COMMAND		devsound	Open			UnitEnum
    1.65 +		COMMAND		devsound  	Close
    1.66 +		COMMAND		devsound  	~
    1.67 +	END_TEST_BLOCK
    1.68 +END_TESTCASE			BASE-BSP-SOUND-DRIVER-0001
    1.69 +
    1.70 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-0002
    1.71 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-0002
    1.72 +//! @SYMAPI			RMdaDevSound::VersionRequired();
    1.73 +//!				RMdaDevSound::IsMdaSound()
    1.74 +//! @SYMAuthor			Vassili Tsvetkov
    1.75 +//! @SYMCreationDate		15/06/2008
    1.76 +//! @SYMTestCaseDesc		Checkwhether the loaded driver is the MdaSound driver
    1.77 +//!				and receive the version of sound driver
    1.78 +//!				
    1.79 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]				
    1.80 +//!				2. Call IsMdaSound() and check if that return KErrNone (it means, that loaded driver is MdaSound driver)
    1.81 +//!				3. Call VersionRequired() and verify with expected value from [driver] section
    1.82 +//!				4. Call Close()
    1.83 +//!
    1.84 +//! @SYMTestStatus		Implemented
    1.85 +//! @SYMTestPriority		Critical
    1.86 +//! @SYMTestExpectedResults	Loaded driver is MdaSound-type driver and version number is as expected
    1.87 +//! @SYMTestType		CIT
    1.88 +	START_TEST_BLOCK		100		t_sound			\base\sound\base-bsp-sound-driver.ini
    1.89 +		CREATE_OBJECT		RMdaDevSound	devsound
    1.90 +		COMMAND			devsound	new
    1.91 +		COMMAND			devsound	Open			UnitEnum
    1.92 +		COMMAND			devsound	IsMdaSound
    1.93 +		COMMAND			devsound	VersionRequired		driver
    1.94 +		COMMAND			devsound  	Close
    1.95 +		COMMAND			devsound  	~
    1.96 +	END_TEST_BLOCK
    1.97 +END_TESTCASE			BASE-BSP-SOUND-DRIVER-0002
    1.98 +
    1.99 +///////////////////////////////////////////
   1.100 +// Format/Volume functionality
   1.101 +///////////////////////////////////////////
   1.102 +
   1.103 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-1001
   1.104 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-1001
   1.105 +//! @SYMAPI			RMdaDevSound::PlayFormatsSupported(TSoundFormatsSupportedBuf{ref});
   1.106 +//!				RMdaDevSound::GetPlayFormat(TCurrentSoundFormatBuf{ref});
   1.107 +//!				RMdaDevSound::PlayVolume();
   1.108 +//!				RMdaDevSound::RecordFormatsSupported(TSoundFormatsSupportedBuf{ref});
   1.109 +//!				RMdaDevSound::GetRecordFormat(TCurrentSoundFormatBuf{ref});
   1.110 +//!				RMdaDevSound::RecodLevel(TInt)
   1.111 +//! @SYMAuthor			Vassili Tsvetkov
   1.112 +//! @SYMCreationDate		15/06/2008
   1.113 +//! @SYMTestCaseDesc		Request the supported formats and default used format for default sound driver
   1.114 +//!				
   1.115 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
   1.116 +//!				2. Call PlayFormatsSupported() and verify with list from [play_formats_supported]
   1.117 +//!				3. Call GetPlayFormat() and verify with list from [default_play_format]
   1.118 +//!				4. Call PlayVolume() and verify with it from [default_play_volume]
   1.119 +//!				5. Call RecordFormatsSupported() and verify with list from [record_formats_supported]
   1.120 +//!				6. Call GetRecordFormat() and verify with list from [default_record_format]
   1.121 +//!				7. Call RecordLevel and verify with it from [default_record_level]
   1.122 +//!				8. Call Close()
   1.123 +//!
   1.124 +//! @SYMTestStatus		Implemented
   1.125 +//! @SYMTestPriority		Critical
   1.126 +//! @SYMTestExpectedResults	Supported formats are as expected
   1.127 +//! @SYMTestType		CIT
   1.128 +	START_TEST_BLOCK	100				t_sound			\base\sound\BASE-BSP-SOUND-DRIVER.ini
   1.129 +		CREATE_OBJECT	RMdaDevSound			devsound  
   1.130 +		COMMAND		devsound			new
   1.131 +		COMMAND		devsound			Open			UnitEnum
   1.132 +		CREATE_OBJECT	TSoundFormatsSupported		t_formats		
   1.133 +		COMMAND		t_formats			new
   1.134 +		COMMAND		devsound			PlayFormatsSupported	BSP-SOUND-DRIVER-PlayFormatsSupported
   1.135 +		COMMAND		t_formats			imin_rate_get		play_formats_supported
   1.136 +		COMMAND		t_formats			imax_rate_get		play_formats_supported
   1.137 +		COMMAND		t_formats			ichannels_get		play_formats_supported
   1.138 +		COMMAND		t_formats			imin_buffer_size_get	play_formats_supported
   1.139 +		COMMAND		t_formats			imax_buffer_size_get	play_formats_supported
   1.140 +		COMMAND		t_formats			imin_volume_get		play_formats_supported
   1.141 +		COMMAND		t_formats			imax_volume_get		play_formats_supported
   1.142 +		COMMAND		t_formats			iencodings_get		play_formats_supported
   1.143 +		COMMAND		t_formats			~
   1.144 +		CREATE_OBJECT	TCurrentSoundFormat		t_format		
   1.145 +		COMMAND		t_format			new			
   1.146 +		COMMAND		devsound			GetPlayFormat		BSP-SOUND-DRIVER-GetPlayFormat
   1.147 +		COMMAND		t_format			irate_get			default_play_format
   1.148 +		COMMAND		t_format			iencoding_get		default_play_format
   1.149 +		COMMAND		t_format			ichannels_get		default_play_format
   1.150 +		COMMAND		t_format			ibuffer_size_get		default_play_format
   1.151 +		COMMAND		devsound			PlayVolume		default_play_volume
   1.152 +		COMMAND		t_format			~
   1.153 +		COMMAND		t_formats			new
   1.154 +		COMMAND		devsound			RecordFormatsSupported	BSP-SOUND-DRIVER-RecordFormatsSupported
   1.155 +		COMMAND		t_formats			imin_rate_get		record_formats_supported
   1.156 +		COMMAND		t_formats			imax_rate_get		record_formats_supported
   1.157 +		COMMAND		t_formats			ichannels_get		record_formats_supported
   1.158 +		COMMAND		t_formats			imin_buffer_size_get	record_formats_supported
   1.159 +		COMMAND		t_formats			imax_buffer_size_get	record_formats_supported
   1.160 +		COMMAND		t_formats			imin_volume_get		record_formats_supported
   1.161 +		COMMAND		t_formats			imax_volume_get		record_formats_supported
   1.162 +		COMMAND		t_formats			iencodings_get		record_formats_supported
   1.163 +		COMMAND		t_formats			~		
   1.164 +		COMMAND		t_format			new			
   1.165 +		COMMAND		devsound			GetRecordFormat		BSP-SOUND-DRIVER-GetRecordFormat
   1.166 +		COMMAND		t_format			irate_get			default_record_format
   1.167 +		COMMAND		t_format			iencoding_get		default_record_format
   1.168 +		COMMAND		t_format			ichannels_get		default_record_format
   1.169 +		COMMAND		t_format			ibuffer_size_get		default_record_format
   1.170 +		COMMAND		devsound			RecordLevel		default_record_level
   1.171 +		COMMAND		t_format			~
   1.172 +		COMMAND		devsound  			Close
   1.173 +		COMMAND		devsound  			~
   1.174 +	END_TEST_BLOCK
   1.175 +END_TESTCASE			BASE-BSP-SOUND-DRIVER-1001
   1.176 +
   1.177 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-1002
   1.178 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-1002
   1.179 +//! @SYMAPI			RMdaDevSound::PlayData(TRequestStatus{ref}, const TDesC8{ref});
   1.180 +//!				RMdaDevSound::SetPlayVolume(TInt);
   1.181 +//!				RMdaDevSound::PlayVolume()
   1.182 +//! @SYMAuthor			Vassili Tsvetkov
   1.183 +//! @SYMCreationDate		15/06/2008
   1.184 +//! @SYMTestCaseDesc		Play sound with default volume level and maximal volume level
   1.185 +//!				
   1.186 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
   1.187 +//!				2. Call GetPlayFormat() with [default_play_format] to verify default play format
   1.188 +//!				3. Call NotifyPlayError() //needed because otherwise PlayData() will not really stop after Outstanding
   1.189 +//!				4. Call PlayData() with valid sound data from [default_file]
   1.190 +//!				5. Call SetPlayVolume() with max volume from [max_play_volume]
   1.191 +//!				6. Call NotifyPlayError() //needed because otherwise PlayData() will not really stop after Outstanding
   1.192 +//!				7. Call PlayData() with valid sound data from [default_file]
   1.193 +//!				8. Call PlayVolume(), where expected result is equal with max volume from [max_play_volume]
   1.194 +//!				9. Call Close()
   1.195 +//!
   1.196 +//! @SYMTestStatus		Implemented
   1.197 +//! @SYMTestPriority		Critical
   1.198 +//! @SYMTestExpectedResults	Playback finished w/o errors, set and received volume values are equal
   1.199 +//! @SYMTestType		CIT
   1.200 +	START_TEST_BLOCK	100				t_sound			\base\sound\base-bsp-sound-driver.ini
   1.201 +		CREATE_OBJECT	RMdaDevSound			devsound  
   1.202 +		COMMAND		devsound			new
   1.203 +		COMMAND		devsound			Open			UnitEnum
   1.204 +		CREATE_OBJECT	TCurrentSoundFormat		t_format		
   1.205 +		COMMAND		t_format			new
   1.206 +		COMMAND		devsound			GetPlayFormat		BSP-SOUND-DRIVER-GetPlayFormat
   1.207 +		//!verify default play configuration			
   1.208 +		COMMAND		t_format			irate_get		default_play_format
   1.209 +		COMMAND		t_format			iencoding_get		default_play_format
   1.210 +		COMMAND		t_format			ichannels_get		default_play_format
   1.211 +		COMMAND		t_format			ibuffer_size_get	default_play_format
   1.212 +		COMMAND !AsyncError=-10	devsound			NotifyPlayError
   1.213 +		COMMAND		devsound			PlayData		default_file
   1.214 +		OUTSTANDING
   1.215 +		COMMAND		devsound			SetPlayVolume		max_play_volume
   1.216 +		COMMAND		devsound			PlayData		default_file
   1.217 +		COMMAND !AsyncError=-10	devsound			NotifyPlayError
   1.218 +		OUTSTANDING
   1.219 +		COMMAND		devsound			PlayVolume		max_play_volume
   1.220 +		COMMAND		t_format			~
   1.221 +		COMMAND		devsound  			Close
   1.222 +		COMMAND		devsound  			~
   1.223 +	END_TEST_BLOCK
   1.224 +END_TESTCASE			BASE-BSP-SOUND-DRIVER-1002
   1.225 +
   1.226 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-1003
   1.227 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-1003
   1.228 +//! @SYMAPI			RMdaDevSound::PlayData(TRequestStatus{ref}, const TDesC8{ref});
   1.229 +//!				RMdaDevSound::SetPlayFormat(TCurrentSoundFormatBuf{ref});
   1.230 +//!				RMdaDevSound::GetPlayFormat(TCurrentSoundFormatBuf{ref})
   1.231 +//! @SYMAuthor			Vassili Tsvetkov
   1.232 +//! @SYMCreationDate		15/06/2008
   1.233 +//! @SYMTestCaseDesc		Play sound with default format and with some valid sound format
   1.234 +//!				
   1.235 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
   1.236 +//!				2. Call GetPlayFormat() and verify from [default_play_format]
   1.237 +//!				3. Call NotifyPlayError() //needed because otherwise PlayData() will not really stop after Outstanding
   1.238 +//!				4. Call PlayData() with valid sound data from [default_file]
   1.239 +//!				5. Call SetPlayFormat() with unsupported format value from [unsupported_play_format] with expected error KErrNotSupported
   1.240 +//!				6. Call GetPlayFormat() where expected result is equal with format from [default_play_format]
   1.241 +//!				7. Call SetPlayFormat() with valid format value from [valid_play_format]
   1.242 +//!				8. Call NotifyPlayError() //needed because otherwise PlayData() will not really stop after Outstanding
   1.243 +//!				9. Call PlayData() with valid sound data from [valid_file]
   1.244 +//!				10. Call GetPlayFormat(), where expected result is equal with format from [valid_play_format]
   1.245 +//!				11. Call Close()
   1.246 +//!
   1.247 +//! @SYMTestStatus		Implemented
   1.248 +//! @SYMTestPriority		Critical
   1.249 +//! @SYMTestExpectedResults	Playback finished w/o errors errors, set and received playback format values are equal, setting of unsupported format
   1.250 +//!				raised KErrNotSupported
   1.251 +//! @SYMTestType		CIT
   1.252 +	START_TEST_BLOCK		100				t_sound			\base\sound\base-bsp-sound-driver.ini
   1.253 +		CREATE_OBJECT		RMdaDevSound			devsound  
   1.254 +		COMMAND			devsound			new
   1.255 +		COMMAND			devsound			Open			UnitEnum
   1.256 +		CREATE_OBJECT		TCurrentSoundFormat		t_format		
   1.257 +		COMMAND			t_format			new
   1.258 +		COMMAND			devsound			GetPlayFormat		BSP-SOUND-DRIVER-GetPlayFormat
   1.259 +		//!verify default play configuration			
   1.260 +		COMMAND			t_format			irate_get		default_play_format
   1.261 +		COMMAND			t_format			iencoding_get		default_play_format
   1.262 +		COMMAND			t_format			ichannels_get		default_play_format
   1.263 +		COMMAND			t_format			ibuffer_size_get	default_play_format
   1.264 +		COMMAND !AsyncError=-10	devsound			NotifyPlayError
   1.265 +		COMMAND			devsound			PlayData		default_file
   1.266 +		OUTSTANDING
   1.267 +		COMMAND			t_format			irate_set		unsupported_play_format
   1.268 +		COMMAND			t_format			iencoding_set		unsupported_play_format
   1.269 +		COMMAND			t_format			ichannels_set		unsupported_play_format
   1.270 +		COMMAND			t_format			ibuffer_size_set	unsupported_play_format
   1.271 +		COMMAND !Error=-5	devsound			SetPlayFormat		BSP-SOUND-DRIVER-SetPlayFormat
   1.272 +		COMMAND			devsound			GetPlayFormat		BSP-SOUND-DRIVER-GetPlayFormat
   1.273 +		COMMAND			t_format			irate_get		default_play_format	
   1.274 +		COMMAND			t_format			iencoding_get		default_play_format	
   1.275 +		COMMAND			t_format			ichannels_get		default_play_format	
   1.276 +		COMMAND			t_format			ibuffer_size_get	default_play_format
   1.277 +		COMMAND !AsyncError=-10	devsound			NotifyPlayError
   1.278 +		COMMAND			devsound			PlayData		valid_file
   1.279 +		OUTSTANDING
   1.280 +		COMMAND			t_format			irate_set		valid_play_format
   1.281 +		COMMAND			t_format			iencoding_set		valid_play_format
   1.282 +		COMMAND			t_format			ichannels_set		valid_play_format
   1.283 +		COMMAND			t_format			ibuffer_size_set	valid_play_format
   1.284 +		COMMAND			devsound			SetPlayFormat		BSP-SOUND-DRIVER-SetPlayFormat
   1.285 +		COMMAND !AsyncError=-10	devsound			NotifyPlayError
   1.286 +		COMMAND			devsound			PlayData		valid_file
   1.287 +		OUTSTANDING
   1.288 +		COMMAND			devsound			GetPlayFormat		BSP-SOUND-DRIVER-GetPlayFormat
   1.289 +		COMMAND			t_format			irate_get		valid_play_format	
   1.290 +		COMMAND			t_format			iencoding_get		valid_play_format	
   1.291 +		COMMAND			t_format			ichannels_get		valid_play_format	
   1.292 +		COMMAND			t_format			ibuffer_size_get	valid_play_format
   1.293 +		// set back default play format
   1.294 +		COMMAND			t_format			irate_set		default_play_format
   1.295 +		COMMAND			t_format			iencoding_set		default_play_format
   1.296 +		COMMAND			t_format			ichannels_set		default_play_format
   1.297 +		COMMAND			t_format			ibuffer_size_set	default_play_format
   1.298 +		COMMAND			devsound			SetPlayFormat		BSP-SOUND-DRIVER-SetPlayFormat
   1.299 +		COMMAND			t_format			~
   1.300 +		COMMAND			devsound  			Close
   1.301 +		COMMAND			devsound  			~
   1.302 +	END_TEST_BLOCK
   1.303 +END_TESTCASE			BASE-BSP-SOUND-DRIVER-1003
   1.304 +
   1.305 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-1004
   1.306 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-1004
   1.307 +//! @SYMAPI			RMdaDevSound::RecordData(TRequestStatus{ref}, const TDes8{ref});
   1.308 +//!				RMdaDevSound::SetRecordLevel(TInt);
   1.309 +//!				RMdaDevSound::RecordLevel()
   1.310 +//! @SYMAuthor			Vassili Tsvetkov
   1.311 +//! @SYMCreationDate		15/06/2008
   1.312 +//! @SYMTestCaseDesc		Record sound with default volume level and max volume level
   1.313 +//!				
   1.314 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
   1.315 +//!				2. Call GetRecordFormat() and verify from [default_record_format]
   1.316 +//!				3. Call RecordData()
   1.317 +//!				4. Call SetRecordLevel() with max record volume value from [max_record_level] variable
   1.318 +//!				5. Call FlushRecordBuffer() //needed because otherwise RecordData() will not really stop after 
   1.319 +//!				6. Call RecordData()
   1.320 +//!				7. Call FlushRecordBuffer() //needed because otherwise operation in next step will fail with KErrInUse
   1.321 +//!				8. Call RecordLevel(), where expected result is equal with max record volume value from [max_record_level] variable				
   1.322 +//!				9. Call Close()
   1.323 +//!
   1.324 +//! @SYMTestStatus		Implemented
   1.325 +//! @SYMTestPriority		Critical
   1.326 +//! @SYMTestExpectedResults	Recording finished w/o errors, set and received volume values are equal
   1.327 +//! @SYMTestType		CIT
   1.328 +	START_TEST_BLOCK		100				t_sound			\base\sound\base-bsp-sound-driver.ini
   1.329 +		CREATE_OBJECT		RMdaDevSound			devsound  
   1.330 +		COMMAND			devsound			new
   1.331 +		COMMAND			devsound			Open			UnitEnum
   1.332 +		CREATE_OBJECT		TCurrentSoundFormat		t_format		
   1.333 +		COMMAND			t_format			new
   1.334 +		COMMAND			devsound			GetRecordFormat		BSP-SOUND-DRIVER-GetRecordFormat
   1.335 +		//!verify default record configuration			
   1.336 +		COMMAND			t_format			irate_get		default_record_format
   1.337 +		COMMAND			t_format			iencoding_get		default_record_format
   1.338 +		COMMAND			t_format			ichannels_get		default_record_format
   1.339 +		COMMAND			t_format			ibuffer_size_get	default_record_format
   1.340 +		COMMAND			devsound			RecordData		record_data_32kb
   1.341 +		OUTSTANDING
   1.342 +		COMMAND			devsound			FlushRecordBuffer
   1.343 +		COMMAND			devsound			SetRecordLevel		max_record_level
   1.344 +		COMMAND			devsound			RecordData		record_data_32kb
   1.345 +		OUTSTANDING
   1.346 +		COMMAND			devsound			FlushRecordBuffer
   1.347 +		COMMAND			devsound			RecordLevel		max_record_level
   1.348 +		COMMAND			t_format			~
   1.349 +		COMMAND			devsound  			Close
   1.350 +		COMMAND			devsound  			~
   1.351 +	END_TEST_BLOCK
   1.352 +END_TESTCASE			BASE-BSP-SOUND-DRIVER-1004
   1.353 +
   1.354 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-1005
   1.355 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-1005
   1.356 +//! @SYMAPI			RMdaDevSound::RecordData(TRequestStatus{ref}, const TDesC8{ref});
   1.357 +//!				RMdaDevSound::SetRecordFormat(TCurrentSoundFormatBuf{ref});
   1.358 +//!				RMdaDevSound::GetRecordFormat(TCurrentSoundFormatBuf{ref})
   1.359 +//! @SYMAuthor			Vassili Tsvetkov
   1.360 +//! @SYMCreationDate		15/06/2008
   1.361 +//! @SYMTestCaseDesc		Record sound with default sound format and with some other valid sound format
   1.362 +//!				
   1.363 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
   1.364 +//!				2. Call GetRecordFormat() and verify from [default_record_format]
   1.365 +//!				3. Call RecordData()
   1.366 +//!				4. Call SetRecordFormat() with unsupported format value from [unsupported_record_format] with expected error KErrNotSupported
   1.367 +//!				5. Call GetRecordFormat() where expexted result is [default_record_format]
   1.368 +//!				6. Call SetRecordFormat() with valid record format value from [valid_record_format]
   1.369 +//!				7. Call RecordData()
   1.370 +//!				8. Call GetRecordFormat(), where expected result is equal with format from [valid_record_format] variable				
   1.371 +//!				9. Call Close()
   1.372 +//!
   1.373 +//! @SYMTestStatus		Implemented
   1.374 +//! @SYMTestPriority		Critical
   1.375 +//! @SYMTestExpectedResults	Recording finished w/o errors, set and received record format values are equal
   1.376 +//! @SYMTestType		CIT
   1.377 +	START_TEST_BLOCK		100				t_sound			\base\sound\base-bsp-sound-driver.ini
   1.378 +		CREATE_OBJECT		RMdaDevSound			devsound  
   1.379 +		COMMAND			devsound			new
   1.380 +		COMMAND			devsound			Open			UnitEnum
   1.381 +		CREATE_OBJECT		TCurrentSoundFormat		t_format		
   1.382 +		COMMAND			t_format			new
   1.383 +		COMMAND			devsound			GetRecordFormat		BSP-SOUND-DRIVER-GetRecordFormat
   1.384 +		//!verify default record configuration			
   1.385 +		COMMAND			t_format			irate_get		default_record_format
   1.386 +		COMMAND			t_format			iencoding_get		default_record_format
   1.387 +		COMMAND			t_format			ichannels_get		default_record_format
   1.388 +		COMMAND			t_format			ibuffer_size_get	default_record_format
   1.389 +		COMMAND			devsound			RecordData		record_data_32kb
   1.390 +		OUTSTANDING
   1.391 +		COMMAND			devsound			FlushRecordBuffer
   1.392 +		COMMAND			t_format			irate_set		unsupported_record_format
   1.393 +		COMMAND			t_format			iencoding_set		unsupported_record_format
   1.394 +		COMMAND			t_format			ichannels_set		unsupported_record_format
   1.395 +		COMMAND			t_format			ibuffer_size_set	unsupported_record_format
   1.396 +		COMMAND	!Error=-5	devsound			SetRecordFormat		BSP-SOUND-DRIVER-SetRecordFormat
   1.397 +		COMMAND			devsound			GetRecordFormat		BSP-SOUND-DRIVER-GetRecordFormat
   1.398 +		COMMAND			t_format			irate_get		default_record_format	
   1.399 +		COMMAND			t_format			iencoding_get		default_record_format	
   1.400 +		COMMAND			t_format			ichannels_get		default_record_format	
   1.401 +		COMMAND			t_format			ibuffer_size_get	default_record_format
   1.402 +		COMMAND			devsound			FlushRecordBuffer
   1.403 +		COMMAND			devsound			RecordData		record_data_32kb
   1.404 +		OUTSTANDING
   1.405 +		COMMAND			t_format			irate_set		valid_record_format
   1.406 +		COMMAND			t_format			iencoding_set		valid_record_format
   1.407 +		COMMAND			t_format			ichannels_set		valid_record_format
   1.408 +		COMMAND			t_format			ibuffer_size_set	valid_record_format
   1.409 +		COMMAND			devsound			FlushRecordBuffer
   1.410 +		COMMAND			devsound			SetRecordFormat		BSP-SOUND-DRIVER-SetRecordFormat
   1.411 +		COMMAND			devsound			RecordData		record_data_32kb	
   1.412 +		OUTSTANDING
   1.413 +		COMMAND			devsound			GetRecordFormat		BSP-SOUND-DRIVER-GetRecordFormat
   1.414 +		COMMAND			t_format			irate_get		valid_record_format
   1.415 +		COMMAND			t_format			iencoding_get		valid_record_format
   1.416 +		COMMAND			t_format			ichannels_get		valid_record_format
   1.417 +		COMMAND			t_format			ibuffer_size_get	valid_record_format
   1.418 +		// set back default record format
   1.419 +		COMMAND			t_format			irate_set		default_record_format
   1.420 +		COMMAND			t_format			iencoding_set		default_record_format
   1.421 +		COMMAND			t_format			ichannels_set		default_record_format
   1.422 +		COMMAND			t_format			ibuffer_size_set	default_record_format
   1.423 +		COMMAND			devsound			SetRecordFormat		BSP-SOUND-DRIVER-SetRecordFormat
   1.424 +		COMMAND			t_format			~
   1.425 +		COMMAND			devsound  			Close
   1.426 +		COMMAND			devsound  			~
   1.427 +	END_TEST_BLOCK
   1.428 +END_TESTCASE			BASE-BSP-SOUND-DRIVER-1005
   1.429 +
   1.430 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-1006
   1.431 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-1006
   1.432 +//! @SYMAPI			RMdaDevSound::PlayData(TRequestStatus{ref}, const TDesC8{ref});
   1.433 +//!				RMdaDevSound::SetPlayVolume(TInt);
   1.434 +//!				RMdaDevSound::PlayVolume()
   1.435 +//! @SYMAuthor			Vassili Tsvetkov
   1.436 +//! @SYMCreationDate		15/06/2008
   1.437 +//! @SYMTestCaseDesc		Play sound with volume level 25% and verify that sound level is still 25%. Set max volume level 
   1.438 +//!				and play again and verify that sound level is still max.
   1.439 +//!				
   1.440 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
   1.441 +//!				2. Call GetPlayFormat() and verify from [default_play_format]
   1.442 +//!				3. Call SetPlayVolume() with 25% volume from [play_volume_quater]
   1.443 +//!				4. Call NotifyPlayError() //needed because otherwise PlayData() will not really stop after Outstanding
   1.444 +//!				5. Call PlayData() with valid sound data from [default_file]
   1.445 +//!				6. Call PlayVolume() where expected volume level matches [play_volume_quater]
   1.446 +//!				7. Call SetPlayVolume() with max volume from [max_play_volume]
   1.447 +//!				8. Call NotifyPlayError() //needed because otherwise PlayData() will not really stop after Outstanding
   1.448 +//!				9. Call PlayData() with valid sound data from [default_file]
   1.449 +//!				10. Call PlayVolume(), where expected result is equal with max volume from [max_play_volume]
   1.450 +//!				11. Restore default playback sound volume
   1.451 +//!				12. Call Close().
   1.452 +//!
   1.453 +//! @SYMTestStatus		Implemented
   1.454 +//! @SYMTestPriority		Critical
   1.455 +//! @SYMTestExpectedResults	Playback finished w/o errors, sound became louder
   1.456 +//! @SYMTestType		CIT
   1.457 +	START_TEST_BLOCK		100				t_sound			\base\sound\base-bsp-sound-driver.ini
   1.458 +		CREATE_OBJECT		RMdaDevSound			devsound  
   1.459 +		COMMAND			devsound			new
   1.460 +		COMMAND			devsound			Open			UnitEnum
   1.461 +		CREATE_OBJECT		TCurrentSoundFormat		t_format		
   1.462 +		COMMAND			t_format			new
   1.463 +		COMMAND			devsound			GetPlayFormat		BSP-SOUND-DRIVER-GetPlayFormat
   1.464 +		//!verify default play configuration			
   1.465 +		COMMAND			t_format			irate_get		default_play_format
   1.466 +		COMMAND			t_format			iencoding_get		default_play_format
   1.467 +		COMMAND			t_format			ichannels_get		default_play_format
   1.468 +		COMMAND			t_format			ibuffer_size_get	default_play_format
   1.469 +		COMMAND			devsound			SetPlayVolume		play_volume_quater
   1.470 +		COMMAND !AsyncError=-10	devsound			NotifyPlayError
   1.471 +		COMMAND			devsound			PlayData		default_file
   1.472 +		OUTSTANDING
   1.473 +		COMMAND			devsound			PlayVolume		play_volume_quater
   1.474 +		COMMAND			devsound			SetPlayVolume		max_play_volume
   1.475 +		COMMAND !AsyncError=-10	devsound			NotifyPlayError
   1.476 +		COMMAND			devsound			PlayData		default_file
   1.477 +		OUTSTANDING
   1.478 +		COMMAND			devsound			PlayVolume		max_play_volume
   1.479 +		//!set back default playback audio level
   1.480 +		COMMAND			devsound			SetPlayVolume		default_play_volume
   1.481 +		COMMAND			t_format			~
   1.482 +		COMMAND			devsound  			Close
   1.483 +		COMMAND			devsound  			~
   1.484 +	END_TEST_BLOCK
   1.485 +END_TESTCASE			BASE-BSP-SOUND-DRIVER-1006
   1.486 +
   1.487 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-1007
   1.488 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-1007
   1.489 +//! @SYMAPI			RMdaDevSound::SetRecordFormat(TCurrentSoundFormatBuf{ref});
   1.490 +//!				RMdaDevSound::SetPlayFormat(TCurrentSoundFormatBuf{ref});
   1.491 +//!				RMdaDevSound::GetRecordFormat(TCurrentSoundFormatBuf{ref});
   1.492 +//!				RMdaDevSound::GetPlayFormat(TCurrentSoundFormatBuf{ref})
   1.493 +//! @SYMAuthor			Vassili Tsvetkov
   1.494 +//! @SYMCreationDate		15/06/2008
   1.495 +//! @SYMTestCaseDesc		Set record format to valid record format. Set play format to some other valid play format 
   1.496 +//!				(other than just set record format. Sampling rate should be different). 
   1.497 +//!				
   1.498 +//!				
   1.499 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
   1.500 +//!				2. Call GetPlayFormat() and verify from [default_play_format]
   1.501 +//!				3. Call GetRecordFormat() and verify from [default_record_format]
   1.502 +//!				4. Call SetRecordFormat with [valid_record_format]
   1.503 +//!				5. Call GetRecordFormat() and verify from [valid_record_format]
   1.504 +//!				6. Call SetPlayFormat with [another_valid_play_format]
   1.505 +//!				7. Call GetPlayFormat() and verify from [another_valid_play_format]
   1.506 +//!				8. Call SetRecordFormat with [default_record_format]
   1.507 +//!				9. Call SetPlayFormat with [default_play_format]
   1.508 +//!				10. Call Close().
   1.509 +//!
   1.510 +//! @SYMTestStatus		Implemented
   1.511 +//! @SYMTestPriority		Critical
   1.512 +//! @SYMTestExpectedResults	SetPlayFormat in step 6 returns KErrAccessDenied 
   1.513 +//! @SYMTestType		CIT
   1.514 +	START_TEST_BLOCK		100				t_sound			\base\sound\base-bsp-sound-driver.ini
   1.515 +		CREATE_OBJECT		RMdaDevSound			devsound  
   1.516 +		COMMAND			devsound			new
   1.517 +		COMMAND			devsound			Open			UnitEnum
   1.518 +		CREATE_OBJECT		TCurrentSoundFormat		t_format		
   1.519 +		COMMAND			t_format			new
   1.520 +		COMMAND			devsound			GetPlayFormat		BSP-SOUND-DRIVER-GetPlayFormat
   1.521 +		//!verify default play configuration			
   1.522 +		COMMAND			t_format			irate_get		default_play_format
   1.523 +		COMMAND			t_format			iencoding_get		default_play_format
   1.524 +		COMMAND			t_format			ichannels_get		default_play_format
   1.525 +		COMMAND			t_format			ibuffer_size_get	default_play_format
   1.526 +		COMMAND			devsound			GetRecordFormat		BSP-SOUND-DRIVER-GetRecordFormat
   1.527 +		//!verify default record configuration			
   1.528 +		COMMAND			t_format			irate_get		default_record_format
   1.529 +		COMMAND			t_format			iencoding_get		default_record_format
   1.530 +		COMMAND			t_format			ichannels_get		default_record_format
   1.531 +		COMMAND			t_format			ibuffer_size_get	default_record_format
   1.532 +		//set some valid record format
   1.533 +		COMMAND			t_format			irate_set		valid_record_format
   1.534 +		COMMAND			t_format			iencoding_set		valid_record_format
   1.535 +		COMMAND			t_format			ichannels_set		valid_record_format
   1.536 +		COMMAND			t_format			ibuffer_size_set	valid_record_format
   1.537 +		COMMAND			devsound			SetRecordFormat		BSP-SOUND-DRIVER-SetRecordFormat
   1.538 +		COMMAND			devsound			GetRecordFormat		BSP-SOUND-DRIVER-GetRecordFormat
   1.539 +		//!verify valid record configuration			
   1.540 +		COMMAND			t_format			irate_get		valid_record_format
   1.541 +		COMMAND			t_format			iencoding_get		valid_record_format
   1.542 +		COMMAND			t_format			ichannels_get		valid_record_format
   1.543 +		COMMAND			t_format			ibuffer_size_get	valid_record_format
   1.544 +		//set some valid play format
   1.545 +		COMMAND			t_format			irate_set		another_valid_play_format
   1.546 +		COMMAND			t_format			iencoding_set		another_valid_play_format
   1.547 +		COMMAND			t_format			ichannels_set		another_valid_play_format
   1.548 +		COMMAND			t_format			ibuffer_size_set	another_valid_play_format
   1.549 +		COMMAND	!Error=-21	devsound			SetPlayFormat		BSP-SOUND-DRIVER-SetPlayFormat
   1.550 +		COMMAND			devsound			GetPlayFormat		BSP-SOUND-DRIVER-GetPlayFormat
   1.551 +		//!verify valid play configuration			
   1.552 +		COMMAND			t_format			irate_get		another_valid_play_format
   1.553 +		COMMAND			t_format			iencoding_get		another_valid_play_format
   1.554 +		COMMAND			t_format			ichannels_get		another_valid_play_format
   1.555 +		COMMAND			t_format			ibuffer_size_get	another_valid_play_format
   1.556 +		// set back default record format
   1.557 +		COMMAND			t_format			irate_set		default_record_format
   1.558 +		COMMAND			t_format			iencoding_set		default_record_format
   1.559 +		COMMAND			t_format			ichannels_set		default_record_format
   1.560 +		COMMAND			t_format			ibuffer_size_set	default_record_format
   1.561 +		COMMAND			devsound			SetRecordFormat		BSP-SOUND-DRIVER-SetRecordFormat
   1.562 +		// set back default play format
   1.563 +		COMMAND			t_format			irate_set		default_play_format
   1.564 +		COMMAND			t_format			iencoding_set		default_play_format
   1.565 +		COMMAND			t_format			ichannels_set		default_play_format
   1.566 +		COMMAND			t_format			ibuffer_size_set	default_play_format
   1.567 +		COMMAND			devsound			SetPlayFormat		BSP-SOUND-DRIVER-SetPlayFormat
   1.568 +		COMMAND			t_format			~
   1.569 +		COMMAND			devsound  			Close
   1.570 +		COMMAND			devsound  			~
   1.571 +	END_TEST_BLOCK
   1.572 +END_TESTCASE			BASE-BSP-SOUND-DRIVER-1007
   1.573 +
   1.574 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-1008
   1.575 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-1008
   1.576 +//! @SYMAPI			RMdaDevSound::SetRecordFormat(TCurrentSoundFormatBuf{ref});
   1.577 +//!				RMdaDevSound::SetPlayFormat(TCurrentSoundFormatBuf{ref});
   1.578 +//!				RMdaDevSound::GetRecordFormat(TCurrentSoundFormatBuf{ref});
   1.579 +//!				RMdaDevSound::GetPlayFormat(TCurrentSoundFormatBuf{ref})
   1.580 +//! @SYMAuthor			Vassili Tsvetkov
   1.581 +//! @SYMCreationDate		15/06/2008
   1.582 +//! @SYMTestCaseDesc		Set play format to valid record format. Set record format to some other valid play format 
   1.583 +//!				(other than just set play format. Sampling rate should be different). 
   1.584 +//!				
   1.585 +//!				
   1.586 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
   1.587 +//!				2. Call GetPlayFormat() and verify from [default_play_format]
   1.588 +//!				3. Call GetRecordFormat() and verify from [default_record_format]
   1.589 +//!				4. Call SetPlayFormat with [another_valid_play_format]
   1.590 +//!				5. Call GetPlayFormat() and verify from [another_valid_play_format]
   1.591 +//!				6. Call SetRecordFormat with [valid_record_format]
   1.592 +//!				7. Call GetRecordFormat() and verify from [valid_record_format]
   1.593 +//!				8. Call SetRecordFormat with [default_record_format]
   1.594 +//!				9. Call SetPlayFormat with [default_play_format]
   1.595 +//!				10. Call Close().
   1.596 +//!
   1.597 +//! @SYMTestStatus		Implemented
   1.598 +//! @SYMTestPriority		Critical
   1.599 +//! @SYMTestExpectedResults	SetPlayFormat in step 6 returns KErrAccessDenied 
   1.600 +//! @SYMTestType		CIT
   1.601 +	START_TEST_BLOCK		100				t_sound			\base\sound\base-bsp-sound-driver.ini
   1.602 +		CREATE_OBJECT		RMdaDevSound			devsound  
   1.603 +		COMMAND			devsound			new
   1.604 +		COMMAND			devsound			Open			UnitEnum
   1.605 +		CREATE_OBJECT		TCurrentSoundFormat		t_format		
   1.606 +		COMMAND			t_format			new
   1.607 +		COMMAND			devsound			GetPlayFormat		BSP-SOUND-DRIVER-GetPlayFormat
   1.608 +		//!verify default play configuration			
   1.609 +		COMMAND			t_format			irate_get		default_play_format
   1.610 +		COMMAND			t_format			iencoding_get		default_play_format
   1.611 +		COMMAND			t_format			ichannels_get		default_play_format
   1.612 +		COMMAND			t_format			ibuffer_size_get	default_play_format
   1.613 +		COMMAND			devsound			GetRecordFormat		BSP-SOUND-DRIVER-GetRecordFormat
   1.614 +		//!verify default record configuration			
   1.615 +		COMMAND			t_format			irate_get		default_record_format
   1.616 +		COMMAND			t_format			iencoding_get		default_record_format
   1.617 +		COMMAND			t_format			ichannels_get		default_record_format
   1.618 +		COMMAND			t_format			ibuffer_size_get	default_record_format
   1.619 +		//set some valid Play format
   1.620 +		COMMAND			t_format			irate_set		another_valid_play_format
   1.621 +		COMMAND			t_format			iencoding_set		another_valid_play_format
   1.622 +		COMMAND			t_format			ichannels_set		another_valid_play_format
   1.623 +		COMMAND			t_format			ibuffer_size_set	another_valid_play_format
   1.624 +		COMMAND			devsound			SetPlayFormat		BSP-SOUND-DRIVER-SetPlayFormat
   1.625 +		COMMAND			devsound			GetPlayFormat		BSP-SOUND-DRIVER-GetPlayFormat
   1.626 +		//!verify valid play configuration			
   1.627 +		COMMAND			t_format			irate_get		another_valid_play_format
   1.628 +		COMMAND			t_format			iencoding_get		another_valid_play_format
   1.629 +		COMMAND			t_format			ichannels_get		another_valid_play_format
   1.630 +		COMMAND			t_format			ibuffer_size_get	another_valid_play_format
   1.631 +		//set some valid record format
   1.632 +		COMMAND			t_format			irate_set		valid_record_format
   1.633 +		COMMAND			t_format			iencoding_set		valid_record_format
   1.634 +		COMMAND			t_format			ichannels_set		valid_record_format
   1.635 +		COMMAND			t_format			ibuffer_size_set	valid_record_format
   1.636 +		COMMAND	!Error=-21	devsound			SetRecordFormat		BSP-SOUND-DRIVER-SetRecordFormat
   1.637 +		COMMAND			devsound			GetRecordFormat		BSP-SOUND-DRIVER-GetRecordFormat
   1.638 +		//!verify valid record configuration			
   1.639 +		COMMAND			t_format			irate_get		valid_record_format
   1.640 +		COMMAND			t_format			iencoding_get		valid_record_format
   1.641 +		COMMAND			t_format			ichannels_get		valid_record_format
   1.642 +		COMMAND			t_format			ibuffer_size_get	valid_record_format
   1.643 +		// set back default record format
   1.644 +		COMMAND			t_format			irate_set		default_record_format
   1.645 +		COMMAND			t_format			iencoding_set		default_record_format
   1.646 +		COMMAND			t_format			ichannels_set		default_record_format
   1.647 +		COMMAND			t_format			ibuffer_size_set	default_record_format
   1.648 +		COMMAND			devsound			SetRecordFormat		BSP-SOUND-DRIVER-SetRecordFormat
   1.649 +		// set back default play format
   1.650 +		COMMAND			t_format			irate_set		default_play_format
   1.651 +		COMMAND			t_format			iencoding_set		default_play_format
   1.652 +		COMMAND			t_format			ichannels_set		default_play_format
   1.653 +		COMMAND			t_format			ibuffer_size_set	default_play_format
   1.654 +		COMMAND			devsound			SetPlayFormat		BSP-SOUND-DRIVER-SetPlayFormat
   1.655 +		COMMAND			t_format			~
   1.656 +		COMMAND			devsound  			Close
   1.657 +		COMMAND			devsound  			~
   1.658 +	END_TEST_BLOCK
   1.659 +END_TESTCASE			BASE-BSP-SOUND-DRIVER-1008
   1.660 +
   1.661 +///////////////////////////////////////////
   1.662 +// Playback functionality
   1.663 +///////////////////////////////////////////
   1.664 +
   1.665 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-2001
   1.666 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-2001
   1.667 +//! @SYMAPI			RMdaDevSound::PlayData(TRequestStatus{ref}, const TDesC8{ref});
   1.668 +//!				RMdaDevSound::CancelPlayData()
   1.669 +//! @SYMAuthor			Vassili Tsvetkov
   1.670 +//! @SYMCreationDate		15/06/2008
   1.671 +//! @SYMTestCaseDesc		Play sound, then cancel playing and verify playback status
   1.672 +//!				
   1.673 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
   1.674 +//!				2. Call GetPlayFormat() and verify from [default_play_format]
   1.675 +//!				3. Call PlayData() with valid sound data from [default_file_cancel]
   1.676 +//!				4. Call CancelPlayData()
   1.677 +//!				5. Call Close()
   1.678 +//!
   1.679 +//! @SYMTestStatus		Implemented
   1.680 +//! @SYMTestPriority		Critical
   1.681 +//! @SYMTestExpectedResults	Playback canceled with KErrCancel
   1.682 +//! @SYMTestType		CIT
   1.683 +	START_TEST_BLOCK		100				t_sound			\base\sound\base-bsp-sound-driver.ini
   1.684 +		CREATE_OBJECT		RMdaDevSound			devsound  
   1.685 +		COMMAND			devsound			new
   1.686 +		COMMAND			devsound			Open			UnitEnum
   1.687 +		CREATE_OBJECT		TCurrentSoundFormat		t_format		
   1.688 +		COMMAND			t_format			new
   1.689 +		COMMAND			devsound			GetPlayFormat		BSP-SOUND-DRIVER-GetPlayFormat
   1.690 +		//!verify default play configuration			
   1.691 +		COMMAND			t_format			irate_get		default_play_format
   1.692 +		COMMAND			t_format			iencoding_get		default_play_format
   1.693 +		COMMAND			t_format			ichannels_get		default_play_format
   1.694 +		COMMAND			t_format			ibuffer_size_get	default_play_format
   1.695 +		COMMAND !AsyncError=-3	devsound			PlayData		default_file_cancel
   1.696 +		OUTSTANDING		
   1.697 +		COMMAND			t_format  			~
   1.698 +		COMMAND			devsound  			Close
   1.699 +		COMMAND			devsound  			~
   1.700 +	END_TEST_BLOCK
   1.701 +END_TESTCASE			BASE-BSP-SOUND-DRIVER-2001
   1.702 +
   1.703 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-2002
   1.704 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-2002
   1.705 +//! @SYMAPI			RMdaDevSound::PlayData(TRequestStatus{ref}, const TDesC8{ref});
   1.706 +//!				RMdaDevSound::PausePlayBuffer();
   1.707 +//!				RMdaDevSound::ResumePlaying()
   1.708 +//! @SYMAuthor			Vassili Tsvetkov
   1.709 +//! @SYMCreationDate		15/06/2008
   1.710 +//! @SYMTestCaseDesc		Play sound, pause and resume playback.
   1.711 +//!				
   1.712 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
   1.713 +//!				2. Call GetPlayFormat() and verify from [default_play_format]
   1.714 +//!				3. Call PlayData() with valid sound data from [default_file]
   1.715 +//!				4. Call PausePlayBuffer()
   1.716 +//!				5. Resume playback with ResumePlaying()
   1.717 +//!				7. Call Close()
   1.718 +//!
   1.719 +//! @SYMTestStatus		Implemented
   1.720 +//! @SYMTestPriority		Critical
   1.721 +//! @SYMTestExpectedResults	Playback paused, resumed and finished w/o errors
   1.722 +//! @SYMTestType		CIT
   1.723 +	START_TEST_BLOCK		100				t_sound			\base\sound\base-bsp-sound-driver.ini
   1.724 +		CREATE_OBJECT		RMdaDevSound			devsound  
   1.725 +		COMMAND			devsound			new
   1.726 +		COMMAND			devsound			Open			UnitEnum
   1.727 +		CREATE_OBJECT		TCurrentSoundFormat		t_format		
   1.728 +		COMMAND			t_format			new
   1.729 +		COMMAND			devsound			GetPlayFormat		BSP-SOUND-DRIVER-GetPlayFormat
   1.730 +		//!verify default play configuration			
   1.731 +		COMMAND			t_format			irate_get		default_play_format
   1.732 +		COMMAND			t_format			iencoding_get		default_play_format
   1.733 +		COMMAND			t_format			ichannels_get		default_play_format
   1.734 +		COMMAND			t_format			ibuffer_size_get	default_play_format
   1.735 +		COMMAND			devsound			PlayData		default_file
   1.736 +		COMMAND			devsound			PausePlayBuffer
   1.737 +		COMMAND			devsound			ResumePlaying		
   1.738 +		OUTSTANDING	
   1.739 +		COMMAND			t_format  			~
   1.740 +		COMMAND			devsound  			Close
   1.741 +		COMMAND			devsound  			~
   1.742 +	END_TEST_BLOCK
   1.743 +END_TESTCASE			BASE-BSP-SOUND-DRIVER-2002
   1.744 +
   1.745 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-2003
   1.746 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-2003
   1.747 +//! @SYMAPI			RMdaDevSound::PlayData(TRequestStatus{ref}, const TDesC8{ref});
   1.748 +//!				RMdaDevSound::PausePlayBuffer();
   1.749 +//!				RMdaDevSound::ResumePlaying()
   1.750 +//! @SYMAuthor			Vassili Tsvetkov
   1.751 +//! @SYMCreationDate		15/06/2008
   1.752 +//! @SYMTestCaseDesc		Play sound, pause and resume playback few times
   1.753 +//!				
   1.754 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
   1.755 +//!				2. Call GetPlayFormat() and verify from [default_play_format]
   1.756 +//!				3. Call PlayData() with valid sound data from [default_file]
   1.757 +//!				4. Call PausePlayBuffer()
   1.758 +//!				5. Resume playback with ResumePlaying()
   1.759 +//!				6. Call PausePlayBuffer()
   1.760 +//!				7. Resume playback with ResumePlaying()
   1.761 +//!				8. Call PausePlayBuffer()
   1.762 +//!				9. Resume playback with ResumePlaying()	
   1.763 +//!				10. Call Close()
   1.764 +//!
   1.765 +//! @SYMTestStatus		Implemented
   1.766 +//! @SYMTestPriority		Critical
   1.767 +//! @SYMTestExpectedResults	Playback paused, resumed and finished w/o errors
   1.768 +//! @SYMTestType		CIT
   1.769 +	START_TEST_BLOCK		100				t_sound			\base\sound\base-bsp-sound-driver.ini
   1.770 +		CREATE_OBJECT		RMdaDevSound			devsound  
   1.771 +		COMMAND			devsound			new
   1.772 +		COMMAND			devsound			Open			UnitEnum
   1.773 +		CREATE_OBJECT		TCurrentSoundFormat		t_format		
   1.774 +		COMMAND			t_format			new
   1.775 +		COMMAND			devsound			GetPlayFormat		BSP-SOUND-DRIVER-GetPlayFormat
   1.776 +		//!verify default play configuration			
   1.777 +		COMMAND			t_format			irate_get		default_play_format
   1.778 +		COMMAND			t_format			iencoding_get		default_play_format
   1.779 +		COMMAND			t_format			ichannels_get		default_play_format
   1.780 +		COMMAND			t_format			ibuffer_size_get	default_play_format
   1.781 +		COMMAND			devsound			PlayData		default_file
   1.782 +		COMMAND			devsound			PausePlayBuffer
   1.783 +		COMMAND			devsound			ResumePlaying		
   1.784 +		COMMAND			devsound			PausePlayBuffer
   1.785 +		COMMAND			devsound			ResumePlaying		
   1.786 +		COMMAND			devsound			PausePlayBuffer
   1.787 +		COMMAND			devsound			ResumePlaying		
   1.788 +		OUTSTANDING	
   1.789 +		COMMAND			t_format  			~
   1.790 +		COMMAND			devsound  			Close
   1.791 +		COMMAND			devsound  			~
   1.792 +	END_TEST_BLOCK
   1.793 +END_TESTCASE			BASE-BSP-SOUND-DRIVER-2003
   1.794 +
   1.795 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-2004
   1.796 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-2004
   1.797 +//! @SYMAPI			RMdaDevSound::NotifyPlayError(TRequestStatus{ref});
   1.798 +//!				RMdaDevSound::CancelNotifyPlayError()
   1.799 +//! @SYMAuthor			Vassili Tsvetkov
   1.800 +//! @SYMCreationDate		15/06/2008
   1.801 +//! @SYMTestCaseDesc		Execute error notification while playing sound and cancel notification monitoring
   1.802 +//!				
   1.803 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
   1.804 +//!				2. Call GetPlayFormat() and verify from [default_play_format]
   1.805 +//!				3. Call NotifyPlayError() and starts waiting for a notification on the background
   1.806 +//!				4. Call PlayData() with valid sound data from [default_file]
   1.807 +//!				5. Call CancelNotifyPlayError()
   1.808 +//!				6. Call Close()
   1.809 +//!
   1.810 +//! @SYMTestStatus		Implemented
   1.811 +//! @SYMTestPriority		Critical
   1.812 +//! @SYMTestExpectedResults	Notification monitoring canceled with KErrCancel status
   1.813 +//! @SYMTestType		CIT
   1.814 +	START_TEST_BLOCK		100				t_sound			\base\sound\base-bsp-sound-driver.ini
   1.815 +		CREATE_OBJECT		RMdaDevSound			devsound  
   1.816 +		COMMAND			devsound			new
   1.817 +		COMMAND			devsound			Open			UnitEnum
   1.818 +		CREATE_OBJECT		TCurrentSoundFormat		t_format		
   1.819 +		COMMAND			t_format			new
   1.820 +		COMMAND			devsound			GetPlayFormat		BSP-SOUND-DRIVER-GetPlayFormat
   1.821 +		//!verify default play configuration			
   1.822 +		COMMAND			t_format			irate_get		default_play_format
   1.823 +		COMMAND			t_format			iencoding_get		default_play_format
   1.824 +		COMMAND			t_format			ichannels_get		default_play_format
   1.825 +		COMMAND			t_format			ibuffer_size_get	default_play_format
   1.826 +		COMMAND !AsyncError=-3	devsound			NotifyPlayError
   1.827 +		COMMAND			devsound			PlayData		default_file
   1.828 +		COMMAND			devsound			CancelNotifyPlayError
   1.829 +		OUTSTANDING
   1.830 +		COMMAND			t_format  			~	
   1.831 +		COMMAND			devsound  			Close
   1.832 +		COMMAND			devsound  			~
   1.833 +	END_TEST_BLOCK
   1.834 +END_TESTCASE			BASE-BSP-SOUND-DRIVER-2004
   1.835 +
   1.836 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-2005
   1.837 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-2005
   1.838 +//! @SYMAPI			RMdaDevSound::NotifyPlayError(TRequestStatus{ref});
   1.839 +//!				RMdaDevSound::CancelNotifyPlayError()
   1.840 +//! @SYMAuthor			Vassili Tsvetkov
   1.841 +//! @SYMCreationDate		15/06/2008
   1.842 +//! @SYMTestCaseDesc		Execute error notification without sound playing and cancel notification monitoring
   1.843 +//!				
   1.844 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
   1.845 +//!				2. Call NotifyPlayError() and starts waiting for a notification on the background
   1.846 +//!				3. Call CancelNotifyPlayError()
   1.847 +//!				4. Call Close()
   1.848 +//!
   1.849 +//! @SYMTestStatus		Implemented
   1.850 +//! @SYMTestPriority		Critical
   1.851 +//! @SYMTestExpectedResults	Notification monitoring canceled with KErrCancel status
   1.852 +//! @SYMTestType		CIT
   1.853 +	START_TEST_BLOCK		100				t_sound			\base\sound\base-bsp-sound-driver.ini
   1.854 +		CREATE_OBJECT		RMdaDevSound			devsound  
   1.855 +		COMMAND			devsound			new
   1.856 +		COMMAND			devsound			Open			UnitEnum
   1.857 +		COMMAND !AsyncError=-3	devsound			NotifyPlayError
   1.858 +		COMMAND			devsound			CancelNotifyPlayError
   1.859 +		OUTSTANDING			
   1.860 +		COMMAND			devsound  			Close
   1.861 +		COMMAND			devsound  			~
   1.862 +	END_TEST_BLOCK
   1.863 +END_TESTCASE			BASE-BSP-SOUND-DRIVER-2005
   1.864 +
   1.865 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-2006
   1.866 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-2006
   1.867 +//! @SYMAPI			RMdaDevSound::NotifyPlayError(TRequestStatus{ref})
   1.868 +//! @SYMAuthor			Vassili Tsvetkov
   1.869 +//! @SYMCreationDate		15/06/2008
   1.870 +//! @SYMTestCaseDesc		Execute error notification and catch KErrUnderflow message when	playing zero-filled buffer
   1.871 +//!				
   1.872 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
   1.873 +//!				2. Call GetPlayFormat() and verify from [default_play_format]
   1.874 +//!				3. Call NotifyPlayError() and starts waiting for a notification on the background
   1.875 +//!				4. Call PlayData() with zero-filled 32kb data
   1.876 +//!				5. Call Close()
   1.877 +//!
   1.878 +//! @SYMTestStatus		Implemented
   1.879 +//! @SYMTestPriority		Critical
   1.880 +//! @SYMTestExpectedResults	Notification monitoring catched KErrUnderflow error and also play Playdata catches KErrNone
   1.881 +//! @SYMTestType		CIT
   1.882 +	START_TEST_BLOCK		100				t_sound			\base\sound\base-bsp-sound-driver.ini
   1.883 +		CREATE_OBJECT		RMdaDevSound			devsound  
   1.884 +		COMMAND			devsound			new
   1.885 +		COMMAND			devsound			Open			UnitEnum
   1.886 +		CREATE_OBJECT		TCurrentSoundFormat		t_format		
   1.887 +		COMMAND			t_format			new
   1.888 +		COMMAND			devsound			GetPlayFormat		BSP-SOUND-DRIVER-GetPlayFormat
   1.889 +		//!verify default play configuration			
   1.890 +		COMMAND			t_format			irate_get		default_play_format
   1.891 +		COMMAND			t_format			iencoding_get		default_play_format
   1.892 +		COMMAND			t_format			ichannels_get		default_play_format
   1.893 +		COMMAND			t_format			ibuffer_size_get	default_play_format
   1.894 +		COMMAND			devsound			PlayData		zero_filled_32kb.raw
   1.895 +		OUTSTANDING	
   1.896 +		COMMAND			t_format  			~
   1.897 +		COMMAND			devsound  			Close
   1.898 +		COMMAND			devsound  			~
   1.899 +	END_TEST_BLOCK
   1.900 +END_TESTCASE			BASE-BSP-SOUND-DRIVER-2006
   1.901 +
   1.902 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-2007
   1.903 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-2007
   1.904 +//! @SYMAPI			RMdaDevSound::FlushPlayBuffer()
   1.905 +//! @SYMAuthor			Vassili Tsvetkov
   1.906 +//! @SYMCreationDate		15/06/2008
   1.907 +//! @SYMTestCaseDesc		Execute playback and flush sound buffer to stop playback
   1.908 +//!				
   1.909 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
   1.910 +//!				2. Call GetPlayFormat() and verify from [default_play_format]
   1.911 +//!				3. Call PlayData() with valid sound data from [default_file_flush]
   1.912 +//!				4. Call FlushPlayBuffer()
   1.913 +//!				5. Call Close()
   1.914 +//!
   1.915 +//! @SYMTestStatus		Implemented
   1.916 +//! @SYMTestPriority		Critical
   1.917 +//! @SYMTestExpectedResults	Playback canceled with KErrCancel
   1.918 +//! @SYMTestType		CIT
   1.919 +	START_TEST_BLOCK		100				t_sound			\base\sound\base-bsp-sound-driver.ini
   1.920 +		CREATE_OBJECT		RMdaDevSound			devsound  
   1.921 +		COMMAND			devsound			new
   1.922 +		COMMAND			devsound			Open			UnitEnum
   1.923 +		CREATE_OBJECT		TCurrentSoundFormat		t_format		
   1.924 +		COMMAND			t_format			new
   1.925 +		COMMAND			devsound			GetPlayFormat		BSP-SOUND-DRIVER-GetPlayFormat
   1.926 +		//!verify default play configuration			
   1.927 +		COMMAND			t_format			irate_get		default_play_format
   1.928 +		COMMAND			t_format			iencoding_get		default_play_format
   1.929 +		COMMAND			t_format			ichannels_get		default_play_format
   1.930 +		COMMAND			t_format			ibuffer_size_get	default_play_format
   1.931 +		COMMAND	!AsyncError=-3	devsound			PlayData		default_file_flush
   1.932 +		OUTSTANDING		
   1.933 +		COMMAND			t_format  			~	
   1.934 +		COMMAND			devsound  			Close
   1.935 +		COMMAND			devsound  			~
   1.936 +	END_TEST_BLOCK
   1.937 +END_TESTCASE			BASE-BSP-SOUND-DRIVER-2007
   1.938 +
   1.939 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-2008
   1.940 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-2008
   1.941 +//! @SYMAPI			RMdaDevSound::ResetBytesPlayed();
   1.942 +//!				RMdaDevSound::BytesPlayed())
   1.943 +//! @SYMAuthor			Vassili Tsvetkov
   1.944 +//! @SYMCreationDate		15/06/2008
   1.945 +//! @SYMTestCaseDesc		Count and verify bytes played before and after playback
   1.946 +//!				
   1.947 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
   1.948 +//!				2. Call GetPlayFormat() and verify from [default_play_format]
   1.949 +//!				3. Call BytesPlayed(), expected value 0
   1.950 +//!				4. Call ResetBytesPlayed()
   1.951 +//!				5. Call BytesPlayed(), expected value 0
   1.952 +//!				6. Call NotifyPlayError() //needed because otherwise PlayData() will not really stop after Outstanding
   1.953 +//!				7. Call PlayData() with zero-filled 2-byte sound data
   1.954 +//!				8. Call FlushPlayBuffer
   1.955 +//!				9. Call BytesPlayed(), expected value is 2
   1.956 +//!				10. Call ResetBytesPlayed()
   1.957 +//!				11. Call BytesPlayed(), expected value 0
   1.958 +//!				12. Call Close()
   1.959 +//!
   1.960 +//! @SYMTestStatus		Implemented
   1.961 +//! @SYMTestPriority		Critical
   1.962 +//! @SYMTestExpectedResults	ResetBytesPlayed() resets the played bytes count and BytesPlayed() returns the number of bytes as expected
   1.963 +//! @SYMTestType		CIT
   1.964 +	START_TEST_BLOCK		100				t_sound			\base\sound\base-bsp-sound-driver.ini
   1.965 +		CREATE_OBJECT		RMdaDevSound			devsound  
   1.966 +		COMMAND			devsound			new
   1.967 +		COMMAND			devsound			Open			UnitEnum
   1.968 +		CREATE_OBJECT		TCurrentSoundFormat		t_format		
   1.969 +		COMMAND			t_format			new
   1.970 +		COMMAND			devsound			GetPlayFormat		BSP-SOUND-DRIVER-GetPlayFormat
   1.971 +		//!verify default play configuration			
   1.972 +		COMMAND			t_format			irate_get		default_play_format
   1.973 +		COMMAND			t_format			iencoding_get		default_play_format
   1.974 +		COMMAND			t_format			ichannels_get		default_play_format
   1.975 +		COMMAND			t_format			ibuffer_size_get	default_play_format
   1.976 +		COMMAND			devsound			BytesPlayed		bytes_played_expected_zero
   1.977 +		COMMAND			devsound			ResetBytesPlayed
   1.978 +		COMMAND			devsound			BytesPlayed		bytes_played_expected_zero
   1.979 +		COMMAND !AsyncError=-10	devsound			NotifyPlayError
   1.980 +		COMMAND			devsound			PlayData		zero_filled_2_bytes.raw
   1.981 +		OUTSTANDING
   1.982 +		COMMAND			devsound			FlushPlayBuffer
   1.983 +		COMMAND			devsound			BytesPlayed		bytes_played_expected_2_bytes
   1.984 +		COMMAND			devsound			ResetBytesPlayed
   1.985 +		COMMAND			devsound			BytesPlayed		bytes_played_expected_zero
   1.986 +		
   1.987 +		COMMAND			t_format  			~	
   1.988 +		COMMAND			devsound  			Close
   1.989 +		COMMAND			devsound  			~
   1.990 +	END_TEST_BLOCK
   1.991 +END_TESTCASE			BASE-BSP-SOUND-DRIVER-2008
   1.992 +
   1.993 +///////////////////////////////////////////
   1.994 +// Record functionality
   1.995 +///////////////////////////////////////////
   1.996 +
   1.997 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-3001
   1.998 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-3001
   1.999 +//! @SYMAPI			RMdaDevSound::RecordData(TRequestStatus{ref}, const TDesC8{ref});
  1.1000 +//!				RMdaDevSound::CancelRecordData()
  1.1001 +//! @SYMAuthor			Vassili Tsvetkov
  1.1002 +//! @SYMCreationDate		15/06/2008
  1.1003 +//! @SYMTestCaseDesc		Record sound and cancel recording
  1.1004 +//!				
  1.1005 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
  1.1006 +//!				2. Call GetRecordFormat() and verify from [default_record_format]
  1.1007 +//!				3. Call RecordData() with [record_data_32kb_cancel]
  1.1008 +//!				4. Call CancelRecordData()
  1.1009 +//!				5. Call Close()
  1.1010 +//!
  1.1011 +//! @SYMTestStatus		Implemented
  1.1012 +//! @SYMTestPriority		Critical
  1.1013 +//! @SYMTestExpectedResults	Recording canceled with KErrCancel
  1.1014 +//! @SYMTestType		CIT
  1.1015 +	START_TEST_BLOCK		100				t_sound			\base\sound\base-bsp-sound-driver.ini
  1.1016 +		CREATE_OBJECT		RMdaDevSound			devsound  
  1.1017 +		COMMAND			devsound			new
  1.1018 +		COMMAND			devsound			Open			UnitEnum
  1.1019 +		CREATE_OBJECT		TCurrentSoundFormat		t_format		
  1.1020 +		COMMAND			t_format			new
  1.1021 +		COMMAND			devsound			GetRecordFormat		BSP-SOUND-DRIVER-GetRecordFormat
  1.1022 +		//!verify default record configuration			
  1.1023 +		COMMAND			t_format			irate_get		default_record_format
  1.1024 +		COMMAND			t_format			iencoding_get		default_record_format
  1.1025 +		COMMAND			t_format			ichannels_get		default_record_format
  1.1026 +		COMMAND			t_format			ibuffer_size_get	default_record_format
  1.1027 +		COMMAND	!AsyncError=-3	devsound			RecordData		record_data_32kb_cancel
  1.1028 +		OUTSTANDING
  1.1029 +		COMMAND			t_format  			~
  1.1030 +		COMMAND			devsound  			Close
  1.1031 +		COMMAND			devsound  			~
  1.1032 +	END_TEST_BLOCK
  1.1033 +END_TESTCASE			BASE-BSP-SOUND-DRIVER-3001
  1.1034 +
  1.1035 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-3002
  1.1036 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-3002
  1.1037 +//! @SYMAPI			RMdaDevSound::NotifyRecordError(TRequestStatus{ref});
  1.1038 +//!				RMdaDevSound::CancelNotifyRecordError()
  1.1039 +//! @SYMAuthor			Vassili Tsvetkov
  1.1040 +//! @SYMCreationDate		15/06/2008
  1.1041 +//! @SYMTestCaseDesc		Execute error notification, then record sound and cancel notification monitoring
  1.1042 +//!				
  1.1043 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
  1.1044 +//!				2. Call GetRecordFormat() and verify from [default_record_format]
  1.1045 +//!				3. Call NotifyRecordError() and starts waiting for a notification on the background
  1.1046 +//!				4. Call RecordData()
  1.1047 +//!				5. Call CancelNotifyRecordError()
  1.1048 +//!				6. Call Close()
  1.1049 +//!
  1.1050 +//! @SYMTestStatus		Implemented
  1.1051 +//! @SYMTestPriority		Critical
  1.1052 +//! @SYMTestExpectedResults	Notification monitoring canceled with KErrCancel status
  1.1053 +//! @SYMTestType		CIT
  1.1054 +	START_TEST_BLOCK		100				t_sound			\base\sound\base-bsp-sound-driver.ini
  1.1055 +		CREATE_OBJECT		RMdaDevSound			devsound  
  1.1056 +		COMMAND			devsound			new
  1.1057 +		COMMAND			devsound			Open			UnitEnum
  1.1058 +		CREATE_OBJECT		TCurrentSoundFormat		t_format		
  1.1059 +		COMMAND			t_format			new
  1.1060 +		COMMAND			devsound			GetRecordFormat		BSP-SOUND-DRIVER-GetRecordFormat
  1.1061 +		//!verify default record configuration			
  1.1062 +		COMMAND			t_format			irate_get		default_record_format
  1.1063 +		COMMAND			t_format			iencoding_get		default_record_format
  1.1064 +		COMMAND			t_format			ichannels_get		default_record_format
  1.1065 +		COMMAND			t_format			ibuffer_size_get	default_record_format
  1.1066 +		COMMAND !AsyncError=-3	devsound			NotifyRecordError
  1.1067 +		COMMAND			devsound			RecordData		record_data_32kb
  1.1068 +		COMMAND			devsound			CancelNotifyRecordError
  1.1069 +		OUTSTANDING
  1.1070 +		COMMAND			t_format  			~	
  1.1071 +		COMMAND			devsound  			Close
  1.1072 +		COMMAND			devsound  			~
  1.1073 +	END_TEST_BLOCK
  1.1074 +END_TESTCASE			BASE-BSP-SOUND-DRIVER-3002
  1.1075 +
  1.1076 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-3003
  1.1077 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-3003
  1.1078 +//! @SYMAPI			RMdaDevSound::NotifyRecordError(TRequestStatus{ref});
  1.1079 +//!				RMdaDevSound::CancelNotifyRecordError()
  1.1080 +//! @SYMAuthor			Vassili Tsvetkov
  1.1081 +//! @SYMCreationDate		15/06/2008
  1.1082 +//! @SYMTestCaseDesc		Execute error notification and cancel notification monitoring without recording
  1.1083 +//!				
  1.1084 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
  1.1085 +//!				2. Call NotifyRecordError() and starts waiting for a notification on the background
  1.1086 +//!				3. Call CancelNotifyRecordError()
  1.1087 +//!				4. Call Close()
  1.1088 +//!
  1.1089 +//! @SYMTestStatus		Implemented
  1.1090 +//! @SYMTestPriority		Critical
  1.1091 +//! @SYMTestExpectedResults	Notification monitoring canceled with KErrCancel status
  1.1092 +//! @SYMTestType		CIT
  1.1093 +	START_TEST_BLOCK		100				t_sound			\base\sound\base-bsp-sound-driver.ini
  1.1094 +		CREATE_OBJECT		RMdaDevSound			devsound  
  1.1095 +		COMMAND			devsound			new
  1.1096 +		COMMAND			devsound			Open			UnitEnum
  1.1097 +		COMMAND !AsyncError=-3	devsound			NotifyRecordError
  1.1098 +		COMMAND			devsound			CancelNotifyRecordError
  1.1099 +		OUTSTANDING	
  1.1100 +		COMMAND			devsound  			Close
  1.1101 +		COMMAND			devsound  			~
  1.1102 +	END_TEST_BLOCK
  1.1103 +END_TESTCASE			BASE-BSP-SOUND-DRIVER-3003
  1.1104 +
  1.1105 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-3004
  1.1106 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-3004
  1.1107 +//! @SYMAPI			RMdaDevSound::FlushRecordBuffer()
  1.1108 +//! @SYMAuthor			Vassili Tsvetkov
  1.1109 +//! @SYMCreationDate		15/06/2008
  1.1110 +//! @SYMTestCaseDesc		Execute recording and flush sound buffer to stop recording
  1.1111 +//!				
  1.1112 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
  1.1113 +//!				2. Call GetRecordFormat() and verify from [default_record_format]
  1.1114 +//!				3. Call RecordData() with [record_data_32kb_flush]
  1.1115 +//!				4. Call FlushRecordBuffer()
  1.1116 +//!				5. Call Close()
  1.1117 +//!
  1.1118 +//! @SYMTestStatus		Implemented
  1.1119 +//! @SYMTestPriority		Critical
  1.1120 +//! @SYMTestExpectedResults	Recording stopped with KErrNone
  1.1121 +//! @SYMTestType		CIT
  1.1122 +	START_TEST_BLOCK		100				t_sound			\base\sound\base-bsp-sound-driver.ini
  1.1123 +		CREATE_OBJECT		RMdaDevSound			devsound  
  1.1124 +		COMMAND			devsound			new
  1.1125 +		COMMAND			devsound			Open			UnitEnum
  1.1126 +		CREATE_OBJECT		TCurrentSoundFormat		t_format		
  1.1127 +		COMMAND			t_format			new
  1.1128 +		COMMAND			devsound			GetRecordFormat		BSP-SOUND-DRIVER-GetRecordFormat
  1.1129 +		//!verify default record configuration			
  1.1130 +		COMMAND			t_format			irate_get		default_record_format
  1.1131 +		COMMAND			t_format			iencoding_get		default_record_format
  1.1132 +		COMMAND			t_format			ichannels_get		default_record_format
  1.1133 +		COMMAND			t_format			ibuffer_size_get	default_record_format
  1.1134 +		COMMAND			devsound			RecordData		record_data_32kb_flush
  1.1135 +		OUTSTANDING		
  1.1136 +		COMMAND			t_format  			~	
  1.1137 +		COMMAND			devsound  			Close
  1.1138 +		COMMAND			devsound  			~
  1.1139 +	END_TEST_BLOCK
  1.1140 +END_TESTCASE			BASE-BSP-SOUND-DRIVER-3004
  1.1141 +
  1.1142 +///////////////////////////////////////////
  1.1143 +// Different audio types and encodings playback
  1.1144 +///////////////////////////////////////////
  1.1145 +
  1.1146 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-4001
  1.1147 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-4001
  1.1148 +//! @SYMAPI			RMdaDevSound::PlayData(TRequestStatus {ref}, TDes8 {ref})
  1.1149 +//! @SYMAuthor			Vassili Tsvetkov
  1.1150 +//! @SYMCreationDate		15/06/2008
  1.1151 +//! @SYMTestCaseDesc		Execute playing audio in pcm8 mono 8khz
  1.1152 +//!				
  1.1153 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
  1.1154 +//!				2. Call SetPlayFormat() with [set_set_settings_pcm8_mono_8khz_32kb]
  1.1155 +//!				3. Call PlayData() with valid sound data from [pcm8_mono_8khz_32kb.raw]
  1.1156 +//!				4. Call FlushPlayBuffer
  1.1157 +//!				5. Call GetPlayFormat() and verify the sound found configuration
  1.1158 +//!				6. Restore initial sound h/w configuration
  1.1159 +//!				7. Call Close()
  1.1160 +//!
  1.1161 +//! @SYMTestStatus		Implemented
  1.1162 +//! @SYMTestPriority		Critical
  1.1163 +//! @SYMTestExpectedResults	Playing completes without any errors, sound format is set and verified
  1.1164 +//! @SYMTestType		CIT
  1.1165 +	START_TEST_BLOCK	100					t_sound			\base\sound\base-bsp-sound-driver.ini
  1.1166 +		CREATE_OBJECT	RMdaDevSound				devsound
  1.1167 +		COMMAND		devsound				new
  1.1168 +		COMMAND		devsound				Open			UnitEnum
  1.1169 +		CREATE_OBJECT	TCurrentSoundFormat			t_format		
  1.1170 +		COMMAND		t_format				new
  1.1171 +		COMMAND		t_format				irate_set			set_settings_pcm8_mono_8khz_32kb
  1.1172 +		COMMAND		t_format				ibuffer_size_set		set_settings_pcm8_mono_8khz_32kb
  1.1173 +		COMMAND		t_format				iencoding_set		set_settings_pcm8_mono_8khz_32kb
  1.1174 +		COMMAND		t_format				ichannels_set		set_settings_pcm8_mono_8khz_32kb
  1.1175 +		COMMAND		devsound				SetPlayFormat		BSP-SOUND-DRIVER-SetPlayFormat
  1.1176 +		COMMAND		devsound				PlayData		pcm8_mono_8khz_32kb.raw
  1.1177 +		OUTSTANDING
  1.1178 +		COMMAND		devsound				FlushPlayBuffer
  1.1179 +                COMMAND		devsound				GetPlayFormat		BSP-SOUND-DRIVER-GetPlayFormat
  1.1180 +		COMMAND		t_format				irate_get			set_settings_pcm8_mono_8khz_32kb_expected
  1.1181 +		COMMAND		t_format				iencoding_get		set_settings_pcm8_mono_8khz_32kb_expected
  1.1182 +		COMMAND		t_format				ichannels_get		set_settings_pcm8_mono_8khz_32kb_expected
  1.1183 +		COMMAND		t_format				ibuffer_size_get		set_settings_pcm8_mono_8khz_32kb_expected
  1.1184 +                //!set back default play configuration
  1.1185 +		COMMAND		t_format				irate_set			default_play_format
  1.1186 +		COMMAND		t_format				iencoding_set		default_play_format
  1.1187 +		COMMAND		t_format				ichannels_set		default_play_format
  1.1188 +		COMMAND		t_format				ibuffer_size_set		default_play_format
  1.1189 +		COMMAND		devsound				SetPlayFormat		BSP-SOUND-DRIVER-SetPlayFormat
  1.1190 +		COMMAND		devsound				SetPlayVolume		default_play_volume
  1.1191 +		COMMAND		t_format				~
  1.1192 +		COMMAND		devsound				Close
  1.1193 +		COMMAND		devsound				~
  1.1194 +	END_TEST_BLOCK
  1.1195 +END_TESTCASE			BASE-BSP-SOUND-DRIVER-4001
  1.1196 +
  1.1197 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-4002
  1.1198 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-4002
  1.1199 +//! @SYMAPI			RMdaDevSound::PlayData(TRequestStatus {ref}, TDes8 {ref})
  1.1200 +//! @SYMAuthor			Vassili Tsvetkov
  1.1201 +//! @SYMCreationDate		15/06/2008
  1.1202 +//! @SYMTestCaseDesc		Execute playing audio in pcm16 mono 8khz
  1.1203 +//!				
  1.1204 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
  1.1205 +//!				2. Call SetPlayFormat() with [set_set_settings_pcm16_mono_8khz]
  1.1206 +//!				3. Call PlayData() with valid sound data from [pcm16_mono_8khz_32kb.raw]
  1.1207 +//!				4. Call FlushPlayBuffer
  1.1208 +//!				5. Call GetPlayFormat() and verify the sound found configuration
  1.1209 +//!				6. Restore initial sound h/w configuration
  1.1210 +//!				7. Call Close()
  1.1211 +//!
  1.1212 +//! @SYMTestStatus		Implemented
  1.1213 +//! @SYMTestPriority		Critical
  1.1214 +//! @SYMTestExpectedResults	Playing completes without any errors, sound format is set and verified
  1.1215 +//! @SYMTestType		CIT
  1.1216 +	START_TEST_BLOCK	100					t_sound			\base\sound\base-bsp-sound-driver.ini
  1.1217 +		CREATE_OBJECT	RMdaDevSound				devsound
  1.1218 +		COMMAND		devsound				new
  1.1219 +		COMMAND		devsound				Open			UnitEnum
  1.1220 +		CREATE_OBJECT	TCurrentSoundFormat			t_format		
  1.1221 +		COMMAND		t_format				new
  1.1222 +		COMMAND		t_format				irate_set			set_settings_pcm16_mono_8khz
  1.1223 +		COMMAND		t_format				ibuffer_size_set		set_settings_pcm16_mono_8khz
  1.1224 +		COMMAND		t_format				iencoding_set		set_settings_pcm16_mono_8khz
  1.1225 +		COMMAND		t_format				ichannels_set		set_settings_pcm16_mono_8khz
  1.1226 +		COMMAND		devsound				SetPlayFormat		BSP-SOUND-DRIVER-SetPlayFormat
  1.1227 +		COMMAND		devsound				PlayData		pcm16_mono_8khz_32kb.raw
  1.1228 +		OUTSTANDING
  1.1229 +		COMMAND		devsound				FlushPlayBuffer
  1.1230 +		COMMAND		devsound				GetPlayFormat		BSP-SOUND-DRIVER-GetPlayFormat
  1.1231 +		COMMAND		t_format				irate_get			set_settings_pcm16_mono_8khz_expected
  1.1232 +		COMMAND		t_format				iencoding_get		set_settings_pcm16_mono_8khz_expected
  1.1233 +		COMMAND		t_format				ichannels_get		set_settings_pcm16_mono_8khz_expected
  1.1234 +		COMMAND		t_format				ibuffer_size_get		set_settings_pcm16_mono_8khz_expected
  1.1235 +		//!set back default play configuration
  1.1236 +		COMMAND		t_format				irate_set			default_play_format
  1.1237 +		COMMAND		t_format				iencoding_set		default_play_format
  1.1238 +		COMMAND		t_format				ichannels_set		default_play_format
  1.1239 +		COMMAND		t_format				ibuffer_size_set		default_play_format
  1.1240 +		COMMAND		devsound				SetPlayFormat		BSP-SOUND-DRIVER-SetPlayFormat
  1.1241 +		COMMAND		devsound				SetPlayVolume		default_play_volume
  1.1242 +		COMMAND		t_format  				~
  1.1243 +		COMMAND		devsound				Close
  1.1244 +		COMMAND		devsound				~
  1.1245 +	END_TEST_BLOCK
  1.1246 +END_TESTCASE			BASE-BSP-SOUND-DRIVER-4002
  1.1247 +
  1.1248 +
  1.1249 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-4003
  1.1250 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-4003
  1.1251 +//! @SYMAPI			RMdaDevSound::PlayData(TRequestStatus {ref}, TDes8 {ref})
  1.1252 +//! @SYMAuthor			Vassili Tsvetkov
  1.1253 +//! @SYMCreationDate		15/06/2008
  1.1254 +//! @SYMTestCaseDesc		Execute playing audio in pcm16 mono 11khz
  1.1255 +//!				
  1.1256 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
  1.1257 +//!				2. Call SetPlayFormat() with [set_set_settings_pcm16_mono_11khz]
  1.1258 +//!				3. Call PlayData() with valid sound data from [pcm16_mono_11khz_32kb.raw]
  1.1259 +//!				4. Call FlushPlayBuffer
  1.1260 +//!				5. Call GetPlayFormat() and verify the sound found configuration
  1.1261 +//!				6. Restore initial sound h/w configuration
  1.1262 +//!				7. Call Close()
  1.1263 +//!
  1.1264 +//! @SYMTestStatus		Implemented
  1.1265 +//! @SYMTestPriority		Critical
  1.1266 +//! @SYMTestExpectedResults	Playing completes without any errors, sound format is set and verified
  1.1267 +//! @SYMTestType		CIT
  1.1268 +	START_TEST_BLOCK	100					t_sound			\base\sound\base-bsp-sound-driver.ini
  1.1269 +		CREATE_OBJECT	RMdaDevSound				devsound
  1.1270 +		COMMAND		devsound				new
  1.1271 +		COMMAND		devsound				Open			UnitEnum
  1.1272 +		CREATE_OBJECT	TCurrentSoundFormat			t_format		
  1.1273 +		COMMAND		t_format				new
  1.1274 +		COMMAND		t_format				irate_set			set_settings_pcm16_mono_11khz
  1.1275 +		COMMAND		t_format				ibuffer_size_set		set_settings_pcm16_mono_11khz
  1.1276 +		COMMAND		t_format				iencoding_set		set_settings_pcm16_mono_11khz
  1.1277 +		COMMAND		t_format				ichannels_set		set_settings_pcm16_mono_11khz
  1.1278 +		COMMAND		devsound				SetPlayFormat		BSP-SOUND-DRIVER-SetPlayFormat
  1.1279 +		COMMAND		devsound				PlayData		pcm16_mono_11khz_32kb.raw
  1.1280 +		OUTSTANDING
  1.1281 +		COMMAND		devsound				FlushPlayBuffer
  1.1282 +		COMMAND		devsound				GetPlayFormat		BSP-SOUND-DRIVER-GetPlayFormat
  1.1283 +		COMMAND		t_format				irate_get			set_settings_pcm16_mono_11khz_expected
  1.1284 +		COMMAND		t_format				iencoding_get		set_settings_pcm16_mono_11khz_expected
  1.1285 +		COMMAND		t_format				ichannels_get		set_settings_pcm16_mono_11khz_expected
  1.1286 +		COMMAND		t_format				ibuffer_size_get		set_settings_pcm16_mono_11khz_expected
  1.1287 +		//!set back default play configuration
  1.1288 +		COMMAND		t_format				irate_set			default_play_format
  1.1289 +		COMMAND		t_format				iencoding_set		default_play_format
  1.1290 +		COMMAND		t_format				ichannels_set		default_play_format
  1.1291 +		COMMAND		t_format				ibuffer_size_set		default_play_format
  1.1292 +		COMMAND		devsound				SetPlayFormat		BSP-SOUND-DRIVER-SetPlayFormat
  1.1293 +		COMMAND		devsound				SetPlayVolume		default_play_volume
  1.1294 +		COMMAND		t_format  				~
  1.1295 +		COMMAND		devsound				Close
  1.1296 +		COMMAND		devsound				~
  1.1297 +	END_TEST_BLOCK
  1.1298 +END_TESTCASE			BASE-BSP-SOUND-DRIVER-4003
  1.1299 +
  1.1300 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-4004
  1.1301 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-4004
  1.1302 +//! @SYMAPI			RMdaDevSound::PlayData(TRequestStatus {ref}, TDes8 {ref})
  1.1303 +//! @SYMAuthor			Vassili Tsvetkov
  1.1304 +//! @SYMCreationDate		15/06/2008
  1.1305 +//! @SYMTestCaseDesc		Execute playing audio in pcm16 mono 12khz
  1.1306 +//!				
  1.1307 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
  1.1308 +//!				2. Call SetPlayFormat() with [set_set_settings_pcm16_mono_12khz]
  1.1309 +//!				3. Call PlayData() with valid sound data from [pcm16_mono_12khz_32kb.raw]
  1.1310 +//!				4. Call FlushPlayBuffer
  1.1311 +//!				5. Call GetPlayFormat() and verify the sound found configuration
  1.1312 +//!				6. Restore initial sound h/w configuration
  1.1313 +//!				7. Call Close()
  1.1314 +//!
  1.1315 +//! @SYMTestStatus		Implemented
  1.1316 +//! @SYMTestPriority		Critical
  1.1317 +//! @SYMTestExpectedResults	Playing completes without any errors, sound format is set and verified
  1.1318 +//! @SYMTestType		CIT
  1.1319 +	START_TEST_BLOCK	100					t_sound			\base\sound\base-bsp-sound-driver.ini
  1.1320 +		CREATE_OBJECT	RMdaDevSound				devsound
  1.1321 +		COMMAND		devsound				new
  1.1322 +		COMMAND		devsound				Open			UnitEnum
  1.1323 +		CREATE_OBJECT	TCurrentSoundFormat			t_format		
  1.1324 +		COMMAND		t_format				new
  1.1325 +		COMMAND		t_format				irate_set			set_settings_pcm16_mono_12khz
  1.1326 +		COMMAND		t_format				ibuffer_size_set		set_settings_pcm16_mono_12khz
  1.1327 +		COMMAND		t_format				iencoding_set		set_settings_pcm16_mono_12khz
  1.1328 +		COMMAND		t_format				ichannels_set		set_settings_pcm16_mono_12khz
  1.1329 +		COMMAND		devsound				SetPlayFormat		BSP-SOUND-DRIVER-SetPlayFormat
  1.1330 +		COMMAND		devsound				PlayData		pcm16_mono_12khz_32kb.raw
  1.1331 +		OUTSTANDING
  1.1332 +		COMMAND		devsound				FlushPlayBuffer
  1.1333 +		COMMAND		devsound				GetPlayFormat		BSP-SOUND-DRIVER-GetPlayFormat
  1.1334 +		COMMAND		t_format				irate_get			set_settings_pcm16_mono_12khz_expected
  1.1335 +		COMMAND		t_format				iencoding_get		set_settings_pcm16_mono_12khz_expected
  1.1336 +		COMMAND		t_format				ichannels_get		set_settings_pcm16_mono_12khz_expected
  1.1337 +		COMMAND		t_format				ibuffer_size_get		set_settings_pcm16_mono_12khz_expected
  1.1338 +		//!set back default play configuration
  1.1339 +		COMMAND		t_format				irate_set			default_play_format
  1.1340 +		COMMAND		t_format				iencoding_set		default_play_format
  1.1341 +		COMMAND		t_format				ichannels_set		default_play_format
  1.1342 +		COMMAND		t_format				ibuffer_size_set		default_play_format
  1.1343 +		COMMAND		devsound				SetPlayFormat		BSP-SOUND-DRIVER-SetPlayFormat
  1.1344 +		COMMAND		devsound				SetPlayVolume		default_play_volume
  1.1345 +		COMMAND		t_format				~
  1.1346 +		COMMAND		devsound				Close
  1.1347 +		COMMAND		devsound				~
  1.1348 +	END_TEST_BLOCK
  1.1349 +END_TESTCASE			BASE-BSP-SOUND-DRIVER-4004
  1.1350 +
  1.1351 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-4005
  1.1352 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-4005
  1.1353 +//! @SYMAPI			RMdaDevSound::PlayData(TRequestStatus {ref}, TDes8 {ref})
  1.1354 +//! @SYMAuthor			Vassili Tsvetkov
  1.1355 +//! @SYMCreationDate		15/06/2008
  1.1356 +//! @SYMTestCaseDesc		Execute playing audio in pcm16 mono 16khz
  1.1357 +//!				
  1.1358 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
  1.1359 +//!				2. Call SetPlayFormat() with [set_set_settings_pcm16_mono_16khz]
  1.1360 +//!				3. Call PlayData() with valid sound data from [pcm16_mono_16khz_32kb.raw]
  1.1361 +//!				4. Call FlushPlayBuffer
  1.1362 +//!				5. Call GetPlayFormat() and verify the sound found configuration
  1.1363 +//!				6. Restore initial sound h/w configuration
  1.1364 +//!				7. Call Close()
  1.1365 +//!
  1.1366 +//! @SYMTestStatus		Implemented
  1.1367 +//! @SYMTestPriority		Critical
  1.1368 +//! @SYMTestExpectedResults	Playing completes without any errors, sound format is set and verified
  1.1369 +//! @SYMTestType		CIT
  1.1370 +	START_TEST_BLOCK	100					t_sound			\base\sound\base-bsp-sound-driver.ini
  1.1371 +		CREATE_OBJECT	RMdaDevSound				devsound
  1.1372 +		COMMAND		devsound				new
  1.1373 +		COMMAND		devsound				Open			UnitEnum
  1.1374 +		CREATE_OBJECT	TCurrentSoundFormat			t_format		
  1.1375 +		COMMAND		t_format				new
  1.1376 +		COMMAND		t_format				irate_set			set_settings_pcm16_mono_16khz
  1.1377 +		COMMAND		t_format				ibuffer_size_set		set_settings_pcm16_mono_16khz
  1.1378 +		COMMAND		t_format				iencoding_set		set_settings_pcm16_mono_16khz
  1.1379 +		COMMAND		t_format				ichannels_set		set_settings_pcm16_mono_16khz
  1.1380 +		COMMAND		devsound				SetPlayFormat		BSP-SOUND-DRIVER-SetPlayFormat
  1.1381 +		COMMAND		devsound				PlayData		pcm16_mono_16khz_32kb.raw
  1.1382 +		OUTSTANDING
  1.1383 +		COMMAND		devsound				FlushPlayBuffer
  1.1384 +		COMMAND		devsound				GetPlayFormat		BSP-SOUND-DRIVER-GetPlayFormat
  1.1385 +		COMMAND		t_format				irate_get			set_settings_pcm16_mono_16khz_expected
  1.1386 +		COMMAND		t_format				iencoding_get		set_settings_pcm16_mono_16khz_expected
  1.1387 +		COMMAND		t_format				ichannels_get		set_settings_pcm16_mono_16khz_expected
  1.1388 +		COMMAND		t_format				ibuffer_size_get		set_settings_pcm16_mono_16khz_expected
  1.1389 +		//!set back default play configuration
  1.1390 +		COMMAND		t_format				irate_set			default_play_format
  1.1391 +		COMMAND		t_format				iencoding_set		default_play_format
  1.1392 +		COMMAND		t_format				ichannels_set		default_play_format
  1.1393 +		COMMAND		t_format				ibuffer_size_set		default_play_format
  1.1394 +		COMMAND		devsound				SetPlayFormat		BSP-SOUND-DRIVER-SetPlayFormat
  1.1395 +		COMMAND		devsound				SetPlayVolume		default_play_volume
  1.1396 +		COMMAND		t_format				~
  1.1397 +		COMMAND		devsound				Close
  1.1398 +		COMMAND		devsound				~
  1.1399 +	END_TEST_BLOCK
  1.1400 +END_TESTCASE			BASE-BSP-SOUND-DRIVER-4005
  1.1401 +
  1.1402 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-4006
  1.1403 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-4006
  1.1404 +//! @SYMAPI			RMdaDevSound::PlayData(TRequestStatus {ref}, TDes8 {ref})
  1.1405 +//! @SYMAuthor			Vassili Tsvetkov
  1.1406 +//! @SYMCreationDate		15/06/2008
  1.1407 +//! @SYMTestCaseDesc		Execute playing audio in pcm16 mono 22khz
  1.1408 +//!				
  1.1409 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
  1.1410 +//!				2. Call SetPlayFormat() with [set_set_settings_pcm16_mono_22khz]
  1.1411 +//!				3. Call PlayData() with valid sound data from [pcm16_mono_22khz_32kb.raw]
  1.1412 +//!				4. Call FlushPlayBuffer
  1.1413 +//!				5. Call GetPlayFormat() and verify the sound found configuration
  1.1414 +//!				6. Restore initial sound h/w configuration
  1.1415 +//!				7. Call Close()
  1.1416 +//!
  1.1417 +//! @SYMTestStatus		Implemented
  1.1418 +//! @SYMTestPriority		Critical
  1.1419 +//! @SYMTestExpectedResults	Playing completes without any errors, sound format is set and verified
  1.1420 +//! @SYMTestType		CIT
  1.1421 +	START_TEST_BLOCK	100					t_sound			\base\sound\base-bsp-sound-driver.ini
  1.1422 +		CREATE_OBJECT	RMdaDevSound				devsound
  1.1423 +		COMMAND		devsound				new
  1.1424 +		COMMAND		devsound				Open			UnitEnum
  1.1425 +		CREATE_OBJECT	TCurrentSoundFormat			t_format		
  1.1426 +		COMMAND		t_format				new
  1.1427 +		COMMAND		t_format				irate_set			set_settings_pcm16_mono_22khz
  1.1428 +		COMMAND		t_format				ibuffer_size_set		set_settings_pcm16_mono_22khz
  1.1429 +		COMMAND		t_format				iencoding_set		set_settings_pcm16_mono_22khz
  1.1430 +		COMMAND		t_format				ichannels_set		set_settings_pcm16_mono_22khz
  1.1431 +		COMMAND		devsound				SetPlayFormat		BSP-SOUND-DRIVER-SetPlayFormat
  1.1432 +		COMMAND		devsound				PlayData		pcm16_mono_22khz_32kb.raw
  1.1433 +		OUTSTANDING
  1.1434 +		COMMAND		devsound				FlushPlayBuffer
  1.1435 +		COMMAND		devsound				GetPlayFormat		BSP-SOUND-DRIVER-GetPlayFormat
  1.1436 +		COMMAND		t_format				irate_get			set_settings_pcm16_mono_22khz_expected
  1.1437 +		COMMAND		t_format				iencoding_get		set_settings_pcm16_mono_22khz_expected
  1.1438 +		COMMAND		t_format				ichannels_get		set_settings_pcm16_mono_22khz_expected
  1.1439 +		COMMAND		t_format				ibuffer_size_get		set_settings_pcm16_mono_22khz_expected
  1.1440 +		//!set back default play configuration
  1.1441 +		COMMAND		t_format				irate_set			default_play_format
  1.1442 +		COMMAND		t_format				iencoding_set		default_play_format
  1.1443 +		COMMAND		t_format				ichannels_set		default_play_format
  1.1444 +		COMMAND		t_format				ibuffer_size_set		default_play_format
  1.1445 +		COMMAND		devsound				SetPlayFormat		BSP-SOUND-DRIVER-SetPlayFormat
  1.1446 +		COMMAND		devsound				SetPlayVolume		default_play_volume
  1.1447 +		COMMAND		t_format				~
  1.1448 +		COMMAND		devsound				Close
  1.1449 +		COMMAND		devsound				~
  1.1450 +	END_TEST_BLOCK
  1.1451 +END_TESTCASE			BASE-BSP-SOUND-DRIVER-4006
  1.1452 +
  1.1453 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-4007
  1.1454 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-4007
  1.1455 +//! @SYMAPI			RMdaDevSound::PlayData(TRequestStatus {ref}, TDes8 {ref})
  1.1456 +//! @SYMAuthor			Vassili Tsvetkov
  1.1457 +//! @SYMCreationDate		15/06/2008
  1.1458 +//! @SYMTestCaseDesc		Execute playing audio in pcm16 mono 24khz
  1.1459 +//!				
  1.1460 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
  1.1461 +//!				2. Call SetPlayFormat() with [set_set_settings_pcm16_mono_24khz]
  1.1462 +//!				3. Call PlayData() with valid sound data from [pcm16_mono_24khz_32kb.raw]
  1.1463 +//!				4. Call FlushPlayBuffer
  1.1464 +//!				5. Call GetPlayFormat() and verify the sound found configuration
  1.1465 +//!				6. Restore initial sound h/w configuration
  1.1466 +//!				7. Call Close()
  1.1467 +//!
  1.1468 +//! @SYMTestStatus		Implemented
  1.1469 +//! @SYMTestPriority		Critical
  1.1470 +//! @SYMTestExpectedResults	Playing completes without any errors, sound format is set and verified
  1.1471 +//! @SYMTestType		CIT
  1.1472 +	START_TEST_BLOCK	100					t_sound			\base\sound\base-bsp-sound-driver.ini
  1.1473 +		CREATE_OBJECT	RMdaDevSound				devsound
  1.1474 +		COMMAND		devsound				new
  1.1475 +		COMMAND		devsound				Open			UnitEnum
  1.1476 +		CREATE_OBJECT	TCurrentSoundFormat			t_format		
  1.1477 +		COMMAND		t_format				new
  1.1478 +		COMMAND		t_format				irate_set			set_settings_pcm16_mono_24khz
  1.1479 +		COMMAND		t_format				ibuffer_size_set		set_settings_pcm16_mono_24khz
  1.1480 +		COMMAND		t_format				iencoding_set		set_settings_pcm16_mono_24khz
  1.1481 +		COMMAND		t_format				ichannels_set		set_settings_pcm16_mono_24khz
  1.1482 +		COMMAND		devsound				SetPlayFormat		BSP-SOUND-DRIVER-SetPlayFormat
  1.1483 +		COMMAND		devsound				PlayData		pcm16_mono_24khz_32kb.raw
  1.1484 +		OUTSTANDING
  1.1485 +		COMMAND		devsound				FlushPlayBuffer
  1.1486 +                COMMAND		devsound				GetPlayFormat		BSP-SOUND-DRIVER-GetPlayFormat
  1.1487 +		COMMAND		t_format				irate_get			set_settings_pcm16_mono_24khz_expected
  1.1488 +		COMMAND		t_format				iencoding_get		set_settings_pcm16_mono_24khz_expected
  1.1489 +		COMMAND		t_format				ichannels_get		set_settings_pcm16_mono_24khz_expected
  1.1490 +		COMMAND		t_format				ibuffer_size_get		set_settings_pcm16_mono_24khz_expected
  1.1491 +                //!set back default play configuration
  1.1492 +		COMMAND		t_format				irate_set			default_play_format
  1.1493 +		COMMAND		t_format				iencoding_set		default_play_format
  1.1494 +		COMMAND		t_format				ichannels_set		default_play_format
  1.1495 +		COMMAND		t_format				ibuffer_size_set		default_play_format
  1.1496 +		COMMAND		devsound				SetPlayFormat		BSP-SOUND-DRIVER-SetPlayFormat
  1.1497 +		COMMAND		devsound				SetPlayVolume		default_play_volume
  1.1498 +		COMMAND		t_format				~
  1.1499 +		COMMAND		devsound				Close
  1.1500 +		COMMAND		devsound				~
  1.1501 +	END_TEST_BLOCK
  1.1502 +END_TESTCASE			BASE-BSP-SOUND-DRIVER-4007
  1.1503 +
  1.1504 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-4008
  1.1505 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-4008
  1.1506 +//! @SYMAPI			RMdaDevSound::PlayData(TRequestStatus {ref}, TDes8 {ref})
  1.1507 +//! @SYMAuthor			Vassili Tsvetkov
  1.1508 +//! @SYMCreationDate		15/06/2008
  1.1509 +//! @SYMTestCaseDesc		Execute playing audio in pcm16 mono 32khz
  1.1510 +//!				
  1.1511 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
  1.1512 +//!				2. Call SetPlayFormat() with [set_set_settings_pcm16_mono_32khz]
  1.1513 +//!				3. Call PlayData() with valid sound data from [pcm16_mono_32khz_32kb.raw]
  1.1514 +//!				4. Call FlushPlayBuffer
  1.1515 +//!				5. Call GetPlayFormat() and verify the sound found configuration
  1.1516 +//!				6. Restore initial sound h/w configuration
  1.1517 +//!				7. Call Close()
  1.1518 +//!
  1.1519 +//! @SYMTestStatus		Implemented
  1.1520 +//! @SYMTestPriority		Critical
  1.1521 +//! @SYMTestExpectedResults	Playing completes without any errors, sound format is set and verified
  1.1522 +//! @SYMTestType		CIT
  1.1523 +	START_TEST_BLOCK	100					t_sound			\base\sound\base-bsp-sound-driver.ini
  1.1524 +		CREATE_OBJECT	RMdaDevSound				devsound
  1.1525 +		COMMAND		devsound				new
  1.1526 +		COMMAND		devsound				Open			UnitEnum
  1.1527 +		CREATE_OBJECT	TCurrentSoundFormat			t_format		
  1.1528 +		COMMAND		t_format				new
  1.1529 +		COMMAND		t_format				irate_set			set_settings_pcm16_mono_32khz
  1.1530 +		COMMAND		t_format				ibuffer_size_set		set_settings_pcm16_mono_32khz
  1.1531 +		COMMAND		t_format				iencoding_set		set_settings_pcm16_mono_32khz
  1.1532 +		COMMAND		t_format				ichannels_set		set_settings_pcm16_mono_32khz
  1.1533 +		COMMAND		devsound				SetPlayFormat		BSP-SOUND-DRIVER-SetPlayFormat
  1.1534 +		COMMAND		devsound				PlayData		pcm16_mono_32khz_32kb.raw
  1.1535 +		OUTSTANDING
  1.1536 +		COMMAND		devsound				FlushPlayBuffer
  1.1537 +                COMMAND		devsound				GetPlayFormat		BSP-SOUND-DRIVER-GetPlayFormat
  1.1538 +		COMMAND		t_format				irate_get			set_settings_pcm16_mono_32khz_expected
  1.1539 +		COMMAND		t_format				iencoding_get		set_settings_pcm16_mono_32khz_expected
  1.1540 +		COMMAND		t_format				ichannels_get		set_settings_pcm16_mono_32khz_expected
  1.1541 +		COMMAND		t_format				ibuffer_size_get		set_settings_pcm16_mono_32khz_expected
  1.1542 +                //!set back default play configuration
  1.1543 +		COMMAND		t_format				irate_set			default_play_format
  1.1544 +		COMMAND		t_format				iencoding_set		default_play_format
  1.1545 +		COMMAND		t_format				ichannels_set		default_play_format
  1.1546 +		COMMAND		t_format				ibuffer_size_set		default_play_format
  1.1547 +		COMMAND		devsound				SetPlayFormat		BSP-SOUND-DRIVER-SetPlayFormat
  1.1548 +		COMMAND		devsound				SetPlayVolume		default_play_volume
  1.1549 +		COMMAND		t_format				~
  1.1550 +		COMMAND		devsound				Close
  1.1551 +		COMMAND		devsound				~
  1.1552 +	END_TEST_BLOCK
  1.1553 +END_TESTCASE			BASE-BSP-SOUND-DRIVER-4008
  1.1554 +
  1.1555 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-4009
  1.1556 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-4009
  1.1557 +//! @SYMAPI			RMdaDevSound::PlayData(TRequestStatus {ref}, TDes8 {ref})
  1.1558 +//! @SYMAuthor			Vassili Tsvetkov
  1.1559 +//! @SYMCreationDate		15/06/2008
  1.1560 +//! @SYMTestCaseDesc		Execute playing audio in pcm16 mono 44.1khz
  1.1561 +//!		
  1.1562 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
  1.1563 +//!				2. Call SetPlayFormat() with [set_set_settings_pcm16_mono_44.1khz]
  1.1564 +//!				3. Call PlayData() with valid sound data from [pcm16_mono_44.1khz_32kb.raw]
  1.1565 +//!				4. Call FlushPlayBuffer
  1.1566 +//!				5. Call GetPlayFormat() and verify the sound found configuration
  1.1567 +//!				6. Restore initial sound h/w configuration
  1.1568 +//!				7. Call Close()
  1.1569 +//!
  1.1570 +//! @SYMTestStatus		Implemented
  1.1571 +//! @SYMTestPriority		Critical
  1.1572 +//! @SYMTestExpectedResults	Playing completes without any errors, sound format is set and verified
  1.1573 +//! @SYMTestType		CIT
  1.1574 +	START_TEST_BLOCK	100					t_sound			\base\sound\base-bsp-sound-driver.ini
  1.1575 +		CREATE_OBJECT	RMdaDevSound				devsound
  1.1576 +		COMMAND		devsound				new
  1.1577 +		COMMAND		devsound				Open			UnitEnum
  1.1578 +		CREATE_OBJECT	TCurrentSoundFormat			t_format		
  1.1579 +		COMMAND		t_format				new
  1.1580 +		COMMAND		t_format				irate_set			set_settings_pcm16_mono_44.1khz
  1.1581 +		COMMAND		t_format				ibuffer_size_set		set_settings_pcm16_mono_44.1khz
  1.1582 +		COMMAND		t_format				iencoding_set		set_settings_pcm16_mono_44.1khz
  1.1583 +		COMMAND		t_format				ichannels_set		set_settings_pcm16_mono_44.1khz
  1.1584 +		COMMAND		devsound				SetPlayFormat		BSP-SOUND-DRIVER-SetPlayFormat
  1.1585 +		COMMAND		devsound				PlayData		pcm16_mono_44.1khz_32kb.raw
  1.1586 +		OUTSTANDING
  1.1587 +		COMMAND		devsound				FlushPlayBuffer
  1.1588 +                COMMAND		devsound				GetPlayFormat		BSP-SOUND-DRIVER-GetPlayFormat
  1.1589 +		COMMAND		t_format				irate_get			set_settings_pcm16_mono_41.1khz_expected
  1.1590 +		COMMAND		t_format				iencoding_get		set_settings_pcm16_mono_41.1khz_expected
  1.1591 +		COMMAND		t_format				ichannels_get		set_settings_pcm16_mono_41.1khz_expected
  1.1592 +		COMMAND		t_format				ibuffer_size_get		set_settings_pcm16_mono_41.1khz_expected
  1.1593 +                //!set back default play configuration
  1.1594 +		COMMAND		t_format				irate_set			default_play_format
  1.1595 +		COMMAND		t_format				iencoding_set		default_play_format
  1.1596 +		COMMAND		t_format				ichannels_set		default_play_format
  1.1597 +		COMMAND		t_format				ibuffer_size_set		default_play_format
  1.1598 +		COMMAND		devsound				SetPlayFormat		BSP-SOUND-DRIVER-SetPlayFormat
  1.1599 +		COMMAND		devsound				SetPlayVolume		default_play_volume
  1.1600 +		COMMAND		t_format				~
  1.1601 +		COMMAND		devsound				Close
  1.1602 +		COMMAND		devsound				~
  1.1603 +	END_TEST_BLOCK
  1.1604 +END_TESTCASE			BASE-BSP-SOUND-DRIVER-4009
  1.1605 +
  1.1606 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-4010
  1.1607 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-4010
  1.1608 +//! @SYMAPI			RMdaDevSound::PlayData(TRequestStatus {ref}, TDes8 {ref})
  1.1609 +//! @SYMAuthor			Vassili Tsvetkov
  1.1610 +//! @SYMCreationDate		15/06/2008
  1.1611 +//! @SYMTestCaseDesc		Execute playing audio in pcm16 mono 48khz
  1.1612 +//!				
  1.1613 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
  1.1614 +//!				2. Call SetPlayFormat() with [set_set_settings_pcm16_mono_48khz]
  1.1615 +//!				3. Call PlayData() with valid sound data from [pcm16_mono_48khz_32kb.raw]
  1.1616 +//!				4. Call FlushPlayBuffer
  1.1617 +//!				5. Call GetPlayFormat() and verify the sound found configuration
  1.1618 +//!				6. Restore initial sound h/w configuration
  1.1619 +//!				7. Call Close()
  1.1620 +//!
  1.1621 +//! @SYMTestStatus		Implemented
  1.1622 +//! @SYMTestPriority		Critical
  1.1623 +//! @SYMTestExpectedResults	Playing completes without any errors, sound format is set and verified
  1.1624 +//! @SYMTestType		CIT
  1.1625 +	START_TEST_BLOCK	100					t_sound			\base\sound\base-bsp-sound-driver.ini
  1.1626 +		CREATE_OBJECT	RMdaDevSound				devsound
  1.1627 +		COMMAND		devsound				new
  1.1628 +		COMMAND		devsound				Open			UnitEnum
  1.1629 +		CREATE_OBJECT	TCurrentSoundFormat			t_format		
  1.1630 +		COMMAND		t_format				new
  1.1631 +		COMMAND		t_format				irate_set			set_settings_pcm16_mono_48khz
  1.1632 +		COMMAND		t_format				ibuffer_size_set		set_settings_pcm16_mono_48khz
  1.1633 +		COMMAND		t_format				iencoding_set		set_settings_pcm16_mono_48khz
  1.1634 +		COMMAND		t_format				ichannels_set		set_settings_pcm16_mono_48khz
  1.1635 +		COMMAND		devsound				SetPlayFormat		BSP-SOUND-DRIVER-SetPlayFormat
  1.1636 +		COMMAND		devsound				PlayData		pcm16_mono_48khz_32kb.raw
  1.1637 +		OUTSTANDING
  1.1638 +		COMMAND		devsound				FlushPlayBuffer
  1.1639 +                COMMAND		devsound				GetPlayFormat		BSP-SOUND-DRIVER-GetPlayFormat
  1.1640 +		COMMAND		t_format				irate_get			set_settings_pcm16_mono_48khz_expected
  1.1641 +		COMMAND		t_format				iencoding_get		set_settings_pcm16_mono_48khz_expected
  1.1642 +		COMMAND		t_format				ichannels_get		set_settings_pcm16_mono_48khz_expected
  1.1643 +		COMMAND		t_format				ibuffer_size_get		set_settings_pcm16_mono_48khz_expected
  1.1644 +                //!set back default play configuration
  1.1645 +		COMMAND		t_format				irate_set			default_play_format
  1.1646 +		COMMAND		t_format				iencoding_set		default_play_format
  1.1647 +		COMMAND		t_format				ichannels_set		default_play_format
  1.1648 +		COMMAND		t_format				ibuffer_size_set		default_play_format
  1.1649 +		COMMAND		devsound				SetPlayFormat		BSP-SOUND-DRIVER-SetPlayFormat
  1.1650 +		COMMAND		devsound				SetPlayVolume		default_play_volume
  1.1651 +		COMMAND		t_format				~
  1.1652 +		COMMAND		devsound				Close
  1.1653 +		COMMAND		devsound				~
  1.1654 +	END_TEST_BLOCK
  1.1655 +END_TESTCASE			BASE-BSP-SOUND-DRIVER-4010
  1.1656 +
  1.1657 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-4011
  1.1658 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-4011
  1.1659 +//! @SYMAPI			RMdaDevSound::PlayData(TRequestStatus {ref}, TDes8 {ref})
  1.1660 +//! @SYMAuthor			Vassili Tsvetkov
  1.1661 +//! @SYMCreationDate		15/06/2008
  1.1662 +//! @SYMTestCaseDesc		Execute playing audio in pcm16 stereo 8khz
  1.1663 +//!				
  1.1664 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
  1.1665 +//!				2. Call SetPlayFormat() with [set_set_settings_pcm16_stereo_8khz]
  1.1666 +//!				3. Call PlayData() with valid sound data from [pcm16_stereo_8khz_32kb.raw]
  1.1667 +//!				4. Call FlushPlayBuffer
  1.1668 +//!				5. Call GetPlayFormat() and verify the sound found configuration
  1.1669 +//!				6. Restore initial sound h/w configuration
  1.1670 +//!				7. Call Close()
  1.1671 +//!
  1.1672 +//! @SYMTestStatus		Implemented
  1.1673 +//! @SYMTestPriority		Critical
  1.1674 +//! @SYMTestExpectedResults	Playing completes without any errors, sound format is set and verified
  1.1675 +//! @SYMTestType		CIT
  1.1676 +	START_TEST_BLOCK	100					t_sound			\base\sound\base-bsp-sound-driver.ini
  1.1677 +		CREATE_OBJECT	RMdaDevSound				devsound
  1.1678 +		COMMAND		devsound				new
  1.1679 +		COMMAND		devsound				Open			UnitEnum
  1.1680 +		CREATE_OBJECT	TCurrentSoundFormat			t_format		
  1.1681 +		COMMAND		t_format				new
  1.1682 +		COMMAND		t_format				irate_set			set_settings_pcm16_stereo_8khz
  1.1683 +		COMMAND		t_format				ibuffer_size_set		set_settings_pcm16_stereo_8khz
  1.1684 +		COMMAND		t_format				iencoding_set		set_settings_pcm16_stereo_8khz
  1.1685 +		COMMAND		t_format				ichannels_set		set_settings_pcm16_stereo_8khz
  1.1686 +		COMMAND		devsound				SetPlayFormat		BSP-SOUND-DRIVER-SetPlayFormat
  1.1687 +		COMMAND		devsound				PlayData		pcm16_stereo_8khz_32kb.raw
  1.1688 +		OUTSTANDING
  1.1689 +		COMMAND		devsound				FlushPlayBuffer
  1.1690 +                COMMAND		devsound				GetPlayFormat		BSP-SOUND-DRIVER-GetPlayFormat
  1.1691 +		COMMAND		t_format				irate_get			set_settings_pcm16_stereo_8khz_expected
  1.1692 +		COMMAND		t_format				iencoding_get		set_settings_pcm16_stereo_8khz_expected	
  1.1693 +		COMMAND		t_format				ichannels_get		set_settings_pcm16_stereo_8khz_expected
  1.1694 +		COMMAND		t_format				ibuffer_size_get		set_settings_pcm16_stereo_8khz_expected
  1.1695 +                //!set back default play configuration
  1.1696 +		COMMAND		t_format				irate_set			default_play_format
  1.1697 +		COMMAND		t_format				iencoding_set		default_play_format
  1.1698 +		COMMAND		t_format				ichannels_set		default_play_format
  1.1699 +		COMMAND		t_format				ibuffer_size_set		default_play_format
  1.1700 +		COMMAND		devsound				SetPlayFormat		BSP-SOUND-DRIVER-SetPlayFormat
  1.1701 +		COMMAND		devsound				SetPlayVolume		default_play_volume
  1.1702 +		COMMAND		t_format				~
  1.1703 +		COMMAND		devsound				Close
  1.1704 +		COMMAND		devsound				~
  1.1705 +	END_TEST_BLOCK
  1.1706 +END_TESTCASE			BASE-BSP-SOUND-DRIVER-4011
  1.1707 +
  1.1708 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-4012
  1.1709 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-4012
  1.1710 +//! @SYMAPI			RMdaDevSound::PlayData(TRequestStatus {ref}, TDes8 {ref})
  1.1711 +//! @SYMAuthor			Vassili Tsvetkov
  1.1712 +//! @SYMCreationDate		15/06/2008
  1.1713 +//! @SYMTestCaseDesc		Execute playing audio in pcm16 stereo 11khz
  1.1714 +//!				
  1.1715 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
  1.1716 +//!				2. Call SetPlayFormat() with [set_set_settings_pcm16_stereo_11khz]
  1.1717 +//!				3. Call PlayData() with valid sound data from [pcm16_stereo_11khz_32kb.raw]
  1.1718 +//!				4. Call FlushPlayBuffer
  1.1719 +//!				5. Call GetPlayFormat() and verify the sound found configuration
  1.1720 +//!				6. Restore initial sound h/w configuration
  1.1721 +//!				7. Call Close()
  1.1722 +//!
  1.1723 +//! @SYMTestStatus		Implemented
  1.1724 +//! @SYMTestPriority		Critical
  1.1725 +//! @SYMTestExpectedResults	Playing completes without any errors, sound format is set and verified
  1.1726 +//! @SYMTestType		CIT
  1.1727 +	START_TEST_BLOCK	100					t_sound			\base\sound\base-bsp-sound-driver.ini
  1.1728 +		CREATE_OBJECT	RMdaDevSound				devsound
  1.1729 +		COMMAND		devsound				new
  1.1730 +		COMMAND		devsound				Open			UnitEnum
  1.1731 +		CREATE_OBJECT	TCurrentSoundFormat			t_format		
  1.1732 +		COMMAND		t_format				new
  1.1733 +		COMMAND		t_format				irate_set			set_settings_pcm16_stereo_11khz
  1.1734 +		COMMAND		t_format				ibuffer_size_set		set_settings_pcm16_stereo_11khz
  1.1735 +		COMMAND		t_format				iencoding_set		set_settings_pcm16_stereo_11khz
  1.1736 +		COMMAND		t_format				ichannels_set		set_settings_pcm16_stereo_11khz
  1.1737 +		COMMAND		devsound				SetPlayFormat		BSP-SOUND-DRIVER-SetPlayFormat
  1.1738 +		COMMAND		devsound				PlayData		pcm16_stereo_11khz_32kb.raw
  1.1739 +		OUTSTANDING
  1.1740 +		COMMAND		devsound				FlushPlayBuffer
  1.1741 +                COMMAND		devsound				GetPlayFormat		BSP-SOUND-DRIVER-GetPlayFormat
  1.1742 +		COMMAND		t_format				irate_get			set_settings_pcm16_stereo_11khz_expected
  1.1743 +		COMMAND		t_format				iencoding_get		set_settings_pcm16_stereo_11khz_expected
  1.1744 +		COMMAND		t_format				ichannels_get		set_settings_pcm16_stereo_11khz_expected
  1.1745 +		COMMAND		t_format				ibuffer_size_get		set_settings_pcm16_stereo_11khz_expected
  1.1746 +                //!set back default play configuration
  1.1747 +		COMMAND		t_format				irate_set			default_play_format
  1.1748 +		COMMAND		t_format				iencoding_set		default_play_format
  1.1749 +		COMMAND		t_format				ichannels_set		default_play_format
  1.1750 +		COMMAND		t_format				ibuffer_size_set		default_play_format
  1.1751 +		COMMAND		devsound				SetPlayFormat		BSP-SOUND-DRIVER-SetPlayFormat
  1.1752 +		COMMAND		devsound				SetPlayVolume		default_play_volume
  1.1753 +		COMMAND		t_format				~
  1.1754 +		COMMAND		devsound				Close
  1.1755 +		COMMAND		devsound				~
  1.1756 +	END_TEST_BLOCK
  1.1757 +END_TESTCASE			BASE-BSP-SOUND-DRIVER-4012
  1.1758 +
  1.1759 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-4013
  1.1760 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-4013
  1.1761 +//! @SYMAPI			RMdaDevSound::PlayData(TRequestStatus {ref}, TDes8 {ref})
  1.1762 +//! @SYMAuthor			Vassili Tsvetkov
  1.1763 +//! @SYMCreationDate		15/06/2008
  1.1764 +//! @SYMTestCaseDesc		Execute playing audio in pcm16 stereo 12khz
  1.1765 +//!				
  1.1766 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
  1.1767 +//!				2. Call SetPlayFormat() with [set_set_settings_pcm16_stereo_12khz]
  1.1768 +//!				3. Call PlayData() with valid sound data from [pcm16_stereo_12khz_32kb.raw]
  1.1769 +//!				4. Call FlushPlayBuffer
  1.1770 +//!				5. Call GetPlayFormat() and verify the sound found configuration
  1.1771 +//!				6. Restore initial sound h/w configuration
  1.1772 +//!				7. Call Close()
  1.1773 +//!
  1.1774 +//! @SYMTestStatus		Implemented
  1.1775 +//! @SYMTestPriority		Critical
  1.1776 +//! @SYMTestExpectedResults	Playing completes without any errors, sound format is set and verified
  1.1777 +//! @SYMTestType		CIT
  1.1778 +	START_TEST_BLOCK	100					t_sound			\base\sound\base-bsp-sound-driver.ini
  1.1779 +		CREATE_OBJECT	RMdaDevSound				devsound
  1.1780 +		COMMAND		devsound				new
  1.1781 +		COMMAND		devsound				Open			UnitEnum
  1.1782 +		CREATE_OBJECT	TCurrentSoundFormat			t_format		
  1.1783 +		COMMAND		t_format				new
  1.1784 +		COMMAND		t_format				irate_set			set_settings_pcm16_stereo_12khz
  1.1785 +		COMMAND		t_format				ibuffer_size_set		set_settings_pcm16_stereo_12khz
  1.1786 +		COMMAND		t_format				iencoding_set		set_settings_pcm16_stereo_12khz
  1.1787 +		COMMAND		t_format				ichannels_set		set_settings_pcm16_stereo_12khz
  1.1788 +		COMMAND		devsound				SetPlayFormat		BSP-SOUND-DRIVER-SetPlayFormat
  1.1789 +		COMMAND		devsound				PlayData		pcm16_stereo_12khz_32kb.raw
  1.1790 +		OUTSTANDING
  1.1791 +		COMMAND		devsound				FlushPlayBuffer
  1.1792 +                COMMAND		devsound				GetPlayFormat		BSP-SOUND-DRIVER-GetPlayFormat
  1.1793 +		COMMAND		t_format				irate_get			set_settings_pcm16_stereo_12khz_expected
  1.1794 +		COMMAND		t_format				iencoding_get		set_settings_pcm16_stereo_12khz_expected
  1.1795 +		COMMAND		t_format				ichannels_get		set_settings_pcm16_stereo_12khz_expected
  1.1796 +		COMMAND		t_format				ibuffer_size_get		set_settings_pcm16_stereo_12khz_expected
  1.1797 +                //!set back default play configuration
  1.1798 +		COMMAND		t_format				irate_set			default_play_format
  1.1799 +		COMMAND		t_format				iencoding_set		default_play_format
  1.1800 +		COMMAND		t_format				ichannels_set		default_play_format
  1.1801 +		COMMAND		t_format				ibuffer_size_set		default_play_format
  1.1802 +		COMMAND		devsound				SetPlayFormat		BSP-SOUND-DRIVER-SetPlayFormat
  1.1803 +		COMMAND		devsound				SetPlayVolume		default_play_volume
  1.1804 +		COMMAND		t_format				~
  1.1805 +		COMMAND		devsound				Close
  1.1806 +		COMMAND		devsound				~
  1.1807 +	END_TEST_BLOCK
  1.1808 +END_TESTCASE			BASE-BSP-SOUND-DRIVER-4013
  1.1809 +
  1.1810 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-4014
  1.1811 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-4014
  1.1812 +//! @SYMAPI			RMdaDevSound::PlayData(TRequestStatus {ref}, TDes8 {ref})
  1.1813 +//! @SYMAuthor			Vassili Tsvetkov
  1.1814 +//! @SYMCreationDate		15/06/2008
  1.1815 +//! @SYMTestCaseDesc		Execute playing audio in pcm16 stereo 16khz
  1.1816 +//!				
  1.1817 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
  1.1818 +//!				2. Call SetPlayFormat() with [set_set_settings_pcm16_stereo_16khz]
  1.1819 +//!				3. Call PlayData() with valid sound data from [pcm16_stereo_16khz_32kb.raw]
  1.1820 +//!				4. Call FlushPlayBuffer
  1.1821 +//!				5. Call GetPlayFormat() and verify the sound found configuration
  1.1822 +//!				6. Restore initial sound h/w configuration
  1.1823 +//!				7. Call Close()
  1.1824 +//!
  1.1825 +//! @SYMTestStatus		Implemented
  1.1826 +//! @SYMTestPriority		Critical
  1.1827 +//! @SYMTestExpectedResults	Playing completes without any errors, sound format is set and verified
  1.1828 +//! @SYMTestType		CIT
  1.1829 +	START_TEST_BLOCK	100					t_sound			\base\sound\base-bsp-sound-driver.ini
  1.1830 +		CREATE_OBJECT	RMdaDevSound				devsound
  1.1831 +		COMMAND		devsound				new
  1.1832 +		COMMAND		devsound				Open			UnitEnum
  1.1833 +		CREATE_OBJECT	TCurrentSoundFormat			t_format		
  1.1834 +		COMMAND		t_format				new
  1.1835 +		COMMAND		t_format				irate_set			set_settings_pcm16_stereo_16khz
  1.1836 +		COMMAND		t_format				ibuffer_size_set		set_settings_pcm16_stereo_16khz
  1.1837 +		COMMAND		t_format				iencoding_set		set_settings_pcm16_stereo_16khz
  1.1838 +		COMMAND		t_format				ichannels_set		set_settings_pcm16_stereo_16khz
  1.1839 +		COMMAND		devsound				SetPlayFormat		BSP-SOUND-DRIVER-SetPlayFormat
  1.1840 +		COMMAND		devsound				PlayData		pcm16_stereo_16khz_32kb.raw
  1.1841 +		OUTSTANDING
  1.1842 +		COMMAND		devsound				FlushPlayBuffer
  1.1843 +                COMMAND		devsound				GetPlayFormat		BSP-SOUND-DRIVER-GetPlayFormat
  1.1844 +		COMMAND		t_format				irate_get			set_settings_pcm16_stereo_16khz_expected
  1.1845 +		COMMAND		t_format				iencoding_get		set_settings_pcm16_stereo_16khz_expected
  1.1846 +		COMMAND		t_format				ichannels_get		set_settings_pcm16_stereo_16khz_expected
  1.1847 +		COMMAND		t_format				ibuffer_size_get		set_settings_pcm16_stereo_16khz_expected
  1.1848 +                //!set back default play configuration
  1.1849 +		COMMAND		t_format				irate_set			default_play_format
  1.1850 +		COMMAND		t_format				iencoding_set		default_play_format
  1.1851 +		COMMAND		t_format				ichannels_set		default_play_format
  1.1852 +		COMMAND		t_format				ibuffer_size_set		default_play_format
  1.1853 +		COMMAND		devsound				SetPlayFormat		BSP-SOUND-DRIVER-SetPlayFormat
  1.1854 +		COMMAND		devsound				SetPlayVolume		default_play_volume
  1.1855 +		COMMAND		t_format				~
  1.1856 +		COMMAND		devsound				Close
  1.1857 +		COMMAND		devsound				~
  1.1858 +	END_TEST_BLOCK
  1.1859 +END_TESTCASE			BASE-BSP-SOUND-DRIVER-4014
  1.1860 +
  1.1861 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-4015
  1.1862 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-4015
  1.1863 +//! @SYMAPI			RMdaDevSound::PlayData(TRequestStatus {ref}, TDes8 {ref})
  1.1864 +//! @SYMAuthor			Vassili Tsvetkov
  1.1865 +//! @SYMCreationDate		15/06/2008
  1.1866 +//! @SYMTestCaseDesc		Execute playing audio in pcm16 stereo 22khz
  1.1867 +//!				
  1.1868 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
  1.1869 +//!				2. Call SetPlayFormat() with [set_set_settings_pcm16_stereo_22khz]
  1.1870 +//!				3. Call PlayData() with valid sound data from [pcm16_stereo_22khz_32kb.raw]
  1.1871 +//!				4. Call FlushPlayBuffer
  1.1872 +//!				5. Call GetPlayFormat() and verify the sound found configuration
  1.1873 +//!				6. Restore initial sound h/w configuration
  1.1874 +//!				7. Call Close()
  1.1875 +//!
  1.1876 +//! @SYMTestStatus		Implemented
  1.1877 +//! @SYMTestPriority		Critical
  1.1878 +//! @SYMTestExpectedResults	Playing completes without any errors, sound format is set and verified
  1.1879 +//! @SYMTestType		CIT
  1.1880 +	START_TEST_BLOCK	100					t_sound			\base\sound\base-bsp-sound-driver.ini
  1.1881 +		CREATE_OBJECT	RMdaDevSound				devsound
  1.1882 +		COMMAND		devsound				new
  1.1883 +		COMMAND		devsound				Open			UnitEnum
  1.1884 +		CREATE_OBJECT	TCurrentSoundFormat			t_format		
  1.1885 +		COMMAND		t_format				new
  1.1886 +		COMMAND		t_format				irate_set			set_settings_pcm16_stereo_22khz
  1.1887 +		COMMAND		t_format				ibuffer_size_set		set_settings_pcm16_stereo_22khz
  1.1888 +		COMMAND		t_format				iencoding_set		set_settings_pcm16_stereo_22khz
  1.1889 +		COMMAND		t_format				ichannels_set		set_settings_pcm16_stereo_22khz
  1.1890 +		COMMAND		devsound				SetPlayFormat		BSP-SOUND-DRIVER-SetPlayFormat
  1.1891 +		COMMAND		devsound				PlayData		pcm16_stereo_22khz_32kb.raw
  1.1892 +		OUTSTANDING
  1.1893 +		COMMAND		devsound				FlushPlayBuffer
  1.1894 +                COMMAND		devsound				GetPlayFormat		BSP-SOUND-DRIVER-GetPlayFormat
  1.1895 +		COMMAND		t_format				irate_get			set_settings_pcm16_stereo_22khz_expected
  1.1896 +		COMMAND		t_format				iencoding_get		set_settings_pcm16_stereo_22khz_expected
  1.1897 +		COMMAND		t_format				ichannels_get		set_settings_pcm16_stereo_22khz_expected
  1.1898 +		COMMAND		t_format				ibuffer_size_get		set_settings_pcm16_stereo_22khz_expected
  1.1899 +                //!set back default play configuration
  1.1900 +		COMMAND		t_format				irate_set			default_play_format
  1.1901 +		COMMAND		t_format				iencoding_set		default_play_format
  1.1902 +		COMMAND		t_format				ichannels_set		default_play_format
  1.1903 +		COMMAND		t_format				ibuffer_size_set		default_play_format
  1.1904 +		COMMAND		devsound				SetPlayFormat		BSP-SOUND-DRIVER-SetPlayFormat
  1.1905 +		COMMAND		devsound				SetPlayVolume		default_play_volume
  1.1906 +		COMMAND		t_format				~
  1.1907 +		COMMAND		devsound				Close
  1.1908 +		COMMAND		devsound				~
  1.1909 +	END_TEST_BLOCK
  1.1910 +END_TESTCASE			BASE-BSP-SOUND-DRIVER-4015
  1.1911 +
  1.1912 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-4016
  1.1913 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-4016
  1.1914 +//! @SYMAPI			RMdaDevSound::PlayData(TRequestStatus {ref}, TDes8 {ref})
  1.1915 +//! @SYMAuthor			Vassili Tsvetkov
  1.1916 +//! @SYMCreationDate		15/06/2008
  1.1917 +//! @SYMTestCaseDesc		Execute playing audio in pcm16 stereo 24khz
  1.1918 +//!				
  1.1919 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
  1.1920 +//!				2. Call SetPlayFormat() with [set_set_settings_pcm16_stereo_24khz]
  1.1921 +//!				3. Call PlayData() with valid sound data from [pcm16_stereo_24khz_32kb.raw]
  1.1922 +//!				4. Call FlushPlayBuffer
  1.1923 +//!				5. Call GetPlayFormat() and verify the sound found configuration
  1.1924 +//!				6. Restore initial sound h/w configuration
  1.1925 +//!				7. Call Close()
  1.1926 +//!
  1.1927 +//! @SYMTestStatus		Implemented
  1.1928 +//! @SYMTestPriority		Critical
  1.1929 +//! @SYMTestExpectedResults	Playing completes without any errors, sound format is set and verified
  1.1930 +//! @SYMTestType		CIT
  1.1931 +	START_TEST_BLOCK	100					t_sound			\base\sound\base-bsp-sound-driver.ini
  1.1932 +		CREATE_OBJECT	RMdaDevSound				devsound
  1.1933 +		COMMAND		devsound				new
  1.1934 +		COMMAND		devsound				Open			UnitEnum
  1.1935 +		CREATE_OBJECT	TCurrentSoundFormat			t_format		
  1.1936 +		COMMAND		t_format				new
  1.1937 +		COMMAND		t_format				irate_set			set_settings_pcm16_stereo_24khz
  1.1938 +		COMMAND		t_format				ibuffer_size_set		set_settings_pcm16_stereo_24khz
  1.1939 +		COMMAND		t_format				iencoding_set		set_settings_pcm16_stereo_24khz
  1.1940 +		COMMAND		t_format				ichannels_set		set_settings_pcm16_stereo_24khz
  1.1941 +		COMMAND		devsound				SetPlayFormat		BSP-SOUND-DRIVER-SetPlayFormat
  1.1942 +		COMMAND		devsound				PlayData		pcm16_stereo_24khz_32kb.raw
  1.1943 +		OUTSTANDING
  1.1944 +		COMMAND		devsound				FlushPlayBuffer
  1.1945 +                COMMAND		devsound				GetPlayFormat		BSP-SOUND-DRIVER-GetPlayFormat
  1.1946 +		COMMAND		t_format				irate_get			set_settings_pcm16_stereo_24khz_expected
  1.1947 +		COMMAND		t_format				iencoding_get		set_settings_pcm16_stereo_24khz_expected
  1.1948 +		COMMAND		t_format				ichannels_get		set_settings_pcm16_stereo_24khz_expected
  1.1949 +		COMMAND		t_format				ibuffer_size_get		set_settings_pcm16_stereo_24khz_expected
  1.1950 +                //!set back default play configuration
  1.1951 +		COMMAND		t_format				irate_set			default_play_format
  1.1952 +		COMMAND		t_format				iencoding_set		default_play_format
  1.1953 +		COMMAND		t_format				ichannels_set		default_play_format
  1.1954 +		COMMAND		t_format				ibuffer_size_set		default_play_format
  1.1955 +		COMMAND		devsound				SetPlayFormat		BSP-SOUND-DRIVER-SetPlayFormat
  1.1956 +		COMMAND		devsound				SetPlayVolume		default_play_volume
  1.1957 +		COMMAND		t_format				~
  1.1958 +		COMMAND		devsound				Close
  1.1959 +		COMMAND		devsound				~
  1.1960 +	END_TEST_BLOCK
  1.1961 +END_TESTCASE			BASE-BSP-SOUND-DRIVER-4016
  1.1962 +
  1.1963 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-4017
  1.1964 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-4017
  1.1965 +//! @SYMAPI			RMdaDevSound::PlayData(TRequestStatus {ref}, TDes8 {ref})
  1.1966 +//! @SYMAuthor			Vassili Tsvetkov
  1.1967 +//! @SYMCreationDate		15/06/2008
  1.1968 +//! @SYMTestCaseDesc		Execute playing audio in pcm16 stereo 32khz
  1.1969 +//!				
  1.1970 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
  1.1971 +//!				2. Call SetPlayFormat() with [set_set_settings_pcm16_stereo_32khz]
  1.1972 +//!				3. Call PlayData() with valid sound data from [pcm16_stereo_32khz_32kb.raw]
  1.1973 +//!				4. Call FlushPlayBuffer
  1.1974 +//!				5. Call GetPlayFormat() and verify the sound found configuration
  1.1975 +//!				6. Restore initial sound h/w configuration
  1.1976 +//!				7. Call Close()
  1.1977 +//!
  1.1978 +//! @SYMTestStatus		Implemented
  1.1979 +//! @SYMTestPriority		Critical
  1.1980 +//! @SYMTestExpectedResults	Playing completes without any errors, sound format is set and verified
  1.1981 +//! @SYMTestType		CIT
  1.1982 +	START_TEST_BLOCK	100					t_sound			\base\sound\base-bsp-sound-driver.ini
  1.1983 +		CREATE_OBJECT	RMdaDevSound				devsound
  1.1984 +		COMMAND		devsound				new
  1.1985 +		COMMAND		devsound				Open			UnitEnum
  1.1986 +		CREATE_OBJECT	TCurrentSoundFormat			t_format		
  1.1987 +		COMMAND		t_format				new
  1.1988 +		COMMAND		t_format				irate_set			set_settings_pcm16_stereo_32khz
  1.1989 +		COMMAND		t_format				ibuffer_size_set		set_settings_pcm16_stereo_32khz
  1.1990 +		COMMAND		t_format				iencoding_set		set_settings_pcm16_stereo_32khz
  1.1991 +		COMMAND		t_format				ichannels_set		set_settings_pcm16_stereo_32khz
  1.1992 +		COMMAND		devsound				SetPlayFormat		BSP-SOUND-DRIVER-SetPlayFormat
  1.1993 +		COMMAND		devsound				PlayData		pcm16_stereo_32khz_32kb.raw
  1.1994 +		OUTSTANDING
  1.1995 +		COMMAND		devsound				FlushPlayBuffer
  1.1996 +                COMMAND		devsound				GetPlayFormat		BSP-SOUND-DRIVER-GetPlayFormat
  1.1997 +		COMMAND		t_format				irate_get			set_settings_pcm16_stereo_32khz_expected
  1.1998 +		COMMAND		t_format				iencoding_get		set_settings_pcm16_stereo_32khz_expected
  1.1999 +		COMMAND		t_format				ichannels_get		set_settings_pcm16_stereo_32khz_expected
  1.2000 +		COMMAND		t_format				ibuffer_size_get		set_settings_pcm16_stereo_32khz_expected
  1.2001 +                //!set back default play configuration
  1.2002 +		COMMAND		t_format				irate_set			default_play_format
  1.2003 +		COMMAND		t_format				iencoding_set		default_play_format
  1.2004 +		COMMAND		t_format				ichannels_set		default_play_format
  1.2005 +		COMMAND		t_format				ibuffer_size_set		default_play_format
  1.2006 +		COMMAND		devsound				SetPlayFormat		BSP-SOUND-DRIVER-SetPlayFormat
  1.2007 +		COMMAND		devsound				SetPlayVolume		default_play_volume
  1.2008 +		COMMAND		t_format				~
  1.2009 +		COMMAND		devsound				Close
  1.2010 +		COMMAND		devsound				~
  1.2011 +	END_TEST_BLOCK
  1.2012 +END_TESTCASE			BASE-BSP-SOUND-DRIVER-4017
  1.2013 +
  1.2014 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-4018
  1.2015 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-4018
  1.2016 +//! @SYMAPI			RMdaDevSound::PlayData(TRequestStatus {ref}, TDes8 {ref})
  1.2017 +//! @SYMAuthor			Vassili Tsvetkov
  1.2018 +//! @SYMCreationDate		15/06/2008
  1.2019 +//! @SYMTestCaseDesc		Execute playing audio in pcm16 stereo 44.1khz
  1.2020 +//!				
  1.2021 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
  1.2022 +//!				2. Call SetPlayFormat() with [set_set_settings_pcm16_stereo_44.1khz]
  1.2023 +//!				3. Call PlayData() with valid sound data from [pcm16_stereo_44.1khz_32kb.raw]
  1.2024 +//!				4. Call FlushPlayBuffer
  1.2025 +//!				5. Call GetPlayFormat() and verify the sound found configuration
  1.2026 +//!				6. Restore initial sound h/w configuration
  1.2027 +//!				7. Call Close()
  1.2028 +//!
  1.2029 +//! @SYMTestStatus		Implemented
  1.2030 +//! @SYMTestPriority		Critical
  1.2031 +//! @SYMTestExpectedResults	Playing completes without any errors, sound format is set and verified
  1.2032 +//! @SYMTestType		CIT
  1.2033 +	START_TEST_BLOCK	100					t_sound			\base\sound\base-bsp-sound-driver.ini
  1.2034 +		CREATE_OBJECT	RMdaDevSound				devsound
  1.2035 +		COMMAND		devsound				new
  1.2036 +		COMMAND		devsound				Open			UnitEnum
  1.2037 +		CREATE_OBJECT	TCurrentSoundFormat			t_format		
  1.2038 +		COMMAND		t_format				new
  1.2039 +		COMMAND		t_format				irate_set			set_settings_pcm16_stereo_44.1khz
  1.2040 +		COMMAND		t_format				ibuffer_size_set		set_settings_pcm16_stereo_44.1khz
  1.2041 +		COMMAND		t_format				iencoding_set		set_settings_pcm16_stereo_44.1khz
  1.2042 +		COMMAND		t_format				ichannels_set		set_settings_pcm16_stereo_44.1khz
  1.2043 +		COMMAND		devsound				SetPlayFormat		BSP-SOUND-DRIVER-SetPlayFormat
  1.2044 +		COMMAND		devsound				PlayData		pcm16_stereo_44.1khz_32kb.raw
  1.2045 +		OUTSTANDING
  1.2046 +		COMMAND		devsound				FlushPlayBuffer
  1.2047 +                COMMAND		devsound				GetPlayFormat		BSP-SOUND-DRIVER-GetPlayFormat
  1.2048 +		COMMAND		t_format				irate_get			set_settings_pcm16_stereo_44.1khz_expected
  1.2049 +		COMMAND		t_format				iencoding_get		set_settings_pcm16_stereo_44.1khz_expected
  1.2050 +		COMMAND		t_format				ichannels_get		set_settings_pcm16_stereo_44.1khz_expected
  1.2051 +		COMMAND		t_format				ibuffer_size_get		set_settings_pcm16_stereo_44.1khz_expected
  1.2052 +                //!set back default play configuration
  1.2053 +		COMMAND		t_format				irate_set			default_play_format
  1.2054 +		COMMAND		t_format				iencoding_set		default_play_format
  1.2055 +		COMMAND		t_format				ichannels_set		default_play_format
  1.2056 +		COMMAND		t_format				ibuffer_size_set		default_play_format
  1.2057 +		COMMAND		devsound				SetPlayFormat		BSP-SOUND-DRIVER-SetPlayFormat
  1.2058 +		COMMAND		devsound				SetPlayVolume		default_play_volume
  1.2059 +		COMMAND		t_format				~
  1.2060 +		COMMAND		devsound				Close
  1.2061 +		COMMAND		devsound				~
  1.2062 +	END_TEST_BLOCK
  1.2063 +END_TESTCASE			BASE-BSP-SOUND-DRIVER-4018
  1.2064 +
  1.2065 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-4019
  1.2066 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-4019
  1.2067 +//! @SYMAPI			RMdaDevSound::PlayData(TRequestStatus {ref}, TDes8 {ref})
  1.2068 +//! @SYMAuthor			Vassili Tsvetkov
  1.2069 +//! @SYMCreationDate		15/06/2008
  1.2070 +//! @SYMTestCaseDesc		Execute playing audio in pcm16 stereo 48khz
  1.2071 +//!				
  1.2072 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
  1.2073 +//!				2. Call SetPlayFormat() with [set_set_settings_pcm16_stereo_48khz]
  1.2074 +//!				3. Call PlayData() with valid sound data from [pcm16_stereo_48khz_32kb.raw]
  1.2075 +//!				4. Call FlushPlayBuffer
  1.2076 +//!				5. Call GetPlayFormat() and verify the sound found configuration
  1.2077 +//!				6. Restore initial sound h/w configuration
  1.2078 +//!				7. Call Close()
  1.2079 +//!
  1.2080 +//! @SYMTestStatus		Implemented
  1.2081 +//! @SYMTestPriority		Critical
  1.2082 +//! @SYMTestExpectedResults	Playing completes without any errors, sound format is set and verified
  1.2083 +//! @SYMTestType		CIT
  1.2084 +	START_TEST_BLOCK	100					t_sound			\base\sound\base-bsp-sound-driver.ini
  1.2085 +		CREATE_OBJECT	RMdaDevSound				devsound
  1.2086 +		COMMAND		devsound				new
  1.2087 +		COMMAND		devsound				Open			UnitEnum
  1.2088 +		CREATE_OBJECT	TCurrentSoundFormat			t_format		
  1.2089 +		COMMAND		t_format				new
  1.2090 +		COMMAND		t_format				irate_set			set_settings_pcm16_stereo_48khz
  1.2091 +		COMMAND		t_format				ibuffer_size_set		set_settings_pcm16_stereo_48khz
  1.2092 +		COMMAND		t_format				iencoding_set		set_settings_pcm16_stereo_48khz
  1.2093 +		COMMAND		t_format				ichannels_set		set_settings_pcm16_stereo_48khz
  1.2094 +		COMMAND		devsound				SetPlayFormat		BSP-SOUND-DRIVER-SetPlayFormat
  1.2095 +		COMMAND		devsound				PlayData		pcm16_stereo_48khz_32kb.raw
  1.2096 +		OUTSTANDING
  1.2097 +		COMMAND		devsound				FlushPlayBuffer
  1.2098 +                COMMAND		devsound				GetPlayFormat		BSP-SOUND-DRIVER-GetPlayFormat
  1.2099 +		COMMAND		t_format				irate_get			set_settings_pcm16_stereo_48khz_expected
  1.2100 +		COMMAND		t_format				iencoding_get		set_settings_pcm16_stereo_48khz_expected
  1.2101 +		COMMAND		t_format				ichannels_get		set_settings_pcm16_stereo_48khz_expected
  1.2102 +		COMMAND		t_format				ibuffer_size_get		set_settings_pcm16_stereo_48khz_expected
  1.2103 +                //!set back default play configuration
  1.2104 +		COMMAND		t_format				irate_set			default_play_format
  1.2105 +		COMMAND		t_format				iencoding_set		default_play_format
  1.2106 +		COMMAND		t_format				ichannels_set		default_play_format
  1.2107 +		COMMAND		t_format				ibuffer_size_set		default_play_format
  1.2108 +		COMMAND		devsound				SetPlayFormat		BSP-SOUND-DRIVER-SetPlayFormat
  1.2109 +		COMMAND		devsound				SetPlayVolume		default_play_volume
  1.2110 +		COMMAND		t_format				~
  1.2111 +		COMMAND		devsound				Close
  1.2112 +		COMMAND		devsound				~
  1.2113 +	END_TEST_BLOCK
  1.2114 +END_TESTCASE			BASE-BSP-SOUND-DRIVER-4019
  1.2115 +
  1.2116 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-4020
  1.2117 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-4020
  1.2118 +//! @SYMAPI			RMdaDevSound::PlayData(TRequestStatus {ref}, TDes8 {ref})
  1.2119 +//! @SYMAuthor			Vassili Tsvetkov
  1.2120 +//! @SYMCreationDate		15/06/2008
  1.2121 +//! @SYMTestCaseDesc		Execute playing audio in alaw8 mono 8khz
  1.2122 +//!				
  1.2123 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
  1.2124 +//!				2. Call SetPlayFormat() with [set_set_settings_alaw8bit_mono_8khz]
  1.2125 +//!				3. Call PlayData() with valid sound data from [alaw8bit_mono_8khz_32kb.raw]
  1.2126 +//!				4. Call FlushPlayBuffer
  1.2127 +//!				5. Call GetPlayFormat() and verify the sound found configuration
  1.2128 +//!				6. Restore initial sound h/w configuration
  1.2129 +//!				7. Call Close()
  1.2130 +//!
  1.2131 +//! @SYMTestStatus		Implemented
  1.2132 +//! @SYMTestPriority		Critical
  1.2133 +//! @SYMTestExpectedResults	Playing completes without any errors, sound format is set and verified
  1.2134 +//! @SYMTestType		CIT
  1.2135 +	START_TEST_BLOCK	100					t_sound			\base\sound\base-bsp-sound-driver.ini
  1.2136 +		CREATE_OBJECT	RMdaDevSound				devsound
  1.2137 +		COMMAND		devsound				new
  1.2138 +		COMMAND		devsound				Open			UnitEnum
  1.2139 +		CREATE_OBJECT	TCurrentSoundFormat			t_format		
  1.2140 +		COMMAND		t_format				new
  1.2141 +		COMMAND		t_format				irate_set			set_settings_alaw8bit_mono_8khz
  1.2142 +		COMMAND		t_format				ibuffer_size_set		set_settings_alaw8bit_mono_8khz
  1.2143 +		COMMAND		t_format				iencoding_set		set_settings_alaw8bit_mono_8khz
  1.2144 +		COMMAND		t_format				ichannels_set		set_settings_alaw8bit_mono_8khz
  1.2145 +		COMMAND		devsound				SetPlayFormat		BSP-SOUND-DRIVER-SetPlayFormat
  1.2146 +		COMMAND		devsound				PlayData		alaw8bit_mono_8khz_32kb.raw
  1.2147 +		OUTSTANDING
  1.2148 +		COMMAND		devsound				FlushPlayBuffer
  1.2149 +                COMMAND		devsound				GetPlayFormat		BSP-SOUND-DRIVER-GetPlayFormat
  1.2150 +		COMMAND		t_format				irate_get			set_settings_alaw8bit_mono_8khz_expected
  1.2151 +		COMMAND		t_format				iencoding_get		set_settings_alaw8bit_mono_8khz_expected
  1.2152 +		COMMAND		t_format				ichannels_get		set_settings_alaw8bit_mono_8khz_expected
  1.2153 +		COMMAND		t_format				ibuffer_size_get		set_settings_alaw8bit_mono_8khz_expected
  1.2154 +                //!set back default play configuration
  1.2155 +		COMMAND		t_format				irate_set			default_play_format
  1.2156 +		COMMAND		t_format				iencoding_set		default_play_format
  1.2157 +		COMMAND		t_format				ichannels_set		default_play_format
  1.2158 +		COMMAND		t_format				ibuffer_size_set		default_play_format
  1.2159 +		COMMAND		devsound				SetPlayFormat		BSP-SOUND-DRIVER-SetPlayFormat
  1.2160 +		COMMAND		devsound				SetPlayVolume		default_play_volume
  1.2161 +		COMMAND		t_format				~
  1.2162 +		COMMAND		devsound				Close
  1.2163 +		COMMAND		devsound				~
  1.2164 +	END_TEST_BLOCK
  1.2165 +END_TESTCASE			BASE-BSP-SOUND-DRIVER-4020
  1.2166 +
  1.2167 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-4021
  1.2168 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-4021
  1.2169 +//! @SYMAPI			RMdaDevSound::PlayData(TRequestStatus {ref}, TDes8 {ref})
  1.2170 +//! @SYMAuthor			Vassili Tsvetkov
  1.2171 +//! @SYMCreationDate		15/06/2008
  1.2172 +//! @SYMTestCaseDesc		Execute playing audio in alaw8 stereo 24khz
  1.2173 +//!				
  1.2174 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
  1.2175 +//!				2. Call SetPlayFormat() with [set_set_settings_alaw8bit_stereo_24khz]
  1.2176 +//!				3. Call PlayData() with valid sound data from [alaw8bit_stereo_24khz_32kb.raw]
  1.2177 +//!				4. Call FlushPlayBuffer
  1.2178 +//!				5. Call GetPlayFormat() and verify the sound found configuration
  1.2179 +//!				6. Restore initial sound h/w configuration
  1.2180 +//!				7. Call Close()
  1.2181 +//!
  1.2182 +//! @SYMTestStatus		Implemented
  1.2183 +//! @SYMTestPriority		Critical
  1.2184 +//! @SYMTestExpectedResults	Playing completes without any errors, sound format is set and verified
  1.2185 +//! @SYMTestType		CIT
  1.2186 +	START_TEST_BLOCK	100					t_sound			\base\sound\base-bsp-sound-driver.ini
  1.2187 +		CREATE_OBJECT	RMdaDevSound				devsound
  1.2188 +		COMMAND		devsound				new
  1.2189 +		COMMAND		devsound				Open			UnitEnum
  1.2190 +		CREATE_OBJECT	TCurrentSoundFormat			t_format		
  1.2191 +		COMMAND		t_format				new
  1.2192 +		COMMAND		t_format				irate_set			set_settings_alaw8bit_stereo_24khz
  1.2193 +		COMMAND		t_format				ibuffer_size_set		set_settings_alaw8bit_stereo_24khz
  1.2194 +		COMMAND		t_format				iencoding_set		set_settings_alaw8bit_stereo_24khz
  1.2195 +		COMMAND		t_format				ichannels_set		set_settings_alaw8bit_stereo_24khz
  1.2196 +		COMMAND		devsound				SetPlayFormat		BSP-SOUND-DRIVER-SetPlayFormat
  1.2197 +		COMMAND		devsound				PlayData		alaw8bit_stereo_24khz_32kb.raw
  1.2198 +		OUTSTANDING
  1.2199 +		COMMAND		devsound				FlushPlayBuffer
  1.2200 +                COMMAND		devsound				GetPlayFormat		BSP-SOUND-DRIVER-GetPlayFormat
  1.2201 +		COMMAND		t_format				irate_get			set_settings_alaw8bit_stereo_24khz_expected
  1.2202 +		COMMAND		t_format				iencoding_get		set_settings_alaw8bit_stereo_24khz_expected
  1.2203 +		COMMAND		t_format				ichannels_get		set_settings_alaw8bit_stereo_24khz_expected
  1.2204 +		COMMAND		t_format				ibuffer_size_get		set_settings_alaw8bit_stereo_24khz_expected
  1.2205 +                //!set back default play configuration
  1.2206 +		COMMAND		t_format				irate_set			default_play_format
  1.2207 +		COMMAND		t_format				iencoding_set		default_play_format
  1.2208 +		COMMAND		t_format				ichannels_set		default_play_format
  1.2209 +		COMMAND		t_format				ibuffer_size_set		default_play_format
  1.2210 +		COMMAND		devsound				SetPlayFormat		BSP-SOUND-DRIVER-SetPlayFormat
  1.2211 +		COMMAND		devsound				SetPlayVolume		default_play_volume
  1.2212 +		COMMAND		t_format				~
  1.2213 +		COMMAND		devsound				Close
  1.2214 +		COMMAND		devsound				~
  1.2215 +	END_TEST_BLOCK
  1.2216 +END_TESTCASE			BASE-BSP-SOUND-DRIVER-4021
  1.2217 +
  1.2218 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-4022
  1.2219 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-4022
  1.2220 +//! @SYMAPI			RMdaDevSound::PlayData(TRequestStatus {ref}, TDes8 {ref})
  1.2221 +//! @SYMAuthor			Vassili Tsvetkov
  1.2222 +//! @SYMCreationDate		15/06/2008
  1.2223 +//! @SYMTestCaseDesc		Execute playing audio in mulaw8 mono 12khz
  1.2224 +//!				
  1.2225 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
  1.2226 +//!				2. Call SetPlayFormat() with [set_set_settings_mulaw8bit_mono_12khz]
  1.2227 +//!				3. Call PlayData() with valid sound data from [mulaw8bit_mono_12khz_32kb.raw]
  1.2228 +//!				4. Call FlushPlayBuffer
  1.2229 +//!				5. Call GetPlayFormat() and verify the sound found configuration
  1.2230 +//!				6. Restore initial sound h/w configuration
  1.2231 +//!				7. Call Close()
  1.2232 +//!
  1.2233 +//! @SYMTestStatus		Implemented
  1.2234 +//! @SYMTestPriority		Critical
  1.2235 +//! @SYMTestExpectedResults	Playing completes without any errors, sound format is set and verified
  1.2236 +//! @SYMTestType		CIT
  1.2237 +	START_TEST_BLOCK	100					t_sound			\base\sound\base-bsp-sound-driver.ini
  1.2238 +		CREATE_OBJECT	RMdaDevSound				devsound
  1.2239 +		COMMAND		devsound				new
  1.2240 +		COMMAND		devsound				Open			UnitEnum
  1.2241 +		CREATE_OBJECT	TCurrentSoundFormat			t_format		
  1.2242 +		COMMAND		t_format				new
  1.2243 +		COMMAND		t_format				irate_set			set_settings_mulaw8bit_mono_12khz
  1.2244 +		COMMAND		t_format				ibuffer_size_set		set_settings_mulaw8bit_mono_12khz
  1.2245 +		COMMAND		t_format				iencoding_set		set_settings_mulaw8bit_mono_12khz
  1.2246 +		COMMAND		t_format				ichannels_set		set_settings_mulaw8bit_mono_12khz
  1.2247 +		COMMAND		devsound				SetPlayFormat		BSP-SOUND-DRIVER-SetPlayFormat
  1.2248 +		COMMAND		devsound				PlayData		mulaw8bit_mono_12khz_32kb.raw
  1.2249 +		OUTSTANDING
  1.2250 +		COMMAND		devsound				FlushPlayBuffer
  1.2251 +                COMMAND		devsound				GetPlayFormat		BSP-SOUND-DRIVER-GetPlayFormat
  1.2252 +		COMMAND		t_format				irate_get			set_settings_mulaw8bit_mono_12khz_expected
  1.2253 +		COMMAND		t_format				iencoding_get		set_settings_mulaw8bit_mono_12khz_expected
  1.2254 +		COMMAND		t_format				ichannels_get		set_settings_mulaw8bit_mono_12khz_expected
  1.2255 +		COMMAND		t_format				ibuffer_size_get		set_settings_mulaw8bit_mono_12khz_expected
  1.2256 +                //!set back default play configuration
  1.2257 +		COMMAND		t_format				irate_set			default_play_format
  1.2258 +		COMMAND		t_format				iencoding_set		default_play_format
  1.2259 +		COMMAND		t_format				ichannels_set		default_play_format
  1.2260 +		COMMAND		t_format				ibuffer_size_set		default_play_format
  1.2261 +		COMMAND		devsound				SetPlayFormat		BSP-SOUND-DRIVER-SetPlayFormat
  1.2262 +		COMMAND		devsound				SetPlayVolume		default_play_volume
  1.2263 +		COMMAND		t_format				~
  1.2264 +		COMMAND		devsound				Close
  1.2265 +		COMMAND		devsound				~
  1.2266 +	END_TEST_BLOCK
  1.2267 +END_TESTCASE			BASE-BSP-SOUND-DRIVER-4022
  1.2268 +
  1.2269 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-4023
  1.2270 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-4023
  1.2271 +//! @SYMAPI			RMdaDevSound::PlayData(TRequestStatus {ref}, TDes8 {ref})
  1.2272 +//! @SYMAuthor			Vassili Tsvetkov
  1.2273 +//! @SYMCreationDate		15/06/2008
  1.2274 +//! @SYMTestCaseDesc		Execute playing audio in mulaw8 stereo 32khz
  1.2275 +//!				
  1.2276 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
  1.2277 +//!				2. Call SetPlayFormat() with [set_set_settings_mulaw8bit_stereo_32khz]
  1.2278 +//!				3. Call PlayData() with valid sound data from [mulaw8bit_stereo_32khz_32kb.raw]
  1.2279 +//!				4. Call FlushPlayBuffer
  1.2280 +//!				5. Call GetPlayFormat() and verify the sound found configuration
  1.2281 +//!				6. Restore initial sound h/w configuration
  1.2282 +//!				7. Call Close()
  1.2283 +//!
  1.2284 +//! @SYMTestStatus		Implemented
  1.2285 +//! @SYMTestPriority		Critical
  1.2286 +//! @SYMTestExpectedResults	Playing completes without any errors, sound format is set and verified
  1.2287 +//! @SYMTestType		CIT
  1.2288 +	START_TEST_BLOCK	100					t_sound			\base\sound\base-bsp-sound-driver.ini
  1.2289 +		CREATE_OBJECT	RMdaDevSound				devsound
  1.2290 +		COMMAND		devsound				new
  1.2291 +		COMMAND		devsound				Open			UnitEnum
  1.2292 +		CREATE_OBJECT	TCurrentSoundFormat			t_format		
  1.2293 +		COMMAND		t_format				new
  1.2294 +		COMMAND		t_format				irate_set			set_settings_mulaw8bit_stereo_32khz
  1.2295 +		COMMAND		t_format				ibuffer_size_set		set_settings_mulaw8bit_stereo_32khz
  1.2296 +		COMMAND		t_format				iencoding_set		set_settings_mulaw8bit_stereo_32khz
  1.2297 +		COMMAND		t_format				ichannels_set		set_settings_mulaw8bit_stereo_32khz
  1.2298 +		COMMAND		devsound				SetPlayFormat		BSP-SOUND-DRIVER-SetPlayFormat
  1.2299 +		COMMAND		devsound				PlayData		mulaw8bit_stereo_32khz_32kb.raw
  1.2300 +		OUTSTANDING
  1.2301 +		COMMAND		devsound				FlushPlayBuffer
  1.2302 +                COMMAND		devsound				GetPlayFormat		BSP-SOUND-DRIVER-GetPlayFormat
  1.2303 +		COMMAND		t_format				irate_get			set_settings_mulaw8bit_stereo_32khz_expected
  1.2304 +		COMMAND		t_format				iencoding_get		set_settings_mulaw8bit_stereo_32khz_expected
  1.2305 +		COMMAND		t_format				ichannels_get		set_settings_mulaw8bit_stereo_32khz_expected
  1.2306 +		COMMAND		t_format				ibuffer_size_get		set_settings_mulaw8bit_stereo_32khz_expected
  1.2307 +                //!set back default play configuration
  1.2308 +		COMMAND		t_format				irate_set			default_play_format
  1.2309 +		COMMAND		t_format				iencoding_set		default_play_format
  1.2310 +		COMMAND		t_format				ichannels_set		default_play_format
  1.2311 +		COMMAND		t_format				ibuffer_size_set		default_play_format
  1.2312 +		COMMAND		devsound				SetPlayFormat		BSP-SOUND-DRIVER-SetPlayFormat
  1.2313 +		COMMAND		devsound				SetPlayVolume		default_play_volume
  1.2314 +		COMMAND		t_format				~
  1.2315 +		COMMAND		devsound				Close
  1.2316 +		COMMAND		devsound				~
  1.2317 +	END_TEST_BLOCK
  1.2318 +END_TESTCASE			BASE-BSP-SOUND-DRIVER-4023
  1.2319 +
  1.2320 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-4024
  1.2321 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-4024
  1.2322 +//! @SYMAPI			RMdaDevSound::PlayData(TRequestStatus {ref}, TDes8 {ref})
  1.2323 +//! @SYMAuthor			Vassili Tsvetkov
  1.2324 +//! @SYMCreationDate		15/06/2008
  1.2325 +//! @SYMTestCaseDesc		Execute playing audio in pcm16 stereo 24khz
  1.2326 +//!				
  1.2327 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
  1.2328 +//!				2. Call SetPlayFormat() with [set_set_settings_pcm16_stereo_24khz_320kb]
  1.2329 +//!				3. Call PlayData() with valid sound data from [pcm16_stereo_24khz_320kb.raw]
  1.2330 +//!				4. Call FlushPlayBuffer
  1.2331 +//!				5. Call GetPlayFormat() and verify the sound found configuration
  1.2332 +//!				6. Restore initial sound h/w configuration
  1.2333 +//!				7. Call Close()
  1.2334 +//!
  1.2335 +//! @SYMTestStatus		Implemented
  1.2336 +//! @SYMTestPriority		Critical
  1.2337 +//! @SYMTestExpectedResults	Playing completes without any errors, sound format is set and verified
  1.2338 +//! @SYMTestType		CIT
  1.2339 +	START_TEST_BLOCK	100					t_sound			\base\sound\base-bsp-sound-driver.ini
  1.2340 +		CREATE_OBJECT	RMdaDevSound				devsound
  1.2341 +		COMMAND		devsound				new
  1.2342 +		COMMAND		devsound				Open			UnitEnum
  1.2343 +		CREATE_OBJECT	TCurrentSoundFormat			t_format		
  1.2344 +		COMMAND		t_format				new
  1.2345 +		COMMAND		t_format				irate_set			set_settings_pcm16_stereo_24khz_320kb
  1.2346 +		COMMAND		t_format				ibuffer_size_set		set_settings_pcm16_stereo_24khz_320kb
  1.2347 +		COMMAND		t_format				iencoding_set		set_settings_pcm16_stereo_24khz_320kb
  1.2348 +		COMMAND		t_format				ichannels_set		set_settings_pcm16_stereo_24khz_320kb
  1.2349 +		COMMAND		devsound				SetPlayFormat		BSP-SOUND-DRIVER-SetPlayFormat
  1.2350 +		COMMAND		devsound				PlayData		pcm16_stereo_24khz_320kb.raw
  1.2351 +		OUTSTANDING
  1.2352 +		COMMAND		devsound				FlushPlayBuffer
  1.2353 +                COMMAND		devsound				GetPlayFormat		BSP-SOUND-DRIVER-GetPlayFormat
  1.2354 +		COMMAND		t_format				irate_get			set_settings_pcm16_stereo_24khz_320kb_expected
  1.2355 +		COMMAND		t_format				iencoding_get		set_settings_pcm16_stereo_24khz_320kb_expected
  1.2356 +		COMMAND		t_format				ichannels_get		set_settings_pcm16_stereo_24khz_320kb_expected
  1.2357 +		COMMAND		t_format				ibuffer_size_get		set_settings_pcm16_stereo_24khz_320kb_expected
  1.2358 +                //!set back default play configuration
  1.2359 +		COMMAND		t_format				irate_set			default_play_format
  1.2360 +		COMMAND		t_format				iencoding_set		default_play_format
  1.2361 +		COMMAND		t_format				ichannels_set		default_play_format
  1.2362 +		COMMAND		t_format				ibuffer_size_set		default_play_format
  1.2363 +		COMMAND		devsound				SetPlayFormat		BSP-SOUND-DRIVER-SetPlayFormat
  1.2364 +		COMMAND		devsound				SetPlayVolume		default_play_volume
  1.2365 +		COMMAND		t_format				~
  1.2366 +		COMMAND		devsound				Close
  1.2367 +		COMMAND		devsound				~
  1.2368 +	END_TEST_BLOCK
  1.2369 +END_TESTCASE			BASE-BSP-SOUND-DRIVER-4024
  1.2370 +
  1.2371 +///////////////////////////////////////////
  1.2372 +// Recording with different audio formats and types
  1.2373 +///////////////////////////////////////////
  1.2374 +
  1.2375 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-5001
  1.2376 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-5001
  1.2377 +//! @SYMAPI			RMdaDevSound::RecordData(TRequestStatus {ref}, TDes8 {ref})
  1.2378 +//! @SYMAuthor			Vassili Tsvetkov
  1.2379 +//! @SYMCreationDate		15/06/2008
  1.2380 +//! @SYMTestCaseDesc		Execute recording audio in pcm8 mono 8khz
  1.2381 +//!				
  1.2382 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
  1.2383 +//!				2. Call SetRecordFormat() with default value from [set_set_settings_pcm8_mono_8khz_32kb]
  1.2384 +//!				3. Call RecordData() with values from [record_data_32kb]
  1.2385 +//!				4. Call FlushRecordBuffer() //needed because otherwise setting format in next step will fail with KErrInUse
  1.2386 +//!				5. Call GetRecordFormat() to verify sound format to verify sound format
  1.2387 +//!				6. Restore initial sound h/w configuration
  1.2388 +//!				7. Call Close()
  1.2389 +//!
  1.2390 +//! @SYMTestStatus		Implemented
  1.2391 +//! @SYMTestPriority		Critical
  1.2392 +//! @SYMTestExpectedResults	Recording completes without any errors, sound format is set and verified
  1.2393 +//! @SYMTestType		CIT
  1.2394 +	START_TEST_BLOCK		100				t_sound			\base\sound\base-bsp-sound-driver.ini
  1.2395 +		CREATE_OBJECT		RMdaDevSound			devsound  
  1.2396 +		COMMAND			devsound			new
  1.2397 +		COMMAND			devsound			Open			UnitEnum
  1.2398 +		//!set default play configuration
  1.2399 +		CREATE_OBJECT		TCurrentSoundFormat		t_format		
  1.2400 +		COMMAND			t_format			new			
  1.2401 +		COMMAND			t_format			irate_set			set_settings_pcm8_mono_8khz_32kb
  1.2402 +		COMMAND			t_format			iencoding_set		set_settings_pcm8_mono_8khz_32kb
  1.2403 +		COMMAND			t_format			ichannels_set		set_settings_pcm8_mono_8khz_32kb
  1.2404 +		COMMAND			t_format			ibuffer_size_set		set_settings_pcm8_mono_8khz_32kb
  1.2405 +		COMMAND			devsound			SetRecordFormat		BSP-SOUND-DRIVER-SetRecordFormat
  1.2406 +		COMMAND			devsound			RecordData		record_data_32kb
  1.2407 +		OUTSTANDING
  1.2408 +		COMMAND			devsound			FlushRecordBuffer
  1.2409 +		COMMAND			devsound			GetRecordFormat		BSP-SOUND-DRIVER-GetRecordFormat
  1.2410 +		COMMAND			t_format			irate_get			set_settings_pcm8_mono_8khz_32kb_expected
  1.2411 +		COMMAND			t_format			iencoding_get		set_settings_pcm8_mono_8khz_32kb_expected
  1.2412 +		COMMAND			t_format			ichannels_get		set_settings_pcm8_mono_8khz_32kb_expected
  1.2413 +		COMMAND			t_format			ibuffer_size_get		set_settings_pcm8_mono_8khz_32kb_expected
  1.2414 +		//!set back default play configuration
  1.2415 +		COMMAND			t_format			irate_set			default_record_format
  1.2416 +		COMMAND			t_format			iencoding_set		default_record_format
  1.2417 +		COMMAND			t_format			ichannels_set		default_record_format
  1.2418 +		COMMAND			t_format			ibuffer_size_set		default_record_format
  1.2419 +		COMMAND			devsound			SetRecordFormat		BSP-SOUND-DRIVER-SetRecordFormat
  1.2420 +		COMMAND			devsound			SetRecordLevel		default_record_level
  1.2421 +		COMMAND			t_format  			~	
  1.2422 +		COMMAND			devsound  			Close
  1.2423 +		COMMAND			devsound  			~
  1.2424 +	END_TEST_BLOCK
  1.2425 +END_TESTCASE			BASE-BSP-SOUND-DRIVER-5001
  1.2426 +
  1.2427 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-5002
  1.2428 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-5002
  1.2429 +//! @SYMAPI			RMdaDevSound::RecordData(TRequestStatus {ref}, TDes8 {ref})
  1.2430 +//! @SYMAuthor			Vassili Tsvetkov
  1.2431 +//! @SYMCreationDate		15/06/2008
  1.2432 +//! @SYMTestCaseDesc		Execute recording audio in pcm16 mono 8khz
  1.2433 +//!				
  1.2434 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
  1.2435 +//!				2. Call SetRecordFormat() with default value from [set_set_settings_pcm16_mono_8khz]
  1.2436 +//!				3. Call RecordData() with values from [record_data_32kb]
  1.2437 +//!				4. Call FlushRecordBuffer() //needed because otherwise setting format in next step will fail with KErrInUse
  1.2438 +//!				5. Call GetRecordFormat() to verify sound format
  1.2439 +//!				6. Restore initial sound h/w configuration
  1.2440 +//!				7. Call Close()
  1.2441 +//!
  1.2442 +//! @SYMTestStatus		Implemented
  1.2443 +//! @SYMTestPriority		Critical
  1.2444 +//! @SYMTestExpectedResults	Recording completes without any errors, sound format is set and verified
  1.2445 +//! @SYMTestType		CIT
  1.2446 +	START_TEST_BLOCK		100				t_sound			\base\sound\base-bsp-sound-driver.ini
  1.2447 +		CREATE_OBJECT		RMdaDevSound			devsound  
  1.2448 +		COMMAND			devsound			new
  1.2449 +		COMMAND			devsound			Open			UnitEnum
  1.2450 +		//!set default play configuration
  1.2451 +		CREATE_OBJECT		TCurrentSoundFormat		t_format		
  1.2452 +		COMMAND			t_format			new			
  1.2453 +		COMMAND			t_format			irate_set			set_settings_pcm16_mono_8khz
  1.2454 +		COMMAND			t_format			iencoding_set		set_settings_pcm16_mono_8khz
  1.2455 +		COMMAND			t_format			ichannels_set		set_settings_pcm16_mono_8khz
  1.2456 +		COMMAND			t_format			ibuffer_size_set		set_settings_pcm16_mono_8khz
  1.2457 +		COMMAND			devsound			SetRecordFormat		BSP-SOUND-DRIVER-SetRecordFormat
  1.2458 +		COMMAND			devsound			RecordData		record_data_32kb
  1.2459 +		OUTSTANDING
  1.2460 +		COMMAND			devsound			FlushRecordBuffer
  1.2461 +		COMMAND			devsound			GetRecordFormat		BSP-SOUND-DRIVER-GetRecordFormat
  1.2462 +		COMMAND			t_format			irate_get			set_settings_pcm16_mono_8khz_expected
  1.2463 +		COMMAND			t_format			iencoding_get		set_settings_pcm16_mono_8khz_expected
  1.2464 +		COMMAND			t_format			ichannels_get		set_settings_pcm16_mono_8khz_expected
  1.2465 +		COMMAND			t_format			ibuffer_size_get		set_settings_pcm16_mono_8khz_expected
  1.2466 +		//!set back default play configuration
  1.2467 +		COMMAND			t_format			irate_set			default_record_format
  1.2468 +		COMMAND			t_format			iencoding_set		default_record_format
  1.2469 +		COMMAND			t_format			ichannels_set		default_record_format
  1.2470 +		COMMAND			t_format			ibuffer_size_set		default_record_format
  1.2471 +		COMMAND			devsound			SetRecordFormat		BSP-SOUND-DRIVER-SetRecordFormat
  1.2472 +		COMMAND			devsound			SetRecordLevel		default_record_level
  1.2473 +		COMMAND			t_format  			~	
  1.2474 +		COMMAND			devsound  			Close
  1.2475 +		COMMAND			devsound  			~
  1.2476 +	END_TEST_BLOCK
  1.2477 +END_TESTCASE			BASE-BSP-SOUND-DRIVER-5002
  1.2478 +
  1.2479 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-5003
  1.2480 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-5003
  1.2481 +//! @SYMAPI			RMdaDevSound::RecordData(TRequestStatus {ref}, TDes8 {ref})
  1.2482 +//! @SYMAuthor			Vassili Tsvetkov
  1.2483 +//! @SYMCreationDate		15/06/2008
  1.2484 +//! @SYMTestCaseDesc		Execute recording audio in pcm16 mono 11khz
  1.2485 +//!				
  1.2486 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
  1.2487 +//!				2. Call SetRecordFormat() with default value from [set_set_settings_pcm16_mono_11khz]
  1.2488 +//!				3. Call RecordData() with values from [record_data_32kb]
  1.2489 +//!				4. Call FlushRecordBuffer() //needed because otherwise setting format in next step will fail with KErrInUse
  1.2490 +//!				5. Call GetRecordFormat() to verify sound format
  1.2491 +//!				6. Restore initial sound h/w configuration
  1.2492 +//!				7. Call Close()
  1.2493 +//!
  1.2494 +//! @SYMTestStatus		Implemented
  1.2495 +//! @SYMTestPriority		Critical
  1.2496 +//! @SYMTestExpectedResults	Recording completes without any errors, sound format is set and verified
  1.2497 +//! @SYMTestType		CIT
  1.2498 +	START_TEST_BLOCK		100				t_sound			\base\sound\base-bsp-sound-driver.ini
  1.2499 +		CREATE_OBJECT		RMdaDevSound			devsound  
  1.2500 +		COMMAND			devsound			new
  1.2501 +		COMMAND			devsound			Open			UnitEnum
  1.2502 +		//!set default play configuration
  1.2503 +		CREATE_OBJECT		TCurrentSoundFormat		t_format		
  1.2504 +		COMMAND			t_format			new			
  1.2505 +		COMMAND			t_format			irate_set			set_settings_pcm16_mono_11khz
  1.2506 +		COMMAND			t_format			iencoding_set		set_settings_pcm16_mono_11khz
  1.2507 +		COMMAND			t_format			ichannels_set		set_settings_pcm16_mono_11khz
  1.2508 +		COMMAND			t_format			ibuffer_size_set		set_settings_pcm16_mono_11khz
  1.2509 +		COMMAND			devsound			SetRecordFormat		BSP-SOUND-DRIVER-SetRecordFormat
  1.2510 +		COMMAND			devsound			RecordData		record_data_32kb
  1.2511 +		OUTSTANDING
  1.2512 +		COMMAND			devsound			FlushRecordBuffer
  1.2513 +		COMMAND			devsound			GetRecordFormat		BSP-SOUND-DRIVER-GetRecordFormat
  1.2514 +		COMMAND			t_format			irate_get			set_settings_pcm16_mono_11khz_expected
  1.2515 +		COMMAND			t_format			iencoding_get		set_settings_pcm16_mono_11khz_expected
  1.2516 +		COMMAND			t_format			ichannels_get		set_settings_pcm16_mono_11khz_expected
  1.2517 +		COMMAND			t_format			ibuffer_size_get		set_settings_pcm16_mono_11khz_expected
  1.2518 +		//!set back default play configuration
  1.2519 +		COMMAND			t_format			irate_set			default_record_format
  1.2520 +		COMMAND			t_format			iencoding_set		default_record_format
  1.2521 +		COMMAND			t_format			ichannels_set		default_record_format
  1.2522 +		COMMAND			t_format			ibuffer_size_set		default_record_format
  1.2523 +		COMMAND			devsound			SetRecordFormat		BSP-SOUND-DRIVER-SetRecordFormat
  1.2524 +		COMMAND			devsound			SetRecordLevel		default_record_level
  1.2525 +		COMMAND			t_format  			~	
  1.2526 +		COMMAND			devsound  			Close
  1.2527 +		COMMAND			devsound  			~
  1.2528 +	END_TEST_BLOCK
  1.2529 +END_TESTCASE			BASE-BSP-SOUND-DRIVER-5003
  1.2530 +
  1.2531 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-5004
  1.2532 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-5004
  1.2533 +//! @SYMAPI			RMdaDevSound::RecordData(TRequestStatus {ref}, TDes8 {ref})
  1.2534 +//! @SYMAuthor			Vassili Tsvetkov
  1.2535 +//! @SYMCreationDate		15/06/2008
  1.2536 +//! @SYMTestCaseDesc		Execute recording audio in pcm16 mono 12khz
  1.2537 +//!				
  1.2538 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
  1.2539 +//!				2. Call SetRecordFormat() with default value from [set_set_settings_pcm16_mono_12khz]
  1.2540 +//!				3. Call RecordData() with values from [record_data_32kb]
  1.2541 +//!				4. Call FlushRecordBuffer() //needed because otherwise setting format in next step will fail with KErrInUse
  1.2542 +//!				5. Call GetRecordFormat() to verify sound format
  1.2543 +//!				6. Restore initial sound h/w configuration
  1.2544 +//!				7. Call Close()
  1.2545 +//!
  1.2546 +//! @SYMTestStatus		Implemented
  1.2547 +//! @SYMTestPriority		Critical
  1.2548 +//! @SYMTestExpectedResults	Recording completes without any errors, sound format is set and verified
  1.2549 +//! @SYMTestType		CIT
  1.2550 +	START_TEST_BLOCK		100				t_sound			\base\sound\base-bsp-sound-driver.ini
  1.2551 +		CREATE_OBJECT		RMdaDevSound			devsound  
  1.2552 +		COMMAND			devsound			new
  1.2553 +		COMMAND			devsound			Open			UnitEnum
  1.2554 +		//!set default play configuration
  1.2555 +		CREATE_OBJECT		TCurrentSoundFormat		t_format		
  1.2556 +		COMMAND			t_format			new			
  1.2557 +		COMMAND			t_format			irate_set			set_settings_pcm16_mono_12khz
  1.2558 +		COMMAND			t_format			iencoding_set		set_settings_pcm16_mono_12khz
  1.2559 +		COMMAND			t_format			ichannels_set		set_settings_pcm16_mono_12khz
  1.2560 +		COMMAND			t_format			ibuffer_size_set		set_settings_pcm16_mono_12khz
  1.2561 +		COMMAND			devsound			SetRecordFormat		BSP-SOUND-DRIVER-SetRecordFormat
  1.2562 +		COMMAND			devsound			RecordData		record_data_32kb
  1.2563 +		OUTSTANDING
  1.2564 +		COMMAND			devsound			FlushRecordBuffer
  1.2565 +		COMMAND			devsound			GetRecordFormat		BSP-SOUND-DRIVER-GetRecordFormat
  1.2566 +		COMMAND			t_format			irate_get			set_settings_pcm16_mono_12khz_expected
  1.2567 +		COMMAND			t_format			iencoding_get		set_settings_pcm16_mono_12khz_expected
  1.2568 +		COMMAND			t_format			ichannels_get		set_settings_pcm16_mono_12khz_expected
  1.2569 +		COMMAND			t_format			ibuffer_size_get		set_settings_pcm16_mono_12khz_expected
  1.2570 +		//!set back default play configuration
  1.2571 +		COMMAND			t_format			irate_set			default_record_format
  1.2572 +		COMMAND			t_format			iencoding_set		default_record_format
  1.2573 +		COMMAND			t_format			ichannels_set		default_record_format
  1.2574 +		COMMAND			t_format			ibuffer_size_set		default_record_format
  1.2575 +		COMMAND			devsound			SetRecordFormat		BSP-SOUND-DRIVER-SetRecordFormat
  1.2576 +		COMMAND			devsound			SetRecordLevel		default_record_level
  1.2577 +		COMMAND			t_format  			~	
  1.2578 +		COMMAND			devsound  			Close
  1.2579 +		COMMAND			devsound  			~
  1.2580 +	END_TEST_BLOCK
  1.2581 +END_TESTCASE			BASE-BSP-SOUND-DRIVER-5004
  1.2582 +
  1.2583 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-5005
  1.2584 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-5005
  1.2585 +//! @SYMAPI			RMdaDevSound::RecordData(TRequestStatus {ref}, TDes8 {ref})
  1.2586 +//! @SYMAuthor			Vassili Tsvetkov
  1.2587 +//! @SYMCreationDate		15/06/2008
  1.2588 +//! @SYMTestCaseDesc		Execute recording audio in pcm16 mono 16khz
  1.2589 +//!				
  1.2590 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
  1.2591 +//!				2. Call SetRecordFormat() with default value from [set_set_settings_pcm16_mono_16khz]
  1.2592 +//!				3. Call RecordData() with values from [record_data_32kb]
  1.2593 +//!				4. Call FlushRecordBuffer() //needed because otherwise setting format in next step will fail with KErrInUse
  1.2594 +//!				5. Call GetRecordFormat() to verify sound format
  1.2595 +//!				6. Restore initial sound h/w configuration
  1.2596 +//!				7. Call Close()
  1.2597 +//!
  1.2598 +//! @SYMTestStatus		Implemented
  1.2599 +//! @SYMTestPriority		Critical
  1.2600 +//! @SYMTestExpectedResults	Recording completes without any errors, sound format is set and verified
  1.2601 +//! @SYMTestType		CIT
  1.2602 +	START_TEST_BLOCK		100				t_sound			\base\sound\base-bsp-sound-driver.ini
  1.2603 +		CREATE_OBJECT		RMdaDevSound			devsound  
  1.2604 +		COMMAND			devsound			new
  1.2605 +		COMMAND			devsound			Open			UnitEnum
  1.2606 +		//!set default play configuration
  1.2607 +		CREATE_OBJECT		TCurrentSoundFormat		t_format		
  1.2608 +		COMMAND			t_format			new			
  1.2609 +		COMMAND			t_format			irate_set			set_settings_pcm16_mono_16khz
  1.2610 +		COMMAND			t_format			iencoding_set		set_settings_pcm16_mono_16khz
  1.2611 +		COMMAND			t_format			ichannels_set		set_settings_pcm16_mono_16khz
  1.2612 +		COMMAND			t_format			ibuffer_size_set		set_settings_pcm16_mono_16khz
  1.2613 +		COMMAND			devsound			SetRecordFormat		BSP-SOUND-DRIVER-SetRecordFormat
  1.2614 +		COMMAND			devsound			RecordData		record_data_32kb
  1.2615 +		OUTSTANDING
  1.2616 +		COMMAND			devsound			FlushRecordBuffer
  1.2617 +		COMMAND			devsound			GetRecordFormat		BSP-SOUND-DRIVER-GetRecordFormat
  1.2618 +		COMMAND			t_format			irate_get			set_settings_pcm16_mono_16khz_expected
  1.2619 +		COMMAND			t_format			iencoding_get		set_settings_pcm16_mono_16khz_expected
  1.2620 +		COMMAND			t_format			ichannels_get		set_settings_pcm16_mono_16khz_expected
  1.2621 +		COMMAND			t_format			ibuffer_size_get		set_settings_pcm16_mono_16khz_expected
  1.2622 +		//!set back default play configuration
  1.2623 +		COMMAND			t_format			irate_set			default_record_format
  1.2624 +		COMMAND			t_format			iencoding_set		default_record_format
  1.2625 +		COMMAND			t_format			ichannels_set		default_record_format
  1.2626 +		COMMAND			t_format			ibuffer_size_set		default_record_format
  1.2627 +		COMMAND			devsound			SetRecordFormat		BSP-SOUND-DRIVER-SetRecordFormat
  1.2628 +		COMMAND			devsound			SetRecordLevel		default_record_level
  1.2629 +		COMMAND			t_format  			~	
  1.2630 +		COMMAND			devsound  			Close
  1.2631 +		COMMAND			devsound  			~
  1.2632 +	END_TEST_BLOCK
  1.2633 +END_TESTCASE			BASE-BSP-SOUND-DRIVER-5005
  1.2634 +
  1.2635 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-5006
  1.2636 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-5006
  1.2637 +//! @SYMAPI			RMdaDevSound::RecordData(TRequestStatus {ref}, TDes8 {ref})
  1.2638 +//! @SYMAuthor			Vassili Tsvetkov
  1.2639 +//! @SYMCreationDate		15/06/2008
  1.2640 +//! @SYMTestCaseDesc		Execute recording audio in pcm16 mono 22khz
  1.2641 +//!				
  1.2642 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
  1.2643 +//!				2. Call SetRecordFormat() with default value from [set_set_settings_pcm16_mono_22khz]
  1.2644 +//!				3. Call RecordData() with values from [record_data_32kb]
  1.2645 +//!				4. Call FlushRecordBuffer() //needed because otherwise setting format in next step will fail with KErrInUse
  1.2646 +//!				5. Call GetRecordFormat() to verify sound format
  1.2647 +//!				6. Restore initial sound h/w configuration
  1.2648 +//!				7. Call Close()
  1.2649 +//!
  1.2650 +//! @SYMTestStatus		Implemented
  1.2651 +//! @SYMTestPriority		Critical
  1.2652 +//! @SYMTestExpectedResults	Recording completes without any errors, sound format is set and verified
  1.2653 +//! @SYMTestType		CIT
  1.2654 +	START_TEST_BLOCK		100				t_sound			\base\sound\base-bsp-sound-driver.ini
  1.2655 +		CREATE_OBJECT		RMdaDevSound			devsound  
  1.2656 +		COMMAND			devsound			new
  1.2657 +		COMMAND			devsound			Open			UnitEnum
  1.2658 +		//!set default play configuration
  1.2659 +		CREATE_OBJECT		TCurrentSoundFormat		t_format		
  1.2660 +		COMMAND			t_format			new			
  1.2661 +		COMMAND			t_format			irate_set			set_settings_pcm16_mono_22khz
  1.2662 +		COMMAND			t_format			iencoding_set		set_settings_pcm16_mono_22khz
  1.2663 +		COMMAND			t_format			ichannels_set		set_settings_pcm16_mono_22khz
  1.2664 +		COMMAND			t_format			ibuffer_size_set		set_settings_pcm16_mono_22khz
  1.2665 +		COMMAND			devsound			SetRecordFormat		BSP-SOUND-DRIVER-SetRecordFormat
  1.2666 +		COMMAND			devsound			RecordData		record_data_32kb
  1.2667 +		OUTSTANDING
  1.2668 +		COMMAND			devsound			FlushRecordBuffer
  1.2669 +		COMMAND			devsound			GetRecordFormat		BSP-SOUND-DRIVER-GetRecordFormat
  1.2670 +		COMMAND			t_format			irate_get			set_settings_pcm16_mono_22khz_expected
  1.2671 +		COMMAND			t_format			iencoding_get		set_settings_pcm16_mono_22khz_expected
  1.2672 +		COMMAND			t_format			ichannels_get		set_settings_pcm16_mono_22khz_expected
  1.2673 +		COMMAND			t_format			ibuffer_size_get		set_settings_pcm16_mono_22khz_expected
  1.2674 +		//!set back default play configuration
  1.2675 +		COMMAND			t_format			irate_set			default_record_format
  1.2676 +		COMMAND			t_format			iencoding_set		default_record_format
  1.2677 +		COMMAND			t_format			ichannels_set		default_record_format
  1.2678 +		COMMAND			t_format			ibuffer_size_set		default_record_format
  1.2679 +		COMMAND			devsound			SetRecordFormat		BSP-SOUND-DRIVER-SetRecordFormat
  1.2680 +		COMMAND			devsound			SetRecordLevel		default_record_level
  1.2681 +		COMMAND			t_format  			~	
  1.2682 +		COMMAND			devsound  			Close
  1.2683 +		COMMAND			devsound  			~
  1.2684 +	END_TEST_BLOCK
  1.2685 +END_TESTCASE			BASE-BSP-SOUND-DRIVER-5006
  1.2686 +
  1.2687 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-5007
  1.2688 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-5007
  1.2689 +//! @SYMAPI			RMdaDevSound::RecordData(TRequestStatus {ref}, TDes8 {ref})
  1.2690 +//! @SYMAuthor			Vassili Tsvetkov
  1.2691 +//! @SYMCreationDate		15/06/2008
  1.2692 +//! @SYMTestCaseDesc		Execute recording audio in pcm16 mono 24khz
  1.2693 +//!				
  1.2694 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
  1.2695 +//!				2. Call SetRecordFormat() with default value from [set_set_settings_pcm16_mono_24khz]
  1.2696 +//!				3. Call RecordData() with values from [record_data_32kb]
  1.2697 +//!				4. Call FlushRecordBuffer() //needed because otherwise setting format in next step will fail with KErrInUse
  1.2698 +//!				5. Call GetRecordFormat() to verify sound format
  1.2699 +//!				6. Restore initial sound h/w configuration
  1.2700 +//!				7. Call Close()
  1.2701 +//!
  1.2702 +//! @SYMTestStatus		Implemented
  1.2703 +//! @SYMTestPriority		Critical
  1.2704 +//! @SYMTestExpectedResults	Recording completes without any errors, sound format is set and verified
  1.2705 +//! @SYMTestType		CIT
  1.2706 +	START_TEST_BLOCK		100				t_sound			\base\sound\base-bsp-sound-driver.ini
  1.2707 +		CREATE_OBJECT		RMdaDevSound			devsound  
  1.2708 +		COMMAND			devsound			new
  1.2709 +		COMMAND			devsound			Open			UnitEnum
  1.2710 +		//!set default play configuration
  1.2711 +		CREATE_OBJECT		TCurrentSoundFormat		t_format		
  1.2712 +		COMMAND			t_format			new			
  1.2713 +		COMMAND			t_format			irate_set			set_settings_pcm16_mono_24khz
  1.2714 +		COMMAND			t_format			iencoding_set		set_settings_pcm16_mono_24khz
  1.2715 +		COMMAND			t_format			ichannels_set		set_settings_pcm16_mono_24khz
  1.2716 +		COMMAND			t_format			ibuffer_size_set		set_settings_pcm16_mono_24khz
  1.2717 +		COMMAND			devsound			SetRecordFormat		BSP-SOUND-DRIVER-SetRecordFormat
  1.2718 +		COMMAND			devsound			RecordData		record_data_32kb
  1.2719 +		OUTSTANDING
  1.2720 +		COMMAND			devsound			FlushRecordBuffer
  1.2721 +		COMMAND			devsound			GetRecordFormat		BSP-SOUND-DRIVER-GetRecordFormat
  1.2722 +		COMMAND			t_format			irate_get			set_settings_pcm16_mono_24khz_expected
  1.2723 +		COMMAND			t_format			iencoding_get		set_settings_pcm16_mono_24khz_expected
  1.2724 +		COMMAND			t_format			ichannels_get		set_settings_pcm16_mono_24khz_expected
  1.2725 +		COMMAND			t_format			ibuffer_size_get		set_settings_pcm16_mono_24khz_expected
  1.2726 +		//!set back default play configuration
  1.2727 +		COMMAND			t_format			irate_set			default_record_format
  1.2728 +		COMMAND			t_format			iencoding_set		default_record_format
  1.2729 +		COMMAND			t_format			ichannels_set		default_record_format
  1.2730 +		COMMAND			t_format			ibuffer_size_set		default_record_format
  1.2731 +		COMMAND			devsound			SetRecordFormat		BSP-SOUND-DRIVER-SetRecordFormat
  1.2732 +		COMMAND			devsound			SetRecordLevel		default_record_level
  1.2733 +		COMMAND			t_format  			~	
  1.2734 +		COMMAND			devsound  			Close
  1.2735 +		COMMAND			devsound  			~
  1.2736 +	END_TEST_BLOCK
  1.2737 +END_TESTCASE			BASE-BSP-SOUND-DRIVER-5007
  1.2738 +
  1.2739 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-5008
  1.2740 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-5008
  1.2741 +//! @SYMAPI			RMdaDevSound::RecordData(TRequestStatus {ref}, TDes8 {ref})
  1.2742 +//! @SYMAuthor			Vassili Tsvetkov
  1.2743 +//! @SYMCreationDate		15/06/2008
  1.2744 +//! @SYMTestCaseDesc		Execute recording audio in pcm16 mono 32khz
  1.2745 +//!				
  1.2746 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
  1.2747 +//!				2. Call SetRecordFormat() with default value from [set_set_settings_pcm16_mono_32khz]
  1.2748 +//!				3. Call RecordData() with values from [record_data_32kb]
  1.2749 +//!				4. Call FlushRecordBuffer() //needed because otherwise setting format in next step will fail with KErrInUse
  1.2750 +//!				5. Call GetRecordFormat() to verify sound format
  1.2751 +//!				6. Restore initial sound h/w configuration
  1.2752 +//!				7. Call Close()
  1.2753 +//!
  1.2754 +//! @SYMTestStatus		Implemented
  1.2755 +//! @SYMTestPriority		Critical
  1.2756 +//! @SYMTestExpectedResults	Recording completes without any errors, sound format is set and verified
  1.2757 +//! @SYMTestType		CIT
  1.2758 +	START_TEST_BLOCK		100				t_sound			\base\sound\base-bsp-sound-driver.ini
  1.2759 +		CREATE_OBJECT		RMdaDevSound			devsound  
  1.2760 +		COMMAND			devsound			new
  1.2761 +		COMMAND			devsound			Open			UnitEnum
  1.2762 +		//!set default play configuration
  1.2763 +		CREATE_OBJECT		TCurrentSoundFormat		t_format		
  1.2764 +		COMMAND			t_format			new			
  1.2765 +		COMMAND			t_format			irate_set			set_settings_pcm16_mono_32khz
  1.2766 +		COMMAND			t_format			iencoding_set		set_settings_pcm16_mono_32khz
  1.2767 +		COMMAND			t_format			ichannels_set		set_settings_pcm16_mono_32khz
  1.2768 +		COMMAND			t_format			ibuffer_size_set		set_settings_pcm16_mono_32khz
  1.2769 +		COMMAND			devsound			SetRecordFormat		BSP-SOUND-DRIVER-SetRecordFormat
  1.2770 +		COMMAND			devsound			RecordData		record_data_32kb
  1.2771 +		OUTSTANDING
  1.2772 +		COMMAND			devsound			FlushRecordBuffer
  1.2773 +		COMMAND			devsound			GetRecordFormat		BSP-SOUND-DRIVER-GetRecordFormat
  1.2774 +		COMMAND			t_format			irate_get			set_settings_pcm16_mono_32khz_expected
  1.2775 +		COMMAND			t_format			iencoding_get		set_settings_pcm16_mono_32khz_expected
  1.2776 +		COMMAND			t_format			ichannels_get		set_settings_pcm16_mono_32khz_expected
  1.2777 +		COMMAND			t_format			ibuffer_size_get		set_settings_pcm16_mono_32khz_expected
  1.2778 +		//!set back default play configuration
  1.2779 +		COMMAND			t_format			irate_set			default_record_format
  1.2780 +		COMMAND			t_format			iencoding_set		default_record_format
  1.2781 +		COMMAND			t_format			ichannels_set		default_record_format
  1.2782 +		COMMAND			t_format			ibuffer_size_set		default_record_format
  1.2783 +		COMMAND			devsound			SetRecordFormat		BSP-SOUND-DRIVER-SetRecordFormat
  1.2784 +		COMMAND			devsound			SetRecordLevel		default_record_level
  1.2785 +		COMMAND			t_format  			~	
  1.2786 +		COMMAND			devsound  			Close
  1.2787 +		COMMAND			devsound  			~
  1.2788 +	END_TEST_BLOCK
  1.2789 +END_TESTCASE			BASE-BSP-SOUND-DRIVER-5008
  1.2790 +
  1.2791 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-5009
  1.2792 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-5009
  1.2793 +//! @SYMAPI			RMdaDevSound::RecordData(TRequestStatus {ref}, TDes8 {ref})
  1.2794 +//! @SYMAuthor			Vassili Tsvetkov
  1.2795 +//! @SYMCreationDate		15/06/2008
  1.2796 +//! @SYMTestCaseDesc		Execute recording audio in pcm16 mono 44.1khz
  1.2797 +//!				
  1.2798 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
  1.2799 +//!				2. Call SetRecordFormat() with default value from [set_set_settings_pcm16_mono_44.1khz]
  1.2800 +//!				3. Call RecordData() with values from [record_data_32kb]
  1.2801 +//!				4. Call FlushRecordBuffer() //needed because otherwise setting format in next step will fail with KErrInUse
  1.2802 +//!				5. Call GetRecordFormat() to verify sound format
  1.2803 +//!				6. Restore initial sound h/w configuration
  1.2804 +//!				7. Call Close()
  1.2805 +//!
  1.2806 +//! @SYMTestStatus		Implemented
  1.2807 +//! @SYMTestPriority		Critical
  1.2808 +//! @SYMTestExpectedResults	Recording completes without any errors, sound format is set and verified
  1.2809 +//! @SYMTestType		CIT
  1.2810 +	START_TEST_BLOCK		100				t_sound			\base\sound\base-bsp-sound-driver.ini
  1.2811 +		CREATE_OBJECT		RMdaDevSound			devsound  
  1.2812 +		COMMAND			devsound			new
  1.2813 +		COMMAND			devsound			Open			UnitEnum
  1.2814 +		//!set default play configuration
  1.2815 +		CREATE_OBJECT		TCurrentSoundFormat		t_format		
  1.2816 +		COMMAND			t_format			new			
  1.2817 +		COMMAND			t_format			irate_set			set_settings_pcm16_mono_44.1khz
  1.2818 +		COMMAND			t_format			iencoding_set		set_settings_pcm16_mono_44.1khz
  1.2819 +		COMMAND			t_format			ichannels_set		set_settings_pcm16_mono_44.1khz
  1.2820 +		COMMAND			t_format			ibuffer_size_set		set_settings_pcm16_mono_44.1khz
  1.2821 +		COMMAND			devsound			SetRecordFormat		BSP-SOUND-DRIVER-SetRecordFormat
  1.2822 +		COMMAND			devsound			RecordData		record_data_32kb
  1.2823 +		OUTSTANDING
  1.2824 +		COMMAND			devsound			FlushRecordBuffer
  1.2825 +		COMMAND			devsound			GetRecordFormat		BSP-SOUND-DRIVER-GetRecordFormat
  1.2826 +		COMMAND			t_format			irate_get			set_settings_pcm16_mono_41.1khz_expected
  1.2827 +		COMMAND			t_format			iencoding_get		set_settings_pcm16_mono_41.1khz_expected
  1.2828 +		COMMAND			t_format			ichannels_get		set_settings_pcm16_mono_41.1khz_expected
  1.2829 +		COMMAND			t_format			ibuffer_size_get		set_settings_pcm16_mono_41.1khz_expected
  1.2830 +		//!set back default play configuration
  1.2831 +		COMMAND			t_format			irate_set			default_record_format
  1.2832 +		COMMAND			t_format			iencoding_set		default_record_format
  1.2833 +		COMMAND			t_format			ichannels_set		default_record_format
  1.2834 +		COMMAND			t_format			ibuffer_size_set		default_record_format
  1.2835 +		COMMAND			devsound			SetRecordFormat		BSP-SOUND-DRIVER-SetRecordFormat
  1.2836 +		COMMAND			devsound			SetRecordLevel		default_record_level
  1.2837 +		COMMAND			t_format  			~	
  1.2838 +		COMMAND			devsound  			Close
  1.2839 +		COMMAND			devsound  			~
  1.2840 +	END_TEST_BLOCK
  1.2841 +END_TESTCASE			BASE-BSP-SOUND-DRIVER-5009
  1.2842 +
  1.2843 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-5010
  1.2844 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-5010
  1.2845 +//! @SYMAPI			RMdaDevSound::RecordData(TRequestStatus {ref}, TDes8 {ref})
  1.2846 +//! @SYMAuthor			Vassili Tsvetkov
  1.2847 +//! @SYMCreationDate		15/06/2008
  1.2848 +//! @SYMTestCaseDesc		Execute recording audio in pcm16 mono 48khz
  1.2849 +//!				
  1.2850 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
  1.2851 +//!				2. Call SetRecordFormat() with default value from [set_set_settings_pcm16_mono_48khz]
  1.2852 +//!				3. Call RecordData() with values from [record_data_32kb]
  1.2853 +//!				4. Call FlushRecordBuffer() //needed because otherwise setting format in next step will fail with KErrInUse
  1.2854 +//!				5. Call GetRecordFormat() to verify sound format
  1.2855 +//!				6. Restore initial sound h/w configuration
  1.2856 +//!				7. Call Close()
  1.2857 +//!
  1.2858 +//! @SYMTestStatus		Implemented
  1.2859 +//! @SYMTestPriority		Critical
  1.2860 +//! @SYMTestExpectedResults	Recording completes without any errors, sound format is set and verified
  1.2861 +//! @SYMTestType		CIT
  1.2862 +	START_TEST_BLOCK		100				t_sound			\base\sound\base-bsp-sound-driver.ini
  1.2863 +		CREATE_OBJECT		RMdaDevSound			devsound  
  1.2864 +		COMMAND			devsound			new
  1.2865 +		COMMAND			devsound			Open			UnitEnum
  1.2866 +		//!set default play configuration
  1.2867 +		CREATE_OBJECT		TCurrentSoundFormat		t_format		
  1.2868 +		COMMAND			t_format			new			
  1.2869 +		COMMAND			t_format			irate_set			set_settings_pcm16_mono_48khz
  1.2870 +		COMMAND			t_format			iencoding_set		set_settings_pcm16_mono_48khz
  1.2871 +		COMMAND			t_format			ichannels_set		set_settings_pcm16_mono_48khz
  1.2872 +		COMMAND			t_format			ibuffer_size_set		set_settings_pcm16_mono_48khz
  1.2873 +		COMMAND			devsound			SetRecordFormat		BSP-SOUND-DRIVER-SetRecordFormat
  1.2874 +		COMMAND			devsound			RecordData		record_data_32kb
  1.2875 +		OUTSTANDING
  1.2876 +		COMMAND			devsound			FlushRecordBuffer
  1.2877 +		COMMAND			devsound			GetRecordFormat		BSP-SOUND-DRIVER-GetRecordFormat
  1.2878 +		COMMAND			t_format			irate_get			set_settings_pcm16_mono_48khz_expected
  1.2879 +		COMMAND			t_format			iencoding_get		set_settings_pcm16_mono_48khz_expected
  1.2880 +		COMMAND			t_format			ichannels_get		set_settings_pcm16_mono_48khz_expected
  1.2881 +		COMMAND			t_format			ibuffer_size_get		set_settings_pcm16_mono_48khz_expected
  1.2882 +		//!set back default play configuration
  1.2883 +		COMMAND			t_format			irate_set			default_record_format
  1.2884 +		COMMAND			t_format			iencoding_set		default_record_format
  1.2885 +		COMMAND			t_format			ichannels_set		default_record_format
  1.2886 +		COMMAND			t_format			ibuffer_size_set		default_record_format
  1.2887 +		COMMAND			devsound			SetRecordFormat		BSP-SOUND-DRIVER-SetRecordFormat
  1.2888 +		COMMAND			devsound			SetRecordLevel		default_record_level
  1.2889 +		COMMAND			t_format  			~	
  1.2890 +		COMMAND			devsound  			Close
  1.2891 +		COMMAND			devsound  			~
  1.2892 +	END_TEST_BLOCK
  1.2893 +END_TESTCASE			BASE-BSP-SOUND-DRIVER-5010
  1.2894 +
  1.2895 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-5011
  1.2896 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-5011
  1.2897 +//! @SYMAPI			RMdaDevSound::RecordData(TRequestStatus {ref}, TDes8 {ref})
  1.2898 +//! @SYMAuthor			Vassili Tsvetkov
  1.2899 +//! @SYMCreationDate		15/06/2008
  1.2900 +//! @SYMTestCaseDesc		Execute recording audio in pcm16 stereo 8khz
  1.2901 +//!				
  1.2902 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
  1.2903 +//!				2. Call SetRecordFormat() with default value from [set_set_settings_pcm16_stereo_8khz]
  1.2904 +//!				3. Call RecordData() with values from [record_data_32kb]
  1.2905 +//!				4. Call FlushRecordBuffer() //needed because otherwise setting format in next step will fail with KErrInUse
  1.2906 +//!				5. Call GetRecordFormat() to verify sound format
  1.2907 +//!				6. Restore initial sound h/w configuration
  1.2908 +//!				7. Call Close()
  1.2909 +//!
  1.2910 +//! @SYMTestStatus		Implemented
  1.2911 +//! @SYMTestPriority		Critical
  1.2912 +//! @SYMTestExpectedResults	Recording completes without any errors, sound format is set and verified
  1.2913 +//! @SYMTestType		CIT
  1.2914 +	START_TEST_BLOCK		100				t_sound			\base\sound\base-bsp-sound-driver.ini
  1.2915 +		CREATE_OBJECT		RMdaDevSound			devsound  
  1.2916 +		COMMAND			devsound			new
  1.2917 +		COMMAND			devsound			Open			UnitEnum
  1.2918 +		//!set default play configuration
  1.2919 +		CREATE_OBJECT		TCurrentSoundFormat		t_format		
  1.2920 +		COMMAND			t_format			new			
  1.2921 +		COMMAND			t_format			irate_set			set_settings_pcm16_stereo_8khz
  1.2922 +		COMMAND			t_format			iencoding_set		set_settings_pcm16_stereo_8khz
  1.2923 +		COMMAND			t_format			ichannels_set		set_settings_pcm16_stereo_8khz
  1.2924 +		COMMAND			t_format			ibuffer_size_set		set_settings_pcm16_stereo_8khz
  1.2925 +		COMMAND			devsound			SetRecordFormat		BSP-SOUND-DRIVER-SetRecordFormat
  1.2926 +		COMMAND			devsound			RecordData		record_data_32kb
  1.2927 +		OUTSTANDING
  1.2928 +		COMMAND			devsound			FlushRecordBuffer
  1.2929 +		COMMAND			devsound			GetRecordFormat		BSP-SOUND-DRIVER-GetRecordFormat
  1.2930 +		COMMAND			t_format			irate_get			set_settings_pcm16_stereo_8khz_expected
  1.2931 +		COMMAND			t_format			iencoding_get		set_settings_pcm16_stereo_8khz_expected
  1.2932 +		COMMAND			t_format			ichannels_get		set_settings_pcm16_stereo_8khz_expected
  1.2933 +		COMMAND			t_format			ibuffer_size_get		set_settings_pcm16_stereo_8khz_expected
  1.2934 +		//!set back default play configuration
  1.2935 +		COMMAND			t_format			irate_set			default_record_format
  1.2936 +		COMMAND			t_format			iencoding_set		default_record_format
  1.2937 +		COMMAND			t_format			ichannels_set		default_record_format
  1.2938 +		COMMAND			t_format			ibuffer_size_set		default_record_format
  1.2939 +		COMMAND			devsound			SetRecordFormat		BSP-SOUND-DRIVER-SetRecordFormat
  1.2940 +		COMMAND			devsound			SetRecordLevel		default_record_level
  1.2941 +		COMMAND			t_format  			~	
  1.2942 +		COMMAND			devsound  			Close
  1.2943 +		COMMAND			devsound  			~
  1.2944 +	END_TEST_BLOCK
  1.2945 +END_TESTCASE			BASE-BSP-SOUND-DRIVER-5011
  1.2946 +
  1.2947 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-5012
  1.2948 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-5012
  1.2949 +//! @SYMAPI			RMdaDevSound::RecordData(TRequestStatus {ref}, TDes8 {ref})
  1.2950 +//! @SYMAuthor			Vassili Tsvetkov
  1.2951 +//! @SYMCreationDate		15/06/2008
  1.2952 +//! @SYMTestCaseDesc		Execute recording audio in pcm16 stereo 11khz
  1.2953 +//!				
  1.2954 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
  1.2955 +//!				2. Call SetRecordFormat() with default value from [set_set_settings_pcm16_stereo_11khz]
  1.2956 +//!				3. Call RecordData() with values from [record_data_32kb]
  1.2957 +//!				4. Call FlushRecordBuffer() //needed because otherwise setting format in next step will fail with KErrInUse
  1.2958 +//!				5. Call GetRecordFormat() to verify sound format
  1.2959 +//!				6. Restore initial sound h/w configuration
  1.2960 +//!				7. Call Close()
  1.2961 +//!
  1.2962 +//! @SYMTestStatus		Implemented
  1.2963 +//! @SYMTestPriority		Critical
  1.2964 +//! @SYMTestExpectedResults	Recording completes without any errors, sound format is set and verified
  1.2965 +//! @SYMTestType		CIT
  1.2966 +	START_TEST_BLOCK		100				t_sound			\base\sound\base-bsp-sound-driver.ini
  1.2967 +		CREATE_OBJECT		RMdaDevSound			devsound  
  1.2968 +		COMMAND			devsound			new
  1.2969 +		COMMAND			devsound			Open			UnitEnum
  1.2970 +		//!set default play configuration
  1.2971 +		CREATE_OBJECT		TCurrentSoundFormat		t_format		
  1.2972 +		COMMAND			t_format			new			
  1.2973 +		COMMAND			t_format			irate_set			set_settings_pcm16_stereo_11khz
  1.2974 +		COMMAND			t_format			iencoding_set		set_settings_pcm16_stereo_11khz
  1.2975 +		COMMAND			t_format			ichannels_set		set_settings_pcm16_stereo_11khz
  1.2976 +		COMMAND			t_format			ibuffer_size_set		set_settings_pcm16_stereo_11khz
  1.2977 +		COMMAND			devsound			SetRecordFormat		BSP-SOUND-DRIVER-SetRecordFormat
  1.2978 +		COMMAND			devsound			RecordData		record_data_32kb
  1.2979 +		OUTSTANDING
  1.2980 +		COMMAND			devsound			FlushRecordBuffer
  1.2981 +		COMMAND			devsound			GetRecordFormat		BSP-SOUND-DRIVER-GetRecordFormat
  1.2982 +		COMMAND			t_format			irate_get			set_settings_pcm16_stereo_11khz_expected
  1.2983 +		COMMAND			t_format			iencoding_get		set_settings_pcm16_stereo_11khz_expected
  1.2984 +		COMMAND			t_format			ichannels_get		set_settings_pcm16_stereo_11khz_expected
  1.2985 +		COMMAND			t_format			ibuffer_size_get		set_settings_pcm16_stereo_11khz_expected
  1.2986 +		//!set back default play configuration
  1.2987 +		COMMAND			t_format			irate_set			default_record_format
  1.2988 +		COMMAND			t_format			iencoding_set		default_record_format
  1.2989 +		COMMAND			t_format			ichannels_set		default_record_format
  1.2990 +		COMMAND			t_format			ibuffer_size_set		default_record_format
  1.2991 +		COMMAND			devsound			SetRecordFormat		BSP-SOUND-DRIVER-SetRecordFormat
  1.2992 +		COMMAND			devsound			SetRecordLevel		default_record_level
  1.2993 +		COMMAND			t_format  			~	
  1.2994 +		COMMAND			devsound  			Close
  1.2995 +		COMMAND			devsound  			~
  1.2996 +	END_TEST_BLOCK
  1.2997 +END_TESTCASE			BASE-BSP-SOUND-DRIVER-5012
  1.2998 +
  1.2999 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-5013
  1.3000 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-5013
  1.3001 +//! @SYMAPI			RMdaDevSound::RecordData(TRequestStatus {ref}, TDes8 {ref})
  1.3002 +//! @SYMAuthor			Vassili Tsvetkov
  1.3003 +//! @SYMCreationDate		15/06/2008
  1.3004 +//! @SYMTestCaseDesc		Execute recording audio in pcm16 stereo 12khz
  1.3005 +//!				
  1.3006 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
  1.3007 +//!				2. Call SetRecordFormat() with default value from [set_set_settings_pcm16_stereo_12khz]
  1.3008 +//!				3. Call RecordData() with values from [record_data_32kb]
  1.3009 +//!				4. Call FlushRecordBuffer() //needed because otherwise setting format in next step will fail with KErrInUse
  1.3010 +//!				5. Call GetRecordFormat() to verify sound format
  1.3011 +//!				6. Restore initial sound h/w configuration
  1.3012 +//!				7. Call Close()
  1.3013 +//!
  1.3014 +//! @SYMTestStatus		Implemented
  1.3015 +//! @SYMTestPriority		Critical
  1.3016 +//! @SYMTestExpectedResults	Recording completes without any errors, sound format is set and verified
  1.3017 +//! @SYMTestType		CIT
  1.3018 +	START_TEST_BLOCK		100				t_sound			\base\sound\base-bsp-sound-driver.ini
  1.3019 +		CREATE_OBJECT		RMdaDevSound			devsound  
  1.3020 +		COMMAND			devsound			new
  1.3021 +		COMMAND			devsound			Open			UnitEnum
  1.3022 +		//!set default play configuration
  1.3023 +		CREATE_OBJECT		TCurrentSoundFormat		t_format		
  1.3024 +		COMMAND			t_format			new			
  1.3025 +		COMMAND			t_format			irate_set			set_settings_pcm16_stereo_12khz
  1.3026 +		COMMAND			t_format			iencoding_set		set_settings_pcm16_stereo_12khz
  1.3027 +		COMMAND			t_format			ichannels_set		set_settings_pcm16_stereo_12khz
  1.3028 +		COMMAND			t_format			ibuffer_size_set		set_settings_pcm16_stereo_12khz
  1.3029 +		COMMAND			devsound			SetRecordFormat		BSP-SOUND-DRIVER-SetRecordFormat
  1.3030 +		COMMAND			devsound			RecordData		record_data_32kb
  1.3031 +		OUTSTANDING
  1.3032 +		COMMAND			devsound			FlushRecordBuffer
  1.3033 +		COMMAND			devsound			GetRecordFormat		BSP-SOUND-DRIVER-GetRecordFormat
  1.3034 +		COMMAND			t_format			irate_get			set_settings_pcm16_stereo_12khz_expected
  1.3035 +		COMMAND			t_format			iencoding_get		set_settings_pcm16_stereo_12khz_expected
  1.3036 +		COMMAND			t_format			ichannels_get		set_settings_pcm16_stereo_12khz_expected
  1.3037 +		COMMAND			t_format			ibuffer_size_get		set_settings_pcm16_stereo_12khz_expected
  1.3038 +		//!set back default play configuration
  1.3039 +		COMMAND			t_format			irate_set			default_record_format
  1.3040 +		COMMAND			t_format			iencoding_set		default_record_format
  1.3041 +		COMMAND			t_format			ichannels_set		default_record_format
  1.3042 +		COMMAND			t_format			ibuffer_size_set		default_record_format
  1.3043 +		COMMAND			devsound			SetRecordFormat		BSP-SOUND-DRIVER-SetRecordFormat
  1.3044 +		COMMAND			devsound			SetRecordLevel		default_record_level
  1.3045 +		COMMAND			t_format  			~	
  1.3046 +		COMMAND			devsound  			Close
  1.3047 +		COMMAND			devsound  			~
  1.3048 +	END_TEST_BLOCK
  1.3049 +END_TESTCASE			BASE-BSP-SOUND-DRIVER-5013
  1.3050 +
  1.3051 +
  1.3052 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-5014
  1.3053 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-5014
  1.3054 +//! @SYMAPI			RMdaDevSound::RecordData(TRequestStatus {ref}, TDes8 {ref})
  1.3055 +//! @SYMAuthor			Vassili Tsvetkov
  1.3056 +//! @SYMCreationDate		15/06/2008
  1.3057 +//! @SYMTestCaseDesc		Execute recording audio in pcm16 stereo 16khz
  1.3058 +//!				
  1.3059 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
  1.3060 +//!				2. Call SetRecordFormat() with default value from [set_set_settings_pcm16_stereo_16khz]
  1.3061 +//!				3. Call RecordData() with values from [record_data_32kb]
  1.3062 +//!				4. Call FlushRecordBuffer() //needed because otherwise setting format in next step will fail with KErrInUse
  1.3063 +//!				5. Call GetRecordFormat() to verify sound format
  1.3064 +//!				6. Restore initial sound h/w configuration
  1.3065 +//!				7. Call Close()
  1.3066 +//!
  1.3067 +//! @SYMTestStatus		Implemented
  1.3068 +//! @SYMTestPriority		Critical
  1.3069 +//! @SYMTestExpectedResults	Recording completes without any errors, sound format is set and verified
  1.3070 +//! @SYMTestType		CIT
  1.3071 +	START_TEST_BLOCK		100				t_sound			\base\sound\base-bsp-sound-driver.ini
  1.3072 +		CREATE_OBJECT		RMdaDevSound			devsound  
  1.3073 +		COMMAND			devsound			new
  1.3074 +		COMMAND			devsound			Open			UnitEnum
  1.3075 +		//!set default play configuration
  1.3076 +		CREATE_OBJECT		TCurrentSoundFormat		t_format		
  1.3077 +		COMMAND			t_format			new			
  1.3078 +		COMMAND			t_format			irate_set			set_settings_pcm16_stereo_16khz
  1.3079 +		COMMAND			t_format			iencoding_set		set_settings_pcm16_stereo_16khz
  1.3080 +		COMMAND			t_format			ichannels_set		set_settings_pcm16_stereo_16khz
  1.3081 +		COMMAND			t_format			ibuffer_size_set		set_settings_pcm16_stereo_16khz
  1.3082 +		COMMAND			devsound			SetRecordFormat		BSP-SOUND-DRIVER-SetRecordFormat
  1.3083 +		COMMAND			devsound			RecordData		record_data_32kb
  1.3084 +		OUTSTANDING
  1.3085 +		COMMAND			devsound			FlushRecordBuffer
  1.3086 +		COMMAND			devsound			GetRecordFormat		BSP-SOUND-DRIVER-GetRecordFormat
  1.3087 +		COMMAND			t_format			irate_get			set_settings_pcm16_stereo_16khz_expected
  1.3088 +		COMMAND			t_format			iencoding_get		set_settings_pcm16_stereo_16khz_expected
  1.3089 +		COMMAND			t_format			ichannels_get		set_settings_pcm16_stereo_16khz_expected
  1.3090 +		COMMAND			t_format			ibuffer_size_get		set_settings_pcm16_stereo_16khz_expected
  1.3091 +		//!set back default play configuration
  1.3092 +		COMMAND			t_format			irate_set			default_record_format
  1.3093 +		COMMAND			t_format			iencoding_set		default_record_format
  1.3094 +		COMMAND			t_format			ichannels_set		default_record_format
  1.3095 +		COMMAND			t_format			ibuffer_size_set		default_record_format
  1.3096 +		COMMAND			devsound			SetRecordFormat		BSP-SOUND-DRIVER-SetRecordFormat
  1.3097 +		COMMAND			devsound			SetRecordLevel		default_record_level
  1.3098 +		COMMAND			t_format  			~	
  1.3099 +		COMMAND			devsound  			Close
  1.3100 +		COMMAND			devsound  			~
  1.3101 +	END_TEST_BLOCK
  1.3102 +END_TESTCASE			BASE-BSP-SOUND-DRIVER-5014
  1.3103 +
  1.3104 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-5015
  1.3105 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-5015
  1.3106 +//! @SYMAPI			RMdaDevSound::RecordData(TRequestStatus {ref}, TDes8 {ref})
  1.3107 +//! @SYMAuthor			Vassili Tsvetkov
  1.3108 +//! @SYMCreationDate		15/06/2008
  1.3109 +//! @SYMTestCaseDesc		Execute recording audio in pcm16 stereo 22khz
  1.3110 +//!				
  1.3111 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
  1.3112 +//!				2. Call SetRecordFormat() with default value from [set_set_settings_pcm16_stereo_22khz]
  1.3113 +//!				3. Call RecordData() with values from [record_data_32kb]
  1.3114 +//!				4. Call FlushRecordBuffer() //needed because otherwise setting format in next step will fail with KErrInUse
  1.3115 +//!				5. Call GetRecordFormat() to verify sound format
  1.3116 +//!				6. Restore initial sound h/w configuration
  1.3117 +//!				7. Call Close()
  1.3118 +//!
  1.3119 +//! @SYMTestStatus		Implemented
  1.3120 +//! @SYMTestPriority		Critical
  1.3121 +//! @SYMTestExpectedResults	Recording completes without any errors, sound format is set and verified
  1.3122 +//! @SYMTestType		CIT
  1.3123 +	START_TEST_BLOCK		100				t_sound			\base\sound\base-bsp-sound-driver.ini
  1.3124 +		CREATE_OBJECT		RMdaDevSound			devsound  
  1.3125 +		COMMAND			devsound			new
  1.3126 +		COMMAND			devsound			Open			UnitEnum
  1.3127 +		//!set default play configuration
  1.3128 +		CREATE_OBJECT		TCurrentSoundFormat		t_format		
  1.3129 +		COMMAND			t_format			new			
  1.3130 +		COMMAND			t_format			irate_set			set_settings_pcm16_stereo_22khz
  1.3131 +		COMMAND			t_format			iencoding_set		set_settings_pcm16_stereo_22khz
  1.3132 +		COMMAND			t_format			ichannels_set		set_settings_pcm16_stereo_22khz
  1.3133 +		COMMAND			t_format			ibuffer_size_set		set_settings_pcm16_stereo_22khz
  1.3134 +		COMMAND			devsound			SetRecordFormat		BSP-SOUND-DRIVER-SetRecordFormat
  1.3135 +		COMMAND			devsound			RecordData		record_data_32kb
  1.3136 +		OUTSTANDING
  1.3137 +		COMMAND			devsound			FlushRecordBuffer
  1.3138 +		COMMAND			devsound			GetRecordFormat		BSP-SOUND-DRIVER-GetRecordFormat
  1.3139 +		COMMAND			t_format			irate_get			set_settings_pcm16_stereo_22khz_expected
  1.3140 +		COMMAND			t_format			iencoding_get		set_settings_pcm16_stereo_22khz_expected
  1.3141 +		COMMAND			t_format			ichannels_get		set_settings_pcm16_stereo_22khz_expected
  1.3142 +		COMMAND			t_format			ibuffer_size_get		set_settings_pcm16_stereo_22khz_expected
  1.3143 +		//!set back default play configuration
  1.3144 +		COMMAND			t_format			irate_set			default_record_format
  1.3145 +		COMMAND			t_format			iencoding_set		default_record_format
  1.3146 +		COMMAND			t_format			ichannels_set		default_record_format
  1.3147 +		COMMAND			t_format			ibuffer_size_set		default_record_format
  1.3148 +		COMMAND			devsound			SetRecordFormat		BSP-SOUND-DRIVER-SetRecordFormat
  1.3149 +		COMMAND			devsound			SetRecordLevel		default_record_level
  1.3150 +		COMMAND			t_format  			~	
  1.3151 +		COMMAND			devsound  			Close
  1.3152 +		COMMAND			devsound  			~
  1.3153 +	END_TEST_BLOCK
  1.3154 +END_TESTCASE			BASE-BSP-SOUND-DRIVER-5015
  1.3155 +
  1.3156 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-5016
  1.3157 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-5016
  1.3158 +//! @SYMAPI			RMdaDevSound::RecordData(TRequestStatus {ref}, TDes8 {ref})
  1.3159 +//! @SYMAuthor			Vassili Tsvetkov
  1.3160 +//! @SYMCreationDate		15/06/2008
  1.3161 +//! @SYMTestCaseDesc		Execute recording audio in pcm16 stereo 24khz
  1.3162 +//!				
  1.3163 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
  1.3164 +//!				2. Call SetRecordFormat() with default value from [set_set_settings_pcm16_stereo_24khz]
  1.3165 +//!				3. Call RecordData() with values from [record_data_32kb]
  1.3166 +//!				4. Call FlushRecordBuffer() //needed because otherwise setting format in next step will fail with KErrInUse
  1.3167 +//!				5. Call GetRecordFormat() to verify sound format
  1.3168 +//!				6. Restore initial sound h/w configuration
  1.3169 +//!				7. Call Close()
  1.3170 +//!
  1.3171 +//! @SYMTestStatus		Implemented
  1.3172 +//! @SYMTestPriority		Critical
  1.3173 +//! @SYMTestExpectedResults	Recording completes without any errors, sound format is set and verified
  1.3174 +//! @SYMTestType		CIT
  1.3175 +	START_TEST_BLOCK		100				t_sound			\base\sound\base-bsp-sound-driver.ini
  1.3176 +		CREATE_OBJECT		RMdaDevSound			devsound  
  1.3177 +		COMMAND			devsound			new
  1.3178 +		COMMAND			devsound			Open			UnitEnum
  1.3179 +		//!set default play configuration
  1.3180 +		CREATE_OBJECT		TCurrentSoundFormat		t_format		
  1.3181 +		COMMAND			t_format			new			
  1.3182 +		COMMAND			t_format			irate_set			set_settings_pcm16_stereo_24khz
  1.3183 +		COMMAND			t_format			iencoding_set		set_settings_pcm16_stereo_24khz
  1.3184 +		COMMAND			t_format			ichannels_set		set_settings_pcm16_stereo_24khz
  1.3185 +		COMMAND			t_format			ibuffer_size_set		set_settings_pcm16_stereo_24khz
  1.3186 +		COMMAND			devsound			SetRecordFormat		BSP-SOUND-DRIVER-SetRecordFormat
  1.3187 +		COMMAND			devsound			RecordData		record_data_32kb
  1.3188 +		OUTSTANDING
  1.3189 +		COMMAND			devsound			FlushRecordBuffer
  1.3190 +		COMMAND			devsound			GetRecordFormat		BSP-SOUND-DRIVER-GetRecordFormat
  1.3191 +		COMMAND			t_format			irate_get			set_settings_pcm16_stereo_24khz_expected
  1.3192 +		COMMAND			t_format			iencoding_get		set_settings_pcm16_stereo_24khz_expected
  1.3193 +		COMMAND			t_format			ichannels_get		set_settings_pcm16_stereo_24khz_expected
  1.3194 +		COMMAND			t_format			ibuffer_size_get		set_settings_pcm16_stereo_24khz_expected
  1.3195 +		//!set back default play configuration
  1.3196 +		COMMAND			t_format			irate_set			default_record_format
  1.3197 +		COMMAND			t_format			iencoding_set		default_record_format
  1.3198 +		COMMAND			t_format			ichannels_set		default_record_format
  1.3199 +		COMMAND			t_format			ibuffer_size_set		default_record_format
  1.3200 +		COMMAND			devsound			SetRecordFormat		BSP-SOUND-DRIVER-SetRecordFormat
  1.3201 +		COMMAND			devsound			SetRecordLevel		default_record_level
  1.3202 +		COMMAND			t_format  			~	
  1.3203 +		COMMAND			devsound  			Close
  1.3204 +		COMMAND			devsound  			~
  1.3205 +	END_TEST_BLOCK
  1.3206 +END_TESTCASE			BASE-BSP-SOUND-DRIVER-5016
  1.3207 +
  1.3208 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-5017
  1.3209 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-5017
  1.3210 +//! @SYMAPI			RMdaDevSound::RecordData(TRequestStatus {ref}, TDes8 {ref})
  1.3211 +//! @SYMAuthor			Vassili Tsvetkov
  1.3212 +//! @SYMCreationDate		15/06/2008
  1.3213 +//! @SYMTestCaseDesc		Execute recording audio in pcm16 stereo 32khz
  1.3214 +//!				
  1.3215 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
  1.3216 +//!				2. Call SetRecordFormat() with default value from [set_set_settings_pcm16_stereo_32khz]
  1.3217 +//!				3. Call RecordData() with values from [record_data_32kb]
  1.3218 +//!				4. Call FlushRecordBuffer() //needed because otherwise setting format in next step will fail with KErrInUse
  1.3219 +//!				5. Call GetRecordFormat() to verify sound format
  1.3220 +//!				6. Restore initial sound h/w configuration
  1.3221 +//!				7. Call Close()
  1.3222 +//!
  1.3223 +//! @SYMTestStatus		Implemented
  1.3224 +//! @SYMTestPriority		Critical
  1.3225 +//! @SYMTestExpectedResults	Recording completes without any errors, sound format is set and verified
  1.3226 +//! @SYMTestType		CIT
  1.3227 +	START_TEST_BLOCK		100				t_sound			\base\sound\base-bsp-sound-driver.ini
  1.3228 +		CREATE_OBJECT		RMdaDevSound			devsound  
  1.3229 +		COMMAND			devsound			new
  1.3230 +		COMMAND			devsound			Open			UnitEnum
  1.3231 +		//!set default play configuration
  1.3232 +		CREATE_OBJECT		TCurrentSoundFormat		t_format		
  1.3233 +		COMMAND			t_format			new			
  1.3234 +		COMMAND			t_format			irate_set			set_settings_pcm16_stereo_32khz
  1.3235 +		COMMAND			t_format			iencoding_set		set_settings_pcm16_stereo_32khz
  1.3236 +		COMMAND			t_format			ichannels_set		set_settings_pcm16_stereo_32khz
  1.3237 +		COMMAND			t_format			ibuffer_size_set		set_settings_pcm16_stereo_32khz
  1.3238 +		COMMAND			devsound			SetRecordFormat		BSP-SOUND-DRIVER-SetRecordFormat
  1.3239 +		COMMAND			devsound			RecordData		record_data_32kb
  1.3240 +		OUTSTANDING
  1.3241 +		COMMAND			devsound			FlushRecordBuffer
  1.3242 +		COMMAND			devsound			GetRecordFormat		BSP-SOUND-DRIVER-GetRecordFormat
  1.3243 +		COMMAND			t_format			irate_get			set_settings_pcm16_stereo_32khz_expected
  1.3244 +		COMMAND			t_format			iencoding_get		set_settings_pcm16_stereo_32khz_expected
  1.3245 +		COMMAND			t_format			ichannels_get		set_settings_pcm16_stereo_32khz_expected
  1.3246 +		COMMAND			t_format			ibuffer_size_get		set_settings_pcm16_stereo_32khz_expected
  1.3247 +		//!set back default play configuration
  1.3248 +		COMMAND			t_format			irate_set			default_record_format
  1.3249 +		COMMAND			t_format			iencoding_set		default_record_format
  1.3250 +		COMMAND			t_format			ichannels_set		default_record_format
  1.3251 +		COMMAND			t_format			ibuffer_size_set		default_record_format
  1.3252 +		COMMAND			devsound			SetRecordFormat		BSP-SOUND-DRIVER-SetRecordFormat
  1.3253 +		COMMAND			devsound			SetRecordLevel		default_record_level
  1.3254 +		COMMAND			t_format  			~	
  1.3255 +		COMMAND			devsound  			Close
  1.3256 +		COMMAND			devsound  			~
  1.3257 +	END_TEST_BLOCK
  1.3258 +END_TESTCASE			BASE-BSP-SOUND-DRIVER-5017
  1.3259 +
  1.3260 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-5018
  1.3261 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-5018
  1.3262 +//! @SYMAPI			RMdaDevSound::RecordData(TRequestStatus {ref}, TDes8 {ref})
  1.3263 +//! @SYMAuthor			Vassili Tsvetkov
  1.3264 +//! @SYMCreationDate		15/06/2008
  1.3265 +//! @SYMTestCaseDesc		Execute recording audio in pcm16 stereo 44.1khz
  1.3266 +//!				
  1.3267 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
  1.3268 +//!				2. Call SetRecordFormat() with default value from [set_set_settings_pcm16_stereo_44.1khz]
  1.3269 +//!				3. Call RecordData() with values from [record_data_32kb]
  1.3270 +//!				4. Call FlushRecordBuffer() //needed because otherwise setting format in next step will fail with KErrInUse
  1.3271 +//!				5. Call GetRecordFormat() to verify sound format
  1.3272 +//!				6. Restore initial sound h/w configuration
  1.3273 +//!				7. Call Close()
  1.3274 +//!
  1.3275 +//! @SYMTestStatus		Implemented
  1.3276 +//! @SYMTestPriority		Critical
  1.3277 +//! @SYMTestExpectedResults	Recording completes without any errors, sound format is set and verified
  1.3278 +//! @SYMTestType		CIT
  1.3279 +	START_TEST_BLOCK		100				t_sound			\base\sound\base-bsp-sound-driver.ini
  1.3280 +		CREATE_OBJECT		RMdaDevSound			devsound  
  1.3281 +		COMMAND			devsound			new
  1.3282 +		COMMAND			devsound			Open			UnitEnum
  1.3283 +		//!set default play configuration
  1.3284 +		CREATE_OBJECT		TCurrentSoundFormat		t_format		
  1.3285 +		COMMAND			t_format			new			
  1.3286 +		COMMAND			t_format			irate_set			set_settings_pcm16_stereo_44.1khz
  1.3287 +		COMMAND			t_format			iencoding_set		set_settings_pcm16_stereo_44.1khz
  1.3288 +		COMMAND			t_format			ichannels_set		set_settings_pcm16_stereo_44.1khz
  1.3289 +		COMMAND			t_format			ibuffer_size_set		set_settings_pcm16_stereo_44.1khz
  1.3290 +		COMMAND			devsound			SetRecordFormat		BSP-SOUND-DRIVER-SetRecordFormat
  1.3291 +		COMMAND			devsound			RecordData		record_data_32kb
  1.3292 +		OUTSTANDING
  1.3293 +		COMMAND			devsound			FlushRecordBuffer
  1.3294 +		COMMAND			devsound			GetRecordFormat		BSP-SOUND-DRIVER-GetRecordFormat
  1.3295 +		COMMAND			t_format			irate_get			set_settings_pcm16_stereo_44.1khz_expected
  1.3296 +		COMMAND			t_format			iencoding_get		set_settings_pcm16_stereo_44.1khz_expected
  1.3297 +		COMMAND			t_format			ichannels_get		set_settings_pcm16_stereo_44.1khz_expected
  1.3298 +		COMMAND			t_format			ibuffer_size_get		set_settings_pcm16_stereo_44.1khz_expected
  1.3299 +		//!set back default play configuration
  1.3300 +		COMMAND			t_format			irate_set			default_record_format
  1.3301 +		COMMAND			t_format			iencoding_set		default_record_format
  1.3302 +		COMMAND			t_format			ichannels_set		default_record_format
  1.3303 +		COMMAND			t_format			ibuffer_size_set		default_record_format
  1.3304 +		COMMAND			devsound			SetRecordFormat		BSP-SOUND-DRIVER-SetRecordFormat
  1.3305 +		COMMAND			devsound			SetRecordLevel		default_record_level
  1.3306 +		COMMAND			t_format  			~	
  1.3307 +		COMMAND			devsound  			Close
  1.3308 +		COMMAND			devsound  			~
  1.3309 +	END_TEST_BLOCK
  1.3310 +END_TESTCASE			BASE-BSP-SOUND-DRIVER-5018
  1.3311 +
  1.3312 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-5019
  1.3313 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-5019
  1.3314 +//! @SYMAPI			RMdaDevSound::RecordData(TRequestStatus {ref}, TDes8 {ref})
  1.3315 +//! @SYMAuthor			Vassili Tsvetkov
  1.3316 +//! @SYMCreationDate		15/06/2008
  1.3317 +//! @SYMTestCaseDesc		Execute recording audio in pcm16 stereo 48khz
  1.3318 +//!				
  1.3319 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
  1.3320 +//!				2. Call SetRecordFormat() with default value from [set_set_settings_pcm16_stereo_48khz]
  1.3321 +//!				3. Call RecordData() with values from [record_data_32kb]
  1.3322 +//!				4. Call FlushRecordBuffer() //needed because otherwise setting format in next step will fail with KErrInUse
  1.3323 +//!				5. Call GetRecordFormat() to verify sound format
  1.3324 +//!				6. Restore initial sound h/w configuration
  1.3325 +//!				7. Call Close()
  1.3326 +//!
  1.3327 +//! @SYMTestStatus		Implemented
  1.3328 +//! @SYMTestPriority		Critical
  1.3329 +//! @SYMTestExpectedResults	Recording completes without any errors, sound format is set and verified
  1.3330 +//! @SYMTestType		CIT
  1.3331 +	START_TEST_BLOCK		100				t_sound			\base\sound\base-bsp-sound-driver.ini
  1.3332 +		CREATE_OBJECT		RMdaDevSound			devsound  
  1.3333 +		COMMAND			devsound			new
  1.3334 +		COMMAND			devsound			Open			UnitEnum
  1.3335 +		//!set default play configuration
  1.3336 +		CREATE_OBJECT		TCurrentSoundFormat		t_format		
  1.3337 +		COMMAND			t_format			new			
  1.3338 +		COMMAND			t_format			irate_set			set_settings_pcm16_stereo_48khz
  1.3339 +		COMMAND			t_format			iencoding_set		set_settings_pcm16_stereo_48khz
  1.3340 +		COMMAND			t_format			ichannels_set		set_settings_pcm16_stereo_48khz
  1.3341 +		COMMAND			t_format			ibuffer_size_set		set_settings_pcm16_stereo_48khz
  1.3342 +		COMMAND			devsound			SetRecordFormat		BSP-SOUND-DRIVER-SetRecordFormat
  1.3343 +		COMMAND			devsound			RecordData		record_data_32kb
  1.3344 +		OUTSTANDING
  1.3345 +		COMMAND			devsound			FlushRecordBuffer
  1.3346 +		COMMAND			devsound			GetRecordFormat		BSP-SOUND-DRIVER-GetRecordFormat
  1.3347 +		COMMAND			t_format			irate_get			set_settings_pcm16_stereo_48khz_expected
  1.3348 +		COMMAND			t_format			iencoding_get		set_settings_pcm16_stereo_48khz_expected
  1.3349 +		COMMAND			t_format			ichannels_get		set_settings_pcm16_stereo_48khz_expected
  1.3350 +		COMMAND			t_format			ibuffer_size_get		set_settings_pcm16_stereo_48khz_expected
  1.3351 +		//!set back default play configuration
  1.3352 +		COMMAND			t_format			irate_set			default_record_format
  1.3353 +		COMMAND			t_format			iencoding_set		default_record_format
  1.3354 +		COMMAND			t_format			ichannels_set		default_record_format
  1.3355 +		COMMAND			t_format			ibuffer_size_set		default_record_format
  1.3356 +		COMMAND			devsound			SetRecordFormat		BSP-SOUND-DRIVER-SetRecordFormat
  1.3357 +		COMMAND			devsound			SetRecordLevel		default_record_level
  1.3358 +		COMMAND			t_format  			~	
  1.3359 +		COMMAND			devsound  			Close
  1.3360 +		COMMAND			devsound  			~
  1.3361 +	END_TEST_BLOCK
  1.3362 +END_TESTCASE			BASE-BSP-SOUND-DRIVER-5019
  1.3363 +
  1.3364 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-5020
  1.3365 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-5020
  1.3366 +//! @SYMAPI			RMdaDevSound::RecordData(TRequestStatus {ref}, TDes8 {ref})
  1.3367 +//! @SYMAuthor			Vassili Tsvetkov
  1.3368 +//! @SYMCreationDate		15/06/2008
  1.3369 +//! @SYMTestCaseDesc		Execute recording audio in alaw8bit mono 8khz
  1.3370 +//!				
  1.3371 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
  1.3372 +//!				2. Call SetRecordFormat() with default value from [set_set_settings_alaw8bit_mono_8khz]
  1.3373 +//!				3. Call RecordData() with values from [record_data_32kb]
  1.3374 +//!				4. Call FlushRecordBuffer() //needed because otherwise setting format in next step will fail with KErrInUse
  1.3375 +//!				5. Call GetRecordFormat() to verify sound format
  1.3376 +//!				6. Restore initial sound h/w configuration
  1.3377 +//!				7. Call Close()
  1.3378 +//!
  1.3379 +//! @SYMTestStatus		Implemented
  1.3380 +//! @SYMTestPriority		Critical
  1.3381 +//! @SYMTestExpectedResults	Recording completes without any errors, sound format is set and verified
  1.3382 +//! @SYMTestType		CIT
  1.3383 +	START_TEST_BLOCK		100				t_sound			\base\sound\base-bsp-sound-driver.ini
  1.3384 +		CREATE_OBJECT		RMdaDevSound			devsound  
  1.3385 +		COMMAND			devsound			new
  1.3386 +		COMMAND			devsound			Open			UnitEnum
  1.3387 +		//!set default play configuration
  1.3388 +		CREATE_OBJECT		TCurrentSoundFormat		t_format		
  1.3389 +		COMMAND			t_format			new			
  1.3390 +		COMMAND			t_format			irate_set			set_settings_alaw8bit_mono_8khz
  1.3391 +		COMMAND			t_format			iencoding_set		set_settings_alaw8bit_mono_8khz
  1.3392 +		COMMAND			t_format			ichannels_set		set_settings_alaw8bit_mono_8khz
  1.3393 +		COMMAND			t_format			ibuffer_size_set		set_settings_alaw8bit_mono_8khz
  1.3394 +		COMMAND			devsound			SetRecordFormat		BSP-SOUND-DRIVER-SetRecordFormat
  1.3395 +		COMMAND			devsound			RecordData		record_data_32kb
  1.3396 +		OUTSTANDING
  1.3397 +		COMMAND			devsound			FlushRecordBuffer
  1.3398 +		COMMAND			devsound			GetRecordFormat		BSP-SOUND-DRIVER-GetRecordFormat
  1.3399 +		COMMAND			t_format			irate_get			set_settings_alaw8bit_mono_8khz_expected
  1.3400 +		COMMAND			t_format			iencoding_get		set_settings_alaw8bit_mono_8khz_expected
  1.3401 +		COMMAND			t_format			ichannels_get		set_settings_alaw8bit_mono_8khz_expected
  1.3402 +		COMMAND			t_format			ibuffer_size_get		set_settings_alaw8bit_mono_8khz_expected
  1.3403 +		//!set back default play configuration
  1.3404 +		COMMAND			t_format			irate_set			default_record_format
  1.3405 +		COMMAND			t_format			iencoding_set		default_record_format
  1.3406 +		COMMAND			t_format			ichannels_set		default_record_format
  1.3407 +		COMMAND			t_format			ibuffer_size_set		default_record_format
  1.3408 +		COMMAND			devsound			SetRecordFormat		BSP-SOUND-DRIVER-SetRecordFormat
  1.3409 +		COMMAND			devsound			SetRecordLevel		default_record_level
  1.3410 +		COMMAND			t_format  			~	
  1.3411 +		COMMAND			devsound  			Close
  1.3412 +		COMMAND			devsound  			~
  1.3413 +	END_TEST_BLOCK
  1.3414 +END_TESTCASE			BASE-BSP-SOUND-DRIVER-5020
  1.3415 +
  1.3416 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-5021
  1.3417 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-5021
  1.3418 +//! @SYMAPI			RMdaDevSound::RecordData(TRequestStatus {ref}, TDes8 {ref})
  1.3419 +//! @SYMAuthor			Vassili Tsvetkov
  1.3420 +//! @SYMCreationDate		15/06/2008
  1.3421 +//! @SYMTestCaseDesc		Execute recording audio in alaw8bit stereo 8khz
  1.3422 +//!				
  1.3423 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
  1.3424 +//!				2. Call SetRecordFormat() with default value from [set_set_settings_alaw8bit_stereo_24khz]
  1.3425 +//!				3. Call RecordData() with values from [record_data_32kb]
  1.3426 +//!				4. Call FlushRecordBuffer() //needed because otherwise setting format in next step will fail with KErrInUse
  1.3427 +//!				5. Call GetRecordFormat() to verify sound format
  1.3428 +//!				6. Restore initial sound h/w configuration
  1.3429 +//!				7. Call Close()
  1.3430 +//!
  1.3431 +//! @SYMTestStatus		Implemented
  1.3432 +//! @SYMTestPriority		Critical
  1.3433 +//! @SYMTestExpectedResults	Recording completes without any errors, sound format is set and verified
  1.3434 +//! @SYMTestType		CIT
  1.3435 +	START_TEST_BLOCK		100				t_sound			\base\sound\base-bsp-sound-driver.ini
  1.3436 +		CREATE_OBJECT		RMdaDevSound			devsound  
  1.3437 +		COMMAND			devsound			new
  1.3438 +		COMMAND			devsound			Open			UnitEnum
  1.3439 +		//!set default play configuration
  1.3440 +		CREATE_OBJECT		TCurrentSoundFormat		t_format		
  1.3441 +		COMMAND			t_format			new			
  1.3442 +		COMMAND			t_format			irate_set			set_settings_alaw8bit_stereo_24khz
  1.3443 +		COMMAND			t_format			iencoding_set		set_settings_alaw8bit_stereo_24khz
  1.3444 +		COMMAND			t_format			ichannels_set		set_settings_alaw8bit_stereo_24khz
  1.3445 +		COMMAND			t_format			ibuffer_size_set		set_settings_alaw8bit_stereo_24khz
  1.3446 +		COMMAND			devsound			SetRecordFormat		BSP-SOUND-DRIVER-SetRecordFormat
  1.3447 +		COMMAND			devsound			RecordData		record_data_32kb
  1.3448 +		OUTSTANDING
  1.3449 +		COMMAND			devsound			FlushRecordBuffer
  1.3450 +		COMMAND			devsound			GetRecordFormat		BSP-SOUND-DRIVER-GetRecordFormat
  1.3451 +		COMMAND			t_format			irate_get			set_settings_alaw8bit_stereo_24khz_expected
  1.3452 +		COMMAND			t_format			iencoding_get		set_settings_alaw8bit_stereo_24khz_expected
  1.3453 +		COMMAND			t_format			ichannels_get		set_settings_alaw8bit_stereo_24khz_expected
  1.3454 +		COMMAND			t_format			ibuffer_size_get		set_settings_alaw8bit_stereo_24khz_expected
  1.3455 +		//!set back default play configuration
  1.3456 +		COMMAND			t_format			irate_set			default_record_format
  1.3457 +		COMMAND			t_format			iencoding_set		default_record_format
  1.3458 +		COMMAND			t_format			ichannels_set		default_record_format
  1.3459 +		COMMAND			t_format			ibuffer_size_set		default_record_format
  1.3460 +		COMMAND			devsound			SetRecordFormat		BSP-SOUND-DRIVER-SetRecordFormat
  1.3461 +		COMMAND			devsound			SetRecordLevel		default_record_level
  1.3462 +		COMMAND			t_format  			~	
  1.3463 +		COMMAND			devsound  			Close
  1.3464 +		COMMAND			devsound  			~
  1.3465 +	END_TEST_BLOCK
  1.3466 +END_TESTCASE			BASE-BSP-SOUND-DRIVER-5021
  1.3467 +
  1.3468 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-5022
  1.3469 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-5022
  1.3470 +//! @SYMAPI			RMdaDevSound::RecordData(TRequestStatus {ref}, TDes8 {ref})
  1.3471 +//! @SYMAuthor			Vassili Tsvetkov
  1.3472 +//! @SYMCreationDate		15/06/2008
  1.3473 +//! @SYMTestCaseDesc		Execute recording audio in mulaw8bit mono 12khz
  1.3474 +//!				
  1.3475 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
  1.3476 +//!				2. Call SetRecordFormat() with default value from [set_set_settings_mulaw8bit_mono_12khz]
  1.3477 +//!				3. Call RecordData() with values from [record_data_32kb]
  1.3478 +//!				4. Call FlushRecordBuffer() //needed because otherwise setting format in next step will fail with KErrInUse
  1.3479 +//!				5. Call GetRecordFormat() to verify sound format
  1.3480 +//!				6. Restore initial sound h/w configuration
  1.3481 +//!				7. Call Close()
  1.3482 +//!
  1.3483 +//! @SYMTestStatus		Implemented
  1.3484 +//! @SYMTestPriority		Critical
  1.3485 +//! @SYMTestExpectedResults	Recording completes without any errors, sound format is set and verified
  1.3486 +//! @SYMTestType		CIT
  1.3487 +	START_TEST_BLOCK		100				t_sound			\base\sound\base-bsp-sound-driver.ini
  1.3488 +		CREATE_OBJECT		RMdaDevSound			devsound  
  1.3489 +		COMMAND			devsound			new
  1.3490 +		COMMAND			devsound			Open			UnitEnum
  1.3491 +		//!set default play configuration
  1.3492 +		CREATE_OBJECT		TCurrentSoundFormat		t_format		
  1.3493 +		COMMAND			t_format			new			
  1.3494 +		COMMAND			t_format			irate_set			set_settings_mulaw8bit_mono_12khz
  1.3495 +		COMMAND			t_format			iencoding_set		set_settings_mulaw8bit_mono_12khz
  1.3496 +		COMMAND			t_format			ichannels_set		set_settings_mulaw8bit_mono_12khz
  1.3497 +		COMMAND			t_format			ibuffer_size_set		set_settings_mulaw8bit_mono_12khz
  1.3498 +		COMMAND			devsound			SetRecordFormat		BSP-SOUND-DRIVER-SetRecordFormat
  1.3499 +		COMMAND			devsound			RecordData		record_data_32kb
  1.3500 +		OUTSTANDING
  1.3501 +		COMMAND			devsound			FlushRecordBuffer
  1.3502 +		COMMAND			devsound			GetRecordFormat		BSP-SOUND-DRIVER-GetRecordFormat
  1.3503 +		COMMAND			t_format			irate_get			set_settings_mulaw8bit_mono_12khz_expected
  1.3504 +		COMMAND			t_format			iencoding_get		set_settings_mulaw8bit_mono_12khz_expected
  1.3505 +		COMMAND			t_format			ichannels_get		set_settings_mulaw8bit_mono_12khz_expected
  1.3506 +		COMMAND			t_format			ibuffer_size_get		set_settings_mulaw8bit_mono_12khz_expected
  1.3507 +		//!set back default record configuration
  1.3508 +		COMMAND			devsound			FlushRecordBuffer
  1.3509 +		COMMAND			t_format			irate_set			default_record_format
  1.3510 +		COMMAND			t_format			iencoding_set		default_record_format
  1.3511 +		COMMAND			t_format			ichannels_set		default_record_format
  1.3512 +		COMMAND			t_format			ibuffer_size_set		default_record_format
  1.3513 +		COMMAND			devsound			SetRecordFormat		BSP-SOUND-DRIVER-SetRecordFormat
  1.3514 +		COMMAND			devsound			SetRecordLevel		default_record_level
  1.3515 +		COMMAND			t_format  			~	
  1.3516 +		COMMAND			devsound  			Close
  1.3517 +		COMMAND			devsound  			~
  1.3518 +	END_TEST_BLOCK
  1.3519 +END_TESTCASE			BASE-BSP-SOUND-DRIVER-5022
  1.3520 +
  1.3521 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-5023
  1.3522 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-5023
  1.3523 +//! @SYMAPI			RMdaDevSound::RecordData(TRequestStatus {ref}, TDes8 {ref})
  1.3524 +//! @SYMAuthor			Vassili Tsvetkov
  1.3525 +//! @SYMCreationDate		15/06/2008
  1.3526 +//! @SYMTestCaseDesc		Execute recording audio in mulaw8bit stereo 32khz
  1.3527 +//!				
  1.3528 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
  1.3529 +//!				2. Call SetRecordFormat() with default value from [set_set_settings_mulaw8bit_stereo_32khz]
  1.3530 +//!				3. Call RecordData() with values from [record_data_32kb]
  1.3531 +//!				4. Call FlushRecordBuffer() //needed because otherwise setting format in next step will fail with KErrInUse
  1.3532 +//!				5. Call GetRecordFormat() to verify sound format
  1.3533 +//!				6. Restore initial sound h/w configuration
  1.3534 +//!				7. Call Close()
  1.3535 +//!
  1.3536 +//! @SYMTestStatus		Implemented
  1.3537 +//! @SYMTestPriority		Critical
  1.3538 +//! @SYMTestExpectedResults	Recording completes without any errors, sound format is set and verified
  1.3539 +//! @SYMTestType		CIT
  1.3540 +	START_TEST_BLOCK		100				t_sound			\base\sound\base-bsp-sound-driver.ini
  1.3541 +		CREATE_OBJECT		RMdaDevSound			devsound  
  1.3542 +		COMMAND			devsound			new
  1.3543 +		COMMAND			devsound			Open			UnitEnum
  1.3544 +		//!set default play configuration
  1.3545 +		CREATE_OBJECT		TCurrentSoundFormat		t_format		
  1.3546 +		COMMAND			t_format			new			
  1.3547 +		COMMAND			t_format			irate_set			set_settings_mulaw8bit_stereo_32khz
  1.3548 +		COMMAND			t_format			iencoding_set		set_settings_mulaw8bit_stereo_32khz
  1.3549 +		COMMAND			t_format			ichannels_set		set_settings_mulaw8bit_stereo_32khz
  1.3550 +		COMMAND			t_format			ibuffer_size_set		set_settings_mulaw8bit_stereo_32khz
  1.3551 +		COMMAND			devsound			SetRecordFormat		BSP-SOUND-DRIVER-SetRecordFormat
  1.3552 +		COMMAND			devsound			RecordData		record_data_32kb
  1.3553 +		OUTSTANDING
  1.3554 +		COMMAND			devsound			FlushRecordBuffer
  1.3555 +		COMMAND			devsound			GetRecordFormat		BSP-SOUND-DRIVER-GetRecordFormat
  1.3556 +		COMMAND			t_format			irate_get			set_settings_mulaw8bit_stereo_32khz_expected
  1.3557 +		COMMAND			t_format			iencoding_get		set_settings_mulaw8bit_stereo_32khz_expected
  1.3558 +		COMMAND			t_format			ichannels_get		set_settings_mulaw8bit_stereo_32khz_expected
  1.3559 +		COMMAND			t_format			ibuffer_size_get		set_settings_mulaw8bit_stereo_32khz_expected
  1.3560 +		//!set back default play configuration
  1.3561 +		COMMAND			t_format			irate_set			default_record_format
  1.3562 +		COMMAND			t_format			iencoding_set		default_record_format
  1.3563 +		COMMAND			t_format			ichannels_set		default_record_format
  1.3564 +		COMMAND			t_format			ibuffer_size_set		default_record_format
  1.3565 +		COMMAND			devsound			SetRecordFormat		BSP-SOUND-DRIVER-SetRecordFormat
  1.3566 +		COMMAND			devsound			SetRecordLevel		default_record_level
  1.3567 +		COMMAND			t_format  			~	
  1.3568 +		COMMAND			devsound  			Close
  1.3569 +		COMMAND			devsound  			~
  1.3570 +	END_TEST_BLOCK
  1.3571 +END_TESTCASE			BASE-BSP-SOUND-DRIVER-5023
  1.3572 +
  1.3573 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-5024
  1.3574 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-5024
  1.3575 +//! @SYMAPI			RMdaDevSound::RecordData(TRequestStatus {ref}, TDes8 {ref})
  1.3576 +//! @SYMAuthor			Vassili Tsvetkov
  1.3577 +//! @SYMCreationDate		15/06/2008
  1.3578 +//! @SYMTestCaseDesc		Execute recording audio in pcm16 stereo 24khz
  1.3579 +//!				
  1.3580 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
  1.3581 +//!				2. Call SetRecordFormat() with default value from [set_set_settings_pcm16_stereo_24khz_320kb]
  1.3582 +//!				3. Call RecordData() with values from [record_data_320kb]
  1.3583 +//!				4. Call FlushRecordBuffer() //needed because otherwise setting format in next step will fail with KErrInUse
  1.3584 +//!				5. Call GetRecordFormat() to verify sound format
  1.3585 +//!				6. Restore initial sound h/w configuration
  1.3586 +//!				7. Call Close()
  1.3587 +//!
  1.3588 +//! @SYMTestStatus		Implemented
  1.3589 +//! @SYMTestPriority		Critical
  1.3590 +//! @SYMTestExpectedResults	Recording completes without any errors, sound format is set and verified
  1.3591 +//! @SYMTestType		CIT
  1.3592 +	START_TEST_BLOCK		100				t_sound			\base\sound\base-bsp-sound-driver.ini
  1.3593 +		CREATE_OBJECT		RMdaDevSound			devsound  
  1.3594 +		COMMAND			devsound			new
  1.3595 +		COMMAND			devsound			Open			UnitEnum
  1.3596 +		//!set default play configuration
  1.3597 +		CREATE_OBJECT		TCurrentSoundFormat		t_format		
  1.3598 +		COMMAND			t_format			new			
  1.3599 +		COMMAND			t_format			irate_set			set_settings_pcm16_stereo_24khz_320kb
  1.3600 +		COMMAND			t_format			iencoding_set		set_settings_pcm16_stereo_24khz_320kb
  1.3601 +		COMMAND			t_format			ichannels_set		set_settings_pcm16_stereo_24khz_320kb
  1.3602 +		COMMAND			t_format			ibuffer_size_set		set_settings_pcm16_stereo_24khz_320kb
  1.3603 +		COMMAND			devsound			SetRecordFormat		BSP-SOUND-DRIVER-SetRecordFormat
  1.3604 +		COMMAND			devsound			RecordData		record_data_320kb
  1.3605 +		OUTSTANDING
  1.3606 +		COMMAND			devsound			FlushRecordBuffer
  1.3607 +		COMMAND			devsound			GetRecordFormat		BSP-SOUND-DRIVER-GetRecordFormat
  1.3608 +		COMMAND			t_format			irate_get			set_settings_pcm16_stereo_24khz_320kb_expected
  1.3609 +		COMMAND			t_format			iencoding_get		set_settings_pcm16_stereo_24khz_320kb_expected
  1.3610 +		COMMAND			t_format			ichannels_get		set_settings_pcm16_stereo_24khz_320kb_expected
  1.3611 +		COMMAND			t_format			ibuffer_size_get		set_settings_pcm16_stereo_24khz_320kb_expected
  1.3612 +		//!set back default play configuration
  1.3613 +		COMMAND			t_format			irate_set			default_record_format
  1.3614 +		COMMAND			t_format			iencoding_set		default_record_format
  1.3615 +		COMMAND			t_format			ichannels_set		default_record_format
  1.3616 +		COMMAND			t_format			ibuffer_size_set		default_record_format
  1.3617 +		COMMAND			devsound			SetRecordFormat		BSP-SOUND-DRIVER-SetRecordFormat
  1.3618 +		COMMAND			devsound			SetRecordLevel		default_record_level
  1.3619 +		COMMAND			t_format  			~	
  1.3620 +		COMMAND			devsound  			Close
  1.3621 +		COMMAND			devsound  			~
  1.3622 +	END_TEST_BLOCK
  1.3623 +END_TESTCASE			BASE-BSP-SOUND-DRIVER-5024
  1.3624 +
  1.3625 +/////////////////////////////////////////////
  1.3626 +// Play format changing scenarios
  1.3627 +/////////////////////////////////////////////
  1.3628 +
  1.3629 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-7001
  1.3630 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-7001
  1.3631 +//! @SYMAPI			RMdaDevSound::SetPlayFormat(TCurrentSoundFormatBuf {ref})
  1.3632 +//! @SYMAuthor			Vassili Tsvetkov
  1.3633 +//! @SYMCreationDate		15/06/2008
  1.3634 +//! @SYMTestCaseDesc		Set valid play format without calling FlushPlayBuffer() after PlayData() has been called first.
  1.3635 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
  1.3636 +//!				2. Call GetPlayFormat() and berify from [default_play_format]
  1.3637 +//!				3. Call PlayData() with valid sound data from [default_file]
  1.3638 +//!				4. Call SetPlayFormat() with default value from [default_play_format]
  1.3639 +//!				5. Call Close()
  1.3640 +//! @SYMTestStatus		Implemented
  1.3641 +//! @SYMTestPriority		Critical
  1.3642 +//! @SYMTestExpectedResults	Calling SetPlayFormat() returns KErrNone in step 4.
  1.3643 +//!
  1.3644 +//! @SYMTestType		CIT
  1.3645 +	START_TEST_BLOCK	100				t_sound			\base\sound\base-bsp-sound-driver.ini
  1.3646 +		CREATE_OBJECT	RMdaDevSound			devsound  
  1.3647 +		COMMAND		devsound			new
  1.3648 +		COMMAND		devsound			Open			UnitEnum
  1.3649 +		CREATE_OBJECT	TCurrentSoundFormat		t_format		
  1.3650 +		COMMAND		t_format			new
  1.3651 +		COMMAND		devsound			GetPlayFormat		BSP-SOUND-DRIVER-GetPlayFormat
  1.3652 +		//!verify default play configuration			
  1.3653 +		COMMAND		t_format			irate_get		default_play_format
  1.3654 +		COMMAND		t_format			iencoding_get		default_play_format
  1.3655 +		COMMAND		t_format			ichannels_get		default_play_format
  1.3656 +		COMMAND		t_format			ibuffer_size_get	default_play_format
  1.3657 +		COMMAND		devsound			PlayData		default_file
  1.3658 +		OUTSTANDING
  1.3659 +		COMMAND		devsound			FlushPlayBuffer
  1.3660 +		//!set default play configuration			
  1.3661 +		COMMAND		t_format			irate_set		default_play_format
  1.3662 +		COMMAND		t_format			iencoding_set		default_play_format
  1.3663 +		COMMAND		t_format			ichannels_set		default_play_format
  1.3664 +		COMMAND		t_format			ibuffer_size_set	default_play_format
  1.3665 +		COMMAND		devsound			SetPlayFormat		BSP-SOUND-DRIVER-SetPlayFormat
  1.3666 +		COMMAND		t_format			~
  1.3667 +		COMMAND		devsound  			Close
  1.3668 +		COMMAND		devsound  			~
  1.3669 +	END_TEST_BLOCK
  1.3670 +END_TESTCASE 			BASE-BSP-SOUND-DRIVER-7001
  1.3671 +
  1.3672 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-7002
  1.3673 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-7002
  1.3674 +//! @SYMAPI			RMdaDevSound::SetPlayFormat(TCurrentSoundFormatBuf {ref});
  1.3675 +//!				RMdaDevSound::CancelPlayData()
  1.3676 +//! @SYMAuthor			Vassili Tsvetkov
  1.3677 +//! @SYMCreationDate		15/06/2008
  1.3678 +//! @SYMTestCaseDesc		Set valid play format without calling FlushPlayBuffer() after PlayData() has been called first, 
  1.3679 +//!				but instead call CancelPlayData() while PlayData() is still ongoing. 
  1.3680 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
  1.3681 +//!				2. Call GetPlayFormat() and verify from [default_play_format]
  1.3682 +//!				3. Call PlayData() with valid sound data from [default_file_cancel]
  1.3683 +//!				4. Call CancelPlayData()
  1.3684 +//!				5. Call SetPlayFormat() with default value from [default_play_format]
  1.3685 +//!				6. Call Close()
  1.3686 +//! @SYMTestStatus		Implemented
  1.3687 +//! @SYMTestPriority		Critical
  1.3688 +//! @SYMTestExpectedResults	Calling SetPlayFormat() returns KErrNone in step 5 and PlayData returns KErrCancel in step 3.
  1.3689 +//!
  1.3690 +//! @SYMTestType		CIT
  1.3691 +	START_TEST_BLOCK	100				t_sound			\base\sound\base-bsp-sound-driver.ini
  1.3692 +		CREATE_OBJECT	RMdaDevSound			devsound  
  1.3693 +		COMMAND		devsound			new
  1.3694 +		COMMAND		devsound			Open			UnitEnum
  1.3695 +		CREATE_OBJECT	TCurrentSoundFormat		t_format		
  1.3696 +		COMMAND		t_format			new
  1.3697 +		COMMAND		devsound			GetPlayFormat		BSP-SOUND-DRIVER-GetPlayFormat
  1.3698 +		//!verify default play configuration			
  1.3699 +		COMMAND		t_format			irate_get		default_play_format
  1.3700 +		COMMAND		t_format			iencoding_get		default_play_format
  1.3701 +		COMMAND		t_format			ichannels_get		default_play_format
  1.3702 +		COMMAND		t_format			ibuffer_size_get	default_play_format
  1.3703 +		COMMAND	!AsyncError=-3	devsound			PlayData		default_file_cancel
  1.3704 +		OUTSTANDING
  1.3705 +		//!set default play configuration			
  1.3706 +		COMMAND		t_format			irate_set		default_play_format
  1.3707 +		COMMAND		t_format			iencoding_set		default_play_format
  1.3708 +		COMMAND		t_format			ichannels_set		default_play_format
  1.3709 +		COMMAND		t_format			ibuffer_size_set	default_play_format
  1.3710 +		COMMAND		devsound			SetPlayFormat		BSP-SOUND-DRIVER-SetPlayFormat
  1.3711 +		COMMAND		t_format			~
  1.3712 +		COMMAND		devsound  			Close
  1.3713 +		COMMAND		devsound  			~
  1.3714 +	END_TEST_BLOCK	 
  1.3715 +END_TESTCASE 			BASE-BSP-SOUND-DRIVER-7002
  1.3716 +
  1.3717 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-7003
  1.3718 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-7003
  1.3719 +//! @SYMAPI			RMdaDevSound::SetPlayFormat(TCurrentSoundFormatBuf {ref});
  1.3720 +//!				RMdaDevSound::CancelPlayData()
  1.3721 +//! @SYMAuthor			Vassili Tsvetkov
  1.3722 +//! @SYMCreationDate		15/06/2008
  1.3723 +//! @SYMTestCaseDesc		Set valid play format without calling FlushPlayBuffer() after PlayData() has been called first, 
  1.3724 +//!				but instaed call CancelPlayData() after PlayData()
  1.3725 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
  1.3726 +//!				2. Call GetPlayFormat() and verify from [default_play_format]
  1.3727 +//!				3. Call NotifyPlayError() //needed because otherwise PlayData() will not really stop after Outstanding
  1.3728 +//!				4. Call PlayData() with valid sound data from [default_file]
  1.3729 +//!				5. Call CancelPlayData()
  1.3730 +//!				6. Call SetPlayFormat() with default value from [default_play_format]
  1.3731 +//!				7. Call Close()
  1.3732 +//! @SYMTestStatus		Implemented
  1.3733 +//! @SYMTestPriority		Critical
  1.3734 +//! @SYMTestExpectedResults	Calling SetPlayFormat() returns KErrNone in step 5 and PlayData returns KErrNone in step 3.
  1.3735 +//!
  1.3736 +//! @SYMTestType		CIT
  1.3737 +	START_TEST_BLOCK	100				t_sound			\base\sound\base-bsp-sound-driver.ini
  1.3738 +		CREATE_OBJECT	RMdaDevSound			devsound  
  1.3739 +		COMMAND		devsound			new
  1.3740 +		COMMAND		devsound			Open			UnitEnum
  1.3741 +		CREATE_OBJECT	TCurrentSoundFormat		t_format		
  1.3742 +		COMMAND		t_format			new
  1.3743 +		COMMAND		devsound			GetPlayFormat		BSP-SOUND-DRIVER-GetPlayFormat
  1.3744 +		//!verify default play configuration			
  1.3745 +		COMMAND		t_format			irate_get		default_play_format
  1.3746 +		COMMAND		t_format			iencoding_get		default_play_format
  1.3747 +		COMMAND		t_format			ichannels_get		default_play_format
  1.3748 +		COMMAND		t_format			ibuffer_size_get	default_play_format
  1.3749 +		COMMAND !AsyncError=-10	devsound			NotifyPlayError
  1.3750 +		COMMAND		devsound			PlayData		default_file
  1.3751 +		OUTSTANDING
  1.3752 +		COMMAND		devsound			CancelPlayData
  1.3753 +		//!set default play configuration			
  1.3754 +		COMMAND		t_format			irate_set		default_play_format
  1.3755 +		COMMAND		t_format			iencoding_set		default_play_format
  1.3756 +		COMMAND		t_format			ichannels_set		default_play_format
  1.3757 +		COMMAND		t_format			ibuffer_size_set	default_play_format
  1.3758 +		COMMAND		devsound			SetPlayFormat		BSP-SOUND-DRIVER-SetPlayFormat
  1.3759 +		COMMAND		t_format			~
  1.3760 +		COMMAND		devsound  			Close
  1.3761 +		COMMAND		devsound  			~
  1.3762 +	END_TEST_BLOCK	 	 
  1.3763 +END_TESTCASE 			BASE-BSP-SOUND-DRIVER-7003
  1.3764 +
  1.3765 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-7004
  1.3766 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-7004
  1.3767 +//! @SYMAPI			RMdaDevSound::SetPlayFormat(TCurrentSoundFormatBuf {ref})
  1.3768 +//! @SYMAuthor			Vassili Tsvetkov
  1.3769 +//! @SYMCreationDate		15/06/2008
  1.3770 +//! @SYMTestCaseDesc		Set invalid play format 3 times in a row and then call PlayData()
  1.3771 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
  1.3772 +//!				2. Call SetPlayFormat() with default value from [invalid_play_format]
  1.3773 +//!				3. Call SetPlayFormat() with default value from [invalid_play_format]
  1.3774 +//!				4. Call SetPlayFormat() with default value from [invalid_play_format]
  1.3775 +//!				5. Call PlayData() with valid sound data from [default_file]
  1.3776 +//!				6. Call SetPlayFormat() with default value from [default_play_format]
  1.3777 +//!				7. Call Close()
  1.3778 +//! @SYMTestStatus		Implemented
  1.3779 +//! @SYMTestPriority		Critical
  1.3780 +//! @SYMTestExpectedResults	SetPlayFormat returns KErrNotSupported every time when executing it 3 times in a row
  1.3781 +//!
  1.3782 +//! @SYMTestType		CIT
  1.3783 +	START_TEST_BLOCK	100				t_sound			\base\sound\base-bsp-sound-driver.ini
  1.3784 +		CREATE_OBJECT	RMdaDevSound			devsound  
  1.3785 +		COMMAND		devsound			new
  1.3786 +		COMMAND		devsound			Open			UnitEnum
  1.3787 +		CREATE_OBJECT	TCurrentSoundFormat		t_format		
  1.3788 +		COMMAND		t_format			new
  1.3789 +		COMMAND		t_format			irate_set		unsupported_play_format
  1.3790 +		COMMAND		t_format			iencoding_set		unsupported_play_format
  1.3791 +		COMMAND		t_format			ichannels_set		unsupported_play_format
  1.3792 +		COMMAND		t_format			ibuffer_size_set	unsupported_play_format
  1.3793 +		COMMAND	!Error=-5	devsound			SetPlayFormat		BSP-SOUND-DRIVER-SetPlayFormat
  1.3794 +		COMMAND		t_format			irate_set		unsupported_play_format
  1.3795 +		COMMAND		t_format			iencoding_set		unsupported_play_format
  1.3796 +		COMMAND		t_format			ichannels_set		unsupported_play_format
  1.3797 +		COMMAND		t_format			ibuffer_size_set	unsupported_play_format
  1.3798 +		COMMAND	!Error=-5	devsound			SetPlayFormat		BSP-SOUND-DRIVER-SetPlayFormat
  1.3799 +		COMMAND		t_format			irate_set		unsupported_play_format
  1.3800 +		COMMAND		t_format			iencoding_set		unsupported_play_format
  1.3801 +		COMMAND		t_format			ichannels_set		unsupported_play_format
  1.3802 +		COMMAND		t_format			ibuffer_size_set	unsupported_play_format
  1.3803 +		COMMAND	!Error=-5	devsound			SetPlayFormat		BSP-SOUND-DRIVER-SetPlayFormat
  1.3804 +		COMMAND		devsound			PlayData		default_file
  1.3805 +		OUTSTANDING
  1.3806 +		//!set default play configuration			
  1.3807 +		COMMAND		devsound			FlushPlayBuffer
  1.3808 +		COMMAND		t_format			irate_set		default_play_format
  1.3809 +		COMMAND		t_format			iencoding_set		default_play_format
  1.3810 +		COMMAND		t_format			ichannels_set		default_play_format
  1.3811 +		COMMAND		t_format			ibuffer_size_set	default_play_format
  1.3812 +		COMMAND		devsound			SetPlayFormat		BSP-SOUND-DRIVER-SetPlayFormat
  1.3813 +		COMMAND		t_format			~
  1.3814 +		COMMAND		devsound  			Close
  1.3815 +		COMMAND		devsound  			~
  1.3816 +	END_TEST_BLOCK	 	 
  1.3817 +END_TESTCASE 			BASE-BSP-SOUND-DRIVER-7004
  1.3818 +
  1.3819 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-7005
  1.3820 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-7005
  1.3821 +//! @SYMAPI			RMdaDevSound::PlayData(TRequestStatus {ref}, const TDesC8 {ref});
  1.3822 +//!				RMdaDevSound::SetPlayFormat(TCurrentSoundFormatBuf {ref})
  1.3823 +//! @SYMAuthor			Vassili Tsvetkov
  1.3824 +//! @SYMCreationDate		15/06/2008
  1.3825 +//! @SYMTestCaseDesc		Call SetPlayFormat() with valid play format when audio is still playing
  1.3826 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
  1.3827 +//!				2. Call GetPlayFormat() and verify from [default_play_format]
  1.3828 +//!				3. Call NotifyPlayError() //needed because otherwise PlayData() will not really stop after Outstanding
  1.3829 +//!				4. Call PlayData() with valid sound data from [default_file]
  1.3830 +//!				5. Call SetPlayFormat() with default value from [default_play_format] while audio is still playing
  1.3831 +//!				6. Call Close()
  1.3832 +//! @SYMTestStatus		Implemented
  1.3833 +//! @SYMTestPriority		Critical
  1.3834 +//! @SYMTestExpectedResults	SetPlayFormat in step 4 returns KErrInUse 
  1.3835 +//!
  1.3836 +//! @SYMTestType		CIT
  1.3837 +	START_TEST_BLOCK	100				t_sound			\base\sound\base-bsp-sound-driver.ini
  1.3838 +		CREATE_OBJECT	RMdaDevSound			devsound  
  1.3839 +		COMMAND		devsound			new
  1.3840 +		COMMAND		devsound			Open			UnitEnum
  1.3841 +		CREATE_OBJECT	TCurrentSoundFormat		t_format		
  1.3842 +		COMMAND		t_format			new
  1.3843 +		COMMAND		devsound			GetPlayFormat		BSP-SOUND-DRIVER-GetPlayFormat
  1.3844 +		//!verify default play configuration			
  1.3845 +		COMMAND		t_format			irate_get		default_play_format
  1.3846 +		COMMAND		t_format			iencoding_get		default_play_format
  1.3847 +		COMMAND		t_format			ichannels_get		default_play_format
  1.3848 +		COMMAND		t_format			ibuffer_size_get	default_play_format
  1.3849 +		COMMAND !AsyncError=-10	devsound			NotifyPlayError
  1.3850 +		COMMAND		devsound			PlayData		default_file
  1.3851 +		//!set default play configuration			
  1.3852 +		COMMAND		t_format			irate_set		default_play_format
  1.3853 +		COMMAND		t_format			iencoding_set		default_play_format
  1.3854 +		COMMAND		t_format			ichannels_set		default_play_format
  1.3855 +		COMMAND		t_format			ibuffer_size_set	default_play_format
  1.3856 +		COMMAND	!Error=-14	devsound			SetPlayFormat		BSP-SOUND-DRIVER-SetPlayFormat
  1.3857 +		OUTSTANDING
  1.3858 +		COMMAND		t_format			~
  1.3859 +		COMMAND		devsound  			Close
  1.3860 +		COMMAND		devsound  			~
  1.3861 +	END_TEST_BLOCK	 
  1.3862 +END_TESTCASE 			BASE-BSP-SOUND-DRIVER-7005
  1.3863 +
  1.3864 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-7006
  1.3865 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-7006
  1.3866 +//! @SYMAPI			RMdaDevSound::SetPlayFormat(TCurrentSoundFormatBuf {ref})
  1.3867 +//! @SYMAuthor			Vassili Tsvetkov
  1.3868 +//! @SYMCreationDate		15/06/2008
  1.3869 +//! @SYMTestCaseDesc		Call SetPlayFormat() with valid values but with invalid iEncoding (out of accepted range)
  1.3870 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
  1.3871 +//!				2. Call SetPlayFormat() with default value from [default_play_format_invalid_encoding]
  1.3872 +//!				3. Call Close()
  1.3873 +//! @SYMTestStatus		Implemented
  1.3874 +//! @SYMTestPriority		Critical
  1.3875 +//! @SYMTestExpectedResults	SetPlayFormat in step 4 returns KErrNotSupproted
  1.3876 +//!
  1.3877 +//! @SYMTestType		CIT
  1.3878 +	START_TEST_BLOCK	100				t_sound			\base\sound\base-bsp-sound-driver.ini
  1.3879 +		CREATE_OBJECT	RMdaDevSound			devsound  
  1.3880 +		COMMAND		devsound			new
  1.3881 +		COMMAND		devsound			Open			UnitEnum
  1.3882 +		CREATE_OBJECT	TCurrentSoundFormat		t_format		
  1.3883 +		COMMAND		t_format			new			
  1.3884 +		COMMAND		t_format			irate_set		default_play_format
  1.3885 +		COMMAND		t_format			iencoding_set		default_play_format_invalid_encoding
  1.3886 +		COMMAND		t_format			ichannels_set		default_play_format
  1.3887 +		COMMAND		t_format			ibuffer_size_set	default_play_format
  1.3888 +		COMMAND	!Error=-5	devsound			SetPlayFormat		BSP-SOUND-DRIVER-SetPlayFormat
  1.3889 +		COMMAND		t_format			~
  1.3890 +		COMMAND		devsound  			Close
  1.3891 +		COMMAND		devsound  			~
  1.3892 +	END_TEST_BLOCK	 
  1.3893 +END_TESTCASE 			BASE-BSP-SOUND-DRIVER-7006
  1.3894 +
  1.3895 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-7007
  1.3896 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-7007
  1.3897 +//! @SYMAPI			RMdaDevSound::SetPlayFormat(TCurrentSoundFormatBuf {ref})
  1.3898 +//! @SYMAuthor			Vassili Tsvetkov
  1.3899 +//! @SYMCreationDate		15/06/2008
  1.3900 +//! @SYMTestCaseDesc		Call SetPlayFormat() with valid values but with invalid iRate (out of accepted range)
  1.3901 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
  1.3902 +//!				2. Call SetPlayFormat() with default value from [default_play_format_invalid_rate]
  1.3903 +//!				3. Call Close()
  1.3904 +//! @SYMTestStatus		Implemented
  1.3905 +//! @SYMTestPriority		Critical
  1.3906 +//! @SYMTestExpectedResults	SetPlayFormat in step 4 returns KErrNotSupproted
  1.3907 +//!
  1.3908 +//! @SYMTestType		CIT
  1.3909 +	START_TEST_BLOCK	100				t_sound			\base\sound\base-bsp-sound-driver.ini
  1.3910 +		CREATE_OBJECT	RMdaDevSound			devsound  
  1.3911 +		COMMAND		devsound			new
  1.3912 +		COMMAND		devsound			Open			UnitEnum
  1.3913 +		CREATE_OBJECT	TCurrentSoundFormat		t_format		
  1.3914 +		COMMAND		t_format			new			
  1.3915 +		COMMAND		t_format			irate_set		default_play_format_invalid_rate
  1.3916 +		COMMAND		t_format			iencoding_set		default_play_format
  1.3917 +		COMMAND		t_format			ichannels_set		default_play_format
  1.3918 +		COMMAND		t_format			ibuffer_size_set	default_play_format
  1.3919 +		COMMAND	!Error=-5	devsound			SetPlayFormat		BSP-SOUND-DRIVER-SetPlayFormat
  1.3920 +		COMMAND		t_format			~
  1.3921 +		COMMAND		devsound  			Close
  1.3922 +		COMMAND		devsound  			~
  1.3923 +	END_TEST_BLOCK	 	 
  1.3924 +END_TESTCASE 			BASE-BSP-SOUND-DRIVER-7007
  1.3925 +
  1.3926 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-7008
  1.3927 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-7008
  1.3928 +//! @SYMAPI			RMdaDevSound::SetPlayFormat(TCurrentSoundFormatBuf {ref})
  1.3929 +//! @SYMAuthor			Vassili Tsvetkov
  1.3930 +//! @SYMCreationDate		15/06/2008
  1.3931 +//! @SYMTestCaseDesc		Call SetPlayFormat() with valid values but with invalid iBufferSize (out of accepted range)
  1.3932 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
  1.3933 +//!				2. Call SetPlayFormat() with default value from [default_play_format_invalid_buffer_size]
  1.3934 +//!				3. Call Close()
  1.3935 +//! @SYMTestStatus		Implemented
  1.3936 +//! @SYMTestPriority		Critical
  1.3937 +//! @SYMTestExpectedResults	SetPlayFormat in step 4 returns KErrNotSupproted
  1.3938 +//!
  1.3939 +//! @SYMTestType		CIT
  1.3940 +	START_TEST_BLOCK	100				t_sound			\base\sound\base-bsp-sound-driver.ini
  1.3941 +		CREATE_OBJECT	RMdaDevSound			devsound  
  1.3942 +		COMMAND		devsound			new
  1.3943 +		COMMAND		devsound			Open			UnitEnum
  1.3944 +		CREATE_OBJECT	TCurrentSoundFormat		t_format		
  1.3945 +		COMMAND		t_format			new			
  1.3946 +		COMMAND		t_format			irate_set		default_play_format
  1.3947 +		COMMAND		t_format			iencoding_set		default_play_format
  1.3948 +		COMMAND		t_format			ichannels_set		default_play_format
  1.3949 +		COMMAND		t_format			ibuffer_size_set	default_play_format_invalid_buffer_size
  1.3950 +		COMMAND	!Error=-5	devsound			SetPlayFormat		BSP-SOUND-DRIVER-SetPlayFormat
  1.3951 +		COMMAND		t_format			~
  1.3952 +		COMMAND		devsound  			Close
  1.3953 +		COMMAND		devsound  			~
  1.3954 +	END_TEST_BLOCK	 	 
  1.3955 +END_TESTCASE 			BASE-BSP-SOUND-DRIVER-7008
  1.3956 +
  1.3957 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-7009
  1.3958 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-7009
  1.3959 +//! @SYMAPI			RMdaDevSound::SetPlayFormat(TCurrentSoundFormatBuf {ref})
  1.3960 +//! @SYMAuthor			Vassili Tsvetkov
  1.3961 +//! @SYMCreationDate		15/06/2008
  1.3962 +//! @SYMTestCaseDesc		Call SetPlayFormat() with valid values but with invalid iChannels (out of accepted range)
  1.3963 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
  1.3964 +//!				2. Call SetPlayFormat() with default value from [default_play_format_invalid_channels]
  1.3965 +//!				3. Call Close()
  1.3966 +//! @SYMTestStatus		Implemented
  1.3967 +//! @SYMTestPriority		Critical
  1.3968 +//! @SYMTestExpectedResults	SetPlayFormat in step 4 returns KErrNotSupproted
  1.3969 +//!
  1.3970 +//! @SYMTestType		CIT
  1.3971 +	START_TEST_BLOCK	100				t_sound			\base\sound\base-bsp-sound-driver.ini
  1.3972 +		CREATE_OBJECT	RMdaDevSound			devsound  
  1.3973 +		COMMAND		devsound			new
  1.3974 +		COMMAND		devsound			Open			UnitEnum
  1.3975 +		CREATE_OBJECT	TCurrentSoundFormat		t_format		
  1.3976 +		COMMAND		t_format			new			
  1.3977 +		COMMAND		t_format			irate_set		default_play_format
  1.3978 +		COMMAND		t_format			iencoding_set		default_play_format
  1.3979 +		COMMAND		t_format			ichannels_set		default_play_format_invalid_channels
  1.3980 +		COMMAND		t_format			ibuffer_size_set	default_play_format
  1.3981 +		COMMAND	!Error=-5	devsound			SetPlayFormat		BSP-SOUND-DRIVER-SetPlayFormat
  1.3982 +		COMMAND		t_format			~
  1.3983 +		COMMAND		devsound  			Close
  1.3984 +		COMMAND		devsound  			~
  1.3985 +	END_TEST_BLOCK	 
  1.3986 +END_TESTCASE 			BASE-BSP-SOUND-DRIVER-7009
  1.3987 +
  1.3988 +/////////////////////////////////////////////
  1.3989 +// Record format changing scenarios
  1.3990 +/////////////////////////////////////////////
  1.3991 +
  1.3992 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-7011
  1.3993 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-7011
  1.3994 +//! @SYMAPI			RMdaDevSound::SetRecordFormat(TCurrentSoundFormatBuf {ref})
  1.3995 +//! @SYMAuthor			Vassili Tsvetkov
  1.3996 +//! @SYMCreationDate		15/06/2008
  1.3997 +//! @SYMTestCaseDesc		Set valid record format without calling FlushRecordBuffer() after RecordData() has been called first.
  1.3998 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
  1.3999 +//!				2. Call GetRecordFormat() and verify from [default_record_format]
  1.4000 +//!				3. Call RecordData() with [record_data_32kb]
  1.4001 +//!				4. Call FlushRecordBuffer() //needed because otherwise setting format in next step will fail with KErrInUse
  1.4002 +//!				5. Call SetRecordFormat() with default value from [default_record_format]
  1.4003 +//!				6. Call Close()
  1.4004 +//! @SYMTestStatus		Implemented
  1.4005 +//! @SYMTestPriority		Critical
  1.4006 +//! @SYMTestExpectedResults	Calling SetRecordFormat() returns KErrNone in step 4.
  1.4007 +//!
  1.4008 +//! @SYMTestType		CIT
  1.4009 +	START_TEST_BLOCK	100				t_sound			\base\sound\base-bsp-sound-driver.ini
  1.4010 +		CREATE_OBJECT	RMdaDevSound			devsound  
  1.4011 +		COMMAND		devsound			new
  1.4012 +		COMMAND		devsound			Open			UnitEnum
  1.4013 +		CREATE_OBJECT	TCurrentSoundFormat		t_format		
  1.4014 +		COMMAND		t_format			new
  1.4015 +		COMMAND		devsound			GetRecordFormat		BSP-SOUND-DRIVER-GetRecordFormat
  1.4016 +		//!verify default record configuration			
  1.4017 +		COMMAND		t_format			irate_get		default_record_format
  1.4018 +		COMMAND		t_format			iencoding_get		default_record_format
  1.4019 +		COMMAND		t_format			ichannels_get		default_record_format
  1.4020 +		COMMAND		t_format			ibuffer_size_get	default_record_format
  1.4021 +		COMMAND		devsound			RecordData		record_data_32kb
  1.4022 +		OUTSTANDING
  1.4023 +		//!set default record configuration			
  1.4024 +		COMMAND			devsound			FlushRecordBuffer
  1.4025 +		COMMAND		t_format			irate_set		default_record_format
  1.4026 +		COMMAND		t_format			iencoding_set		default_record_format
  1.4027 +		COMMAND		t_format			ichannels_set		default_record_format
  1.4028 +		COMMAND		t_format			ibuffer_size_set	default_record_format
  1.4029 +		COMMAND		devsound			SetRecordFormat		BSP-SOUND-DRIVER-SetRecordFormat
  1.4030 +		COMMAND		t_format			~
  1.4031 +		COMMAND		devsound  			Close
  1.4032 +		COMMAND		devsound  			~
  1.4033 +	END_TEST_BLOCK	 
  1.4034 +END_TESTCASE 			BASE-BSP-SOUND-DRIVER-7011
  1.4035 +
  1.4036 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-7012
  1.4037 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-7012
  1.4038 +//! @SYMAPI			RMdaDevSound::SetRecordFormat(TCurrentSoundFormatBuf {ref});
  1.4039 +//!				RMdaDevSound::CancelRecordData()
  1.4040 +//! @SYMAuthor			Vassili Tsvetkov
  1.4041 +//! @SYMCreationDate		15/06/2008
  1.4042 +//! @SYMTestCaseDesc		Set valid record format without calling FlushRecordBuffer() after RecordData() has been called first,
  1.4043 +//!				but instaed call CancelRecordData() while RecordData() is still ongoing
  1.4044 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
  1.4045 +//!				2. Call GetRecordFormat() and verify from [default_record_format]
  1.4046 +//!				3. Call RecordData() with [record_data_32kb_cancel]
  1.4047 +//!				5. Call CancelRecordData()
  1.4048 +//!				6. Call SetRecordFormat() with default value from [default_record_format]
  1.4049 +//!				7. Call Close()
  1.4050 +//! @SYMTestStatus		Implemented
  1.4051 +//! @SYMTestPriority		Critical
  1.4052 +//! @SYMTestExpectedResults	Calling SetRecordFormat() returns KErrNone in step 5 and RecordData returns KErrCancel in step 3.
  1.4053 +//!
  1.4054 +//! @SYMTestType		CIT
  1.4055 +	START_TEST_BLOCK	100				t_sound			\base\sound\base-bsp-sound-driver.ini
  1.4056 +		CREATE_OBJECT	RMdaDevSound			devsound  
  1.4057 +		COMMAND		devsound			new
  1.4058 +		COMMAND		devsound			Open			UnitEnum
  1.4059 +		CREATE_OBJECT	TCurrentSoundFormat		t_format		
  1.4060 +		COMMAND		t_format			new
  1.4061 +		COMMAND		devsound			GetRecordFormat		BSP-SOUND-DRIVER-GetRecordFormat
  1.4062 +		//!verify default record configuration			
  1.4063 +		COMMAND		t_format			irate_get		default_record_format
  1.4064 +		COMMAND		t_format			iencoding_get		default_record_format
  1.4065 +		COMMAND		t_format			ichannels_get		default_record_format
  1.4066 +		COMMAND		t_format			ibuffer_size_get	default_record_format
  1.4067 +		COMMAND	!AsyncError=-3	devsound			RecordData		record_data_32kb_cancel
  1.4068 +		OUTSTANDING
  1.4069 +		//!set default record configuration			
  1.4070 +		COMMAND		t_format			irate_set		default_record_format
  1.4071 +		COMMAND		t_format			iencoding_set		default_record_format
  1.4072 +		COMMAND		t_format			ichannels_set		default_record_format
  1.4073 +		COMMAND		t_format			ibuffer_size_set	default_record_format
  1.4074 +		COMMAND		devsound			SetRecordFormat		BSP-SOUND-DRIVER-SetRecordFormat
  1.4075 +		COMMAND		t_format			~
  1.4076 +		COMMAND		devsound  			Close
  1.4077 +		COMMAND		devsound  			~
  1.4078 +	END_TEST_BLOCK	 
  1.4079 +END_TESTCASE 			BASE-BSP-SOUND-DRIVER-7012
  1.4080 +
  1.4081 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-7013
  1.4082 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-7013
  1.4083 +//! @SYMAPI			RMdaDevSound::SetRecordFormat(TCurrentSoundFormatBuf {ref});
  1.4084 +//!				RMdaDevSound::CancelRecordData()
  1.4085 +//! @SYMAuthor			Vassili Tsvetkov
  1.4086 +//! @SYMCreationDate		15/06/2008
  1.4087 +//! @SYMTestCaseDesc		Set valid record format without calling FlushRecordBuffer() after RecordData() has been called first,
  1.4088 +//!				but instaed call CancelRecordData() after RecordData()
  1.4089 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
  1.4090 +//!				2. Call GetRecordFormat() and verify from [default_record_format]
  1.4091 +//!				3. Call NotifyRecordError() //needed because otherwise RecordData() will not really stop after Outstanding
  1.4092 +//!				4. Call RecordData()
  1.4093 +//!				5. Call CancelRecordData()
  1.4094 +//!				6. Call SetRecordFormat() with default value from [default_record_format]
  1.4095 +//!				7. Call Close()
  1.4096 +//! @SYMTestStatus		Implemented
  1.4097 +//! @SYMTestPriority		Critical
  1.4098 +//! @SYMTestExpectedResults	Calling SetRecordFormat() returns KErrNone in step 5 and RecordData returns KErrNone in step 3.
  1.4099 +//!
  1.4100 +//! @SYMTestType		CIT
  1.4101 +	START_TEST_BLOCK	100				t_sound			\base\sound\base-bsp-sound-driver.ini
  1.4102 +		CREATE_OBJECT	RMdaDevSound			devsound  
  1.4103 +		COMMAND		devsound			new
  1.4104 +		COMMAND		devsound			Open			UnitEnum
  1.4105 +		CREATE_OBJECT	TCurrentSoundFormat		t_format		
  1.4106 +		COMMAND		t_format			new
  1.4107 +		COMMAND		devsound			GetRecordFormat		BSP-SOUND-DRIVER-GetRecordFormat
  1.4108 +		//!verify default record configuration			
  1.4109 +		COMMAND		t_format			irate_get		default_record_format
  1.4110 +		COMMAND		t_format			iencoding_get		default_record_format
  1.4111 +		COMMAND		t_format			ichannels_get		default_record_format
  1.4112 +		COMMAND		t_format			ibuffer_size_get	default_record_format
  1.4113 +		COMMAND !AsyncError=-9	devsound			NotifyRecordError
  1.4114 +		COMMAND		devsound			RecordData		record_data_32kb
  1.4115 +		OUTSTANDING
  1.4116 +		COMMAND		devsound			CancelRecordData
  1.4117 +		//!set default record configuration			
  1.4118 +		COMMAND		t_format			irate_set		default_record_format
  1.4119 +		COMMAND		t_format			iencoding_set		default_record_format
  1.4120 +		COMMAND		t_format			ichannels_set		default_record_format
  1.4121 +		COMMAND		t_format			ibuffer_size_set	default_record_format
  1.4122 +		COMMAND		devsound			SetRecordFormat		BSP-SOUND-DRIVER-SetRecordFormat
  1.4123 +		COMMAND		t_format			~
  1.4124 +		COMMAND		devsound  			Close
  1.4125 +		COMMAND		devsound  			~
  1.4126 +	END_TEST_BLOCK	 
  1.4127 +END_TESTCASE 			BASE-BSP-SOUND-DRIVER-7013
  1.4128 +
  1.4129 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-7014
  1.4130 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-7014
  1.4131 +//! @SYMAPI			RMdaDevSound::SetPlayFormat(TCurrentSoundFormatBuf {ref})
  1.4132 +//! @SYMAuthor			Vassili Tsvetkov
  1.4133 +//! @SYMCreationDate		15/06/2008
  1.4134 +//! @SYMTestCaseDesc		Set invalid record format 3 times in a row and then call RecordData()
  1.4135 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
  1.4136 +//!				2. Call SetRecordFormat() with default value from [invalid_record_format]
  1.4137 +//!				3. Call SetRecordFormat() with default value from [invalid_record_format]
  1.4138 +//!				4. Call SetRecordFormat() with default value from [invalid_record_format]
  1.4139 +//!				5. Call RecordData()
  1.4140 +//!				6. Call FlushRecordBuffer() //needed because otherwise setting format in next step will fail with KErrInUse
  1.4141 +//!				7. Call SetRecordFormat() with default value from [default_record_format]
  1.4142 +//!				8. Call Close()
  1.4143 +//! @SYMTestStatus		Implemented
  1.4144 +//! @SYMTestPriority		Critical
  1.4145 +//! @SYMTestExpectedResults	SetRecordFormat returns KErrNotSupported every time when executing it 3 times in a row
  1.4146 +//!
  1.4147 +//! @SYMTestType		CIT
  1.4148 +	START_TEST_BLOCK	100				t_sound			\base\sound\base-bsp-sound-driver.ini
  1.4149 +		CREATE_OBJECT	RMdaDevSound			devsound  
  1.4150 +		COMMAND		devsound			new
  1.4151 +		COMMAND		devsound			Open			UnitEnum
  1.4152 +		CREATE_OBJECT	TCurrentSoundFormat		t_format		
  1.4153 +		COMMAND		t_format			new
  1.4154 +		//!set unsupported record configuration			
  1.4155 +		COMMAND		t_format			irate_set		unsupported_record_format
  1.4156 +		COMMAND		t_format			iencoding_set		unsupported_record_format
  1.4157 +		COMMAND		t_format			ichannels_set		unsupported_record_format
  1.4158 +		COMMAND		t_format			ibuffer_size_set	unsupported_record_format
  1.4159 +		COMMAND	!Error=-5	devsound			SetRecordFormat		BSP-SOUND-DRIVER-SetRecordFormat
  1.4160 +		//!set unsupported record configuration			
  1.4161 +		COMMAND		t_format			irate_set		unsupported_record_format
  1.4162 +		COMMAND		t_format			iencoding_set		unsupported_record_format
  1.4163 +		COMMAND		t_format			ichannels_set		unsupported_record_format
  1.4164 +		COMMAND		t_format			ibuffer_size_set	unsupported_record_format
  1.4165 +		COMMAND	!Error=-5	devsound			SetRecordFormat		BSP-SOUND-DRIVER-SetRecordFormat
  1.4166 +		//!set unsupported record configuration			
  1.4167 +		COMMAND		t_format			irate_set		unsupported_record_format
  1.4168 +		COMMAND		t_format			iencoding_set		unsupported_record_format
  1.4169 +		COMMAND		t_format			ichannels_set		unsupported_record_format
  1.4170 +		COMMAND		t_format			ibuffer_size_set	unsupported_record_format
  1.4171 +		COMMAND	!Error=-5	devsound			SetRecordFormat		BSP-SOUND-DRIVER-SetRecordFormat
  1.4172 +		COMMAND		devsound			RecordData		record_data_32kb
  1.4173 +		OUTSTANDING
  1.4174 +		COMMAND			devsound			FlushRecordBuffer
  1.4175 +		//!set default record configuration			
  1.4176 +		COMMAND		t_format			irate_set		default_record_format
  1.4177 +		COMMAND		t_format			iencoding_set		default_record_format
  1.4178 +		COMMAND		t_format			ichannels_set		default_record_format
  1.4179 +		COMMAND		t_format			ibuffer_size_set	default_record_format
  1.4180 +		COMMAND		devsound			SetRecordFormat		BSP-SOUND-DRIVER-SetRecordFormat
  1.4181 +		COMMAND		t_format			~
  1.4182 +		COMMAND		devsound  			Close
  1.4183 +		COMMAND		devsound  			~
  1.4184 +	END_TEST_BLOCK	 
  1.4185 +END_TESTCASE 			BASE-BSP-SOUND-DRIVER-7014
  1.4186 +
  1.4187 +
  1.4188 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-7015
  1.4189 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-7015
  1.4190 +//! @SYMAPI			RMdaDevSound::RecordData(TRequestStatus {ref}, TDes8 {ref});
  1.4191 +//!				RMdaDevSound::SetRecordFormat(TCurrentSoundFormatBuf {ref})
  1.4192 +//! @SYMAuthor			Vassili Tsvetkov
  1.4193 +//! @SYMCreationDate		15/06/2008
  1.4194 +//! @SYMTestCaseDesc		Call SetRecordFormat() with valid record format when audio is still being recorded
  1.4195 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
  1.4196 +//!				2. Call GetRecordFormat() and verify from [default_record_format]
  1.4197 +//!				3. Call RecordData() to record 32kb
  1.4198 +//!				4. Call SetRecordFormat() with default value from [default_record_format] while audio is still being recorded
  1.4199 +//!				5. Call Close()
  1.4200 +//! @SYMTestStatus		Implemented
  1.4201 +//! @SYMTestPriority		Critical
  1.4202 +//! @SYMTestExpectedResults	SetPlayFormat in step 4 returns KErrInUse 
  1.4203 +//!
  1.4204 +//! @SYMTestType		CIT
  1.4205 +	START_TEST_BLOCK	100				t_sound			\base\sound\base-bsp-sound-driver.ini
  1.4206 +		CREATE_OBJECT	RMdaDevSound			devsound  
  1.4207 +		COMMAND		devsound			new
  1.4208 +		COMMAND		devsound			Open			UnitEnum
  1.4209 +		CREATE_OBJECT	TCurrentSoundFormat		t_format		
  1.4210 +		COMMAND		t_format			new
  1.4211 +		COMMAND		devsound			GetRecordFormat		BSP-SOUND-DRIVER-GetRecordFormat
  1.4212 +		//!verify default record configuration			
  1.4213 +		COMMAND		t_format			irate_get		default_record_format
  1.4214 +		COMMAND		t_format			iencoding_get		default_record_format
  1.4215 +		COMMAND		t_format			ichannels_get		default_record_format
  1.4216 +		COMMAND		t_format			ibuffer_size_get	default_record_format		
  1.4217 +		COMMAND		devsound			RecordData		record_data_32kb
  1.4218 +		//!set default record configuration			
  1.4219 +		COMMAND		t_format			irate_set		default_record_format
  1.4220 +		COMMAND		t_format			iencoding_set		default_record_format
  1.4221 +		COMMAND		t_format			ichannels_set		default_record_format
  1.4222 +		COMMAND		t_format			ibuffer_size_set	default_record_format
  1.4223 +		COMMAND	!Error=-14	devsound			SetRecordFormat		BSP-SOUND-DRIVER-SetRecordFormat
  1.4224 +		OUTSTANDING
  1.4225 +		COMMAND		t_format			~
  1.4226 +		COMMAND		devsound  			Close
  1.4227 +		COMMAND		devsound  			~
  1.4228 +	END_TEST_BLOCK	 
  1.4229 +END_TESTCASE 			BASE-BSP-SOUND-DRIVER-7015
  1.4230 +
  1.4231 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-7016
  1.4232 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-7016
  1.4233 +//! @SYMAPI			RMdaDevSound::SetRecordFormat(TCurrentSoundFormatBuf {ref})
  1.4234 +//! @SYMAuthor			Vassili Tsvetkov
  1.4235 +//! @SYMCreationDate		15/06/2008
  1.4236 +//! @SYMTestCaseDesc		Call SetRecordFormat() with valid values but with invalid iEncoding (out of accepted range)
  1.4237 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
  1.4238 +//!				2. Call SetRecordFormat() with default value from [default_record_format_invalid_encoding]
  1.4239 +//!				3. Call Close()
  1.4240 +//! @SYMTestStatus		Implemented
  1.4241 +//! @SYMTestPriority		Critical
  1.4242 +//! @SYMTestExpectedResults	SetRecordFormat in step 4 returns KErrNotSupproted
  1.4243 +//!
  1.4244 +//! @SYMTestType		CIT
  1.4245 +	START_TEST_BLOCK	100				t_sound			\base\sound\base-bsp-sound-driver.ini
  1.4246 +		CREATE_OBJECT	RMdaDevSound			devsound  
  1.4247 +		COMMAND		devsound			new
  1.4248 +		COMMAND		devsound			Open			UnitEnum
  1.4249 +		CREATE_OBJECT	TCurrentSoundFormat		t_format		
  1.4250 +		COMMAND		t_format			new			
  1.4251 +		COMMAND		t_format			irate_set		default_record_format
  1.4252 +		COMMAND		t_format			iencoding_set		default_record_format_invalid_encoding
  1.4253 +		COMMAND		t_format			ichannels_set		default_record_format
  1.4254 +		COMMAND		t_format			ibuffer_size_set	default_record_format
  1.4255 +		COMMAND	!Error=-5	devsound			SetRecordFormat		BSP-SOUND-DRIVER-SetRecordFormat
  1.4256 +		COMMAND		t_format			~
  1.4257 +		COMMAND		devsound  			Close
  1.4258 +		COMMAND		devsound  			~
  1.4259 +	END_TEST_BLOCK	 
  1.4260 +END_TESTCASE 			BASE-BSP-SOUND-DRIVER-7016
  1.4261 +
  1.4262 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-7017
  1.4263 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-7017
  1.4264 +//! @SYMAPI			RMdaDevSound::SetRecordFormat(TCurrentSoundFormatBuf {ref})
  1.4265 +//! @SYMAuthor			Vassili Tsvetkov
  1.4266 +//! @SYMCreationDate		15/06/2008
  1.4267 +//! @SYMTestCaseDesc		Call SetRecordFormat() with valid values but with invalid iRate (out of accepted range)
  1.4268 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
  1.4269 +//!				2. Call SetRecordFormat() with default value from [default_record_format_invalid_rate]
  1.4270 +//!				3. Call Close()
  1.4271 +//! @SYMTestStatus		Implemented
  1.4272 +//! @SYMTestPriority		Critical
  1.4273 +//! @SYMTestExpectedResults	SetRecordFormat in step 4 returns KErrNotSupproted
  1.4274 +//!
  1.4275 +//! @SYMTestType		CIT
  1.4276 +	START_TEST_BLOCK	100				t_sound			\base\sound\base-bsp-sound-driver.ini
  1.4277 +		CREATE_OBJECT	RMdaDevSound			devsound  
  1.4278 +		COMMAND		devsound			new
  1.4279 +		COMMAND		devsound			Open			UnitEnum
  1.4280 +		CREATE_OBJECT	TCurrentSoundFormat		t_format		
  1.4281 +		COMMAND		t_format			new			
  1.4282 +		COMMAND		t_format			irate_set		default_record_format_invalid_rate
  1.4283 +		COMMAND		t_format			iencoding_set		default_record_format
  1.4284 +		COMMAND		t_format			ichannels_set		default_record_format
  1.4285 +		COMMAND		t_format			ibuffer_size_set	default_record_format
  1.4286 +		COMMAND	!Error=-5	devsound			SetRecordFormat		BSP-SOUND-DRIVER-SetRecordFormat
  1.4287 +		COMMAND		t_format			~
  1.4288 +		COMMAND		devsound  			Close
  1.4289 +		COMMAND		devsound  			~
  1.4290 +	END_TEST_BLOCK	 
  1.4291 +END_TESTCASE 			BASE-BSP-SOUND-DRIVER-7017
  1.4292 +
  1.4293 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-7018
  1.4294 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-7018
  1.4295 +//! @SYMAPI			RMdaDevSound::SetRecordFormat(TCurrentSoundFormatBuf {ref})
  1.4296 +//! @SYMAuthor			Vassili Tsvetkov
  1.4297 +//! @SYMCreationDate		15/06/2008
  1.4298 +//! @SYMTestCaseDesc		Call SetRecordFormat() with valid values but with invalid iBufferSize (out of accepted range)
  1.4299 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
  1.4300 +//!				2. Call SetRecordFormat() with default value from [default_record_format_invalid_buffer_size]
  1.4301 +//!				3. Call Close()
  1.4302 +//! @SYMTestStatus		Implemented
  1.4303 +//! @SYMTestPriority		Critical
  1.4304 +//! @SYMTestExpectedResults	SetRecordFormat in step 4 returns KErrNotSupproted
  1.4305 +//!
  1.4306 +//! @SYMTestType		CIT
  1.4307 +	START_TEST_BLOCK	100				t_sound			\base\sound\base-bsp-sound-driver.ini
  1.4308 +		CREATE_OBJECT	RMdaDevSound			devsound  
  1.4309 +		COMMAND		devsound			new
  1.4310 +		COMMAND		devsound			Open			UnitEnum
  1.4311 +		CREATE_OBJECT	TCurrentSoundFormat		t_format		
  1.4312 +		COMMAND		t_format			new			
  1.4313 +		COMMAND		t_format			irate_set		default_record_format
  1.4314 +		COMMAND		t_format			iencoding_set		default_record_format
  1.4315 +		COMMAND		t_format			ichannels_set		default_record_format
  1.4316 +		COMMAND		t_format			ibuffer_size_set	default_record_format_invalid_buffer_size
  1.4317 +		COMMAND	!Error=-5	devsound			SetRecordFormat		BSP-SOUND-DRIVER-SetRecordFormat
  1.4318 +		COMMAND		t_format			~
  1.4319 +		COMMAND		devsound  			Close
  1.4320 +		COMMAND		devsound  			~
  1.4321 +	END_TEST_BLOCK	 
  1.4322 +END_TESTCASE 			BASE-BSP-SOUND-DRIVER-7018
  1.4323 +
  1.4324 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-7019
  1.4325 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-7019
  1.4326 +//! @SYMAPI			RMdaDevSound::SetRecordFormat(TCurrentSoundFormatBuf {ref})
  1.4327 +//! @SYMAuthor			Vassili Tsvetkov
  1.4328 +//! @SYMCreationDate		15/06/2008
  1.4329 +//! @SYMTestCaseDesc		Call SetRecordFormat() with valid values but with invalid iChannels (out of accepted range)
  1.4330 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
  1.4331 +//!				2. Call SetRecordFormat() with default value from [default_record_format_invalid_channels]
  1.4332 +//!				3. Call Close()
  1.4333 +//! @SYMTestStatus		Implemented
  1.4334 +//! @SYMTestPriority		Critical
  1.4335 +//! @SYMTestExpectedResults	SetRecordFormat in step 4 returns KErrNotSupproted
  1.4336 +//!
  1.4337 +//! @SYMTestType		CIT
  1.4338 +	START_TEST_BLOCK	100				t_sound			\base\sound\base-bsp-sound-driver.ini
  1.4339 +		CREATE_OBJECT	RMdaDevSound			devsound  
  1.4340 +		COMMAND		devsound			new
  1.4341 +		COMMAND		devsound			Open			UnitEnum
  1.4342 +		CREATE_OBJECT	TCurrentSoundFormat		t_format		
  1.4343 +		COMMAND		t_format			new			
  1.4344 +		COMMAND		t_format			irate_set		default_record_format
  1.4345 +		COMMAND		t_format			iencoding_set		default_record_format
  1.4346 +		COMMAND		t_format			ichannels_set		default_record_format_invalid_channels
  1.4347 +		COMMAND		t_format			ibuffer_size_set	default_record_format
  1.4348 +		COMMAND	!Error=-5	devsound			SetRecordFormat		BSP-SOUND-DRIVER-SetRecordFormat
  1.4349 +		COMMAND		t_format			~
  1.4350 +		COMMAND		devsound  			Close
  1.4351 +		COMMAND		devsound  			~
  1.4352 +	END_TEST_BLOCK	 
  1.4353 +END_TESTCASE 			BASE-BSP-SOUND-DRIVER-7019
  1.4354 +
  1.4355 +/////////////////////////////////////////////
  1.4356 +// Playback with different buffer size
  1.4357 +/////////////////////////////////////////////
  1.4358 +
  1.4359 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-7021
  1.4360 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-7021
  1.4361 +//! @SYMAPI			RMdaDevSound::PlayData(TRequestStatus {ref}, TDes8 {ref})
  1.4362 +//! @SYMAuthor			Vassili Tsvetkov
  1.4363 +//! @SYMCreationDate		15/06/2008
  1.4364 +//! @SYMTestCaseDesc		Play audio with minimal buffer size supported in PCM8
  1.4365 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
  1.4366 +//!				2. Call SetPlayFormat() with [set_settings_pcm8_mono_8khz_32kb_min_buffer]
  1.4367 +//!				3. Call PlayData() with valid sound data from [pcm8_mono_8khz_32kb.raw]
  1.4368 +//!				4. Call Close()
  1.4369 +//! @SYMTestStatus		Implemented
  1.4370 +//! @SYMTestPriority		Critical
  1.4371 +//! @SYMTestExpectedResults	Audio is played without any errors
  1.4372 +//!
  1.4373 +//! @SYMTestType		CIT
  1.4374 +	START_TEST_BLOCK	100				t_sound			\base\sound\base-bsp-sound-driver.ini
  1.4375 +		CREATE_OBJECT	RMdaDevSound			devsound  
  1.4376 +		COMMAND		devsound			new
  1.4377 +		COMMAND		devsound			Open			UnitEnum
  1.4378 +		CREATE_OBJECT	TCurrentSoundFormat		t_format		
  1.4379 +		COMMAND		t_format			new			
  1.4380 +		COMMAND		t_format			irate_set		set_settings_pcm8_mono_8khz_32kb_min_buffer
  1.4381 +		COMMAND		t_format			iencoding_set		set_settings_pcm8_mono_8khz_32kb_min_buffer
  1.4382 +		COMMAND		t_format			ichannels_set		set_settings_pcm8_mono_8khz_32kb_min_buffer
  1.4383 +		COMMAND		t_format			ibuffer_size_set	set_settings_pcm8_mono_8khz_32kb_min_buffer
  1.4384 +		COMMAND		devsound			SetPlayFormat		BSP-SOUND-DRIVER-SetPlayFormat
  1.4385 +		COMMAND		devsound  			PlayData		pcm8_mono_8khz_32kb.raw
  1.4386 +		OUTSTANDING
  1.4387 +		COMMAND		t_format			~
  1.4388 +		COMMAND		devsound  			Close
  1.4389 +		COMMAND		devsound  			~
  1.4390 +	END_TEST_BLOCK	 
  1.4391 +END_TESTCASE 			BASE-BSP-SOUND-DRIVER-7021
  1.4392 +
  1.4393 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-7022
  1.4394 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-7022
  1.4395 +//! @SYMAPI			RMdaDevSound::PlayData(TRequestStatus {ref}, TDes8 {ref})
  1.4396 +//! @SYMAuthor			Vassili Tsvetkov
  1.4397 +//! @SYMCreationDate		15/06/2008
  1.4398 +//! @SYMTestCaseDesc		Play audio with max buffer size supported in PCM8
  1.4399 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
  1.4400 +//!				2. Call SetPlayFormat() with [set_settings_pcm8_mono_8khz_32kb_max_buffer]
  1.4401 +//!				3. Call PlayData() with valid sound data from [pcm8_mono_8khz_32kb.raw]
  1.4402 +//!				4. Call Close()
  1.4403 +//! @SYMTestStatus		Implemented
  1.4404 +//! @SYMTestPriority		Critical
  1.4405 +//! @SYMTestExpectedResults	Audio is played without any errors
  1.4406 +//!
  1.4407 +//! @SYMTestType		CIT
  1.4408 +	START_TEST_BLOCK	100				t_sound			\base\sound\base-bsp-sound-driver.ini
  1.4409 +		CREATE_OBJECT	RMdaDevSound			devsound  
  1.4410 +		COMMAND		devsound			new
  1.4411 +		COMMAND		devsound			Open			UnitEnum
  1.4412 +		CREATE_OBJECT	TCurrentSoundFormat		t_format		
  1.4413 +		COMMAND		t_format			new			
  1.4414 +		COMMAND		t_format			irate_set		set_settings_pcm8_mono_8khz_32kb_max_buffer
  1.4415 +		COMMAND		t_format			iencoding_set		set_settings_pcm8_mono_8khz_32kb_max_buffer
  1.4416 +		COMMAND		t_format			ichannels_set		set_settings_pcm8_mono_8khz_32kb_max_buffer
  1.4417 +		COMMAND		t_format			ibuffer_size_set	set_settings_pcm8_mono_8khz_32kb_max_buffer
  1.4418 +		COMMAND		devsound			SetPlayFormat		BSP-SOUND-DRIVER-SetPlayFormat
  1.4419 +		COMMAND		devsound  			PlayData		pcm8_mono_8khz_32kb.raw
  1.4420 +		OUTSTANDING
  1.4421 +		COMMAND		t_format			~
  1.4422 +		COMMAND		devsound  			Close
  1.4423 +		COMMAND		devsound  			~
  1.4424 +	END_TEST_BLOCK	 
  1.4425 +END_TESTCASE 			BASE-BSP-SOUND-DRIVER-7022
  1.4426 +
  1.4427 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-7023
  1.4428 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-7023
  1.4429 +//! @SYMAPI			RMdaDevSound::PlayData(TRequestStatus {ref}, TDes8 {ref})
  1.4430 +//! @SYMAuthor			Vassili Tsvetkov
  1.4431 +//! @SYMCreationDate		15/06/2008
  1.4432 +//! @SYMTestCaseDesc		Play audio with minimal buffer size supported in PCM16
  1.4433 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
  1.4434 +//!				2. Call SetPlayFormat() with [set_settings_pcm16_mono_8khz_32kb_min_buffer]
  1.4435 +//!				3. Call PlayData() with valid sound data from [pcm16_mono_8khz_32kb.raw]
  1.4436 +//!				4. Call Close()
  1.4437 +//! @SYMTestStatus		Implemented
  1.4438 +//! @SYMTestPriority		Critical
  1.4439 +//! @SYMTestExpectedResults	Audio is played without any errors
  1.4440 +//!
  1.4441 +//! @SYMTestType		CIT
  1.4442 +	START_TEST_BLOCK	100				t_sound			\base\sound\base-bsp-sound-driver.ini
  1.4443 +		CREATE_OBJECT	RMdaDevSound			devsound  
  1.4444 +		COMMAND		devsound			new
  1.4445 +		COMMAND		devsound			Open			UnitEnum
  1.4446 +		CREATE_OBJECT	TCurrentSoundFormat		t_format		
  1.4447 +		COMMAND		t_format			new			
  1.4448 +		COMMAND		t_format			irate_set		set_settings_pcm16_mono_8khz_32kb_min_buffer
  1.4449 +		COMMAND		t_format			iencoding_set		set_settings_pcm16_mono_8khz_32kb_min_buffer
  1.4450 +		COMMAND		t_format			ichannels_set		set_settings_pcm16_mono_8khz_32kb_min_buffer
  1.4451 +		COMMAND		t_format			ibuffer_size_set	set_settings_pcm16_mono_8khz_32kb_min_buffer
  1.4452 +		COMMAND		devsound			SetPlayFormat		BSP-SOUND-DRIVER-SetPlayFormat
  1.4453 +		COMMAND		devsound  			PlayData		pcm16_mono_8khz_32kb.raw
  1.4454 +		OUTSTANDING
  1.4455 +		COMMAND		t_format			~
  1.4456 +		COMMAND		devsound  			Close
  1.4457 +		COMMAND		devsound  			~
  1.4458 +	END_TEST_BLOCK		 
  1.4459 +END_TESTCASE 			BASE-BSP-SOUND-DRIVER-7023
  1.4460 +
  1.4461 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-7024
  1.4462 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-7024
  1.4463 +//! @SYMAPI			RMdaDevSound::PlayData(TRequestStatus {ref}, TDes8 {ref})
  1.4464 +//! @SYMAuthor			Vassili Tsvetkov
  1.4465 +//! @SYMCreationDate		15/06/2008
  1.4466 +//! @SYMTestCaseDesc		Play audio with max buffer size supported in PCM16
  1.4467 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
  1.4468 +//!				2. Call SetPlayFormat() with [set_settings_pcm16_mono_8khz_32kb_max_buffer]
  1.4469 +//!				3. Call PlayData() with valid sound data from [pcm16_mono_8khz_32kb.raw]
  1.4470 +//!				4. Call Close()
  1.4471 +//! @SYMTestStatus		Implemented
  1.4472 +//! @SYMTestPriority		Critical
  1.4473 +//! @SYMTestExpectedResults	Audio is played without any errors
  1.4474 +//!
  1.4475 +//! @SYMTestType		CIT
  1.4476 +	START_TEST_BLOCK	100				t_sound			\base\sound\base-bsp-sound-driver.ini
  1.4477 +		CREATE_OBJECT	RMdaDevSound			devsound  
  1.4478 +		COMMAND		devsound			new
  1.4479 +		COMMAND		devsound			Open			UnitEnum
  1.4480 +		CREATE_OBJECT	TCurrentSoundFormat		t_format		
  1.4481 +		COMMAND		t_format			new			
  1.4482 +		COMMAND		t_format			irate_set		set_settings_pcm16_mono_8khz_32kb_max_buffer
  1.4483 +		COMMAND		t_format			iencoding_set		set_settings_pcm16_mono_8khz_32kb_max_buffer
  1.4484 +		COMMAND		t_format			ichannels_set		set_settings_pcm16_mono_8khz_32kb_max_buffer
  1.4485 +		COMMAND		t_format			ibuffer_size_set	set_settings_pcm16_mono_8khz_32kb_max_buffer
  1.4486 +		COMMAND		devsound			SetPlayFormat		BSP-SOUND-DRIVER-SetPlayFormat
  1.4487 +		COMMAND		devsound  			PlayData		pcm16_mono_8khz_32kb.raw
  1.4488 +		OUTSTANDING
  1.4489 +		COMMAND		t_format			~
  1.4490 +		COMMAND		devsound  			Close
  1.4491 +		COMMAND		devsound  			~
  1.4492 +	END_TEST_BLOCK		 
  1.4493 +END_TESTCASE 			BASE-BSP-SOUND-DRIVER-7024
  1.4494 +
  1.4495 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-7025
  1.4496 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-7025
  1.4497 +//! @SYMAPI			RMdaDevSound::PlayData(TRequestStatus {ref}, TDes8 {ref})
  1.4498 +//! @SYMAuthor			Vassili Tsvetkov
  1.4499 +//! @SYMCreationDate		15/06/2008
  1.4500 +//! @SYMTestCaseDesc		Play audio with minimal buffer size supported in ALaw
  1.4501 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
  1.4502 +//!				2. Call SetPlayFormat() with [set_settings_alaw8bit_mono_8khz_min_buffer]
  1.4503 +//!				3. Call PlayData() with valid sound data from [alaw8bit_mono_8khz_32kb.raw]
  1.4504 +//!				4. Call Close()
  1.4505 +//! @SYMTestStatus		Implemented
  1.4506 +//! @SYMTestPriority		Critical
  1.4507 +//! @SYMTestExpectedResults	Audio is played without any errors
  1.4508 +//!
  1.4509 +//! @SYMTestType		CIT
  1.4510 +	START_TEST_BLOCK	100				t_sound			\base\sound\base-bsp-sound-driver.ini
  1.4511 +		CREATE_OBJECT	RMdaDevSound			devsound  
  1.4512 +		COMMAND		devsound			new
  1.4513 +		COMMAND		devsound			Open			UnitEnum
  1.4514 +		CREATE_OBJECT	TCurrentSoundFormat		t_format		
  1.4515 +		COMMAND		t_format			new			
  1.4516 +		COMMAND		t_format			irate_set		set_settings_alaw8bit_mono_8khz_min_buffer
  1.4517 +		COMMAND		t_format			iencoding_set		set_settings_alaw8bit_mono_8khz_min_buffer
  1.4518 +		COMMAND		t_format			ichannels_set		set_settings_alaw8bit_mono_8khz_min_buffer
  1.4519 +		COMMAND		t_format			ibuffer_size_set	set_settings_alaw8bit_mono_8khz_min_buffer
  1.4520 +		COMMAND		devsound			SetPlayFormat		BSP-SOUND-DRIVER-SetPlayFormat
  1.4521 +		COMMAND		devsound  			PlayData		alaw8bit_mono_8khz_32kb.raw
  1.4522 +		OUTSTANDING
  1.4523 +		COMMAND		t_format			~
  1.4524 +		COMMAND		devsound  			Close
  1.4525 +		COMMAND		devsound  			~
  1.4526 +	END_TEST_BLOCK	 
  1.4527 +END_TESTCASE 			BASE-BSP-SOUND-DRIVER-7025
  1.4528 +
  1.4529 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-7026
  1.4530 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-7026
  1.4531 +//! @SYMAPI			RMdaDevSound::PlayData(TRequestStatus {ref}, TDes8 {ref})
  1.4532 +//! @SYMAuthor			Vassili Tsvetkov
  1.4533 +//! @SYMCreationDate		15/06/2008
  1.4534 +//! @SYMTestCaseDesc		Play audio with max buffer size supported in ALaw
  1.4535 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
  1.4536 +//!				2. Call SetPlayFormat() with [set_settings_alaw8bit_mono_8khz_max_buffer]
  1.4537 +//!				3. Call PlayData() with valid sound data from [alaw8bit_mono_8khz_32kb.raw]
  1.4538 +//!				4. Call Close()
  1.4539 +//! @SYMTestStatus		Implemented
  1.4540 +//! @SYMTestPriority		Critical
  1.4541 +//! @SYMTestExpectedResults	Audio is played without any errors
  1.4542 +//!
  1.4543 +//! @SYMTestType		CIT
  1.4544 +	START_TEST_BLOCK	100				t_sound			\base\sound\base-bsp-sound-driver.ini
  1.4545 +		CREATE_OBJECT	RMdaDevSound			devsound  
  1.4546 +		COMMAND		devsound			new
  1.4547 +		COMMAND		devsound			Open			UnitEnum
  1.4548 +		CREATE_OBJECT	TCurrentSoundFormat		t_format		
  1.4549 +		COMMAND		t_format			new			
  1.4550 +		COMMAND		t_format			irate_set		set_settings_alaw8bit_mono_8khz_max_buffer
  1.4551 +		COMMAND		t_format			iencoding_set		set_settings_alaw8bit_mono_8khz_max_buffer
  1.4552 +		COMMAND		t_format			ichannels_set		set_settings_alaw8bit_mono_8khz_max_buffer
  1.4553 +		COMMAND		t_format			ibuffer_size_set	set_settings_alaw8bit_mono_8khz_max_buffer
  1.4554 +		COMMAND		devsound			SetPlayFormat		BSP-SOUND-DRIVER-SetPlayFormat
  1.4555 +		COMMAND		devsound  			PlayData		alaw8bit_mono_8khz_32kb.raw
  1.4556 +		OUTSTANDING
  1.4557 +		COMMAND		t_format			~
  1.4558 +		COMMAND		devsound  			Close
  1.4559 +		COMMAND		devsound  			~
  1.4560 +	END_TEST_BLOCK		 
  1.4561 +END_TESTCASE 			BASE-BSP-SOUND-DRIVER-7026
  1.4562 +
  1.4563 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-7027
  1.4564 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-7027
  1.4565 +//! @SYMAPI			RMdaDevSound::PlayData(TRequestStatus {ref}, TDes8 {ref})
  1.4566 +//! @SYMAuthor			Vassili Tsvetkov
  1.4567 +//! @SYMCreationDate		15/06/2008
  1.4568 +//! @SYMTestCaseDesc		Play audio with minimal buffer size supported in MuLaw
  1.4569 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
  1.4570 +//!				2. Call SetPlayFormat() with [set_settings_mulaw8bit_mono_12khz_min_buffer]
  1.4571 +//!				3. Call PlayData() with valid sound data from [mulaw8bit_mono_12khz_32kb.raw]
  1.4572 +//!				4. Call Close()
  1.4573 +//! @SYMTestStatus		Implemented
  1.4574 +//! @SYMTestPriority		Critical
  1.4575 +//! @SYMTestExpectedResults	Audio is played without any errors
  1.4576 +//!
  1.4577 +//! @SYMTestType		CIT
  1.4578 +	START_TEST_BLOCK	100				t_sound			\base\sound\base-bsp-sound-driver.ini
  1.4579 +		CREATE_OBJECT	RMdaDevSound			devsound  
  1.4580 +		COMMAND		devsound			new
  1.4581 +		COMMAND		devsound			Open			UnitEnum
  1.4582 +		CREATE_OBJECT	TCurrentSoundFormat		t_format		
  1.4583 +		COMMAND		t_format			new			
  1.4584 +		COMMAND		t_format			irate_set		set_settings_mulaw8bit_mono_12khz_min_buffer
  1.4585 +		COMMAND		t_format			iencoding_set		set_settings_mulaw8bit_mono_12khz_min_buffer
  1.4586 +		COMMAND		t_format			ichannels_set		set_settings_mulaw8bit_mono_12khz_min_buffer
  1.4587 +		COMMAND		t_format			ibuffer_size_set	set_settings_mulaw8bit_mono_12khz_min_buffer
  1.4588 +		COMMAND		devsound			SetPlayFormat		BSP-SOUND-DRIVER-SetPlayFormat
  1.4589 +		COMMAND		devsound  			PlayData		mulaw8bit_mono_12khz_32kb.raw
  1.4590 +		OUTSTANDING
  1.4591 +		COMMAND		t_format			~
  1.4592 +		COMMAND		devsound  			Close
  1.4593 +		COMMAND		devsound  			~
  1.4594 +	END_TEST_BLOCK		 
  1.4595 +END_TESTCASE 			BASE-BSP-SOUND-DRIVER-7027
  1.4596 +
  1.4597 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-7028
  1.4598 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-7028
  1.4599 +//! @SYMAPI			RMdaDevSound::PlayData(TRequestStatus {ref}, TDes8 {ref})
  1.4600 +//! @SYMAuthor			Vassili Tsvetkov
  1.4601 +//! @SYMCreationDate		15/06/2008
  1.4602 +//! @SYMTestCaseDesc		Play audio with max buffer size supported in MuLaw
  1.4603 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
  1.4604 +//!				2. Call SetPlayFormat() with [set_settings_mulaw8bit_mono_12khz_max_buffer]
  1.4605 +//!				3. Call PlayData() with valid sound data from [mulaw8bit_mono_12khz_32kb.raw]
  1.4606 +//!				4. Call Close()
  1.4607 +//! @SYMTestStatus		Implemented
  1.4608 +//! @SYMTestPriority		Critical
  1.4609 +//! @SYMTestExpectedResults	Audio is played without any errors
  1.4610 +//!
  1.4611 +//! @SYMTestType		CIT
  1.4612 +	START_TEST_BLOCK	100				t_sound			\base\sound\base-bsp-sound-driver.ini
  1.4613 +		CREATE_OBJECT	RMdaDevSound			devsound  
  1.4614 +		COMMAND		devsound			new
  1.4615 +		COMMAND		devsound			Open			UnitEnum
  1.4616 +		CREATE_OBJECT	TCurrentSoundFormat		t_format		
  1.4617 +		COMMAND		t_format			new			
  1.4618 +		COMMAND		t_format			irate_set		set_settings_mulaw8bit_mono_12khz_max_buffer
  1.4619 +		COMMAND		t_format			iencoding_set		set_settings_mulaw8bit_mono_12khz_max_buffer
  1.4620 +		COMMAND		t_format			ichannels_set		set_settings_mulaw8bit_mono_12khz_max_buffer
  1.4621 +		COMMAND		t_format			ibuffer_size_set	set_settings_mulaw8bit_mono_12khz_max_buffer
  1.4622 +		COMMAND		devsound			SetPlayFormat		BSP-SOUND-DRIVER-SetPlayFormat
  1.4623 +		COMMAND		devsound  			PlayData		mulaw8bit_mono_12khz_32kb.raw
  1.4624 +		OUTSTANDING
  1.4625 +		COMMAND		t_format			~
  1.4626 +		COMMAND		devsound  			Close
  1.4627 +		COMMAND		devsound  			~
  1.4628 +	END_TEST_BLOCK		 
  1.4629 +END_TESTCASE 			BASE-BSP-SOUND-DRIVER-7028
  1.4630 +
  1.4631 +/////////////////////////////////////////////
  1.4632 +// Recording with different buffer size
  1.4633 +/////////////////////////////////////////////
  1.4634 +
  1.4635 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-7031
  1.4636 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-7031
  1.4637 +//! @SYMAPI			RMdaDevSound::RecordData(TRequestStatus {ref}, TDes8 {ref})
  1.4638 +//! @SYMAuthor			Vassili Tsvetkov
  1.4639 +//! @SYMCreationDate		15/06/2008
  1.4640 +//! @SYMTestCaseDesc		Record audio with minimal buffer size supported in PCM8
  1.4641 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
  1.4642 +//!				2. Call SetRecordFormat() with [set_settings_pcm8_mono_8khz_32kb_min_buffer_recording]
  1.4643 +//!				3. Call RecordData()
  1.4644 +//!				4. Call Close()
  1.4645 +//! @SYMTestStatus		Implemented
  1.4646 +//! @SYMTestPriority		Critical
  1.4647 +//! @SYMTestExpectedResults	Audio is recorded without any errors
  1.4648 +//!
  1.4649 +//! @SYMTestType		CIT
  1.4650 +	START_TEST_BLOCK	100				t_sound			\base\sound\base-bsp-sound-driver.ini
  1.4651 +		CREATE_OBJECT	RMdaDevSound			devsound  
  1.4652 +		COMMAND		devsound			new
  1.4653 +		COMMAND		devsound			Open			UnitEnum
  1.4654 +		CREATE_OBJECT	TCurrentSoundFormat		t_format		
  1.4655 +		COMMAND		t_format			new			
  1.4656 +		COMMAND		t_format			irate_set		set_settings_pcm8_mono_8khz_32kb_min_buffer_recording
  1.4657 +		COMMAND		t_format			iencoding_set		set_settings_pcm8_mono_8khz_32kb_min_buffer_recording
  1.4658 +		COMMAND		t_format			ichannels_set		set_settings_pcm8_mono_8khz_32kb_min_buffer_recording
  1.4659 +		COMMAND		t_format			ibuffer_size_set	set_settings_pcm8_mono_8khz_32kb_min_buffer_recording
  1.4660 +		COMMAND		devsound			SetRecordFormat		BSP-SOUND-DRIVER-SetRecordFormat
  1.4661 +		COMMAND		devsound  			RecordData		record_data_32kb
  1.4662 +		OUTSTANDING
  1.4663 +		COMMAND		t_format			~
  1.4664 +		COMMAND		devsound  			Close
  1.4665 +		COMMAND		devsound  			~
  1.4666 +	END_TEST_BLOCK	 
  1.4667 +END_TESTCASE 			BASE-BSP-SOUND-DRIVER-7031
  1.4668 +
  1.4669 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-7032
  1.4670 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-7032
  1.4671 +//! @SYMAPI			RMdaDevSound::RecordData(TRequestStatus {ref}, TDes8 {ref})
  1.4672 +//! @SYMAuthor			Vassili Tsvetkov
  1.4673 +//! @SYMCreationDate		15/06/2008
  1.4674 +//! @SYMTestCaseDesc		Record audio with max buffer size supported in PCM8
  1.4675 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
  1.4676 +//!				2. Call SetRecordFormat() with [set_settings_pcm8_mono_8khz_32kb_max_buffer_recording]
  1.4677 +//!				3. Call RecordData()
  1.4678 +//!				4. Call Close()
  1.4679 +//! @SYMTestStatus		Implemented
  1.4680 +//! @SYMTestPriority		Critical
  1.4681 +//! @SYMTestExpectedResults	Audio is recorded without any errors
  1.4682 +//!
  1.4683 +//! @SYMTestType		CIT
  1.4684 +	START_TEST_BLOCK	1000				t_sound			\base\sound\base-bsp-sound-driver.ini
  1.4685 +		CREATE_OBJECT	RMdaDevSound			devsound  
  1.4686 +		COMMAND		devsound			new
  1.4687 +		COMMAND		devsound			Open			UnitEnum
  1.4688 +		CREATE_OBJECT	TCurrentSoundFormat		t_format		
  1.4689 +		COMMAND		t_format			new			
  1.4690 +		COMMAND		t_format			irate_set		set_settings_pcm8_mono_8khz_32kb_max_buffer_recording
  1.4691 +		COMMAND		t_format			iencoding_set		set_settings_pcm8_mono_8khz_32kb_max_buffer_recording
  1.4692 +		COMMAND		t_format			ichannels_set		set_settings_pcm8_mono_8khz_32kb_max_buffer_recording
  1.4693 +		COMMAND		t_format			ibuffer_size_set	set_settings_pcm8_mono_8khz_32kb_max_buffer_recording
  1.4694 +		COMMAND		devsound			SetRecordFormat		BSP-SOUND-DRIVER-SetRecordFormat
  1.4695 +		COMMAND		devsound  			RecordData		record_data_32kb
  1.4696 +		OUTSTANDING
  1.4697 +		COMMAND		t_format			~
  1.4698 +		COMMAND		devsound  			Close
  1.4699 +		COMMAND		devsound  			~
  1.4700 +	END_TEST_BLOCK	 
  1.4701 +END_TESTCASE 			BASE-BSP-SOUND-DRIVER-7032
  1.4702 +
  1.4703 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-7033
  1.4704 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-7033
  1.4705 +//! @SYMAPI			RMdaDevSound::RecordData(TRequestStatus {ref}, TDes8 {ref})
  1.4706 +//! @SYMAuthor			Vassili Tsvetkov
  1.4707 +//! @SYMCreationDate		15/06/2008
  1.4708 +//! @SYMTestCaseDesc		Record audio with minimal buffer size supported in PCM16
  1.4709 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
  1.4710 +//!				2. Call SetRecordFormat() with [set_settings_pcm16_mono_8khz_32kb_min_buffer_recording]
  1.4711 +//!				3. Call RecordData()
  1.4712 +//!				4. Call Close()
  1.4713 +//! @SYMTestStatus		Implemented
  1.4714 +//! @SYMTestPriority		Critical
  1.4715 +//! @SYMTestExpectedResults	Audio is recorded without any errors
  1.4716 +//!
  1.4717 +//! @SYMTestType		CIT
  1.4718 +	START_TEST_BLOCK	100				t_sound			\base\sound\base-bsp-sound-driver.ini
  1.4719 +		CREATE_OBJECT	RMdaDevSound			devsound  
  1.4720 +		COMMAND		devsound			new
  1.4721 +		COMMAND		devsound			Open			UnitEnum
  1.4722 +		CREATE_OBJECT	TCurrentSoundFormat		t_format		
  1.4723 +		COMMAND		t_format			new			
  1.4724 +		COMMAND		t_format			irate_set		set_settings_pcm16_mono_8khz_32kb_min_buffer_recording
  1.4725 +		COMMAND		t_format			iencoding_set		set_settings_pcm16_mono_8khz_32kb_min_buffer_recording
  1.4726 +		COMMAND		t_format			ichannels_set		set_settings_pcm16_mono_8khz_32kb_min_buffer_recording
  1.4727 +		COMMAND		t_format			ibuffer_size_set	set_settings_pcm16_mono_8khz_32kb_min_buffer_recording
  1.4728 +		COMMAND		devsound			SetRecordFormat		BSP-SOUND-DRIVER-SetRecordFormat
  1.4729 +		COMMAND		devsound  			RecordData		record_data_32kb
  1.4730 +		OUTSTANDING
  1.4731 +		COMMAND		t_format			~
  1.4732 +		COMMAND		devsound  			Close
  1.4733 +		COMMAND		devsound  			~
  1.4734 +	END_TEST_BLOCK	 
  1.4735 +END_TESTCASE 			BASE-BSP-SOUND-DRIVER-7033
  1.4736 +
  1.4737 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-7034
  1.4738 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-7034
  1.4739 +//! @SYMAPI			RMdaDevSound::RecordData(TRequestStatus {ref}, TDes8 {ref})
  1.4740 +//! @SYMAuthor			Vassili Tsvetkov
  1.4741 +//! @SYMCreationDate		15/06/2008
  1.4742 +//! @SYMTestCaseDesc		Record audio with max buffer size supported in PCM16
  1.4743 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
  1.4744 +//!				2. Call SetRecordFormat() with [set_settings_pcm16_mono_8khz_32kb_max_buffer_recording]
  1.4745 +//!				3. Call RecordData()
  1.4746 +//!				4. Call Close()
  1.4747 +//! @SYMTestStatus		Implemented
  1.4748 +//! @SYMTestPriority		Critical
  1.4749 +//! @SYMTestExpectedResults	Audio is recorded without any errors
  1.4750 +//!
  1.4751 +//! @SYMTestType		CIT
  1.4752 +	START_TEST_BLOCK	100				t_sound			\base\sound\base-bsp-sound-driver.ini
  1.4753 +		CREATE_OBJECT	RMdaDevSound			devsound  
  1.4754 +		COMMAND		devsound			new
  1.4755 +		COMMAND		devsound			Open			UnitEnum
  1.4756 +		CREATE_OBJECT	TCurrentSoundFormat		t_format		
  1.4757 +		COMMAND		t_format			new			
  1.4758 +		COMMAND		t_format			irate_set		set_settings_pcm16_mono_8khz_32kb_max_buffer_recording
  1.4759 +		COMMAND		t_format			iencoding_set		set_settings_pcm16_mono_8khz_32kb_max_buffer_recording
  1.4760 +		COMMAND		t_format			ichannels_set		set_settings_pcm16_mono_8khz_32kb_max_buffer_recording
  1.4761 +		COMMAND		t_format			ibuffer_size_set	set_settings_pcm16_mono_8khz_32kb_max_buffer_recording
  1.4762 +		COMMAND		devsound			SetRecordFormat		BSP-SOUND-DRIVER-SetRecordFormat
  1.4763 +		COMMAND		devsound  			RecordData		record_data_32kb
  1.4764 +		OUTSTANDING
  1.4765 +		COMMAND		t_format			~
  1.4766 +		COMMAND		devsound  			Close
  1.4767 +		COMMAND		devsound  			~
  1.4768 +	END_TEST_BLOCK	 
  1.4769 +END_TESTCASE 			BASE-BSP-SOUND-DRIVER-7034
  1.4770 +
  1.4771 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-7035
  1.4772 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-7035
  1.4773 +//! @SYMAPI			RMdaDevSound::RecordData(TRequestStatus {ref}, TDes8 {ref})
  1.4774 +//! @SYMAuthor			Vassili Tsvetkov
  1.4775 +//! @SYMCreationDate		15/06/2008
  1.4776 +//! @SYMTestCaseDesc		Record audio with minimal buffer size supported in ALaw
  1.4777 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
  1.4778 +//!				2. Call SetRecordFormat() with [set_settings_alaw8bit_mono_8khz_min_buffer_recording]
  1.4779 +//!				3. Call RecordData()
  1.4780 +//!				4. Call Close()
  1.4781 +//! @SYMTestStatus		Implemented
  1.4782 +//! @SYMTestPriority		Critical
  1.4783 +//! @SYMTestExpectedResults	Audio is recorded without any errors
  1.4784 +//!
  1.4785 +//! @SYMTestType		CIT
  1.4786 +	START_TEST_BLOCK	100				t_sound			\base\sound\base-bsp-sound-driver.ini
  1.4787 +		CREATE_OBJECT	RMdaDevSound			devsound  
  1.4788 +		COMMAND		devsound			new
  1.4789 +		COMMAND		devsound			Open			UnitEnum
  1.4790 +		CREATE_OBJECT	TCurrentSoundFormat		t_format		
  1.4791 +		COMMAND		t_format			new			
  1.4792 +		COMMAND		t_format			irate_set		set_settings_alaw8bit_mono_8khz_min_buffer_recording
  1.4793 +		COMMAND		t_format			iencoding_set		set_settings_alaw8bit_mono_8khz_min_buffer_recording
  1.4794 +		COMMAND		t_format			ichannels_set		set_settings_alaw8bit_mono_8khz_min_buffer_recording
  1.4795 +		COMMAND		t_format			ibuffer_size_set	set_settings_alaw8bit_mono_8khz_min_buffer_recording
  1.4796 +		COMMAND		devsound			SetRecordFormat		BSP-SOUND-DRIVER-SetRecordFormat
  1.4797 +		COMMAND		devsound  			RecordData		record_data_32kb
  1.4798 +		OUTSTANDING
  1.4799 +		COMMAND		t_format			~
  1.4800 +		COMMAND		devsound  			Close
  1.4801 +		COMMAND		devsound  			~
  1.4802 +	END_TEST_BLOCK	 
  1.4803 +END_TESTCASE 			BASE-BSP-SOUND-DRIVER-7035
  1.4804 +
  1.4805 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-7036
  1.4806 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-7036
  1.4807 +//! @SYMAPI			RMdaDevSound::RecordData(TRequestStatus {ref}, TDes8 {ref})
  1.4808 +//! @SYMAuthor			Vassili Tsvetkov
  1.4809 +//! @SYMCreationDate		15/06/2008
  1.4810 +//! @SYMTestCaseDesc		Record audio with max buffer size supported in ALaw
  1.4811 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
  1.4812 +//!				2. Call SetRecordFormat() with [set_settings_alaw8bit_mono_8khz_max_buffer_recording]
  1.4813 +//!				3. Call RecordData()
  1.4814 +//!				4. Call Close()
  1.4815 +//! @SYMTestStatus		Implemented
  1.4816 +//! @SYMTestPriority		Critical
  1.4817 +//! @SYMTestExpectedResults	Audio is recorded without any errors
  1.4818 +//!
  1.4819 +//! @SYMTestType		CIT
  1.4820 +	START_TEST_BLOCK	1000				t_sound			\base\sound\base-bsp-sound-driver.ini
  1.4821 +		CREATE_OBJECT	RMdaDevSound			devsound  
  1.4822 +		COMMAND		devsound			new
  1.4823 +		COMMAND		devsound			Open			UnitEnum
  1.4824 +		CREATE_OBJECT	TCurrentSoundFormat		t_format		
  1.4825 +		COMMAND		t_format			new			
  1.4826 +		COMMAND		t_format			irate_set		set_settings_alaw8bit_mono_8khz_max_buffer_recording
  1.4827 +		COMMAND		t_format			iencoding_set		set_settings_alaw8bit_mono_8khz_max_buffer_recording
  1.4828 +		COMMAND		t_format			ichannels_set		set_settings_alaw8bit_mono_8khz_max_buffer_recording
  1.4829 +		COMMAND		t_format			ibuffer_size_set	set_settings_alaw8bit_mono_8khz_max_buffer_recording
  1.4830 +		COMMAND		devsound			SetRecordFormat		BSP-SOUND-DRIVER-SetRecordFormat
  1.4831 +		COMMAND		devsound  			RecordData		record_data_32kb
  1.4832 +		OUTSTANDING
  1.4833 +		COMMAND		t_format			~
  1.4834 +		COMMAND		devsound  			Close
  1.4835 +		COMMAND		devsound  			~
  1.4836 +	END_TEST_BLOCK	 
  1.4837 +END_TESTCASE 			BASE-BSP-SOUND-DRIVER-7036
  1.4838 +
  1.4839 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-7037
  1.4840 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-7037
  1.4841 +//! @SYMAPI			RMdaDevSound::RecordData(TRequestStatus {ref}, TDes8 {ref})
  1.4842 +//! @SYMAuthor			Vassili Tsvetkov
  1.4843 +//! @SYMCreationDate		15/06/2008
  1.4844 +//! @SYMTestCaseDesc		Record audio with minimal buffer size supported in MuLaw
  1.4845 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
  1.4846 +//!				2. Call SetRecordFormat() with [set_settings_mulaw8bit_mono_12khz_min_buffer_recording]
  1.4847 +//!				3. Call RecordData()
  1.4848 +//!				4. Call Close()
  1.4849 +//! @SYMTestStatus		Implemented
  1.4850 +//! @SYMTestPriority		Critical
  1.4851 +//! @SYMTestExpectedResults	Audio is recorded without any errors
  1.4852 +//!
  1.4853 +//! @SYMTestType		CIT
  1.4854 +	START_TEST_BLOCK	100				t_sound			\base\sound\base-bsp-sound-driver.ini
  1.4855 +		CREATE_OBJECT	RMdaDevSound			devsound  
  1.4856 +		COMMAND		devsound			new
  1.4857 +		COMMAND		devsound			Open			UnitEnum
  1.4858 +		CREATE_OBJECT	TCurrentSoundFormat		t_format		
  1.4859 +		COMMAND		t_format			new			
  1.4860 +		COMMAND		t_format			irate_set		set_settings_mulaw8bit_mono_12khz_min_buffer_recording
  1.4861 +		COMMAND		t_format			iencoding_set		set_settings_mulaw8bit_mono_12khz_min_buffer_recording
  1.4862 +		COMMAND		t_format			ichannels_set		set_settings_mulaw8bit_mono_12khz_min_buffer_recording
  1.4863 +		COMMAND		t_format			ibuffer_size_set	set_settings_mulaw8bit_mono_12khz_min_buffer_recording
  1.4864 +		COMMAND		devsound			SetRecordFormat		BSP-SOUND-DRIVER-SetRecordFormat
  1.4865 +		COMMAND		devsound  			RecordData		record_data_32kb
  1.4866 +		OUTSTANDING
  1.4867 +		COMMAND		t_format			~
  1.4868 +		COMMAND		devsound  			Close
  1.4869 +		COMMAND		devsound  			~
  1.4870 +	END_TEST_BLOCK	 
  1.4871 +END_TESTCASE 			BASE-BSP-SOUND-DRIVER-7037
  1.4872 +
  1.4873 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-7038
  1.4874 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-7038
  1.4875 +//! @SYMAPI			RMdaDevSound::RecordData(TRequestStatus {ref}, TDes8 {ref})
  1.4876 +//! @SYMAuthor			Vassili Tsvetkov
  1.4877 +//! @SYMCreationDate		15/06/2008
  1.4878 +//! @SYMTestCaseDesc		Record audio with max buffer size supported in MuLaw
  1.4879 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
  1.4880 +//!				2. Call SetRecordFormat() with [set_settings_mulaw8bit_mono_12khz_max_buffer_recording]
  1.4881 +//!				3. Call RecordData()
  1.4882 +//!				4. Call Close()
  1.4883 +//! @SYMTestStatus		Implemented
  1.4884 +//! @SYMTestPriority		Critical
  1.4885 +//! @SYMTestExpectedResults	Audio is recorded without any errors
  1.4886 +//!
  1.4887 +//! @SYMTestType		CIT
  1.4888 +	START_TEST_BLOCK	100				t_sound			\base\sound\base-bsp-sound-driver.ini
  1.4889 +		CREATE_OBJECT	RMdaDevSound			devsound  
  1.4890 +		COMMAND		devsound			new
  1.4891 +		COMMAND		devsound			Open			UnitEnum
  1.4892 +		CREATE_OBJECT	TCurrentSoundFormat		t_format		
  1.4893 +		COMMAND		t_format			new			
  1.4894 +		COMMAND		t_format			irate_set		set_settings_mulaw8bit_mono_12khz_max_buffer_recording
  1.4895 +		COMMAND		t_format			iencoding_set		set_settings_mulaw8bit_mono_12khz_max_buffer_recording
  1.4896 +		COMMAND		t_format			ichannels_set		set_settings_mulaw8bit_mono_12khz_max_buffer_recording
  1.4897 +		COMMAND		t_format			ibuffer_size_set	set_settings_mulaw8bit_mono_12khz_max_buffer_recording
  1.4898 +		COMMAND		devsound			SetRecordFormat		BSP-SOUND-DRIVER-SetRecordFormat
  1.4899 +		COMMAND		devsound  			RecordData		record_data_32kb
  1.4900 +		OUTSTANDING
  1.4901 +		COMMAND		t_format			~
  1.4902 +		COMMAND		devsound  			Close
  1.4903 +		COMMAND		devsound  			~
  1.4904 +	END_TEST_BLOCK		 
  1.4905 +END_TESTCASE 			BASE-BSP-SOUND-DRIVER-7038
  1.4906 +
  1.4907 +/////////////////////////////////////////////
  1.4908 +// Playback and Recording
  1.4909 +/////////////////////////////////////////////
  1.4910 +
  1.4911 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-7044
  1.4912 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-7044
  1.4913 +//! @SYMAPI			RMdaDevSound::PlayData(TRequestStatus {ref}, TDes8 {ref})
  1.4914 +//! @SYMAuthor			Vassili Tsvetkov
  1.4915 +//! @SYMCreationDate		15/06/2008
  1.4916 +//! @SYMTestCaseDesc		Call PlayData() twice on the same device when audio is still playing
  1.4917 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
  1.4918 +//!				2. Call GetPlayFormat() and verify from [default_play_format]
  1.4919 +//!				3. Call PlayData() with valid sound data from [default_file]
  1.4920 +//!				4. Call PlayData() with valid sound data from [default_file] when audio is still playing
  1.4921 +//!				5. Call Close()
  1.4922 +//! @SYMTestStatus		Implemented
  1.4923 +//! @SYMTestPriority		Critical
  1.4924 +//! @SYMTestExpectedResults	PlayData() in step 3 completes with KErrNone and PlayData() in step 4 completes with KERN-EXEC 9
  1.4925 +//!
  1.4926 +//! @SYMTestType		CIT
  1.4927 +	START_TEST_BLOCK	100				t_sound			\base\sound\base-bsp-sound-driver.ini
  1.4928 +		CREATE_OBJECT	RMdaDevSound			devsound  
  1.4929 +		COMMAND		devsound			new
  1.4930 +		COMMAND		devsound			Open			UnitEnum
  1.4931 +		CREATE_OBJECT	TCurrentSoundFormat		t_format		
  1.4932 +		COMMAND		t_format			new			
  1.4933 +		COMMAND		devsound			GetPlayFormat		BSP-SOUND-DRIVER-GetPlayFormat
  1.4934 +		//!verify default play configuration			
  1.4935 +		COMMAND		t_format			irate_get		default_play_format
  1.4936 +		COMMAND		t_format			iencoding_get		default_play_format
  1.4937 +		COMMAND		t_format			ichannels_get		default_play_format
  1.4938 +		COMMAND		t_format			ibuffer_size_get	default_play_format
  1.4939 +		COMMAND		devsound			PlayData		default_file
  1.4940 +		COMMAND		devsound			PlayData		default_file
  1.4941 +		OUTSTANDING
  1.4942 +		COMMAND		t_format			~
  1.4943 +		COMMAND		devsound  			Close
  1.4944 +		COMMAND		devsound  			~
  1.4945 +	END_TEST_BLOCK	!PanicCode=9 !PanicString=KERN-EXEC
  1.4946 +END_TESTCASE 			BASE-BSP-SOUND-DRIVER-7044
  1.4947 +
  1.4948 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-7045
  1.4949 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-7045
  1.4950 +//! @SYMAPI			RMdaDevSound::RecordData(TRequestStatus {ref}, TDes8 {ref})
  1.4951 +//! @SYMAuthor			Vassili Tsvetkov
  1.4952 +//! @SYMCreationDate		15/06/2008
  1.4953 +//! @SYMTestCaseDesc		Call RecordData() twice on the same device when audio is still recording
  1.4954 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
  1.4955 +//!				2. Call GetRecordFormat() and verify from [default_record_format]
  1.4956 +//!				3. Call RecordData()
  1.4957 +//!				4. Call RecordData() when audio is still recording
  1.4958 +//!				5. Call Close()
  1.4959 +//! @SYMTestStatus		Implemented
  1.4960 +//! @SYMTestPriority		Critical
  1.4961 +//! @SYMTestExpectedResults	RecordData() in step 3 completes with KErrNone and RecordData() in step 4 completes with KERN-EXEC 9
  1.4962 +//!
  1.4963 +//! @SYMTestType		CIT
  1.4964 +	START_TEST_BLOCK	100				t_sound			\base\sound\base-bsp-sound-driver.ini
  1.4965 +		CREATE_OBJECT	RMdaDevSound			devsound  
  1.4966 +		COMMAND		devsound			new
  1.4967 +		COMMAND		devsound			Open			UnitEnum
  1.4968 +		CREATE_OBJECT	TCurrentSoundFormat		t_format		
  1.4969 +		COMMAND		t_format			new			
  1.4970 +		COMMAND		devsound			GetRecordFormat		BSP-SOUND-DRIVER-GetRecordFormat
  1.4971 +		//!verify default record configuration			
  1.4972 +		COMMAND		t_format			irate_get		default_record_format
  1.4973 +		COMMAND		t_format			iencoding_get		default_record_format
  1.4974 +		COMMAND		t_format			ichannels_get		default_record_format
  1.4975 +		COMMAND		t_format			ibuffer_size_get	default_record_format
  1.4976 +		COMMAND		devsound			RecordData		record_data_32kb
  1.4977 +		COMMAND		devsound			RecordData		record_data_32kb
  1.4978 +		OUTSTANDING
  1.4979 +		COMMAND			devsound			FlushRecordBuffer
  1.4980 +		COMMAND		t_format			~
  1.4981 +		COMMAND		devsound  			Close
  1.4982 +		COMMAND		devsound  			~
  1.4983 +	END_TEST_BLOCK	 !PanicCode=9 !PanicString=KERN-EXEC
  1.4984 +END_TESTCASE 			BASE-BSP-SOUND-DRIVER-7045
  1.4985 +
  1.4986 +/////////////////////////////////////////////
  1.4987 +// Multiple server sessions
  1.4988 +/////////////////////////////////////////////
  1.4989 +
  1.4990 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-7061
  1.4991 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-7061
  1.4992 +//! @SYMAPI			RMdaDevSound::Open(TInt)
  1.4993 +//! @SYMAuthor			Vassili Tsvetkov
  1.4994 +//! @SYMCreationDate		15/06/2008
  1.4995 +//! @SYMTestCaseDesc		Call Open() twice
  1.4996 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
  1.4997 +//!				2. Call Open() with unit [UnitEnum]
  1.4998 +//!				3. Call Close()
  1.4999 +//! @SYMTestStatus		Implemented
  1.5000 +//! @SYMTestPriority		Critical
  1.5001 +//! @SYMTestExpectedResults	Open() on step 1 completes without errors, Open() on step 2 raises KErrInUse (-14)
  1.5002 +//!
  1.5003 +//! @SYMTestType		CIT
  1.5004 +	START_TEST_BLOCK	100				t_sound			\base\sound\base-bsp-sound-driver.ini
  1.5005 +		CREATE_OBJECT	RMdaDevSound			devsound  
  1.5006 +		COMMAND		devsound			new
  1.5007 +		COMMAND		devsound			Open			UnitEnum
  1.5008 +		CREATE_OBJECT	RMdaDevSound			devsound1  
  1.5009 +		COMMAND		devsound1			new
  1.5010 +		COMMAND	!Error=-14	devsound1			Open			UnitEnum
  1.5011 +		COMMAND		devsound1  			Close
  1.5012 +		COMMAND		devsound1  			~
  1.5013 +		COMMAND		devsound  			Close
  1.5014 +		COMMAND		devsound  			~
  1.5015 +	END_TEST_BLOCK	 
  1.5016 +END_TESTCASE 			BASE-BSP-SOUND-DRIVER-7061
  1.5017 +
  1.5018 +/////////////////////////////////////////////
  1.5019 +// Notification tests
  1.5020 +/////////////////////////////////////////////
  1.5021 +
  1.5022 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-7071
  1.5023 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-7071
  1.5024 +//! @SYMAPI			RMdaDevSound::NotifyPlayError(TRequestStatus {ref})
  1.5025 +//! @SYMAuthor			Vassili Tsvetkov
  1.5026 +//! @SYMCreationDate		15/06/2008
  1.5027 +//! @SYMTestCaseDesc		Call NotifyPlayError() twice
  1.5028 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
  1.5029 +//!				2. Call NotifyPlayError()
  1.5030 +//!				3. Call NotifyPlayError()
  1.5031 +//!				4. Call Close()
  1.5032 +//! @SYMTestStatus		Implemented
  1.5033 +//! @SYMTestPriority		Critical
  1.5034 +//! @SYMTestExpectedResults	NotifyPlayError() in steps 3 raises panics KERN-EXEC 9
  1.5035 +//!
  1.5036 +//! @SYMTestType		CIT
  1.5037 +	START_TEST_BLOCK	100				t_sound			\base\sound\base-bsp-sound-driver.ini
  1.5038 +		CREATE_OBJECT	RMdaDevSound			devsound  
  1.5039 +		COMMAND		devsound			new
  1.5040 +		COMMAND		devsound			Open			UnitEnum
  1.5041 +		COMMAND		devsound			NotifyPlayError
  1.5042 +		COMMAND		devsound			NotifyPlayError
  1.5043 +		OUTSTANDING
  1.5044 +		COMMAND		devsound  			Close
  1.5045 +		COMMAND		devsound  			~
  1.5046 +	END_TEST_BLOCK	!PanicCode=9 !PanicString=KERN-EXEC
  1.5047 +END_TESTCASE 			BASE-BSP-SOUND-DRIVER-7071
  1.5048 +
  1.5049 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-7072
  1.5050 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-7072
  1.5051 +//! @SYMAPI			RMdaDevSound::NotifyPlayError(TRequestStatus {ref});
  1.5052 +//!				RMdaDevSound::CancelNotifyPlayError()
  1.5053 +//! @SYMAuthor			Vassili Tsvetkov
  1.5054 +//! @SYMCreationDate		15/06/2008
  1.5055 +//! @SYMTestCaseDesc		Call CancelNotifyPlayError() twice while PlayData() is executed
  1.5056 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
  1.5057 +//!				2. Call NotifyPlayError()
  1.5058 +//!				3. Call GetPlayFormat() and verify from [default_play_format]
  1.5059 +//!				4. Call PlayData() with [default_file]
  1.5060 +//!				5. Call CancelNotifyPlayError()
  1.5061 +//!				6. Call CancelNotifyPlayError()
  1.5062 +//!				7. Call Close()
  1.5063 +//! @SYMTestStatus		Implemented
  1.5064 +//! @SYMTestPriority		Critical
  1.5065 +//! @SYMTestExpectedResults	NotifyPlayError() in step 2 completes with KErrCancel, CancelNotifyPlayError() in steps 5-6 complete without error
  1.5066 +//!
  1.5067 +//! @SYMTestType		CIT
  1.5068 +	START_TEST_BLOCK	100				t_sound			\base\sound\base-bsp-sound-driver.ini
  1.5069 +		CREATE_OBJECT	RMdaDevSound			devsound  
  1.5070 +		COMMAND		devsound			new
  1.5071 +		COMMAND		devsound			Open			UnitEnum
  1.5072 +		COMMAND	!AsyncError=-3	devsound			NotifyPlayError
  1.5073 +		CREATE_OBJECT	TCurrentSoundFormat		t_format		
  1.5074 +		COMMAND		t_format			new			
  1.5075 +		COMMAND		devsound			GetPlayFormat		BSP-SOUND-DRIVER-GetPlayFormat
  1.5076 +		//!verify default play configuration			
  1.5077 +		COMMAND		t_format			irate_get		default_play_format
  1.5078 +		COMMAND		t_format			iencoding_get		default_play_format
  1.5079 +		COMMAND		t_format			ichannels_get		default_play_format
  1.5080 +		COMMAND		t_format			ibuffer_size_get	default_play_format
  1.5081 +		COMMAND		devsound			PlayData		default_file
  1.5082 +		COMMAND		devsound			CancelNotifyPlayError
  1.5083 +		COMMAND		devsound			CancelNotifyPlayError
  1.5084 +		OUTSTANDING
  1.5085 +		COMMAND		t_format			~
  1.5086 +		COMMAND		devsound  			Close
  1.5087 +		COMMAND		devsound  			~
  1.5088 +	END_TEST_BLOCK	 
  1.5089 +END_TESTCASE 			BASE-BSP-SOUND-DRIVER-7072
  1.5090 +
  1.5091 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-7073
  1.5092 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-7073
  1.5093 +//! @SYMAPI			RMdaDevSound::NotifyPlayError(TRequestStatus {ref});
  1.5094 +//!				RMdaDevSound::CancelNotifyPlayError()
  1.5095 +//! @SYMAuthor			Vassili Tsvetkov
  1.5096 +//! @SYMCreationDate		15/06/2008
  1.5097 +//! @SYMTestCaseDesc		Call CancelNotifyPlayError() twice after PlayData() is executed
  1.5098 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
  1.5099 +//!				2. Call NotifyPlayError()
  1.5100 +//!				3. Call GetPlayFormat() and verify from [default_play_format]
  1.5101 +//!				4. Call PlayData() with [default_file]
  1.5102 +//!				5. Call CancelNotifyPlayError()
  1.5103 +//!				6. Call CancelNotifyPlayError()
  1.5104 +//!				7. Call Close()
  1.5105 +//! @SYMTestStatus		Implemented
  1.5106 +//! @SYMTestPriority		Critical
  1.5107 +//! @SYMTestExpectedResults	NotifyPlayError() in step 2 completes with KErrCancel, CancelNotifyPlayError() in steps 5-6 complete without error
  1.5108 +//!
  1.5109 +//! @SYMTestType		CIT
  1.5110 +	START_TEST_BLOCK	100				t_sound			\base\sound\base-bsp-sound-driver.ini
  1.5111 +		CREATE_OBJECT	RMdaDevSound			devsound  
  1.5112 +		COMMAND		devsound			new
  1.5113 +		COMMAND		devsound			Open			UnitEnum
  1.5114 +		COMMAND	!AsyncError=-3	devsound			NotifyPlayError
  1.5115 +		CREATE_OBJECT	TCurrentSoundFormat		t_format		
  1.5116 +		COMMAND		t_format			new			
  1.5117 +		COMMAND		devsound			GetPlayFormat		BSP-SOUND-DRIVER-GetPlayFormat
  1.5118 +		//!verify default play configuration			
  1.5119 +		COMMAND		t_format			irate_get		default_play_format
  1.5120 +		COMMAND		t_format			iencoding_get		default_play_format
  1.5121 +		COMMAND		t_format			ichannels_get		default_play_format
  1.5122 +		COMMAND		t_format			ibuffer_size_get	default_play_format
  1.5123 +		COMMAND		devsound			PlayData		default_file
  1.5124 +		ASYNC_DELAY	5000
  1.5125 +		COMMAND		devsound			CancelNotifyPlayError
  1.5126 +		COMMAND		devsound			CancelNotifyPlayError
  1.5127 +		OUTSTANDING
  1.5128 +		COMMAND		t_format			~
  1.5129 +		COMMAND		devsound  			Close
  1.5130 +		COMMAND		devsound  			~
  1.5131 +	END_TEST_BLOCK	 
  1.5132 +END_TESTCASE 			BASE-BSP-SOUND-DRIVER-7073
  1.5133 +
  1.5134 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-7074
  1.5135 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-7074
  1.5136 +//! @SYMAPI			RMdaDevSound::NotifyPlayError(TRequestStatus {ref});
  1.5137 +//!				RMdaDevSound::CancelNotifyPlayError()
  1.5138 +//! @SYMAuthor			Vassili Tsvetkov
  1.5139 +//! @SYMCreationDate		15/06/2008
  1.5140 +//! @SYMTestCaseDesc		Call CancelNotifyPlayError() twice without PlayData() executed
  1.5141 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
  1.5142 +//!				2. Call NotifyPlayError()
  1.5143 +//!				3. Call CancelNotifyPlayError()
  1.5144 +//!				4. Call CancelNotifyPlayError()
  1.5145 +//!				5. Call Close()
  1.5146 +//! @SYMTestStatus		Implemented
  1.5147 +//! @SYMTestPriority		Critical
  1.5148 +//! @SYMTestExpectedResults	NotifyPlayError() in step 2 completes with KErrCancel, CancelNotifyPlayError() in steps 3-4 complete without error
  1.5149 +//!
  1.5150 +//! @SYMTestType		CIT
  1.5151 +	START_TEST_BLOCK	100				t_sound			\base\sound\base-bsp-sound-driver.ini
  1.5152 +		CREATE_OBJECT	RMdaDevSound			devsound  
  1.5153 +		COMMAND		devsound			new
  1.5154 +		COMMAND		devsound			Open			UnitEnum
  1.5155 +		COMMAND	!AsyncError=-3	devsound		NotifyPlayError
  1.5156 +		ASYNC_DELAY	5000
  1.5157 +		COMMAND		devsound			CancelNotifyPlayError
  1.5158 +		COMMAND		devsound			CancelNotifyPlayError
  1.5159 +		OUTSTANDING
  1.5160 +		COMMAND		devsound  			Close
  1.5161 +		COMMAND		devsound  			~
  1.5162 +	END_TEST_BLOCK	 
  1.5163 +END_TESTCASE 			BASE-BSP-SOUND-DRIVER-7074
  1.5164 +
  1.5165 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-7075
  1.5166 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-7075
  1.5167 +//! @SYMAPI			RMdaDevSound::NotifyPlayError(TRequestStatus {ref});
  1.5168 +//!				RMdaDevSound::CancelNotifyPlayError()
  1.5169 +//! @SYMAuthor			Vassili Tsvetkov
  1.5170 +//! @SYMCreationDate		15/06/2008
  1.5171 +//! @SYMTestCaseDesc		Call CancelNotifyPlayError() twice without NotifyPlayError() executed
  1.5172 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
  1.5173 +//!				2. Call CancelNotifyPlayError()
  1.5174 +//!				3. Call CancelNotifyPlayError()
  1.5175 +//!				4. Call Close()
  1.5176 +//! @SYMTestStatus		Implemented
  1.5177 +//! @SYMTestPriority		Critical
  1.5178 +//! @SYMTestExpectedResults	CancelNotifyPlayError() in steps 2-3 complete without error
  1.5179 +//!
  1.5180 +//! @SYMTestType		CIT
  1.5181 +	START_TEST_BLOCK	100				t_sound			\base\sound\base-bsp-sound-driver.ini
  1.5182 +		CREATE_OBJECT	RMdaDevSound			devsound  
  1.5183 +		COMMAND		devsound			new
  1.5184 +		COMMAND		devsound			Open			UnitEnum
  1.5185 +		COMMAND		devsound			CancelNotifyPlayError
  1.5186 +		COMMAND		devsound			CancelNotifyPlayError
  1.5187 +		COMMAND		devsound  			Close
  1.5188 +		COMMAND		devsound  			~
  1.5189 +	END_TEST_BLOCK	 
  1.5190 +END_TESTCASE 			BASE-BSP-SOUND-DRIVER-7075
  1.5191 +
  1.5192 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-7076
  1.5193 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-7076
  1.5194 +//! @SYMAPI			RMdaDevSound::NotifyRecordError(TRequestStatus {ref});
  1.5195 +//!				RMdaDevSound::CancelNotifyRecordError()
  1.5196 +//! @SYMAuthor			Vassili Tsvetkov
  1.5197 +//! @SYMCreationDate		15/06/2008
  1.5198 +//! @SYMTestCaseDesc		Call CancelNotifyRecordError() twice while RecordData() is executed
  1.5199 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
  1.5200 +//!				2. Call NotifyRecordError()
  1.5201 +//!				3. Call GetRecordFormat() and verify from [default_record_format]
  1.5202 +//!				4. Call RecordData()
  1.5203 +//!				5. Call CancelNotifyRecordError()
  1.5204 +//!				6. Call CancelNotifyRecordError()
  1.5205 +//!				7. Call Close()
  1.5206 +//! @SYMTestStatus		Implemented
  1.5207 +//! @SYMTestPriority		Critical
  1.5208 +//! @SYMTestExpectedResults	NotifyRecordError() in step 2 completes with KErrCancel, CancelNotifyRecordError() in steps 5-6 complete without error
  1.5209 +//!
  1.5210 +//! @SYMTestType		CIT
  1.5211 +	START_TEST_BLOCK	100				t_sound			\base\sound\base-bsp-sound-driver.ini
  1.5212 +		CREATE_OBJECT	RMdaDevSound			devsound  
  1.5213 +		COMMAND		devsound			new
  1.5214 +		COMMAND		devsound			Open			UnitEnum
  1.5215 +		COMMAND	!AsyncError=-3	devsound			NotifyRecordError
  1.5216 +		CREATE_OBJECT	TCurrentSoundFormat		t_format		
  1.5217 +		COMMAND		t_format			new			
  1.5218 +		COMMAND		devsound			GetRecordFormat		BSP-SOUND-DRIVER-GetRecordFormat
  1.5219 +		//!verify default record configuration			
  1.5220 +		COMMAND		t_format			irate_get		default_record_format
  1.5221 +		COMMAND		t_format			iencoding_get		default_record_format
  1.5222 +		COMMAND		t_format			ichannels_get		default_record_format
  1.5223 +		COMMAND		t_format			ibuffer_size_get	default_record_format
  1.5224 +		COMMAND		devsound			RecordData
  1.5225 +		COMMAND		devsound			CancelNotifyRecordError
  1.5226 +		COMMAND		devsound			CancelNotifyRecordError
  1.5227 +		OUTSTANDING
  1.5228 +		COMMAND		t_format			~
  1.5229 +		COMMAND		devsound  			Close
  1.5230 +		COMMAND		devsound  			~
  1.5231 +	END_TEST_BLOCK	 
  1.5232 +END_TESTCASE 			BASE-BSP-SOUND-DRIVER-7076
  1.5233 +
  1.5234 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-7077
  1.5235 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-7077
  1.5236 +//! @SYMAPI			RMdaDevSound::NotifyRecordError(TRequestStatus {ref});
  1.5237 +//!				RMdaDevSound::CancelNotifyRecordError()
  1.5238 +//! @SYMAuthor			Vassili Tsvetkov
  1.5239 +//! @SYMCreationDate		15/06/2008
  1.5240 +//! @SYMTestCaseDesc		Call CancelNotifyRecordError() twice after RecordData() is executed
  1.5241 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
  1.5242 +//!				2. Call NotifyRecordError()
  1.5243 +//!				3. Call GetRecordFormat() and verify from [default_record_format]
  1.5244 +//!				4. Call RecordData()
  1.5245 +//!				5. Call CancelNotifyRecordError()
  1.5246 +//!				6. Call CancelNotifyRecordError()
  1.5247 +//!				7. Call Close()
  1.5248 +//! @SYMTestStatus		Implemented
  1.5249 +//! @SYMTestPriority		Critical
  1.5250 +//! @SYMTestExpectedResults	NotifyRecordError() in step 2 completes with KErrCancel, CancelNotifyRecordError() in steps 5-6 complete without error
  1.5251 +//!
  1.5252 +//! @SYMTestType		CIT
  1.5253 +	START_TEST_BLOCK	100				t_sound			\base\sound\base-bsp-sound-driver.ini
  1.5254 +		CREATE_OBJECT	RMdaDevSound			devsound  
  1.5255 +		COMMAND		devsound			new
  1.5256 +		COMMAND		devsound			Open			UnitEnum
  1.5257 +		COMMAND	!AsyncError=-3	devsound			NotifyRecordError
  1.5258 +		CREATE_OBJECT	TCurrentSoundFormat		t_format		
  1.5259 +		COMMAND		t_format			new			
  1.5260 +		COMMAND		devsound			GetRecordFormat		BSP-SOUND-DRIVER-GetRecordFormat
  1.5261 +		//!verify default record configuration			
  1.5262 +		COMMAND		t_format			irate_get		default_record_format
  1.5263 +		COMMAND		t_format			iencoding_get		default_record_format
  1.5264 +		COMMAND		t_format			ichannels_get		default_record_format
  1.5265 +		COMMAND		t_format			ibuffer_size_get	default_record_format
  1.5266 +		COMMAND		devsound			RecordData
  1.5267 +		ASYNC_DELAY	5000
  1.5268 +		COMMAND		devsound			CancelNotifyRecordError
  1.5269 +		COMMAND		devsound			CancelNotifyRecordError
  1.5270 +		OUTSTANDING
  1.5271 +		COMMAND		t_format			~
  1.5272 +		COMMAND		devsound  			Close
  1.5273 +		COMMAND		devsound  			~
  1.5274 +	END_TEST_BLOCK	 
  1.5275 +END_TESTCASE 			BASE-BSP-SOUND-DRIVER-7077
  1.5276 +
  1.5277 +
  1.5278 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-7078
  1.5279 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-7078
  1.5280 +//! @SYMAPI			RMdaDevSound::NotifyRecordError(TRequestStatus {ref});
  1.5281 +//!				RMdaDevSound::CancelNotifyRecordError()
  1.5282 +//! @SYMAuthor			Vassili Tsvetkov
  1.5283 +//! @SYMCreationDate		15/06/2008
  1.5284 +//! @SYMTestCaseDesc		Call CancelNotifyRecordError() twice without RecordData() executed
  1.5285 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
  1.5286 +//!				2. Call NotifyRecordError()
  1.5287 +//!				3. Call CancelNotifyRecordError()
  1.5288 +//!				4. Call CancelNotifyRecordError()
  1.5289 +//!				5. Call Close()
  1.5290 +//! @SYMTestStatus		Implemented
  1.5291 +//! @SYMTestPriority		Critical
  1.5292 +//! @SYMTestExpectedResults	NotifyRecordError() in step 2 completes with KErrCancel, CancelNotifyRecordError() in steps 3-4 complete without error
  1.5293 +//!
  1.5294 +//! @SYMTestType		CIT
  1.5295 +	START_TEST_BLOCK	100				t_sound			\base\sound\base-bsp-sound-driver.ini
  1.5296 +		CREATE_OBJECT	RMdaDevSound			devsound  
  1.5297 +		COMMAND		devsound			new
  1.5298 +		COMMAND		devsound			Open			UnitEnum
  1.5299 +		COMMAND	!AsyncError=-3	devsound			NotifyRecordError
  1.5300 +		ASYNC_DELAY	5000
  1.5301 +		COMMAND		devsound			CancelNotifyRecordError
  1.5302 +		COMMAND		devsound			CancelNotifyRecordError
  1.5303 +		OUTSTANDING
  1.5304 +		COMMAND		devsound  			Close
  1.5305 +		COMMAND		devsound  			~
  1.5306 +	END_TEST_BLOCK		 
  1.5307 +END_TESTCASE 			BASE-BSP-SOUND-DRIVER-7078
  1.5308 +
  1.5309 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-7079
  1.5310 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-7079
  1.5311 +//! @SYMAPI			RMdaDevSound::NotifyRecordError(TRequestStatus {ref});
  1.5312 +//!				RMdaDevSound::CancelNotifyRecordError()
  1.5313 +//! @SYMAuthor			Vassili Tsvetkov
  1.5314 +//! @SYMCreationDate		15/06/2008
  1.5315 +//! @SYMTestCaseDesc		Call CancelNotifyRecordError() twice without NotifyRecordError() executed
  1.5316 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
  1.5317 +//!				2. Call CancelNotifyRecordError()
  1.5318 +//!				3. Call CancelNotifyRecordError()
  1.5319 +//!				4. Call Close()
  1.5320 +//! @SYMTestStatus		Implemented
  1.5321 +//! @SYMTestPriority		Critical
  1.5322 +//! @SYMTestExpectedResults	CancelNotifyRecordError() in steps 2-3 complete without error
  1.5323 +//!
  1.5324 +//! @SYMTestType		CIT
  1.5325 +	START_TEST_BLOCK	100				t_sound			\base\sound\base-bsp-sound-driver.ini
  1.5326 +		CREATE_OBJECT	RMdaDevSound			devsound  
  1.5327 +		COMMAND		devsound			new
  1.5328 +		COMMAND		devsound			Open			UnitEnum
  1.5329 +		COMMAND		devsound			CancelNotifyRecordError
  1.5330 +		COMMAND		devsound			CancelNotifyRecordError
  1.5331 +		COMMAND		devsound  			Close
  1.5332 +		COMMAND		devsound  			~
  1.5333 +	END_TEST_BLOCK	 
  1.5334 +END_TESTCASE 			BASE-BSP-SOUND-DRIVER-7079
  1.5335 +
  1.5336 +/////////////////////////////////////////////
  1.5337 +// Playback-recording Cancel/Flush tests
  1.5338 +/////////////////////////////////////////////
  1.5339 +
  1.5340 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-7101
  1.5341 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-7101
  1.5342 +//! @SYMAPI			RMdaDevSound::FlushPlayBuffer()
  1.5343 +//! @SYMAuthor			Vassili Tsvetkov
  1.5344 +//! @SYMCreationDate		15/06/2008
  1.5345 +//! @SYMTestCaseDesc		Call FlushPlayBuffer() without calling PlayData() first
  1.5346 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
  1.5347 +//!				2. Call FlushPlayBuffer() 
  1.5348 +//!				3. Call Close()
  1.5349 +//! @SYMTestStatus		Implemented
  1.5350 +//! @SYMTestPriority		Critical
  1.5351 +//! @SYMTestExpectedResults	FlushPlayBuffer() completes without errors
  1.5352 +//!
  1.5353 +//! @SYMTestType		CIT
  1.5354 +	START_TEST_BLOCK	100				t_sound			\base\sound\base-bsp-sound-driver.ini
  1.5355 +		CREATE_OBJECT	RMdaDevSound			devsound  
  1.5356 +		COMMAND		devsound			new
  1.5357 +		COMMAND		devsound			Open			UnitEnum
  1.5358 +		COMMAND		devsound			FlushPlayBuffer
  1.5359 +		COMMAND		devsound  			Close
  1.5360 +		COMMAND		devsound  			~
  1.5361 +	END_TEST_BLOCK		 
  1.5362 +END_TESTCASE 			BASE-BSP-SOUND-DRIVER-7101
  1.5363 +
  1.5364 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-7102
  1.5365 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-7102
  1.5366 +//! @SYMAPI			RMdaDevSound::CancelPlayData()
  1.5367 +//! @SYMAuthor			Vassili Tsvetkov
  1.5368 +//! @SYMCreationDate		15/06/2008
  1.5369 +//! @SYMTestCaseDesc		Call CancelPlayData() without calling PlayData() first
  1.5370 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
  1.5371 +//!				2. Call CancelPlayData() 
  1.5372 +//!				3. Call Close()
  1.5373 +//! @SYMTestStatus		Implemented
  1.5374 +//! @SYMTestPriority		Critical
  1.5375 +//! @SYMTestExpectedResults	CancelPlayData() completes without errors
  1.5376 +//!
  1.5377 +//! @SYMTestType		CIT
  1.5378 +	START_TEST_BLOCK	100				t_sound			\base\sound\base-bsp-sound-driver.ini
  1.5379 +		CREATE_OBJECT	RMdaDevSound			devsound  
  1.5380 +		COMMAND		devsound			new
  1.5381 +		COMMAND		devsound			Open			UnitEnum
  1.5382 +		COMMAND		devsound			CancelPlayData
  1.5383 +		COMMAND		devsound  			Close
  1.5384 +		COMMAND		devsound  			~
  1.5385 +	END_TEST_BLOCK		 
  1.5386 +END_TESTCASE 			BASE-BSP-SOUND-DRIVER-7102
  1.5387 +
  1.5388 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-7103
  1.5389 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-7103
  1.5390 +//! @SYMAPI			RMdaDevSound::PlayData(TRequestStatus {ref}, TDes8 {ref});
  1.5391 +//!				RMdaDevSound::CancelPlayData()
  1.5392 +//! @SYMAuthor			Vassili Tsvetkov
  1.5393 +//! @SYMCreationDate		15/06/2008
  1.5394 +//! @SYMTestCaseDesc		Call CancelPlayData() 2 times in a row while PlayData() is executed
  1.5395 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
  1.5396 +//!				2. Call GetPlayFormat() and verify from [default_play_format]
  1.5397 +//!				3. Call PlayData() with [default_file_cancel]
  1.5398 +//!				4. Call CancelPlayData() 
  1.5399 +//!				5. Call CancelPlayData() 
  1.5400 +//!				6. Call Close()
  1.5401 +//! @SYMTestStatus		Implemented
  1.5402 +//! @SYMTestPriority		Critical
  1.5403 +//! @SYMTestExpectedResults	CancelPlayData() in step 4 and 5 completes without errors, PlayData() in step 3 finished with KErrCancel
  1.5404 +//!
  1.5405 +//! @SYMTestType		CIT
  1.5406 +	START_TEST_BLOCK	100				t_sound			\base\sound\base-bsp-sound-driver.ini
  1.5407 +		CREATE_OBJECT	RMdaDevSound			devsound  
  1.5408 +		COMMAND		devsound			new
  1.5409 +		COMMAND		devsound			Open			UnitEnum
  1.5410 +		CREATE_OBJECT	TCurrentSoundFormat		t_format		
  1.5411 +		COMMAND		t_format			new
  1.5412 +		COMMAND		devsound			GetPlayFormat		BSP-SOUND-DRIVER-GetPlayFormat
  1.5413 +		//!verify default play configuration			
  1.5414 +		COMMAND		t_format			irate_get		default_play_format
  1.5415 +		COMMAND		t_format			iencoding_get		default_play_format
  1.5416 +		COMMAND		t_format			ichannels_get		default_play_format
  1.5417 +		COMMAND		t_format			ibuffer_size_get	default_play_format
  1.5418 +		COMMAND	!AsyncError=-3	devsound			PlayData		default_file_cancel
  1.5419 +		COMMAND		devsound			CancelPlayData
  1.5420 +		OUTSTANDING
  1.5421 +		COMMAND		t_format			~
  1.5422 +		COMMAND		devsound  			Close
  1.5423 +		COMMAND		devsound  			~
  1.5424 +	END_TEST_BLOCK	 
  1.5425 +END_TESTCASE 			BASE-BSP-SOUND-DRIVER-7103
  1.5426 +
  1.5427 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-7104
  1.5428 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-7104
  1.5429 +//! @SYMAPI			RMdaDevSound::PlayData(TRequestStatus {ref}, TDes8 {ref});
  1.5430 +//!				RMdaDevSound::FlushPlayBuffer()
  1.5431 +//! @SYMAuthor			Vassili Tsvetkov
  1.5432 +//! @SYMCreationDate		15/06/2008
  1.5433 +//! @SYMTestCaseDesc		Call FlushPlayBuffer() 2 times in a row while PlayData() is executed
  1.5434 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
  1.5435 +//!				2. Call GetPlayFormat() and verify from [default_play_format]
  1.5436 +//!				3. Call PlayData() with [default_file_flush]
  1.5437 +//!				4. Call FlushPlayBuffer() 
  1.5438 +//!				5. Call FlushPlayBuffer() 
  1.5439 +//!				6. Call Close()
  1.5440 +//! @SYMTestStatus		Implemented
  1.5441 +//! @SYMTestPriority		Critical
  1.5442 +//! @SYMTestExpectedResults	FlushPlayBuffer() in step 4 and 5 completes without errors, PlayData() in step 3 finished with KErrCancel
  1.5443 +//!
  1.5444 +//! @SYMTestType		CIT
  1.5445 +	START_TEST_BLOCK	100				t_sound			\base\sound\base-bsp-sound-driver.ini
  1.5446 +		CREATE_OBJECT	RMdaDevSound			devsound  
  1.5447 +		COMMAND		devsound			new
  1.5448 +		COMMAND		devsound			Open			UnitEnum
  1.5449 +		CREATE_OBJECT	TCurrentSoundFormat		t_format		
  1.5450 +		COMMAND		t_format			new
  1.5451 +		COMMAND		devsound			GetPlayFormat		BSP-SOUND-DRIVER-GetPlayFormat
  1.5452 +		//!verify default play configuration			
  1.5453 +		COMMAND		t_format			irate_get		default_play_format
  1.5454 +		COMMAND		t_format			iencoding_get		default_play_format
  1.5455 +		COMMAND		t_format			ichannels_get		default_play_format
  1.5456 +		COMMAND		t_format			ibuffer_size_get	default_play_format
  1.5457 +		COMMAND	!AsyncError=-3	devsound			PlayData		default_file_flush
  1.5458 +		COMMAND		devsound			FlushPlayBuffer
  1.5459 +		OUTSTANDING
  1.5460 +		COMMAND		t_format			~
  1.5461 +		COMMAND		devsound  			Close
  1.5462 +		COMMAND		devsound  			~
  1.5463 +	END_TEST_BLOCK		 
  1.5464 +END_TESTCASE 			BASE-BSP-SOUND-DRIVER-7104
  1.5465 +
  1.5466 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-7105
  1.5467 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-7105
  1.5468 +//! @SYMAPI			RMdaDevSound::FlushRecordBuffer()
  1.5469 +//! @SYMAuthor			Vassili Tsvetkov
  1.5470 +//! @SYMCreationDate		15/06/2008
  1.5471 +//! @SYMTestCaseDesc		Call FlushRecordBuffer() without calling RecordData() first
  1.5472 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
  1.5473 +//!				2. Call FlushRecordBuffer() 
  1.5474 +//!				3. Call Close()
  1.5475 +//! @SYMTestStatus		Implemented
  1.5476 +//! @SYMTestPriority		Critical
  1.5477 +//! @SYMTestExpectedResults	FlushRecordBuffer() completes without errors
  1.5478 +//!
  1.5479 +//! @SYMTestType		CIT
  1.5480 +	START_TEST_BLOCK	100				t_sound			\base\sound\base-bsp-sound-driver.ini
  1.5481 +		CREATE_OBJECT	RMdaDevSound			devsound  
  1.5482 +		COMMAND		devsound			new
  1.5483 +		COMMAND		devsound			Open			UnitEnum
  1.5484 +		COMMAND		devsound			FlushRecordBuffer
  1.5485 +		COMMAND		devsound  			Close
  1.5486 +		COMMAND		devsound  			~
  1.5487 +	END_TEST_BLOCK	 
  1.5488 +END_TESTCASE 			BASE-BSP-SOUND-DRIVER-7105
  1.5489 +
  1.5490 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-7106
  1.5491 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-7106
  1.5492 +//! @SYMAPI			RMdaDevSound::CancelRecordData()
  1.5493 +//! @SYMAuthor			Vassili Tsvetkov
  1.5494 +//! @SYMCreationDate		15/06/2008
  1.5495 +//! @SYMTestCaseDesc		Call CancelRecordData() without calling RecordData first
  1.5496 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
  1.5497 +//!				2. Call CancelRecordData() 
  1.5498 +//!				3. Call Close()
  1.5499 +//! @SYMTestStatus		Implemented
  1.5500 +//! @SYMTestPriority		Critical
  1.5501 +//! @SYMTestExpectedResults	CancelRecordData() completes without errors
  1.5502 +//!
  1.5503 +//! @SYMTestType		CIT
  1.5504 +	START_TEST_BLOCK	100				t_sound			\base\sound\base-bsp-sound-driver.ini
  1.5505 +		CREATE_OBJECT	RMdaDevSound			devsound  
  1.5506 +		COMMAND		devsound			new
  1.5507 +		COMMAND		devsound			Open			UnitEnum
  1.5508 +		COMMAND		devsound			CancelRecordData
  1.5509 +		COMMAND		devsound  			Close
  1.5510 +		COMMAND		devsound  			~
  1.5511 +	END_TEST_BLOCK	 
  1.5512 +END_TESTCASE 			BASE-BSP-SOUND-DRIVER-7106
  1.5513 +
  1.5514 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-7107
  1.5515 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-7107
  1.5516 +//! @SYMAPI			RMdaDevSound::RecordData(TRequestStatus {ref}, TDes8 {ref});
  1.5517 +//!				RMdaDevSound::CancelRecordData()
  1.5518 +//! @SYMAuthor			Vassili Tsvetkov
  1.5519 +//! @SYMCreationDate		15/06/2008
  1.5520 +//! @SYMTestCaseDesc		Call CancelRecordData() 2 times in a row while RecordData() is executed
  1.5521 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
  1.5522 +//!				2. Call SetRecordFormat() with [default_record_format]
  1.5523 +//!				3. Call RecordData() with [record_data_32kb_cancel]
  1.5524 +//!				4. Call CancelRecordData() 
  1.5525 +//!				5. Call CancelRecordData() 
  1.5526 +//!				6. Call Close()
  1.5527 +//! @SYMTestStatus		Implemented
  1.5528 +//! @SYMTestPriority		Critical
  1.5529 +//! @SYMTestExpectedResults	CancelRecordData() in step 4 and 5 completes without errors, RecordData() in step 3 completes with KErrCancel
  1.5530 +//!
  1.5531 +//! @SYMTestType		CIT
  1.5532 +	START_TEST_BLOCK	100				t_sound			\base\sound\base-bsp-sound-driver.ini
  1.5533 +		CREATE_OBJECT	RMdaDevSound			devsound  
  1.5534 +		COMMAND		devsound			new
  1.5535 +		COMMAND		devsound			Open			UnitEnum
  1.5536 +		CREATE_OBJECT	TCurrentSoundFormat		t_format		
  1.5537 +		COMMAND		t_format			new
  1.5538 +		COMMAND		devsound			GetRecordFormat		BSP-SOUND-DRIVER-GetRecordFormat
  1.5539 +		//!verify default record configuration			
  1.5540 +		COMMAND		t_format			irate_get		default_record_format
  1.5541 +		COMMAND		t_format			iencoding_get		default_record_format
  1.5542 +		COMMAND		t_format			ichannels_get		default_record_format
  1.5543 +		COMMAND		t_format			ibuffer_size_get	default_record_format
  1.5544 +		COMMAND	!AsyncError=-3	devsound			RecordData	record_data_32kb_cancel
  1.5545 +		COMMAND		devsound			CancelRecordData
  1.5546 +		OUTSTANDING
  1.5547 +		COMMAND		t_format			~
  1.5548 +		COMMAND		devsound  			Close
  1.5549 +		COMMAND		devsound  			~
  1.5550 +	END_TEST_BLOCK	 
  1.5551 +END_TESTCASE 			BASE-BSP-SOUND-DRIVER-7107
  1.5552 +
  1.5553 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-7108
  1.5554 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-7108
  1.5555 +//! @SYMAPI			RMdaDevSound::RecordData(TRequestStatus {ref}, TDes8 {ref});
  1.5556 +//!				RMdaDevSound::FlushRecordBuffer()
  1.5557 +//! @SYMAuthor			Vassili Tsvetkov
  1.5558 +//! @SYMCreationDate		15/06/2008
  1.5559 +//! @SYMTestCaseDesc		Call FlushRecordBuffer() 2 times in a row while RecordData() is executed
  1.5560 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
  1.5561 +//!				2. Call GetRecordFormat() and verify from [default_record_format]
  1.5562 +//!				3. Call RecordData()
  1.5563 +//!				4. Call FlushRecordBuffer() 
  1.5564 +//!				5. Call FlushRecordBuffer() 
  1.5565 +//!				6. Call Close()
  1.5566 +//! @SYMTestStatus		Implemented
  1.5567 +//! @SYMTestPriority		Critical
  1.5568 +//! @SYMTestExpectedResults	FlushRecordBuffer() in step 4 and 5 completes without errors, RecordData() in step 3 finished with KErrNone
  1.5569 +//!
  1.5570 +//! @SYMTestType		CIT
  1.5571 +	START_TEST_BLOCK	100				t_sound			\base\sound\base-bsp-sound-driver.ini
  1.5572 +		CREATE_OBJECT	RMdaDevSound			devsound  
  1.5573 +		COMMAND		devsound			new
  1.5574 +		COMMAND		devsound			Open			UnitEnum
  1.5575 +		CREATE_OBJECT	TCurrentSoundFormat		t_format		
  1.5576 +		COMMAND		t_format			new
  1.5577 +		COMMAND		devsound			GetRecordFormat		BSP-SOUND-DRIVER-GetRecordFormat
  1.5578 +		//!verify default record configuration			
  1.5579 +		COMMAND		t_format			irate_get		default_record_format
  1.5580 +		COMMAND		t_format			iencoding_get		default_record_format
  1.5581 +		COMMAND		t_format			ichannels_get		default_record_format
  1.5582 +		COMMAND		t_format			ibuffer_size_get	default_record_format
  1.5583 +		COMMAND		devsound			RecordData	record_data_32kb	
  1.5584 +		COMMAND		devsound			FlushRecordBuffer
  1.5585 +		COMMAND		devsound			FlushRecordBuffer
  1.5586 +		OUTSTANDING
  1.5587 +		COMMAND		t_format			~
  1.5588 +		COMMAND		devsound  			Close
  1.5589 +		COMMAND		devsound  			~
  1.5590 +	END_TEST_BLOCK	 
  1.5591 +END_TESTCASE 			BASE-BSP-SOUND-DRIVER-7108
  1.5592 +
  1.5593 +/////////////////////////////////////////////
  1.5594 +// Volume
  1.5595 +/////////////////////////////////////////////
  1.5596 +
  1.5597 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-7201
  1.5598 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-7201					
  1.5599 +//! @SYMAPI			RMdaDevSound::PlayData(TRequestStatus {ref}, TDes8 {ref});
  1.5600 +//!				RMdaDevSound::SetPlayVolume(TInt);
  1.5601 +//!				RMdaDevSound::PlayVolume()
  1.5602 +//! @SYMAuthor			Vassili Tsvetkov
  1.5603 +//! @SYMCreationDate		15/06/2008
  1.5604 +//! @SYMTestCaseDesc		Set play volume with negative integer value.
  1.5605 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
  1.5606 +//!				2. Call GetPlayFormat and verify from [default_play_format]
  1.5607 +//!				3. Call SetPlayVolume() with negative integer value from [negative_play_volume]
  1.5608 +//!				4. Call PlayData() with valid sound data from [default_file]
  1.5609 +//!				5. Call PlayVolume() and compare the received value to [min_play_volume]
  1.5610 +//!				6. Call Close().
  1.5611 +//! @SYMTestStatus		Implemented
  1.5612 +//! @SYMTestPriority		Critical
  1.5613 +//! @SYMTestExpectedResults	Setting negative volume value is impossible. PlayVolume in step 4 returns min play volume.
  1.5614 +//!
  1.5615 +//! @SYMTestType		CIT
  1.5616 +	START_TEST_BLOCK	100				t_sound			\base\sound\base-bsp-sound-driver.ini
  1.5617 +		CREATE_OBJECT	RMdaDevSound			devsound  
  1.5618 +		COMMAND		devsound			new
  1.5619 +		COMMAND		devsound			Open			UnitEnum
  1.5620 +		CREATE_OBJECT	TCurrentSoundFormat		t_format		
  1.5621 +		COMMAND		t_format			new
  1.5622 +		COMMAND		devsound			GetPlayFormat		BSP-SOUND-DRIVER-GetPlayFormat
  1.5623 +		//!verify default play configuration			
  1.5624 +		COMMAND		t_format			irate_get		default_play_format
  1.5625 +		COMMAND		t_format			iencoding_get		default_play_format
  1.5626 +		COMMAND		t_format			ichannels_get		default_play_format
  1.5627 +		COMMAND		t_format			ibuffer_size_get	default_play_format
  1.5628 +		COMMAND		devsound			SetPlayVolume		negative_play_volume
  1.5629 +		COMMAND		devsound			PlayData		default_file	
  1.5630 +		OUTSTANDING
  1.5631 +		COMMAND		devsound			PlayVolume		min_play_volume
  1.5632 +		COMMAND		t_format			~
  1.5633 +		COMMAND		devsound  			Close
  1.5634 +		COMMAND		devsound  			~
  1.5635 +	END_TEST_BLOCK	 
  1.5636 +END_TESTCASE			BASE-BSP-SOUND-DRIVER-7201
  1.5637 +
  1.5638 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-7202
  1.5639 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-7202					
  1.5640 +//! @SYMAPI			RMdaDevSound::PlayData(TRequestStatus {ref}, TDes8 {ref});
  1.5641 +//!				RMdaDevSound::SetPlayVolume(TInt);
  1.5642 +//!				RMdaDevSound::PlayVolume()
  1.5643 +//! @SYMAuthor			Vassili Tsvetkov
  1.5644 +//! @SYMCreationDate		15/06/2008
  1.5645 +//! @SYMTestCaseDesc		Set play volume with too big integer value.
  1.5646 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
  1.5647 +//!				2. Call GetPlayFormat and verify from [default_play_format]
  1.5648 +//!				3. Call SetPlayVolume() with too big value from [too_big_play_volume]
  1.5649 +//!				4. Call PlayData() with valid sound data from [default_file]
  1.5650 +//!				5. Call PlayVolume() and compare the received value to [max_play_volume]
  1.5651 +//!				6. Call Close().
  1.5652 +//! @SYMTestStatus		Implemented
  1.5653 +//! @SYMTestPriority		Critical
  1.5654 +//! @SYMTestExpectedResults	Setting too big volume value is impossible. PlayVolume in step 4 returns max play volume.
  1.5655 +//!
  1.5656 +//! @SYMTestType		CIT
  1.5657 +	START_TEST_BLOCK	100				t_sound			\base\sound\base-bsp-sound-driver.ini
  1.5658 +		CREATE_OBJECT	RMdaDevSound			devsound  
  1.5659 +		COMMAND		devsound			new
  1.5660 +		COMMAND		devsound			Open			UnitEnum
  1.5661 +		CREATE_OBJECT	TCurrentSoundFormat		t_format		
  1.5662 +		COMMAND		t_format			new
  1.5663 +		COMMAND		devsound			GetPlayFormat		BSP-SOUND-DRIVER-GetPlayFormat
  1.5664 +		//!verify default play configuration			
  1.5665 +		COMMAND		t_format			irate_get		default_play_format
  1.5666 +		COMMAND		t_format			iencoding_get		default_play_format
  1.5667 +		COMMAND		t_format			ichannels_get		default_play_format
  1.5668 +		COMMAND		t_format			ibuffer_size_get	default_play_format
  1.5669 +		COMMAND		devsound			SetPlayVolume		too_big_play_volume
  1.5670 +		COMMAND		devsound			PlayData		default_file	
  1.5671 +		OUTSTANDING
  1.5672 +		COMMAND		devsound			PlayVolume		max_play_volume
  1.5673 +		COMMAND		t_format			~
  1.5674 +		COMMAND		devsound  			Close
  1.5675 +		COMMAND		devsound  			~
  1.5676 +	END_TEST_BLOCK	
  1.5677 +END_TESTCASE			BASE-BSP-SOUND-DRIVER-7202
  1.5678 +
  1.5679 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-7203
  1.5680 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-7203					
  1.5681 +//! @SYMAPI			RMdaDevSound::RecordData(TRequestStatus {ref}, TDes8 {ref});
  1.5682 +//!				RMdaDevSound::SetRecordLevel(TInt);
  1.5683 +//!				RMdaDevSound::RecordLevel()
  1.5684 +//! @SYMAuthor			Vassili Tsvetkov
  1.5685 +//! @SYMCreationDate		15/06/2008
  1.5686 +//! @SYMTestCaseDesc		Set record level with negative integer value.
  1.5687 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
  1.5688 +//!				2. Call GetRecordFormat and verify from [default_record_format]
  1.5689 +//!				3. Call SetRecordLevel() with negative integer value from [negative_record_level]
  1.5690 +//!				4. Call RecordData() 
  1.5691 +//!				5. Call FlushRecordBuffer() //needed because otherwise setting format in next step will fail with KErrInUse
  1.5692 +//!				6. Call RecordLevel() and compare the received value to [min_record_level]
  1.5693 +//!				7. Call Close().
  1.5694 +//! @SYMTestStatus		Implemented
  1.5695 +//! @SYMTestPriority		Critical
  1.5696 +//! @SYMTestExpectedResults	Setting negative volume level value is impossible. RecordLevel in step 4 returns min record level.
  1.5697 +//!
  1.5698 +//! @SYMTestType		CIT
  1.5699 +	START_TEST_BLOCK	100				t_sound			\base\sound\base-bsp-sound-driver.ini
  1.5700 +		CREATE_OBJECT	RMdaDevSound			devsound  
  1.5701 +		COMMAND		devsound			new
  1.5702 +		COMMAND		devsound			Open			UnitEnum
  1.5703 +		CREATE_OBJECT	TCurrentSoundFormat		t_format		
  1.5704 +		COMMAND		t_format			new
  1.5705 +		COMMAND		devsound			GetRecordFormat		BSP-SOUND-DRIVER-GetRecordFormat
  1.5706 +		//!verify default record configuration			
  1.5707 +		COMMAND		t_format			irate_get		default_record_format
  1.5708 +		COMMAND		t_format			iencoding_get		default_record_format
  1.5709 +		COMMAND		t_format			ichannels_get		default_record_format
  1.5710 +		COMMAND		t_format			ibuffer_size_get	default_record_format
  1.5711 +		COMMAND		devsound			SetRecordLevel		negative_record_level
  1.5712 +		COMMAND		devsound			RecordData		record_data_32kb	
  1.5713 +		OUTSTANDING
  1.5714 +		COMMAND			devsound			FlushRecordBuffer
  1.5715 +		COMMAND		devsound			RecordLevel		min_record_level
  1.5716 +		COMMAND		t_format			~
  1.5717 +		COMMAND		devsound  			Close
  1.5718 +		COMMAND		devsound  			~
  1.5719 +	END_TEST_BLOCK	
  1.5720 +END_TESTCASE			BASE-BSP-SOUND-DRIVER-7203
  1.5721 +
  1.5722 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-7204
  1.5723 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-7204					
  1.5724 +//! @SYMAPI			RMdaDevSound::RecordData(TRequestStatus {ref}, TDes8 {ref});
  1.5725 +//!				RMdaDevSound::SetRecordLevel(TInt);
  1.5726 +//!				RMdaDevSound::RecordLevel()
  1.5727 +//! @SYMAuthor			Vassili Tsvetkov
  1.5728 +//! @SYMCreationDate		15/06/2008
  1.5729 +//! @SYMTestCaseDesc		Set record level with too big value.
  1.5730 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
  1.5731 +//!				2. Call GetRecordFormat and verify from [default_record_format]
  1.5732 +//!				3. Call SetRecordLevel() with too big value from [too_big_record_level]
  1.5733 +//!				4. Call RecordData() 
  1.5734 +//!				5. Call FlushRecordBuffer() //needed because otherwise setting format in next step will fail with KErrInUse
  1.5735 +//!				6. Call RecordLevel() and compare the received value to [max_record_level]
  1.5736 +//!				7. Call Close().
  1.5737 +//! @SYMTestStatus		Implemented
  1.5738 +//! @SYMTestPriority		Critical
  1.5739 +//! @SYMTestExpectedResults	Setting too big volume level value is impossible. RecordLevel in step 4 returns max record level.
  1.5740 +//!
  1.5741 +//! @SYMTestType		CIT
  1.5742 +	START_TEST_BLOCK	100				t_sound			\base\sound\base-bsp-sound-driver.ini
  1.5743 +		CREATE_OBJECT	RMdaDevSound			devsound  
  1.5744 +		COMMAND		devsound			new
  1.5745 +		COMMAND		devsound			Open			UnitEnum
  1.5746 +		CREATE_OBJECT	TCurrentSoundFormat		t_format		
  1.5747 +		COMMAND		t_format			new
  1.5748 +		COMMAND		devsound			GetRecordFormat		BSP-SOUND-DRIVER-GetRecordFormat
  1.5749 +		//!verify default record configuration			
  1.5750 +		COMMAND		t_format			irate_get		default_record_format
  1.5751 +		COMMAND		t_format			iencoding_get		default_record_format
  1.5752 +		COMMAND		t_format			ichannels_get		default_record_format
  1.5753 +		COMMAND		t_format			ibuffer_size_get	default_record_format
  1.5754 +		COMMAND		devsound			SetRecordLevel		too_big_record_level
  1.5755 +		COMMAND		devsound			RecordData		record_data_32kb	
  1.5756 +		OUTSTANDING
  1.5757 +		COMMAND			devsound			FlushRecordBuffer
  1.5758 +		COMMAND		devsound			RecordLevel		max_record_level
  1.5759 +		COMMAND		t_format			~
  1.5760 +		COMMAND		devsound  			Close
  1.5761 +		COMMAND		devsound  			~
  1.5762 +	END_TEST_BLOCK		
  1.5763 +END_TESTCASE			BASE-BSP-SOUND-DRIVER-7204
  1.5764 +
  1.5765 +/////////////////////////////////////////////
  1.5766 +// Corrupted audio
  1.5767 +/////////////////////////////////////////////
  1.5768 +
  1.5769 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-7301
  1.5770 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-7301					
  1.5771 +//! @SYMAPI			RMdaDevSound::PlayData(TRequestStatus {ref}, TDes8 {ref})
  1.5772 +//! @SYMAuthor			Vassili Tsvetkov
  1.5773 +//! @SYMCreationDate		15/06/2008
  1.5774 +//! @SYMTestCaseDesc		Play corrupted audio data.
  1.5775 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
  1.5776 +//!				2. Call GetPlayFormat() and verify from [default_play_format]
  1.5777 +//!				3. Call PlayData() with [corrupted_audio_file] 
  1.5778 +//!				4. Call Close().
  1.5779 +//! @SYMTestStatus		Implemented
  1.5780 +//! @SYMTestPriority		Critical
  1.5781 +//! @SYMTestExpectedResults	Playing audio completes without any errors.
  1.5782 +//!
  1.5783 +//! @SYMTestType		CIT
  1.5784 +	START_TEST_BLOCK	100				t_sound			\base\sound\base-bsp-sound-driver.ini
  1.5785 +		CREATE_OBJECT	RMdaDevSound			devsound  
  1.5786 +		COMMAND		devsound			new
  1.5787 +		COMMAND		devsound			Open			UnitEnum
  1.5788 +		CREATE_OBJECT	TCurrentSoundFormat		t_format		
  1.5789 +		COMMAND		t_format			new
  1.5790 +		COMMAND		devsound			GetPlayFormat		BSP-SOUND-DRIVER-GetPlayFormat
  1.5791 +		//!verify default play configuration			
  1.5792 +		COMMAND		t_format			irate_get		default_play_format
  1.5793 +		COMMAND		t_format			iencoding_get		default_play_format
  1.5794 +		COMMAND		t_format			ichannels_get		default_play_format
  1.5795 +		COMMAND		t_format			ibuffer_size_get	default_play_format
  1.5796 +		COMMAND		devsound			PlayData		corrupted_audio_file
  1.5797 +		OUTSTANDING
  1.5798 +		COMMAND		t_format			~
  1.5799 +		COMMAND		devsound  			Close
  1.5800 +		COMMAND		devsound  			~
  1.5801 +	END_TEST_BLOCK	
  1.5802 +END_TESTCASE			BASE-BSP-SOUND-DRIVER-7301
  1.5803 +
  1.5804 +/////////////////////////////////////////////
  1.5805 +// Combinations of APIs
  1.5806 +/////////////////////////////////////////////
  1.5807 +
  1.5808 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-7401
  1.5809 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-7401					
  1.5810 +//! @SYMAPI			RMdaDevSound::PlayData(TRequestStatus {ref}, TDes8 {ref});
  1.5811 +//!				RMdaDevSound::PausePlayBuffer();
  1.5812 +//!				RMdaDevSound::ResumePlaying();
  1.5813 +//!				RMdaDevSound::SetPlayVolume(TInt);
  1.5814 +//!				RMdaDevSound::PlayVolume()
  1.5815 +//! @SYMAuthor			Vassili Tsvetkov
  1.5816 +//! @SYMCreationDate		15/06/2008
  1.5817 +//! @SYMTestCaseDesc		Play default audio with default volume, pause playing and set volume to 50% and resume playing. 
  1.5818 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
  1.5819 +//!				2. Call GetPlayFormat() and verify from [default_play_format]
  1.5820 +//!				3. Call NotifyPlayError() //needed because otherwise PlayData() will not really stop after Outstanding
  1.5821 +//!				4. Call PlayData() with [default_audio_file] 
  1.5822 +//!				5. Call PausePlayBuffer()
  1.5823 +//!				6. Call SetPlayVolume() with 50% volume from [play_volume_quater]
  1.5824 +//!				7. Call ResumePlaying()
  1.5825 +//!				8. PlayVolume() and compare received value with [play_volume_quater]
  1.5826 +//!				9. Call Close().
  1.5827 +//! @SYMTestStatus		Implemented
  1.5828 +//! @SYMTestPriority		Critical
  1.5829 +//! @SYMTestExpectedResults	Volume received in step 7 is equal to [playback_volume_half].
  1.5830 +//!
  1.5831 +//! @SYMTestType		CIT
  1.5832 +	START_TEST_BLOCK	100				t_sound			\base\sound\base-bsp-sound-driver.ini
  1.5833 +		CREATE_OBJECT	RMdaDevSound			devsound  
  1.5834 +		COMMAND		devsound			new
  1.5835 +		COMMAND		devsound			Open			UnitEnum
  1.5836 +		CREATE_OBJECT	TCurrentSoundFormat		t_format		
  1.5837 +		COMMAND		t_format			new
  1.5838 +		COMMAND		devsound			GetPlayFormat		BSP-SOUND-DRIVER-GetPlayFormat
  1.5839 +		//!verify default play configuration			
  1.5840 +		COMMAND		t_format			irate_get		default_play_format
  1.5841 +		COMMAND		t_format			iencoding_get		default_play_format
  1.5842 +		COMMAND		t_format			ichannels_get		default_play_format
  1.5843 +		COMMAND		t_format			ibuffer_size_get	default_play_format
  1.5844 +		COMMAND !AsyncError=-10	devsound			NotifyPlayError
  1.5845 +		COMMAND		devsound			PlayData		default_file
  1.5846 +		COMMAND		devsound			PausePlayBuffer
  1.5847 +		COMMAND		devsound			SetPlayVolume		play_volume_quater
  1.5848 +		COMMAND		devsound			ResumePlaying
  1.5849 +		OUTSTANDING
  1.5850 +		COMMAND		devsound			PlayVolume		play_volume_quater
  1.5851 +		COMMAND		t_format			~
  1.5852 +		COMMAND		devsound  			Close
  1.5853 +		COMMAND		devsound  			~
  1.5854 +	END_TEST_BLOCK	
  1.5855 +END_TESTCASE			BASE-BSP-SOUND-DRIVER-7401
  1.5856 +
  1.5857 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-7402
  1.5858 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-7402					
  1.5859 +//! @SYMAPI			RMdaDevSound::PlayData(TRequestStatus {ref}, TDes8 {ref});
  1.5860 +//!				RMdaDevSound::FlushPlayBuffer();
  1.5861 +//!				RMdaDevSound::BytesPlayed()
  1.5862 +//! @SYMAuthor			Vassili Tsvetkov
  1.5863 +//! @SYMCreationDate		15/06/2008
  1.5864 +//! @SYMTestCaseDesc		Play default audio file. Flush play buffer after that and verify count of bytes played. 
  1.5865 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
  1.5866 +//!				2. Call GetPlayFormat() and verify from [default_play_format]
  1.5867 +//!				3. Call NotifyPlayError() //needed because otherwise PlayData() will not really stop after Outstanding
  1.5868 +//!				4. Call PlayData() with [default_audio_file] 
  1.5869 +//!				5. Delay for 1 sec, then BytesPlayed API is being called after the DMA ISR updates the variable
  1.5870 +//!				6. Call BytesPlayed() where expected result equals [32_kb_played]
  1.5871 +//!				7. Call FlushPlayBuffer()
  1.5872 +//!				8. Delay for 1 sec, then BytesPlayed API is being called after the DMA ISR updates the variable
  1.5873 +//!				9. Call BytesPlayed() where expected result equals [32_kb_played]
  1.5874 +//!				10. Call Close().
  1.5875 +//! @SYMTestStatus		Implemented
  1.5876 +//! @SYMTestPriority		Critical
  1.5877 +//! @SYMTestExpectedResults	Bytes played count is equal with [32_kb_played] in steps 4 and 6.
  1.5878 +//!
  1.5879 +//! @SYMTestType		CIT
  1.5880 +	START_TEST_BLOCK	100				t_sound			\base\sound\base-bsp-sound-driver.ini
  1.5881 +		CREATE_OBJECT	RMdaDevSound			devsound  
  1.5882 +		COMMAND		devsound			new
  1.5883 +		COMMAND		devsound			Open			UnitEnum
  1.5884 +		CREATE_OBJECT	TCurrentSoundFormat		t_format		
  1.5885 +		COMMAND		t_format			new
  1.5886 +		COMMAND		devsound			GetPlayFormat		BSP-SOUND-DRIVER-GetPlayFormat
  1.5887 +		//!verify default play configuration			
  1.5888 +		COMMAND		t_format			irate_get		default_play_format
  1.5889 +		COMMAND		t_format			iencoding_get		default_play_format
  1.5890 +		COMMAND		t_format			ichannels_get		default_play_format
  1.5891 +		COMMAND		t_format			ibuffer_size_get	default_play_format
  1.5892 +		COMMAND !AsyncError=-10	devsound			NotifyPlayError
  1.5893 +		COMMAND		devsound			PlayData		default_file
  1.5894 +		OUTSTANDING
  1.5895 +		DELAY	5000
  1.5896 +		COMMAND		devsound			BytesPlayed		32_kb_played
  1.5897 +		COMMAND		devsound			FlushPlayBuffer
  1.5898 +		DELAY	5000
  1.5899 +		COMMAND		devsound			BytesPlayed		32_kb_played
  1.5900 +		COMMAND		t_format			~
  1.5901 +		COMMAND		devsound  			Close
  1.5902 +		COMMAND		devsound  			~
  1.5903 +	END_TEST_BLOCK		
  1.5904 +END_TESTCASE			BASE-BSP-SOUND-DRIVER-7402
  1.5905 +
  1.5906 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-7403
  1.5907 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-7403					
  1.5908 +//! @SYMAPI			RMdaDevSound::PlayData(TRequestStatus {ref}, TDes8 {ref});
  1.5909 +//!				RMdaDevSound::PausePlayBuffer();
  1.5910 +//!				RMdaDevSound::ResumePlaying();
  1.5911 +//!				RMdaDevSound::BytesPlayed()
  1.5912 +//! @SYMAuthor			Vassili Tsvetkov
  1.5913 +//! @SYMCreationDate		15/06/2008
  1.5914 +//! @SYMTestCaseDesc		Play default audio file. Pause playing and resume again for 3 times. See count of bytes played.
  1.5915 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
  1.5916 +//!				2. Call GetPlayFormat() and verify from [default_play_format]
  1.5917 +//!				3. Call NotifyPlayError() //needed because otherwise PlayData() will not really stop after Outstanding
  1.5918 +//!				3. Call PlayData() with [default_audio_file] 
  1.5919 +//!				4. Call PausePlayBuffer() 
  1.5920 +//!				5. Call ResumePlaying() 
  1.5921 +//!				6. Call PausePlayBuffer() 
  1.5922 +//!				7. Call ResumePlaying()
  1.5923 +//!				8. Call PausePlayBuffer() 
  1.5924 +//!				9. Call ResumePlaying()
  1.5925 +//!				10. Delay for 1 sec, then BytesPlayed API is being called after the DMA ISR updates the variable
  1.5926 +//!				11. Call BytesPlayed() where expected result equals [32_kb_played]
  1.5927 +//!				12. Call Close().
  1.5928 +//! @SYMTestStatus		Implemented
  1.5929 +//! @SYMTestPriority		Critical
  1.5930 +//! @SYMTestExpectedResults	Bytes played count is equal with [32_kb_played] in step 10.
  1.5931 +//!
  1.5932 +//! @SYMTestType		CIT
  1.5933 +	START_TEST_BLOCK	100				t_sound			\base\sound\base-bsp-sound-driver.ini
  1.5934 +		CREATE_OBJECT	RMdaDevSound			devsound  
  1.5935 +		COMMAND		devsound			new
  1.5936 +		COMMAND		devsound			Open			UnitEnum
  1.5937 +		CREATE_OBJECT	TCurrentSoundFormat		t_format		
  1.5938 +		COMMAND		t_format			new
  1.5939 +		COMMAND		devsound			GetPlayFormat		BSP-SOUND-DRIVER-GetPlayFormat
  1.5940 +		//!verify default play configuration			
  1.5941 +		COMMAND		t_format			irate_get		default_play_format
  1.5942 +		COMMAND		t_format			iencoding_get		default_play_format
  1.5943 +		COMMAND		t_format			ichannels_get		default_play_format
  1.5944 +		COMMAND		t_format			ibuffer_size_get	default_play_format
  1.5945 +		COMMAND !AsyncError=-10	devsound			NotifyPlayError
  1.5946 +		COMMAND		devsound			PlayData		default_file
  1.5947 +		COMMAND		devsound			PausePlayBuffer	
  1.5948 +		COMMAND		devsound			ResumePlaying	
  1.5949 +		COMMAND		devsound			PausePlayBuffer	
  1.5950 +		COMMAND		devsound			ResumePlaying	
  1.5951 +		COMMAND		devsound			PausePlayBuffer	
  1.5952 +		COMMAND		devsound			ResumePlaying	
  1.5953 +		OUTSTANDING
  1.5954 +		DELAY		5000
  1.5955 +		COMMAND		devsound			BytesPlayed		32_kb_played
  1.5956 +		COMMAND		t_format			~
  1.5957 +		COMMAND		devsound  			Close
  1.5958 +		COMMAND		devsound  			~
  1.5959 +	END_TEST_BLOCK		
  1.5960 +END_TESTCASE			BASE-BSP-SOUND-DRIVER-7403
  1.5961 +
  1.5962 +
  1.5963 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-7404
  1.5964 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-7404					
  1.5965 +//! @SYMAPI			RMdaDevSound::RecordData(TRequestStatus {ref}, TDes8 {ref});
  1.5966 +//!				RMdaDevSound::CancelRecordData();
  1.5967 +//!				RMdaDevSound::SetRecordLevel(TInt);
  1.5968 +//!				RMdaDevSound::RecordLevel()
  1.5969 +//! @SYMAuthor			Vassili Tsvetkov
  1.5970 +//! @SYMCreationDate		15/06/2008
  1.5971 +//! @SYMTestCaseDesc		Record audio with default record format and default record level. Cancel recording in progress. Set Record level to 50%
  1.5972 +//!				and start recording again. Verify that record level is 50% after recording is completed.
  1.5973 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
  1.5974 +//!				2. Call GetRecordFormat() and verify from [default_record_format]
  1.5975 +//!				3. Call RecordData()  with [record_data_32kb_cancel]
  1.5976 +//!				4. Call CancelRecordData()
  1.5977 +//!				5. Call FlushRecordBuffer() //needed because otherwise operation in next step will fail with KErrInUse
  1.5978 +//!				6. Call SetRecordLevel() with 50% volume from [half_record_level]
  1.5979 +//!				7. Call RecordData()
  1.5980 +//!				8. Call FlushRecordBuffer() //needed because otherwise operation in next step will fail with KErrInUse
  1.5981 +//!				9. RecordLevel() and compare received value with [half_record_level]
  1.5982 +//!				10. Call Close().
  1.5983 +//! @SYMTestStatus		Implemented
  1.5984 +//! @SYMTestPriority		Critical
  1.5985 +//! @SYMTestExpectedResults	Volume received in step 7 is equal to [half_record_level].
  1.5986 +//!
  1.5987 +//! @SYMTestType		CIT
  1.5988 +	START_TEST_BLOCK	100				t_sound			\base\sound\base-bsp-sound-driver.ini
  1.5989 +		CREATE_OBJECT	RMdaDevSound			devsound  
  1.5990 +		COMMAND		devsound			new
  1.5991 +		COMMAND		devsound			Open			UnitEnum
  1.5992 +		CREATE_OBJECT	TCurrentSoundFormat		t_format		
  1.5993 +		COMMAND		t_format			new
  1.5994 +		COMMAND		devsound			GetRecordFormat		BSP-SOUND-DRIVER-GetRecordFormat
  1.5995 +		//!verify default play configuration			
  1.5996 +		COMMAND		t_format			irate_get		default_record_format
  1.5997 +		COMMAND		t_format			iencoding_get		default_record_format
  1.5998 +		COMMAND		t_format			ichannels_get		default_record_format
  1.5999 +		COMMAND		t_format			ibuffer_size_get	default_record_format
  1.6000 +		COMMAND	!AsyncError=-3	devsound			RecordData	record_data_32kb_cancel
  1.6001 +		COMMAND		devsound			SetRecordLevel		half_record_level
  1.6002 +		OUTSTANDING
  1.6003 +		COMMAND			devsound			FlushRecordBuffer
  1.6004 +		COMMAND		devsound			RecordData
  1.6005 +		OUTSTANDING
  1.6006 +		COMMAND			devsound			FlushRecordBuffer
  1.6007 +		COMMAND		devsound			RecordLevel		half_record_level
  1.6008 +		COMMAND		t_format			~
  1.6009 +		COMMAND		devsound  			Close
  1.6010 +		COMMAND		devsound  			~
  1.6011 +	END_TEST_BLOCK	
  1.6012 +END_TESTCASE			BASE-BSP-SOUND-DRIVER-7404
  1.6013 +
  1.6014 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-7405
  1.6015 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-7405					
  1.6016 +//! @SYMAPI			RMdaDevSound::RecordData(TRequestStatus {ref}, TDes8 {ref});
  1.6017 +//!				RMdaDevSound::PlayData(TRequestStatus {ref}, TDes8 {ref});
  1.6018 +//!				RMdaDevSound::FlushRecordBuffer()
  1.6019 +//! @SYMAuthor			Vassili Tsvetkov
  1.6020 +//! @SYMCreationDate		15/06/2008
  1.6021 +//! @SYMTestCaseDesc		FlushRecordBuffer first and then record audio with default record format and then play recorded audio file.
  1.6022 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
  1.6023 +//!				2. Call FlushRecordBuffer()
  1.6024 +//!				3. Call GetRecordFormat() and verify from [default_record_format]
  1.6025 +//!				4. Call RecordData() to [temp_audio_file]
  1.6026 +//!				5. Call GetPlayFormat() and verify from [default_play_format]
  1.6027 +//!				6. Call NotifyPlayError() //needed because otherwise PlayData() will not really stop after Outstanding
  1.6028 +//!				7. Call PlayData() from [temp_audio_file]
  1.6029 +//!				8. Call Close().
  1.6030 +//! @SYMTestStatus		Implemented
  1.6031 +//! @SYMTestPriority		Critical
  1.6032 +//! @SYMTestExpectedResults	Audio is recorded and played properly.
  1.6033 +//!
  1.6034 +//! @SYMTestType		CIT
  1.6035 +	START_TEST_BLOCK	100				t_sound			\base\sound\base-bsp-sound-driver.ini
  1.6036 +		CREATE_OBJECT	RMdaDevSound			devsound  
  1.6037 +		COMMAND		devsound			new
  1.6038 +		COMMAND		devsound			Open			UnitEnum
  1.6039 +		COMMAND		devsound			FlushRecordBuffer
  1.6040 +		CREATE_OBJECT	TCurrentSoundFormat		t_format		
  1.6041 +		COMMAND		t_format			new
  1.6042 +		COMMAND		devsound			GetRecordFormat		BSP-SOUND-DRIVER-GetRecordFormat
  1.6043 +		//!verify default record configuration			
  1.6044 +		COMMAND		t_format			irate_get		default_record_format
  1.6045 +		COMMAND		t_format			iencoding_get		default_record_format
  1.6046 +		COMMAND		t_format			ichannels_get		default_record_format
  1.6047 +		COMMAND		t_format			ibuffer_size_get	default_record_format
  1.6048 +		COMMAND		devsound			RecordData		temp_file		
  1.6049 +		OUTSTANDING
  1.6050 +		COMMAND			devsound			FlushRecordBuffer
  1.6051 +		COMMAND		devsound			GetPlayFormat		BSP-SOUND-DRIVER-GetPlayFormat
  1.6052 +		//!verify default play configuration			
  1.6053 +		COMMAND		t_format			irate_get		default_play_format
  1.6054 +		COMMAND		t_format			iencoding_get		default_play_format
  1.6055 +		COMMAND		t_format			ichannels_get		default_play_format
  1.6056 +		COMMAND		t_format			ibuffer_size_get	default_play_format
  1.6057 +		COMMAND !AsyncError=-10	devsound			NotifyPlayError
  1.6058 +		COMMAND		devsound			PlayData		temp_file
  1.6059 +		OUTSTANDING
  1.6060 +		COMMAND		devsound			utilityDeleteFile	delete_temp_file
  1.6061 +		COMMAND		t_format			~
  1.6062 +		COMMAND		devsound  			Close
  1.6063 +		COMMAND		devsound  			~
  1.6064 +	END_TEST_BLOCK	
  1.6065 +END_TESTCASE			BASE-BSP-SOUND-DRIVER-7405
  1.6066 +
  1.6067 +START_TESTCASE 			BASE-BSP-SOUND-DRIVER-7406
  1.6068 +//! @SYMTestCaseID		BASE-BSP-SOUND-DRIVER-7406					
  1.6069 +//! @SYMAPI			RMdaDevSound::RecordData(TRequestStatus {ref}, TDes8 {ref});
  1.6070 +//!				RMdaDevSound::PlayData(TRequestStatus {ref}, TDes8 {ref});
  1.6071 +//!				RMdaDevSound::CancelRecordData()
  1.6072 +//! @SYMAuthor			Vassili Tsvetkov
  1.6073 +//! @SYMCreationDate		15/06/2008
  1.6074 +//! @SYMTestCaseDesc		CancelRecordData first and then record audio with default record format and then play recorded audio file.
  1.6075 +//! @SYMTestActions		1. Call Open() with unit [UnitEnum]
  1.6076 +//!				2. Call CancelRecordData()
  1.6077 +//!				3. Call GetRecordFormat() and verify from [default_record_format]
  1.6078 +//!				4. Call RecordData() to [temp_audio_file]
  1.6079 +//!				5. Call GetPlayFormat() and verify from [default_play_format]
  1.6080 +//!				6. Call NotifyPlayError() //needed because otherwise PlayData() will not really stop after Outstanding
  1.6081 +//!				7. Call PlayData() from [temp_audio_file]
  1.6082 +//!				8. Call Close().
  1.6083 +//! @SYMTestStatus		Implemented
  1.6084 +//! @SYMTestPriority		Critical
  1.6085 +//! @SYMTestExpectedResults	Audio is recorded and played properly.
  1.6086 +//!
  1.6087 +//! @SYMTestType		CIT
  1.6088 +	START_TEST_BLOCK	100				t_sound			\base\sound\base-bsp-sound-driver.ini
  1.6089 +		CREATE_OBJECT	RMdaDevSound			devsound  
  1.6090 +		COMMAND		devsound			new
  1.6091 +		COMMAND		devsound			Open			UnitEnum
  1.6092 +		COMMAND		devsound			CancelRecordData
  1.6093 +		CREATE_OBJECT	TCurrentSoundFormat		t_format		
  1.6094 +		COMMAND		t_format			new
  1.6095 +		COMMAND		devsound			GetRecordFormat		BSP-SOUND-DRIVER-GetRecordFormat
  1.6096 +		//!verify default record configuration			
  1.6097 +		COMMAND		t_format			irate_get		default_record_format
  1.6098 +		COMMAND		t_format			iencoding_get		default_record_format
  1.6099 +		COMMAND		t_format			ichannels_get		default_record_format
  1.6100 +		COMMAND		t_format			ibuffer_size_get	default_record_format
  1.6101 +		COMMAND		devsound			RecordData		temp_file		
  1.6102 +		OUTSTANDING
  1.6103 +		COMMAND			devsound			FlushRecordBuffer
  1.6104 +		COMMAND		devsound			GetPlayFormat		BSP-SOUND-DRIVER-GetPlayFormat
  1.6105 +		//!verify default play configuration			
  1.6106 +		COMMAND		t_format			irate_get		default_play_format
  1.6107 +		COMMAND		t_format			iencoding_get		default_play_format
  1.6108 +		COMMAND		t_format			ichannels_get		default_play_format
  1.6109 +		COMMAND		t_format			ibuffer_size_get	default_play_format
  1.6110 +		COMMAND !AsyncError=-10	devsound			NotifyPlayError
  1.6111 +		COMMAND		devsound			PlayData		temp_file
  1.6112 +		OUTSTANDING
  1.6113 +		COMMAND		devsound			utilityDeleteFile	delete_temp_file
  1.6114 +		COMMAND		t_format			~
  1.6115 +		COMMAND		devsound  			Close
  1.6116 +		COMMAND		devsound  			~
  1.6117 +	END_TEST_BLOCK		
  1.6118 +END_TESTCASE			BASE-BSP-SOUND-DRIVER-7406