Home
last modified time | relevance | path

Searched refs:AudioHandle (Results 1 - 25 of 35) sorted by relevance

12

/drivers/peripheral/bluetooth/audio/hal/hdi_binder/proxy/include/
H A Daudio_proxy_internal.h34 int32_t AudioProxyRenderStart(AudioHandle handle);
35 int32_t AudioProxyRenderStop(AudioHandle handle);
36 int32_t AudioProxyRenderPause(AudioHandle handle);
37 int32_t AudioProxyRenderResume(AudioHandle handle);
38 int32_t AudioProxyRenderFlush(AudioHandle handle);
39 int32_t AudioProxyRenderGetFrameSize(const AudioHandle handle, uint64_t *size);
40 int32_t AudioProxyRenderGetFrameCount(const AudioHandle handle, uint64_t *count);
41 int32_t AudioProxyRenderSetSampleAttributes(const AudioHandle handle,
43 int32_t AudioProxyRenderGetSampleAttributes(const AudioHandle handle,
45 int32_t AudioProxyRenderGetCurrentChannelId(const AudioHandle handl
[all...]
H A Daudio_proxy_common.h40 int32_t AudioProxyCommonSetRenderCtrlParam(int cmId, AudioHandle handle, float param);
41 int32_t AudioProxyCommonGetRenderCtrlParam(int cmId, AudioHandle handle, float *param);
/drivers/peripheral/bluetooth/audio/hal/hdi_passthrough/include/
H A Dfast_audio_render.h24 int32_t FastRenderStart(AudioHandle handle);
25 int32_t FastRenderStop(AudioHandle handle);
26 int32_t FastRenderPause(AudioHandle handle);
27 int32_t FastRenderResume(AudioHandle handle);
28 int32_t FastRenderFlush(AudioHandle handle);
29 int32_t FastRenderGetFrameSize(AudioHandle handle, uint64_t *size);
30 int32_t FastRenderGetFrameCount(AudioHandle handle, uint64_t *count);
31 int32_t FastRenderSetSampleAttributes(AudioHandle handle, const struct AudioSampleAttributes *attrs);
32 int32_t FastRenderGetSampleAttributes(AudioHandle handle, struct AudioSampleAttributes *attrs);
33 int32_t FastRenderGetCurrentChannelId(AudioHandle handl
[all...]
H A Daudio_internal.h362 int32_t AudioRenderStart(AudioHandle handle);
363 int32_t AudioRenderStop(AudioHandle handle);
364 int32_t AudioRenderPause(AudioHandle handle);
365 int32_t AudioRenderResume(AudioHandle handle);
366 int32_t AudioRenderFlush(AudioHandle handle);
367 int32_t AudioRenderGetFrameSize(AudioHandle handle, uint64_t *size);
368 int32_t AudioRenderGetFrameCount(AudioHandle handle, uint64_t *count);
369 int32_t AudioRenderSetSampleAttributes(AudioHandle handle, const struct AudioSampleAttributes *attrs);
370 int32_t AudioRenderGetSampleAttributes(AudioHandle handle, struct AudioSampleAttributes *attrs);
371 int32_t AudioRenderGetCurrentChannelId(AudioHandle handl
[all...]
/drivers/peripheral/audio/interfaces/2.0/include/
H A Daudio_attribute.h57 int32_t (*GetFrameSize)(AudioHandle handle, uint64_t *size);
66 int32_t (*GetFrameCount)(AudioHandle handle, uint64_t *count);
77 int32_t (*SetSampleAttributes)(AudioHandle handle, const struct AudioSampleAttributes *attrs);
88 int32_t (*GetSampleAttributes)(AudioHandle handle, struct AudioSampleAttributes *attrs);
97 int32_t (*GetCurrentChannelId)(AudioHandle handle, uint32_t *channelId);
107 int32_t (*SetExtraParams)(AudioHandle handle, const char *keyValueList);
117 int32_t (*GetExtraParams)(AudioHandle handle, char *keyValueList, int32_t listLenth);
127 int32_t (*ReqMmapBuffer)(AudioHandle handle, int32_t reqSize, struct AudioMmapBufferDescriptor *desc);
137 int32_t (*GetMmapPosition)(AudioHandle handle, uint64_t *frames, struct AudioTimeStamp *time);
146 int32_t (*AddAudioEffect)(AudioHandle handl
[all...]
H A Daudio_control.h58 int32_t (*Start)(AudioHandle handle);
68 int32_t (*Stop)(AudioHandle handle);
78 int32_t (*Pause)(AudioHandle handle);
88 int32_t (*Resume)(AudioHandle handle);
96 int32_t (*Flush)(AudioHandle handle);
105 int32_t (*TurnStandbyMode)(AudioHandle handle);
115 int32_t (*AudioDevDump)(AudioHandle handle, int32_t range, int32_t fd);
128 int32_t (*IsSupportsPauseAndResume)(AudioHandle handle, bool *supportPause, bool *supportResume);
H A Daudio_volume.h58 int32_t (*SetMute)(AudioHandle handle, bool mute);
69 int32_t (*GetMute)(AudioHandle handle, bool *mute);
82 int32_t (*SetVolume)(AudioHandle handle, float volume);
92 int32_t (*GetVolume)(AudioHandle handle, float *volume);
111 int32_t (*GetGainThreshold)(AudioHandle handle, float *min, float *max);
122 int32_t (*GetGain)(AudioHandle handle, float *gain);
133 int32_t (*SetGain)(AudioHandle handle, float gain);
H A Daudio_scene.h60 int32_t (*CheckSceneCapability)(AudioHandle handle, const struct AudioSceneDescriptor *scene, bool *supported);
83 int32_t (*SelectScene)(AudioHandle handle, const struct AudioSceneDescriptor *scene);
/drivers/peripheral/audio/interfaces/include/
H A Daudio_attribute.h56 int32_t (*GetFrameSize)(AudioHandle handle, uint64_t *size);
65 int32_t (*GetFrameCount)(AudioHandle handle, uint64_t *count);
76 int32_t (*SetSampleAttributes)(AudioHandle handle, const struct AudioSampleAttributes *attrs);
87 int32_t (*GetSampleAttributes)(AudioHandle handle, struct AudioSampleAttributes *attrs);
96 int32_t (*GetCurrentChannelId)(AudioHandle handle, uint32_t *channelId);
106 int32_t (*SetExtraParams)(AudioHandle handle, const char *keyValueList);
116 int32_t (*GetExtraParams)(AudioHandle handle, char *keyValueList, int32_t listLenth);
126 int32_t (*ReqMmapBuffer)(AudioHandle handle, int32_t reqSize, struct AudioMmapBufferDescriptor *desc);
136 int32_t (*GetMmapPosition)(AudioHandle handle, uint64_t *frames, struct AudioTimeStamp *time);
145 int32_t (*AddAudioEffect)(AudioHandle handl
[all...]
H A Daudio_volume.h58 int32_t (*SetMute)(AudioHandle handle, bool mute);
69 int32_t (*GetMute)(AudioHandle handle, bool *mute);
82 int32_t (*SetVolume)(AudioHandle handle, float volume);
92 int32_t (*GetVolume)(AudioHandle handle, float *volume);
111 int32_t (*GetGainThreshold)(AudioHandle handle, float *min, float *max);
122 int32_t (*GetGain)(AudioHandle handle, float *gain);
133 int32_t (*SetGain)(AudioHandle handle, float gain);
H A Daudio_control.h57 int32_t (*Start)(AudioHandle handle);
67 int32_t (*Stop)(AudioHandle handle);
77 int32_t (*Pause)(AudioHandle handle);
87 int32_t (*Resume)(AudioHandle handle);
95 int32_t (*Flush)(AudioHandle handle);
104 int32_t (*TurnStandbyMode)(AudioHandle handle);
114 int32_t (*AudioDevDump)(AudioHandle handle, int32_t range, int32_t fd);
127 int32_t (*IsSupportsPauseAndResume)(AudioHandle handle, bool *supportPause, bool *supportResume);
H A Daudio_scene.h59 int32_t (*CheckSceneCapability)(AudioHandle handle, const struct AudioSceneDescriptor *scene, bool *supported);
82 int32_t (*SelectScene)(AudioHandle handle, const struct AudioSceneDescriptor *scene);
/drivers/peripheral/bluetooth/audio/interfaces/include/
H A Daudio_attribute.h56 int32_t (*GetFrameSize)(AudioHandle handle, uint64_t *size);
65 int32_t (*GetFrameCount)(AudioHandle handle, uint64_t *count);
76 int32_t (*SetSampleAttributes)(AudioHandle handle, const struct AudioSampleAttributes *attrs);
87 int32_t (*GetSampleAttributes)(AudioHandle handle, struct AudioSampleAttributes *attrs);
96 int32_t (*GetCurrentChannelId)(AudioHandle handle, uint32_t *channelId);
106 int32_t (*SetExtraParams)(AudioHandle handle, const char *keyValueList);
116 int32_t (*GetExtraParams)(AudioHandle handle, char *keyValueList, int32_t listLenth);
126 int32_t (*ReqMmapBuffer)(AudioHandle handle, int32_t reqSize, struct AudioMmapBufferDescriptor *desc);
136 int32_t (*GetMmapPosition)(AudioHandle handle, uint64_t *frames, struct AudioTimeStamp *time);
H A Daudio_control.h57 int32_t (*Start)(AudioHandle handle);
67 int32_t (*Stop)(AudioHandle handle);
77 int32_t (*Pause)(AudioHandle handle);
87 int32_t (*Resume)(AudioHandle handle);
95 int32_t (*Flush)(AudioHandle handle);
104 int32_t (*TurnStandbyMode)(AudioHandle handle);
114 int32_t (*AudioDevDump)(AudioHandle handle, int32_t range, int32_t fd);
H A Daudio_volume.h58 int32_t (*SetMute)(AudioHandle handle, bool mute);
69 int32_t (*GetMute)(AudioHandle handle, bool *mute);
82 int32_t (*SetVolume)(AudioHandle handle, float volume);
92 int32_t (*GetVolume)(AudioHandle handle, float *volume);
111 int32_t (*GetGainThreshold)(AudioHandle handle, float *min, float *max);
122 int32_t (*GetGain)(AudioHandle handle, float *gain);
133 int32_t (*SetGain)(AudioHandle handle, float gain);
H A Daudio_scene.h59 int32_t (*CheckSceneCapability)(AudioHandle handle, const struct AudioSceneDescriptor *scene, bool *supported);
82 int32_t (*SelectScene)(AudioHandle handle, const struct AudioSceneDescriptor *scene);
/drivers/peripheral/audio/hal/hdi_passthrough/include/
H A Daudio_internal.h123 typedef int32_t (*CallbackProcessFunc)(AudioHandle handle, enum AudioCallbackType callBackType);
168 AudioHandle renderhandle;
455 int32_t AudioRenderStart(AudioHandle handle);
456 int32_t AudioRenderStop(AudioHandle handle);
457 int32_t AudioRenderPause(AudioHandle handle);
458 int32_t AudioRenderResume(AudioHandle handle);
459 int32_t AudioRenderFlush(AudioHandle handle);
460 int32_t AudioRenderGetFrameSize(AudioHandle handle, uint64_t *size);
461 int32_t AudioRenderGetFrameCount(AudioHandle handle, uint64_t *count);
462 int32_t AudioRenderSetSampleAttributes(AudioHandle handl
[all...]
/drivers/peripheral/bluetooth/audio/hal/hdi_passthrough/src/
H A Dfast_audio_render.cpp38 int32_t FastRenderStart(AudioHandle handle) in FastRenderStart()
53 int32_t FastRenderStop(AudioHandle handle) in FastRenderStop()
63 int32_t FastRenderPause(AudioHandle handle) in FastRenderPause()
73 int32_t FastRenderResume(AudioHandle handle) in FastRenderResume()
88 int32_t FastRenderFlush(AudioHandle handle) in FastRenderFlush()
95 int32_t FastRenderGetFrameSize(AudioHandle handle, uint64_t *size) in FastRenderGetFrameSize()
103 int32_t FastRenderGetFrameCount(AudioHandle handle, uint64_t *count) in FastRenderGetFrameCount()
111 int32_t FastRenderSetSampleAttributes(AudioHandle handle, const struct AudioSampleAttributes *attrs) in FastRenderSetSampleAttributes()
119 int32_t FastRenderGetSampleAttributes(AudioHandle handle, struct AudioSampleAttributes *attrs) in FastRenderGetSampleAttributes()
127 int32_t FastRenderGetCurrentChannelId(AudioHandle handl
[all...]
H A Daudio_render.cpp44 int32_t AudioRenderStart(AudioHandle handle) in AudioRenderStart()
71 int32_t AudioRenderStop(AudioHandle handle) in AudioRenderStop()
98 int32_t AudioRenderPause(AudioHandle handle) in AudioRenderPause()
126 int32_t AudioRenderResume(AudioHandle handle) in AudioRenderResume()
149 int32_t AudioRenderFlush(AudioHandle handle) in AudioRenderFlush()
159 int32_t AudioRenderGetFrameSize(AudioHandle handle, uint64_t *size) in AudioRenderGetFrameSize()
177 int32_t AudioRenderGetFrameCount(AudioHandle handle, uint64_t *count) in AudioRenderGetFrameCount()
187 int32_t AudioRenderSetSampleAttributes(AudioHandle handle, const struct AudioSampleAttributes *attrs) in AudioRenderSetSampleAttributes()
193 int32_t AudioRenderGetSampleAttributes(AudioHandle handle, struct AudioSampleAttributes *attrs) in AudioRenderGetSampleAttributes()
214 int32_t AudioRenderGetCurrentChannelId(AudioHandle handl
[all...]
/drivers/peripheral/bluetooth/audio/hal/hdi_binder/proxy/src/
H A Daudio_proxy_render.cpp19 int32_t AudioProxyRenderCtrl(int cmId, AudioHandle handle) in AudioProxyRenderCtrl()
36 int32_t AudioProxyRenderStart(AudioHandle handle) in AudioProxyRenderStart()
42 int32_t AudioProxyRenderStop(AudioHandle handle) in AudioProxyRenderStop()
48 int32_t AudioProxyRenderPause(AudioHandle handle) in AudioProxyRenderPause()
54 int32_t AudioProxyRenderResume(AudioHandle handle) in AudioProxyRenderResume()
60 int32_t AudioProxyRenderFlush(AudioHandle handle) in AudioProxyRenderFlush()
69 int32_t AudioProxyRenderGetFrameParameter(int cmId, const AudioHandle handle, uint64_t *param) in AudioProxyRenderGetFrameParameter()
98 int32_t AudioProxyRenderGetFrameSize(const AudioHandle handle, uint64_t *size) in AudioProxyRenderGetFrameSize()
103 int32_t AudioProxyRenderGetFrameCount(const AudioHandle handle, uint64_t *count) in AudioProxyRenderGetFrameCount()
108 int32_t AudioProxyRenderSetSampleAttributes(const AudioHandle handl
[all...]
/drivers/peripheral/audio/hal/hdi_binder/server/src/
H A Dhdf_audio_server_render.c213 return render->control.Start((AudioHandle)render); in HdiServiceRenderStart()
230 return render->control.Stop((AudioHandle)render); in HdiServiceRenderStop()
248 return render->control.Pause((AudioHandle)render); in HdiServiceRenderPause()
265 return render->control.Resume((AudioHandle)render); in HdiServiceRenderResume()
283 return render->control.Flush((AudioHandle)render); in HdiServiceRenderFlush()
302 if (render->attr.GetFrameSize((AudioHandle)render, &size)) { in HdiServiceRenderGetFrameSize()
328 if (render->attr.GetFrameCount((AudioHandle)render, &count)) { in HdiServiceRenderGetFrameCount()
357 return render->attr.SetSampleAttributes((AudioHandle)render, &attrs); in HdiServiceRenderSetSampleAttr()
376 ret = render->attr.GetSampleAttributes((AudioHandle)render, &attrs); in HdiServiceRenderGetSampleAttr()
402 ret = render->attr.GetCurrentChannelId((AudioHandle)rende in HdiServiceRenderGetCurChannelId()
[all...]
H A Dhdf_audio_server_capture.c212 return capture->control.Start((AudioHandle)capture); in HdiServiceCaptureStart()
229 return capture->control.Stop((AudioHandle)capture); in HdiServiceCaptureStop()
246 return capture->control.Pause((AudioHandle)capture); in HdiServiceCapturePause()
263 return capture->control.Resume((AudioHandle)capture); in HdiServiceCaptureResume()
280 return capture->control.Flush((AudioHandle)capture); in HdiServiceCaptureFlush()
299 if (capture->attr.GetFrameSize((AudioHandle)capture, &size)) { in HdiServiceCaptureGetFrameSize()
324 if (capture->attr.GetFrameCount((AudioHandle)capture, &count)) { in HdiServiceCaptureGetFrameCount()
355 return capture->attr.SetSampleAttributes((AudioHandle)capture, &attrs); in HdiServiceCaptureSetSampleAttr()
374 ret = capture->attr.GetSampleAttributes((AudioHandle)capture, &attrs); in HdiServiceCaptureGetSampleAttr()
400 ret = capture->attr.GetCurrentChannelId((AudioHandle)captur in HdiServiceCaptureGetCurChannelId()
[all...]
/drivers/peripheral/bluetooth/audio/hal/hdi_binder/server/src/
H A Dhdf_audio_server_render.cpp208 return render->control.Start((AudioHandle)render); in HdiServiceRenderStart()
221 return render->control.Stop((AudioHandle)render); in HdiServiceRenderStop()
236 return render->control.Pause((AudioHandle)render); in HdiServiceRenderPause()
249 return render->control.Resume((AudioHandle)render); in HdiServiceRenderResume()
263 return render->control.Flush((AudioHandle)render); in HdiServiceRenderFlush()
278 if (render->attr.GetFrameSize((AudioHandle)render, &size)) { in HdiServiceRenderGetFrameSize()
299 if (render->attr.GetFrameCount((AudioHandle)render, &count)) { in HdiServiceRenderGetFrameCount()
324 return render->attr.SetSampleAttributes((AudioHandle)render, &attrs); in HdiServiceRenderSetSampleAttr()
339 ret = render->attr.GetSampleAttributes((AudioHandle)render, &attrs); in HdiServiceRenderGetSampleAttr()
361 ret = render->attr.GetCurrentChannelId((AudioHandle)rende in HdiServiceRenderGetCurChannelId()
[all...]
/drivers/peripheral/audio/hal/pathselect/include/
H A Daudio_pathselect.h33 int32_t AudioPathSelAnalysisJson(const AudioHandle adapterParam, enum AudioAdaptType adaptType);
/drivers/peripheral/audio/test/systemtest/common/hdi_common/src/
H A Daudio_hdi_common.cpp404 ret = render->control.Start((AudioHandle)render); in AudioRenderStartAndOneFrame()
535 int32_t ret = render->control.Start((AudioHandle)render); in FrameStart()
585 ret = capture->control.Start((AudioHandle)capture); in FrameStartCapture()
678 int32_t ret = capture->control.Start((AudioHandle)capture); in StartRecord()
871 ret = audiopara.capture->control.Stop((AudioHandle)(audiopara.capture)); in StopAudio()
883 ret = audiopara.render->control.Stop((AudioHandle)(audiopara.render)); in StopAudio()
1045 ret = audiopara.render->control.Start((AudioHandle)(audiopara.render)); in PlayMapAudioFile()
1050 ret = audiopara.render->attr.ReqMmapBuffer((AudioHandle)(audiopara.render), reqSize, &desc); in PlayMapAudioFile()
1075 ret = audiopara.capture->control.Start((AudioHandle)(audiopara.capture)); in RecordMapAudio()
1080 ret = audiopara.capture->attr.ReqMmapBuffer((AudioHandle)(audiopar in RecordMapAudio()
[all...]

Completed in 12 milliseconds

12