Developer

API Reference

ICAMERA_SetAudioEncode()

Brew Release
Brew MP 1.0.2
See Also
ICAMERA_GetParm()
Description
This function sets the active audio encoding type used to encode along with the recorded snapshot/movie.
Parameters
  • pICamera
    []:
    Pointer to ICamera Interface.
  • cls
    []:
    Encoding class ID. E.g. AEECLSID_MEDIAQCP, etc.
  • dwExtra
    []:
    Extra info regarding the encoding like sub formats.
Interface
ICAMERA
Prototype
    int ICAMERA_SetAudioEncode
    (
       ICamera * pICamera,
       AEECLSID cls,
       uint32 dwExtra
    )
Return
SUCCESS: Successful. Synchronous operation completed. CAM_PENDING: Asynchronous Operation. Result is passed back to the application via the registered callback EBADPARM: Bad parameter is passed ENOMEMORY: Not enough memory EBADSTATE: Cannot execute operation because the camera is in the wrong mode. EUNSUPPORTED: Parameter is not supported EFAILED: General failure
Side Effect
None.
Comment
This function may be synchronous or asynchronous depending on the values passed in. To get the current value via ICAMERA_GetParm() information, see Camera Control Parameters for CAM_PARM_AUDIO_ENCODE details.
  • Follow