sl@0: // Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
sl@0: // All rights reserved.
sl@0: // This component and the accompanying materials are made available
sl@0: // under the terms of "Eclipse Public License v1.0"
sl@0: // which accompanies this distribution, and is available
sl@0: // at the URL "http://www.eclipse.org/legal/epl-v10.html".
sl@0: //
sl@0: // Initial Contributors:
sl@0: // Nokia Corporation - initial contribution.
sl@0: //
sl@0: // Contributors:
sl@0: //
sl@0: // Description:
sl@0: //
sl@0: 
sl@0: LOAD_SUITE tsi_a3f_devsound.dll
sl@0: 
sl@0: //! @SYMTestCaseID				MM-A3F-DEVSOUND-PLAY-PCM-I-0008
sl@0: //! @SYMTestCaseDesc			Positive: PCM 22.050k stereo playback (+ve)
sl@0: //! @SYMTestPriority			High
sl@0: //! @SYMTestType				CIT
sl@0: //! @SYMREQ 					7918
sl@0: //! @SYMPREQ					1540
sl@0: //! @SYMTestActions 			1.	Configure DevSound to play PCM16 raw audio data in stereo mode with sampling rate of 22.050 KHz.
sl@0: //! 							2.	Start playing and read recorded data from file.
sl@0: //! 							3.	Stop playback once EOF is reached.
sl@0: //! @SYMTestExpectedResults 	Devsound to successfully play PCM16 raw audio data in stereo mode with sampling rate of 22.050 KHz with all the DevSound callback functions
sl@0: //! 							being executed as required throughout the test.
sl@0: 
sl@0: RUN_TEST_STEP 600000 TSI_A3F_DEVSOUND MM-A3F-DEVSOUND-PLAY-PCM-I-0008 \tsi_a3f_devsound\tsi_a3f_devsound_play.ini
sl@0: TEST_COMPLETE
sl@0: 
sl@0: 
sl@0: //! @SYMTestCaseID				MM-A3F-DEVSOUND-PLAY-PCM-I-0009
sl@0: //! @SYMTestCaseDesc			Positive: PCM 32k mono playback (+ve)
sl@0: //! @SYMTestPriority			High
sl@0: //! @SYMTestType				CIT
sl@0: //! @SYMREQ 					7918
sl@0: //! @SYMPREQ					1540
sl@0: //! @SYMTestActions 			1.	Configure DevSound to play PCM16 raw audio data in mono mode with sampling rate of 32 KHz.
sl@0: //! 							2.	Start playing and read recorded data from file.
sl@0: //! 							3.	Stop playback once EOF is reached.
sl@0: //! @SYMTestExpectedResults 	Devsound to successfully play PCM16 raw audio data in mono mode with sampling rate of 32 KHz with all the DevSound callback functions
sl@0: //! 							being executed as required throughout the test.
sl@0: 
sl@0: RUN_TEST_STEP 600000 TSI_A3F_DEVSOUND MM-A3F-DEVSOUND-PLAY-PCM-I-0009 \tsi_a3f_devsound\tsi_a3f_devsound_play.ini
sl@0: TEST_COMPLETE
sl@0: 
sl@0: //! @SYMTestCaseID				MM-A3F-DEVSOUND-PLAY-PCM-I-0010
sl@0: //! @SYMTestCaseDesc			Positive: PCM 32k stereo playback (+ve)
sl@0: //! @SYMTestPriority			High
sl@0: //! @SYMTestType				CIT
sl@0: //! @SYMREQ 					7918
sl@0: //! @SYMPREQ					1540
sl@0: //! @SYMTestActions 			1.	Configure DevSound to play PCM16 raw audio data in stereo mode with sampling rate of 32 KHz.
sl@0: //! 							2.	Start playing and read recorded data from file.
sl@0: //! 							3.	Stop playback once EOF is reached.
sl@0: //! @SYMTestExpectedResults 	Devsound to successfully play PCM16 raw audio data in stereo mode with sampling rate of 32 KHz with all the DevSound callback functions
sl@0: //! 							being executed as required throughout the test.
sl@0: 
sl@0: RUN_TEST_STEP 600000 TSI_A3F_DEVSOUND MM-A3F-DEVSOUND-PLAY-PCM-I-0010 \tsi_a3f_devsound\tsi_a3f_devsound_play.ini
sl@0: TEST_COMPLETE
sl@0: 
sl@0: //! @SYMTestCaseID				MM-A3F-DEVSOUND-PLAY-PCM-I-0011
sl@0: //! @SYMTestCaseDesc			Positive: PCM 44.100k mono playback (+ve)
sl@0: //! @SYMTestPriority			High
sl@0: //! @SYMTestType				CIT
sl@0: //! @SYMREQ 					7918
sl@0: //! @SYMPREQ					1540
sl@0: //! @SYMTestActions 			1.	Configure DevSound to play PCM16 raw audio data in mono mode with sampling rate of 44.100 KHz.
sl@0: //! 							2.	Start playing and read recorded data from file.
sl@0: //! 							3.	Stop playback once EOF is reached.
sl@0: //! @SYMTestExpectedResults 	Devsound to successfully play PCM16 raw audio data in mono mode with sampling rate of 44.100 KHz with all the DevSound callback functions
sl@0: //! 							being executed as required throughout the test.
sl@0: 
sl@0: RUN_TEST_STEP 600000 TSI_A3F_DEVSOUND MM-A3F-DEVSOUND-PLAY-PCM-I-0011 \tsi_a3f_devsound\tsi_a3f_devsound_play.ini
sl@0: TEST_COMPLETE
sl@0: 
sl@0: //! @SYMTestCaseID				MM-A3F-DEVSOUND-PLAY-PCM-I-0012
sl@0: //! @SYMTestCaseDesc			Positive: PCM 44.100k stereo playback (+ve)
sl@0: //! @SYMTestPriority			High
sl@0: //! @SYMTestType				CIT
sl@0: //! @SYMREQ 					7918
sl@0: //! @SYMPREQ					1540
sl@0: //! @SYMTestActions 			1.	Configure DevSound to play PCM16 raw audio data in stereo mode with sampling rate of 44.100 KHz.
sl@0: //! 							2.	Start playing and read recorded data from file.
sl@0: //! 							3.	Stop playback once EOF is reached.
sl@0: //! @SYMTestExpectedResults 	Devsound to successfully play PCM16 raw audio data in stereo mode with sampling rate of 44.100 KHz with all the DevSound callback functions
sl@0: //! 							being executed as required throughout the test.
sl@0: 
sl@0: RUN_TEST_STEP 600000 TSI_A3F_DEVSOUND MM-A3F-DEVSOUND-PLAY-PCM-I-0012 \tsi_a3f_devsound\tsi_a3f_devsound_play.ini
sl@0: TEST_COMPLETE
sl@0: 
sl@0: //! @SYMTestCaseID				MM-A3F-DEVSOUND-PLAY-PCM-I-0013
sl@0: //! @SYMTestCaseDesc			Positive: PCM 48k mono playback (+ve)
sl@0: //! @SYMTestPriority			High
sl@0: //! @SYMTestType				CIT
sl@0: //! @SYMREQ 					7918
sl@0: //! @SYMPREQ					1540
sl@0: //! @SYMTestActions 			1.	Configure DevSound to play PCM16 raw audio data in mono mode with sampling rate of 48 KHz.
sl@0: //! 							2.	Start playing and read recorded data from file.
sl@0: //! 							3.	Stop playback once EOF is reached.
sl@0: //! @SYMTestExpectedResults 	Devsound to successfully play PCM16 raw audio data in mono mode with sampling rate of 48 KHz with all the DevSound callback functions
sl@0: //! 							being executed as required throughout the test.
sl@0: 
sl@0: RUN_TEST_STEP 600000 TSI_A3F_DEVSOUND MM-A3F-DEVSOUND-PLAY-PCM-I-0013 \tsi_a3f_devsound\tsi_a3f_devsound_play.ini
sl@0: TEST_COMPLETE
sl@0: 
sl@0: //! @SYMTestCaseID				MM-A3F-DEVSOUND-PLAY-PCM-I-0014
sl@0: //! @SYMTestCaseDesc			Positive: PCM 48k stereo playback (+ve)
sl@0: //! @SYMTestPriority			High
sl@0: //! @SYMTestType				CIT
sl@0: //! @SYMREQ 					7918
sl@0: //! @SYMPREQ					1540
sl@0: //! @SYMTestActions 			1.	Configure DevSound to play PCM16 raw audio data in stereo mode with sampling rate of 48 KHz.
sl@0: //! 							2.	Start playing and read recorded data from file.
sl@0: //! 							3.	Stop playback once EOF is reached.
sl@0: //! @SYMTestExpectedResults 	Devsound to successfully play PCM16 raw audio data in stereo mode with sampling rate of 48 KHz with all the DevSound callback functions
sl@0: //! 							being executed as required throughout the test.
sl@0: 
sl@0: RUN_TEST_STEP 600000 TSI_A3F_DEVSOUND MM-A3F-DEVSOUND-PLAY-PCM-I-0014 \tsi_a3f_devsound\tsi_a3f_devsound_play.ini
sl@0: TEST_COMPLETE
sl@0: 
sl@0: //! @SYMTestCaseID				MM-A3F-DEVSOUND-PLAY-PCM-I-0015
sl@0: //! @SYMTestCaseDesc			Negative: Play empty PCM raw audio data file (-ve)
sl@0: //! @SYMTestPriority			High
sl@0: //! @SYMTestType				CIT
sl@0: //! @SYMREQ 					7927
sl@0: //! @SYMPREQ					1540
sl@0: //! @SYMTestStatus
sl@0: //! @SYMTestActions
sl@0: //! @SYMTestExpectedResults
sl@0: 
sl@0: RUN_TEST_STEP 600000  TSI_A3F_DEVSOUND MM-A3F-DEVSOUND-PLAY-PCM-I-0015 \tsi_a3f_devsound\tsi_a3f_devsound_play.ini
sl@0: TEST_COMPLETE
sl@0: