1 /* |
|
2 * Copyright (c) 2006-2007 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: ?Description |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef IRAACPLAYERLOCAL_H |
|
20 #define IRAACPLAYERLOCAL_H |
|
21 |
|
22 #include <e32def.h> |
|
23 |
|
24 //AAC sampling rate is based on bit index |
|
25 //sampling rate are taken from an array of 1x16 demension |
|
26 //and size of the array is defined below |
|
27 const TUint8 KAACSamplingRateArraySize = 16; |
|
28 |
|
29 //AAC sampling rate selection array |
|
30 const TUint KAacSamplingRate[KAACSamplingRateArraySize] = |
|
31 { |
|
32 96000,88200,64000,48000,44100,32000,24000,22050,16000,12000,11025,8000,0,0,0,0 |
|
33 }; |
|
34 |
|
35 //enumerated sampling frequency values |
|
36 //for aac/aacp player |
|
37 enum TIRAACSamplingFreq |
|
38 { |
|
39 EAACSamplingFreq8000 = 8000, |
|
40 EAACSamplingFreq11025 = 11025, |
|
41 EAACSamplingFreq12000 = 12000, |
|
42 EAACSamplingFreq16000 = 16000, |
|
43 EAACSamplingFreq22050 = 22050, |
|
44 EAACSamplingFreq24000 = 24000, |
|
45 EAACSamplingFreq32000 = 32000, |
|
46 EAACSamplingFreq44100 = 44100, |
|
47 EAACSamplingFreq48000 = 48000, |
|
48 EAACSamplingFreq64000 = 64000, |
|
49 EAACSamplingFreq88200 = 88200, |
|
50 EAACSamplingFreq96000 = 96000, |
|
51 }; |
|
52 |
|
53 //zero indicates that channel is mono |
|
54 const TInt KAACChannelMono = 0; |
|
55 |
|
56 const TInt KAACHeaderSize = 4; |
|
57 |
|
58 #endif//IRAACPLAYERLOCAL_H |
|
59 |
|
60 |
|
61 |
|
62 |
|
63 |
|