khronosfws/openmax_al/src/radio/xaradioitf.c
changeset 25 6f7ceef7b1d1
parent 21 2ed61feeead6
child 28 ebf79c79991a
equal deleted inserted replaced
21:2ed61feeead6 25:6f7ceef7b1d1
   479     DEBUG_API("<-XARadioItfImpl_StopSeeking");
   479     DEBUG_API("<-XARadioItfImpl_StopSeeking");
   480     return ret;
   480     return ret;
   481 }
   481 }
   482 
   482 
   483 /**
   483 /**
       
   484  * XAresult XARadioItfImpl_GetNumberOfPresets(XARadioItf self, XAuint32 * pNumPresets)
       
   485  * Description: Returns the number of preset slots the device has for storing the presets.
       
   486  **/
       
   487 XAresult XARadioItfImpl_GetNumberOfPresets(XARadioItf self, XAuint32 * pNumPresets)
       
   488 {
       
   489     XAresult ret = XA_RESULT_FEATURE_UNSUPPORTED;
       
   490 
       
   491     DEBUG_API("->XARadioItfImpl_GetNumberOfPresets");
       
   492 
       
   493     return ret;
       
   494 }
       
   495 
       
   496 /**
       
   497  * XAresult XARadioItfImpl_SetPreset(XARadioItf self,
       
   498  *                                   XAuint32 preset,
       
   499  *                                   XAuint32 freq,
       
   500  *                                   XAuint8 range,
       
   501  *                                   XAuint32 mode,
       
   502  *                                   const XAchar * name)
       
   503  * Description: Sets the preset.
       
   504  **/
       
   505 XAresult XARadioItfImpl_SetPreset(XARadioItf self,
       
   506                                   XAuint32 preset,
       
   507                                   XAuint32 freq,
       
   508                                   XAuint8 range,
       
   509                                   XAuint32 mode,
       
   510                                   const XAchar * name)
       
   511 {
       
   512     XAresult ret = XA_RESULT_FEATURE_UNSUPPORTED;
       
   513 
       
   514     return ret;
       
   515 }
       
   516 
       
   517 /**
       
   518  * XAresult XARadioItfImpl_GetPreset(XARadioItf self,
       
   519  *                                   XAuint32 preset,
       
   520  *                                   XAuint32 * pFreq,
       
   521  *                                   XAuint8 * pRange,
       
   522  *                                   XAuint32 * pMode,
       
   523  *                                   XAchar * pName,
       
   524  *                                   XAuint16 * pNameLength)
       
   525  * Description: Gets the settings stored into a preset.
       
   526  **/
       
   527 XAresult XARadioItfImpl_GetPreset(XARadioItf self,
       
   528                                   XAuint32 preset,
       
   529                                   XAuint32 * pFreq,
       
   530                                   XAuint8 * pRange,
       
   531                                   XAuint32 * pMode,
       
   532                                   XAchar * pName,
       
   533                                   XAuint16 * pNameLength)
       
   534 {
       
   535  
       
   536     XAresult ret = XA_RESULT_FEATURE_UNSUPPORTED;
       
   537 
       
   538     DEBUG_API("<-XARadioItfImpl_GetPreset");
       
   539     return ret;
       
   540 }
       
   541 
       
   542 /**
   484  * XAresult XARadioItfImpl_RegisterRadioCallback(XARadioItf self,
   543  * XAresult XARadioItfImpl_RegisterRadioCallback(XARadioItf self,
   485  *                                               xaRadioCallback callback,
   544  *                                               xaRadioCallback callback,
   486  *                                               void * pContext)
   545  *                                               void * pContext)
   487  * Description: Sets or clears the xaRadioCallback.
   546  * Description: Sets or clears the xaRadioCallback.
   488  **/
   547  **/