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: Observer for audio stream start up. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef MCSPDEVSOUNDOBSERVER_H |
|
20 #define MCSPDEVSOUNDOBSERVER_H |
|
21 |
|
22 /** |
|
23 * Observer interface for knowing when audio streams have been |
|
24 * successfully ramped up. |
|
25 * |
|
26 */ |
|
27 class MCSPDevSoundObserver |
|
28 { |
|
29 |
|
30 public: |
|
31 |
|
32 /** |
|
33 * Notification that Mic has been activated successfully |
|
34 * |
|
35 */ |
|
36 virtual void MicActivatedSuccessfully() = 0; |
|
37 |
|
38 /** |
|
39 * Notification that speaker has been activated successfully |
|
40 * |
|
41 */ |
|
42 virtual void SpeakerActivatedSuccessfully() = 0; |
|
43 |
|
44 /** |
|
45 * Notification that Mic initialisation failed. |
|
46 * |
|
47 */ |
|
48 virtual void MicActivationFailed() = 0; |
|
49 |
|
50 /** |
|
51 * Notification that Speaker activation failed. |
|
52 * |
|
53 */ |
|
54 virtual void SpeakerActivationFailed() = 0; |
|
55 |
|
56 }; |
|
57 |
|
58 |
|
59 #endif // MCSPDEVSOUNDOBSERVER_H |