khronosfws/openmax_al/src/mmf_adaptation/cmmfradiobackendengine.h
changeset 33 5e8b14bae8c3
parent 28 ebf79c79991a
child 48 a493a607b5bf
equal deleted inserted replaced
28:ebf79c79991a 33:5e8b14bae8c3
   225 private:
   225 private:
   226     static CMMFRadioBackendEngine* s_instance;
   226     static CMMFRadioBackendEngine* s_instance;
   227     CMMFRadioBackendEngine();
   227     CMMFRadioBackendEngine();
   228     void ConstructL();
   228     void ConstructL();
   229 	XAresult TranslateError(TInt error);    
   229 	XAresult TranslateError(TInt error);    
       
   230 	XAresult SetForceMonoFlag();		 
   230 
   231 
   231 private:      
   232 private:      
   232     CRadioUtility* 				iRadioUtility; 
   233     CRadioUtility* 				iRadioUtility; 
   233     CRadioFmTunerUtility* 	    iFmTunerUtility;
   234     CRadioFmTunerUtility* 	    iFmTunerUtility;
   234     CRadioPlayerUtility* 		iRadioPlayerUtility;
   235     CRadioPlayerUtility* 		iRadioPlayerUtility;
   235     TBool						iForceStereo;
   236     TBool						iForceStereo;
   236     void* 						iRadioAdaptContext;
   237     void* 						iRadioAdaptContext;
   237     void* 						iPlayerAdaptContext;    
   238     void* 						iPlayerAdaptContext;    
       
   239     TFmRadioFrequencyRange 		iDefaultFreqRange;
       
   240     XAuint32 					iDefaultFrequency; 
       
   241     TInt 						iDefaultMinFreq;
       
   242     TInt 						iDefaultMaxFreq; 
   238        
   243        
   239     };
   244     };
   240     
   245     
   241 #else  /* __cplusplus */
   246 #else  /* __cplusplus */
   242 
   247 
   256 extern XAresult  	mmf_set_radio_adapt_context(void * context, void * adaptcontext);
   261 extern XAresult  	mmf_set_radio_adapt_context(void * context, void * adaptcontext);
   257 extern XAresult  	mmf_set_player_adapt_context(void * context, void * adaptcontext);
   262 extern XAresult  	mmf_set_player_adapt_context(void * context, void * adaptcontext);
   258 extern void         stop_radio(void * context);
   263 extern void         stop_radio(void * context);
   259 extern void         play_radio(void* context);
   264 extern void         play_radio(void* context);
   260 extern XAresult     set_volume(void* context, XAuint32 vol);
   265 extern XAresult     set_volume(void* context, XAuint32 vol);
       
   266 extern XAresult     get_volume(void* context, XAuint32* vol);
   261 extern XAresult     mmf_set_player_adapt_context(void * context, void * adaptcontext);
   267 extern XAresult     mmf_set_player_adapt_context(void * context, void * adaptcontext);
   262 extern XAresult     set_mute(void* context, XAboolean mute);
   268 extern XAresult     set_mute(void* context, XAboolean mute);
   263 #endif /* __cplusplus */
   269 #endif /* __cplusplus */
   264 
   270 
   265 #endif /* CMMFRADIOBACKENDENGINE_H */
   271 #endif /* CMMFRADIOBACKENDENGINE_H */