equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2004 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: Observer for Jitter buffer. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 #ifndef Mcc_JITTERBUFFER_OBS_H |
|
22 #define Mcc_JITTERBUFFER_OBS_H |
|
23 |
|
24 |
|
25 class MJitterBufferObserver |
|
26 { |
|
27 public: |
|
28 enum TJitterBufferError |
|
29 { |
|
30 EBufferUnderflow, |
|
31 EBufferOverflow |
|
32 }; |
|
33 |
|
34 /** |
|
35 * Callback function to receive jitter buffer error events. |
|
36 */ |
|
37 virtual void JitterBufferError( TInt aError ) = 0; |
|
38 |
|
39 /** |
|
40 * Callback function for codec reconfiguration for dynamic |
|
41 * buffer size adjustment. |
|
42 * @since S60 v3.2 |
|
43 * @param aBufferSize Buffer size request in samples. |
|
44 */ |
|
45 virtual void DynamicBufferChangeRequest( TInt aBufferSize ) = 0; |
|
46 |
|
47 }; |
|
48 |
|
49 #endif // Mcc_RTP_INACTIVITY_OBS_H |
|
50 |