First public contribution.
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".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
19 #include "resourcehwdeviceinitstructs.rh"
20 #include "resourceaudioenums.hrh"
21 #include "hwdeviceimplementationuids.hrh"
24 // RESOURCE DEFINITIONS
26 // -----------------------------------------------------------------------------
29 // The AMRWB_DEC_RESOURCE resource provides the client with the following
30 // initialization information:
31 // 1. Hardware device UID. This UID is defined by the client.
32 // 2. The device capabilities parameters consisting of sampling rate,
33 // type of encoding, channel definition (mono or stereo) and buffer size.
35 // -----------------------------------------------------------------------------
38 RESOURCE DAL_RESOURCE_DATA_RESOURCE amrwbdec_resource
40 uid = KUidHwCodecAWBDecToPCM16;
45 mode = EMMFStatePlaying;
49 HWDEVICE_CAPABILITIES_DATA
51 Rate = EMMFSampleRate16000Hz;
53 Channels = 3; // Stereo and mono
57 } // End of DAL_RESOURCE_DATA (encode mode)