equal
deleted
inserted
replaced
86 * - creates all the test steps and stores them inside CTestSuiteA3FDevSound |
86 * - creates all the test steps and stores them inside CTestSuiteA3FDevSound |
87 * |
87 * |
88 */ |
88 */ |
89 void CTestSuiteA3FDevSound::InitialiseL() |
89 void CTestSuiteA3FDevSound::InitialiseL() |
90 { |
90 { |
91 const TUint32 KMMFFourCCCodeInvalid = 0x414d5111; |
91 const TUint32 KMMFFourCCCodeInvalid = 0x414d5121; |
92 TFourCC fourCCCodePCM8(KMMFFourCCCodePCM8); |
92 TFourCC fourCCCodePCM8(KMMFFourCCCodePCM8); |
93 TFourCC fourCCCodePCMU8(KMMFFourCCCodePCMU8); |
93 TFourCC fourCCCodePCMU8(KMMFFourCCCodePCMU8); |
94 TFourCC fourCCCodePCM16(KMMFFourCCCodePCM16); |
94 TFourCC fourCCCodePCM16(KMMFFourCCCodePCM16); |
95 TFourCC fourCCCodeMuLAW(KMMFFourCCCodeMuLAW); |
95 TFourCC fourCCCodeMuLAW(KMMFFourCCCodeMuLAW); |
96 TFourCC fourCCCodeInvalid(KMMFFourCCCodeInvalid); |
96 TFourCC fourCCCodeInvalid(KMMFFourCCCodeInvalid); |
148 AddTestStepL(RStepA3FDevSoundEmptyBuffersInInitializedState::NewL(_L("MM-A3F-DEVSOUND-PLAY-PCM-I-0041"), _L("SectionPCM-0041"), fourCCCodePCM16)); |
148 AddTestStepL(RStepA3FDevSoundEmptyBuffersInInitializedState::NewL(_L("MM-A3F-DEVSOUND-PLAY-PCM-I-0041"), _L("SectionPCM-0041"), fourCCCodePCM16)); |
149 AddTestStepL(RStepA3FDevSoundEmptyBuffersInInitializingState::NewL(_L("MM-A3F-DEVSOUND-PLAY-PCM-I-0042"), _L("SectionPCM-0042"), fourCCCodePCM16)); |
149 AddTestStepL(RStepA3FDevSoundEmptyBuffersInInitializingState::NewL(_L("MM-A3F-DEVSOUND-PLAY-PCM-I-0042"), _L("SectionPCM-0042"), fourCCCodePCM16)); |
150 |
150 |
151 // DevSound PCM - Long Play test cases |
151 // DevSound PCM - Long Play test cases |
152 |
152 |
153 AddTestStepL(RStepA3FDevSoundPlaySimple::NewL(_L("MM-A3F-DEVSOUND-PLAY-PCM-LONG-I-0001"), _L("SectionPCM-Long-0001"), fourCCCodePCMU8)); |
153 AddTestStepL(RStepA3FDevSoundPlaySimple::NewL(_L("MM-A3F-DEVSOUND-PLAY-PCM-LONG-I-0001"), _L("SectionPCM-Long-0001"), fourCCCodePCM16)); |
154 |
154 |
155 // DevSound PCM - Record test cases |
155 // DevSound PCM - Record test cases |
156 |
156 |
157 AddTestStepL(RStepA3FDevSoundRecordSimple::NewL(_L("MM-A3F-DEVSOUND-REC-PCM-I-0001"), _L("SectionPCM-0001"), fourCCCodePCM16)); |
157 AddTestStepL(RStepA3FDevSoundRecordSimple::NewL(_L("MM-A3F-DEVSOUND-REC-PCM-I-0001"), _L("SectionPCM-0001"), fourCCCodePCM16)); |
158 AddTestStepL(RStepA3FDevSoundRecordMultipleTimes::NewL(_L("MM-A3F-DEVSOUND-REC-PCM-I-0002"), _L("SectionPCM-0002"), fourCCCodePCM16)); |
158 AddTestStepL(RStepA3FDevSoundRecordMultipleTimes::NewL(_L("MM-A3F-DEVSOUND-REC-PCM-I-0002"), _L("SectionPCM-0002"), fourCCCodePCM16)); |