RDK Documentation (Open Sourced RDK Components)
rmfAudioCapture.c
1 /*
2  * If not stated otherwise in this file or this component's Licenses.txt file the
3  * following copyright and licenses apply:
4  *
5  * Copyright 2016 RDK Management
6  *
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  *
11  * http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18 */
19 #include <stdio.h>
20 #include "rmfAudioCapture.h"
21 
22 rmf_Error
24  RMF_AudioCaptureHandle* handle
25 ) {
26  (void)handle;
27  return RMF_SUCCESS;
28 }
29 
30 rmf_Error
32  RMF_AudioCaptureHandle* handle,
33  RMF_AudioCaptureType rmfAcType
34 ) {
35  (void)handle;
36  return RMF_SUCCESS;
37 }
38 
39 rmf_Error
41  RMF_AudioCaptureHandle handle,
43 ) {
44  (void)handle;
45  (void)status;
46  return RMF_SUCCESS;
47 }
48 
49 
50 rmf_Error
53 ) {
54  (void)settings;
55  return RMF_SUCCESS;
56 }
57 
58 
59 rmf_Error
61  RMF_AudioCaptureHandle handle,
63 ) {
64  (void)handle;
65  (void)settings;
66  return RMF_SUCCESS;
67 }
68 
69 
70 rmf_Error
72  RMF_AudioCaptureHandle handle,
74 ) {
75  (void)handle;
76  (void)settings;
77  return RMF_SUCCESS;
78 }
79 
80 
81 rmf_Error
83  RMF_AudioCaptureHandle handle
84 ) {
85  (void)handle;
86  return RMF_SUCCESS;
87 }
88 
89 
90 rmf_Error
92  RMF_AudioCaptureHandle handle
93 ) {
94  (void)handle;
95  return RMF_SUCCESS;
96 }
RMF_AudioCapture_Settings
Definition: rmfAudioCapture.h:104
RMF_AudioCapture_Start
rmf_Error RMF_AudioCapture_Start(RMF_AudioCaptureHandle handle, RMF_AudioCapture_Settings *settings)
This API will start the Audio capture.
Definition: rmfAudioCapture.c:71
RMF_AudioCapture_Open
rmf_Error RMF_AudioCapture_Open(RMF_AudioCaptureHandle *handle)
This API creates audio capture session, create all required resources to provide audio capture handle...
Definition: rmfAudioCapture.c:23
RMF_AudioCapture_Stop
rmf_Error RMF_AudioCapture_Stop(RMF_AudioCaptureHandle handle)
This API will stop the audio capture.
Definition: rmfAudioCapture.c:82
RMF_AudioCapture_GetCurrentSettings
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.
Definition: rmfAudioCapture.c:60
RMF_AudioCapture_Close
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...
Definition: rmfAudioCapture.c:91
RMF_AudioCapture_GetDefaultSettings
rmf_Error RMF_AudioCapture_GetDefaultSettings(RMF_AudioCapture_Settings *settings)
This API Will return default RMF audio capture settings.
Definition: rmfAudioCapture.c:51
RMF_AudioCapture_Open_Type
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...
Definition: rmfAudioCapture.c:31
RMF_AudioCapture_Status
Definition: rmfAudioCapture.h:124
RMF_AudioCapture_GetStatus
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...
Definition: rmfAudioCapture.c:40