1 /* |
1 /* |
2 * Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies). |
3 * All rights reserved. |
3 * All rights reserved. |
4 * This component and the accompanying materials are made available |
4 * This component and the accompanying materials are made available |
5 * under the terms of "Eclipse Public License v1.0" |
5 * under the terms of "Eclipse Public License v1.0" |
6 * which accompanies this distribution, and is available |
6 * which accompanies this distribution, and is available |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
8 * |
8 * |
9 * Initial Contributors: |
9 * Initial Contributors: |
10 * Nokia Corporation - initial contribution. |
10 * Nokia Corporation - initial contribution. |
11 * |
11 * |
12 * Contributors: |
12 * Contributors: |
13 * |
13 * |
14 * Description: Defines APIs common to all supported codecs. |
14 * Description: Defines APIs common to all supported codecs. |
15 * |
15 * |
16 */ |
16 */ |
17 |
|
18 |
17 |
19 #ifndef __VOIPJITTERBUFFERINTFC_H |
18 #ifndef __VOIPJITTERBUFFERINTFC_H |
20 #define __VOIPJITTERBUFFERINTFC_H |
19 #define __VOIPJITTERBUFFERINTFC_H |
21 |
20 |
22 // INCLUDES |
21 // INCLUDES |
23 #include <e32base.h> |
22 #include <e32base.h> |
24 #include <voipaudiocommon.h> |
23 #include <voipaudiocommon.h> |
25 |
24 |
26 |
|
27 // FORWARD DECLARATIONS |
25 // FORWARD DECLARATIONS |
28 class CVoIPJitterBufferIntfc; |
26 class CVoIPJitterBufferIntfc; |
29 class CVoIPJitterBufferIntfcImpl; |
27 class CVoIPJitterBufferIntfcImpl; |
30 |
28 |
31 |
|
32 /** |
29 /** |
33 * TVoIPJBConfig |
30 * TVoIPJBConfig |
34 * ?description |
31 * ?description |
35 * @since S60 v5.0 |
32 * |
36 */ |
33 */ |
37 class TVoIPJBConfig |
34 class TVoIPJBConfig |
38 { |
35 { |
39 public: |
36 public: |
40 // Jitter latency |
37 // Jitter latency |
60 |
57 |
61 //Jitter Buffer tone duration |
58 //Jitter Buffer tone duration |
62 TUint iJBPlayToneDuration; |
59 TUint iJBPlayToneDuration; |
63 }; |
60 }; |
64 |
61 |
65 |
|
66 /** |
62 /** |
67 * MVoIPJitterBufferObserver class |
63 * MVoIPJitterBufferObserver class |
68 * |
64 * |
69 * description |
65 * description |
70 * |
66 * |
71 * @lib VoIPAudioIntfc.dll |
67 * @lib VoIPAudioIntfc.dll |
72 * @since S60 v5.0 |
68 * |
73 */ |
69 */ |
74 class MVoIPJitterBufferObserver |
70 class MVoIPJitterBufferObserver |
75 { |
71 { |
76 public: |
72 public: |
77 static const TUint KJBReserved1 = 1; //TBD |
73 static const TUint KJBReserved1 = 1; //TBD |
85 * @param const CVoIPJitterBufferIntfc& |
81 * @param const CVoIPJitterBufferIntfc& |
86 * @param TInt - event type |
82 * @param TInt - event type |
87 * @return void |
83 * @return void |
88 */ |
84 */ |
89 virtual void Event(const CVoIPJitterBufferIntfc& aSrc, |
85 virtual void Event(const CVoIPJitterBufferIntfc& aSrc, |
90 TInt aEventType) = 0; |
86 TInt aEventType) = 0; |
91 }; |
87 }; |
92 |
|
93 |
88 |
94 /** |
89 /** |
95 * CVoIPFormatIntfc class |
90 * CVoIPFormatIntfc class |
96 * |
91 * |
97 * Base class for codec format configuration |
92 * Base class for codec format configuration |
98 * |
93 * |
99 * @lib VoIPAudioIntfc.dll |
94 * @lib VoIPAudioIntfc.dll |
100 * @since S60 v5.0 |
95 * |
101 */ |
96 */ |
102 class CVoIPJitterBufferIntfc |
97 class CVoIPJitterBufferIntfc |
103 { |
98 { |
104 public: |
99 public: |
105 /** |
100 /** |