![Logo](../../RDK-Logo.png) |
RDK Documentation (Open Sourced RDK Components)
|
38 #ifndef __RMF_AUDIO_CAPTURE_H__
39 #define __RMF_AUDIO_CAPTURE_H__
44 #include "rmf_error.h"
55 typedef struct RMF_AudioCapture_Struct *RMF_AudioCaptureHandle;
57 typedef char *RMF_AudioCaptureType;
61 #define RMF_INVALID_PARM (2)
64 #define RMF_AC_TYPE_PRIMARY "primary"
65 #define RMF_AC_TYPE_AUXILIARY "auxiliary"
98 typedef rmf_Error (*RMF_AudioCaptureBufferReadyCb)(
void *cbBufferReadyParm,
void *AudioCaptureBuffer,
unsigned int AudioCaptureBufferSize);
101 typedef rmf_Error (*RMF_AudioCapture_StatusChangeCb)(
void *cbStatusParm);
unsigned int delayCompensation_ms
rmf_Error RMF_AudioCapture_Start(RMF_AudioCaptureHandle handle, RMF_AudioCapture_Settings *settings)
This API will start the Audio capture.
rmf_Error RMF_AudioCapture_Open(RMF_AudioCaptureHandle *handle)
This API creates audio capture session, create all required resources to provide audio capture handle...
@ racFormat_e16BitMonoRight
rmf_Error RMF_AudioCapture_Stop(RMF_AudioCaptureHandle handle)
This API will stop the audio capture.
RMF_AudioCapture_StatusChangeCb cbStatusChange
rmf_Error RMF_AudioCapture_GetCurrentSettings(RMF_AudioCaptureHandle handle, RMF_AudioCapture_Settings *settings)
This API will return the audio capture settings which has been successfully set for that context.
rmf_Error RMF_AudioCapture_Close(RMF_AudioCaptureHandle handle)
This API will free all resources associated with this audio capture handle. It will close audio captu...
rmf_Error RMF_AudioCapture_GetDefaultSettings(RMF_AudioCapture_Settings *settings)
This API Will return default RMF audio capture settings.
rmf_Error RMF_AudioCapture_Open_Type(RMF_AudioCaptureHandle *handle, RMF_AudioCaptureType rmfAcType)
This API creates audio capture session, create all required resources to provide audio capture handle...
RMF_AudioCaptureBufferReadyCb cbBufferReady
rmf_Error RMF_AudioCapture_GetStatus(RMF_AudioCaptureHandle handle, RMF_AudioCapture_Status *status)
This API is used to enquire the current status of Audio Capture associated with the current Audio Cap...
@ racFormat_e16BitMonoLeft