// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
// All rights reserved.
// This component and the accompanying materials are made available
// under the terms of "Eclipse Public License v1.0"
// which accompanies this distribution, and is available
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
//
// Initial Contributors:
// Nokia Corporation - initial contribution.
//
// Contributors:
//
// Description:
//



// INCLUDES
#include "resourcehwdeviceinitstructs.rh"
#include "resourceaudioenums.hrh"
#include "hwdeviceimplementationuids.hrh"

// RESOURCE DEFINITIONS

// -----------------------------------------------------------------------------
//   
// AMRNB_ENC_RESOURCE
// The AMRNB_ENC_RESOURCE resource provides the client with the following 
// initialization information:
// 1. Hardware device UID. This UID is defined by the client.
// 2. The device capabilities parameters consisting of sampling rate,
//    type of encoding, channel definition (mono or stereo) and buffer size.
//
// -----------------------------------------------------------------------------
//

RESOURCE DAL_RESOURCE_DATA_RESOURCE amrnbencopt_resource
{
    uid = 0x1027290A;
    data =
        {
        DAL_RESOURCE_DATA
            {
            mode = EMMFStateRecording; 
              
            cap_data =
                {
                HWDEVICE_CAPABILITIES_DATA
                    {
                    Rate = EMMFSampleRate8000Hz;
                    Encoding = EMMFSoundEncoding16BitPCM;
                    Channels = EMMFMono;
                    BufferSize = 28800;
                    }
                };    // End of cap_data
            }    // End of DAL_RESOURCE_DATA 
        }; // End of data[]
}


// End of File
