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: sl@0: sl@0: // INCLUDES sl@0: #include "resourcehwdeviceinitstructs.rh" sl@0: #include "resourceaudioenums.hrh" sl@0: #include "hwdeviceimplementationuids.hrh" sl@0: sl@0: // RESOURCE DEFINITIONS sl@0: sl@0: // ----------------------------------------------------------------------------- sl@0: // sl@0: // AMRWB_ENC_RESOURCE sl@0: // The AMRWB_ENC_RESOURCE resource provides the client with the following sl@0: // initialization information: sl@0: // 1. Hardware device UID. This UID is defined by the client. sl@0: // 2. The device capabilities parameters consisting of sampling rate, sl@0: // type of encoding, channel definition (mono or stereo) and buffer size. sl@0: // sl@0: // ----------------------------------------------------------------------------- sl@0: // sl@0: sl@0: RESOURCE DAL_RESOURCE_DATA_RESOURCE amrwbenc_resource sl@0: { sl@0: uid = KUidHwCodecPCM16ToWbAMREnc; sl@0: data = sl@0: { sl@0: DAL_RESOURCE_DATA sl@0: { sl@0: mode = 2; //EMMFStateRecording sl@0: sl@0: cap_data = sl@0: { sl@0: HWDEVICE_CAPABILITIES_DATA sl@0: { sl@0: Rate = EMMFSampleRate16000Hz; sl@0: Encoding = EMMFSoundEncoding16BitPCM; sl@0: Channels = EMMFMono; sl@0: BufferSize = 28800; sl@0: } sl@0: }; // End of cap_data sl@0: } // End of DAL_RESOURCE_DATA sl@0: }; // End of data[] sl@0: } sl@0: sl@0: // End of File