Setting the audio path to speaker or headphone

Hi All,

I have a doubt on how to set the output path to a stereo or headphone while playing an audio file. Whether OMX_NATIVE_DEVICETYPE of structure OMX_PARAM_PORTDEFINITIONTYPE could be used for specifying the output path to headphone or speaker? I could not find any other API in the spec for it.