1 /* |
1 /* |
2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2009 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: |
14 * Description: MediaPlayer Adapt MMF HEader |
15 * |
15 * |
16 */ |
16 */ |
17 |
17 |
18 #ifndef XAMEDIAPLAYERADAPTCTXMMF_H |
18 #ifndef XAMEDIAPLAYERADAPTCTXMMF_H |
19 #define XAMEDIAPLAYERADAPTCTXMMF_H |
19 #define XAMEDIAPLAYERADAPTCTXMMF_H |
20 |
20 |
21 #include "xaadaptationmmf.h" |
21 #include "xaadaptationmmf.h" |
23 /* TYPEDEFS */ |
23 /* TYPEDEFS */ |
24 |
24 |
25 typedef struct XAMediaPlayerAdaptationMMFCtx_ XAMediaPlayerAdaptationMMFCtx; |
25 typedef struct XAMediaPlayerAdaptationMMFCtx_ XAMediaPlayerAdaptationMMFCtx; |
26 |
26 |
27 /* FUNCTIONS */ |
27 /* FUNCTIONS */ |
28 XAAdaptationBaseCtx* XAMediaPlayerAdaptMMF_Create( XADataSource *pDataSrc, XADataSource *pBankSrc, |
28 XAAdaptationBaseCtx |
29 XADataSink *pAudioSnk, XADataSink *pImageVideoSnk, |
29 * XAMediaPlayerAdaptMMF_Create(XADataSource *pDataSrc, |
30 XADataSink *pVibra, XADataSink *pLEDArray); |
30 XADataSource *pBankSrc, XADataSink *pAudioSnk, |
31 XAAdaptationBaseCtx* XAMediaPlayerAdaptMMF_CreateRadio(XAMediaPlayerAdaptationMMFCtx *pSelf, XADataSource *pDataSrc, XADataSource *pBankSrc, |
31 XADataSink *pImageVideoSnk, XADataSink *pVibra, |
32 XADataSink *pAudioSnk, XADataSink *pImageVideoSnk, |
32 XADataSink *pLEDArray); |
33 XADataSink *pVibra, XADataSink *pLEDArray); |
33 XAAdaptationBaseCtx |
34 XAresult XAMediaPlayerAdaptMMF_PostInit( XAAdaptationMMFCtx* bCtx ); |
34 * XAMediaPlayerAdaptMMF_CreateRadio(XAMediaPlayerAdaptationMMFCtx *pSelf, |
35 void XAMediaPlayerAdaptMMF_Destroy( XAAdaptationMMFCtx* bCtx ); |
35 XADataSource *pDataSrc, XADataSource *pBankSrc, |
|
36 XADataSink *pAudioSnk, XADataSink *pImageVideoSnk, |
|
37 XADataSink *pVibra, XADataSink *pLEDArray); |
|
38 XAresult XAMediaPlayerAdaptMMF_PostInit(XAAdaptationMMFCtx* bCtx); |
|
39 void XAMediaPlayerAdaptMMF_Destroy(XAAdaptationMMFCtx* bCtx); |
36 |
40 |
37 //XAresult XAMediaPlayerAdapt_InitContentPipeSrc(XAMediaPlayerAdaptationCtx* ctx); |
41 //XAresult XAMediaPlayerAdapt_InitContentPipeSrc(XAMediaPlayerAdaptationCtx* ctx); |
38 #endif /*XAMEDIAPLAYERADAPTCTXMMF_H*/ |
42 #endif /*XAMEDIAPLAYERADAPTCTXMMF_H*/ |
39 |
43 |