|
1 /* |
|
2 * Copyright (c) 2006-2009 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: |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 |
|
22 #ifndef HWRMFMTXAUDIOPOLICYDOMAINPSKEYS_H |
|
23 #define HWRMFMTXAUDIOPOLICYDOMAINPSKEYS_H |
|
24 |
|
25 // INCLUDES |
|
26 #include <e32std.h> |
|
27 #include <hwrm/hwrmfmtxdomainpskeys.h> |
|
28 |
|
29 // ============================================================================= |
|
30 // HWRM FM Tx Audio Policy API |
|
31 // ============================================================================= |
|
32 |
|
33 /** |
|
34 * This is the "active audio" boolean flag, published by Audio Policy |
|
35 * A value of ETrue indicates that application audio is being generated, |
|
36 * and is currently routed to FM Tx. |
|
37 * |
|
38 * @publishedPartner |
|
39 * @released |
|
40 */ |
|
41 const TUint32 KHWRMFmTxAudioRoutedFlag = 0x00000022; |
|
42 |
|
43 /** |
|
44 * Possible FMTx available states |
|
45 * |
|
46 * @publishedPartner |
|
47 * @released |
|
48 */ |
|
49 enum THWRMFmTxAvailableFlag |
|
50 { |
|
51 EHWRMFmTxAvailableOff = 0, // FM transmitter off |
|
52 EHWRMFmTxAvailableOn = 1, // FM transmitter on |
|
53 EHWRMFmTxAvailableStandby = 2 // FM transmitter off, but indicates transmitter has been |
|
54 // switched off due audio inactivity within configured |
|
55 // period (KFmTxCenResKeyPowerSaveTimerLength). |
|
56 // So, audio policy can switch FM transmitter back on |
|
57 // by toggling KHWRMFmTxAudioRoutedFlag ETrue. |
|
58 }; |
|
59 |
|
60 /** |
|
61 * This is the "FM Tx available" flag, published by HWRM Server |
|
62 * Available states are enumerated above. |
|
63 * |
|
64 * @publishedPartner |
|
65 * @released |
|
66 */ |
|
67 const TUint32 KHWRMFmTxAvailableFlag = 0x00000023; |
|
68 |
|
69 #endif // HWRMFMTXAUDIOPOLICYDOMAINPSKEYS_H |
|
70 |
|
71 // End of File |
|
72 |