os/mm/mmlibs/mmfw/tsrc/mmfunittest/DevSoundTest/CIPlugins/src/teststepcibufferframesconfig.h
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
     1 // Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
     2 // All rights reserved.
     3 // This component and the accompanying materials are made available
     4 // under the terms of "Eclipse Public License v1.0"
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 //
     8 // Initial Contributors:
     9 // Nokia Corporation - initial contribution.
    10 //
    11 // Contributors:
    12 //
    13 // Description:
    14 //
    15 
    16 #ifndef TESTSTEPCIBUFFERFRAMESCONFIG_H
    17 #define TESTSTEPCIBUFFERFRAMESCONFIG_H
    18 
    19 #include <testframework.h>
    20 
    21 // Custom interface definitions
    22 #include <mmf/server/devsoundstandardcustominterfaces.h>
    23 #include <mmf/plugin/mmfdevsoundcustominterface.hrh>
    24 
    25 #include "devsoundciutestdevices.hrh"
    26 
    27 // Test system includes
    28 #include "tsu_mmf_devsound_ciu_step.h"
    29 #include "tsu_mmf_devsound_ciu_suite.h"
    30 
    31 
    32 class CTestStepCICreateBufferFramesConfig : public CTestStepCustominterfaceUnificationUnit
    33 	{
    34 public:
    35 	CTestStepCICreateBufferFramesConfig();
    36 	TVerdict DoTestStepL();
    37 	};
    38 
    39 class CTestStepCIBufferFramesConfigSetBase : public CTestStepCustominterfaceUnificationUnit
    40 	{
    41 public:
    42 	CTestStepCIBufferFramesConfigSetBase();
    43 	TVerdict DoTestStepL();
    44 protected:
    45 	void DoReadFromFileL(TInt& aFrames, TInt& aSamples);
    46 	};
    47 
    48 class CTestStepCIBufferFramesConfigSetInput : public CTestStepCIBufferFramesConfigSetBase
    49 	{
    50 public:
    51 	CTestStepCIBufferFramesConfigSetInput();
    52 	TVerdict DoTestStepL();
    53 	};
    54 
    55 class CTestStepCIBufferFramesConfigSetOutput : public CTestStepCIBufferFramesConfigSetBase
    56 	{
    57 public:
    58 	CTestStepCIBufferFramesConfigSetOutput();
    59 	TVerdict DoTestStepL();
    60 	};
    61 
    62 #endif