equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2006 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: Common Amr codec data utilities |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 #ifndef AMRFRAMEINFO_H |
|
22 #define AMRFRAMEINFO_H |
|
23 |
|
24 // INCLUDES |
|
25 #include <e32base.h> |
|
26 |
|
27 // CLASS DECLARATION |
|
28 |
|
29 /** |
|
30 * Represents Amr frame information. |
|
31 * |
|
32 * @lib Mccamrplformat.lib |
|
33 * @since Series 60 3.1 |
|
34 */ |
|
35 class TAmrFrameInfo |
|
36 { |
|
37 |
|
38 public: // Constructor |
|
39 |
|
40 TAmrFrameInfo(); |
|
41 |
|
42 public: // Data |
|
43 |
|
44 // encoding mode |
|
45 TInt iMode; |
|
46 |
|
47 // bitrate ( kbit/s ) |
|
48 TInt iBitrate; |
|
49 |
|
50 // sampling frequency ( Hz ) |
|
51 TInt iSamplingRate; |
|
52 |
|
53 // number of channels |
|
54 TInt iChannels; |
|
55 |
|
56 // encoded size ( bytes ) |
|
57 TInt iFrameSize; |
|
58 |
|
59 // decoded size ( samples per channel ) |
|
60 TInt iFrameSamples; |
|
61 |
|
62 // sampling frequency after conversion ( Hz ) |
|
63 TInt iSamplingRateOut; |
|
64 |
|
65 // number of audio channels after conversion ( 1 or 2 ) |
|
66 TInt iChannelsOut; |
|
67 |
|
68 // decoded size after conversion ( samples per channel ) |
|
69 TInt iFrameSamplesOut; |
|
70 |
|
71 }; |
|
72 |
|
73 #include "AmrFrameInfo.inl" |
|
74 |
|
75 #endif // AMRFRAMEINFO_H |