equal
deleted
inserted
replaced
1651 TVerdict CTestMmfAclntConvertCrop::DoTestStepL() |
1651 TVerdict CTestMmfAclntConvertCrop::DoTestStepL() |
1652 { |
1652 { |
1653 INFO_PRINTF1( _L("TestConverter : Config")); |
1653 INFO_PRINTF1( _L("TestConverter : Config")); |
1654 TVerdict ret = EFail; |
1654 TVerdict ret = EFail; |
1655 |
1655 |
1656 TPtrC fromFilename, fromFilename2; |
1656 TPtrC fromFilename; |
1657 if ((!GetStringFromConfig(_L("SectionOne"), _L("cropAudioFile"), fromFilename)) |
1657 if ((!GetStringFromConfig(_L("SectionOne"), _L("PCM16"), fromFilename)) |
1658 || (!GetStringFromConfig(_L("SectionOne"), _L("PCM16"), fromFilename2)) |
|
1659 || (!GetStringFromConfig(_L("SectionFour"), _L("configAudio"), iToFilename)) |
1658 || (!GetStringFromConfig(_L("SectionFour"), _L("configAudio"), iToFilename)) |
1660 || (!GetStringFromConfig(_L("SectionFour"), _L("configAudio11"), iToFilename2))) |
1659 || (!GetStringFromConfig(_L("SectionFour"), _L("configAudio11"), iToFilename2))) |
1661 return EInconclusive; |
1660 return EInconclusive; |
1662 |
1661 |
1663 iError = KErrTimedOut; |
1662 iError = KErrTimedOut; |
1669 if (iThisIsNegativeTest) |
1668 if (iThisIsNegativeTest) |
1670 { |
1669 { |
1671 iAudioSettings.iSampleRate = KInvalidNumber; |
1670 iAudioSettings.iSampleRate = KInvalidNumber; |
1672 iAudioSettings.iChannels = KInvalidNumber; |
1671 iAudioSettings.iChannels = KInvalidNumber; |
1673 //to keep CCover happy |
1672 //to keep CCover happy |
1674 converter->OpenL(fromFilename2, iToFilename2) ; |
1673 converter->OpenL(fromFilename, iToFilename2) ; |
1675 //&location, iFormat, iCodec, &iAudioSettings); |
1674 //&location, iFormat, iCodec, &iAudioSettings); |
1676 } |
1675 } |
1677 else |
1676 else |
1678 { |
1677 { |
1679 converter->OpenL(fromFilename, &location, iFormat, iCodec); |
1678 converter->OpenL(fromFilename, &location, iFormat, iCodec); |