|
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 |
|
17 |
|
18 // INCLUDES |
|
19 #include "resourcehwdeviceinitstructs.rh" |
|
20 #include "resourceaudioenums.hrh" |
|
21 #include "hwdeviceimplementationuids.hrh" |
|
22 |
|
23 |
|
24 // RESOURCE DEFINITIONS |
|
25 |
|
26 // ----------------------------------------------------------------------------- |
|
27 // |
|
28 // AMRWB_DEC_RESOURCE |
|
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. |
|
34 // |
|
35 // ----------------------------------------------------------------------------- |
|
36 // |
|
37 |
|
38 RESOURCE DAL_RESOURCE_DATA_RESOURCE amrwbdec_resource |
|
39 { |
|
40 uid = KUidHwCodecAWBDecToPCM16; |
|
41 data = |
|
42 { |
|
43 DAL_RESOURCE_DATA |
|
44 { |
|
45 mode = EMMFStatePlaying; |
|
46 |
|
47 cap_data = |
|
48 { |
|
49 HWDEVICE_CAPABILITIES_DATA |
|
50 { |
|
51 Rate = EMMFSampleRate16000Hz; |
|
52 Encoding = 0; |
|
53 Channels = 3; // Stereo and mono |
|
54 BufferSize = 28800; |
|
55 } |
|
56 }; // End of cap_data |
|
57 } // End of DAL_RESOURCE_DATA (encode mode) |
|
58 }; // End of data[] |
|
59 } |
|
60 |
|
61 |
|
62 // End of File |