Home
last modified time | relevance | path

Searched refs:AudioHandle (Results 1 – 25 of 38) sorted by relevance

12

/drivers/peripheral/bluetooth/audio/hal/hdi_binder/proxy/include/
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 handle, uint32_t *channelId);
[all …]
Daudio_proxy_common.h33 int32_t AudioProxyCommonSetRenderCtrlParam(int cmId, AudioHandle handle, float param);
34 int32_t AudioProxyCommonGetRenderCtrlParam(int cmId, AudioHandle handle, float *param);
/drivers/peripheral/audio/hdi_service/primary_impl/vendor_include/include/
Di_audio_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 AudioHwiSampleAttributes *attrs);
87 int32_t (*GetSampleAttributes)(AudioHandle handle, struct AudioHwiSampleAttributes *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 AudioHwiMmapBufferDescriptor …
136 … int32_t (*GetMmapPosition)(AudioHandle handle, uint64_t *frames, struct AudioHwiTimeStamp *time);
145 int32_t (*AddAudioEffect)(AudioHandle handle, uint64_t effectid);
[all …]
Di_audio_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);
Di_audio_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);
Di_audio_scene.h59 …int32_t (*CheckSceneCapability)(AudioHandle handle, const struct AudioHwiSceneDescriptor *scene, b…
82 int32_t (*SelectScene)(AudioHandle handle, const struct AudioHwiSceneDescriptor *scene);
/drivers/peripheral/audio/interfaces/include/
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 *de…
136 int32_t (*GetMmapPosition)(AudioHandle handle, uint64_t *frames, struct AudioTimeStamp *time);
145 int32_t (*AddAudioEffect)(AudioHandle handle, uint64_t effectid);
[all …]
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);
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);
Daudio_scene.h59 …int32_t (*CheckSceneCapability)(AudioHandle handle, const struct AudioSceneDescriptor *scene, bool…
82 int32_t (*SelectScene)(AudioHandle handle, const struct AudioSceneDescriptor *scene);
/drivers/peripheral/audio/interfaces/2.0/include/
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 *de…
137 int32_t (*GetMmapPosition)(AudioHandle handle, uint64_t *frames, struct AudioTimeStamp *time);
146 int32_t (*AddAudioEffect)(AudioHandle handle, uint64_t effectid);
[all …]
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);
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);
Daudio_scene.h60 …int32_t (*CheckSceneCapability)(AudioHandle handle, const struct AudioSceneDescriptor *scene, bool…
83 int32_t (*SelectScene)(AudioHandle handle, const struct AudioSceneDescriptor *scene);
/drivers/peripheral/bluetooth/audio/interfaces/include/
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 *de…
136 int32_t (*GetMmapPosition)(AudioHandle handle, uint64_t *frames, struct AudioTimeStamp *time);
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);
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);
Daudio_scene.h59 …int32_t (*CheckSceneCapability)(AudioHandle handle, const struct AudioSceneDescriptor *scene, bool…
82 int32_t (*SelectScene)(AudioHandle handle, const struct AudioSceneDescriptor *scene);
/drivers/peripheral/audio/hal/hdi_passthrough/include/
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 handle, const struct AudioSampleAttributes *attr…
[all …]
/drivers/peripheral/bluetooth/audio/hal/hdi_passthrough/include/
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 *attr…
370 int32_t AudioRenderGetSampleAttributes(AudioHandle handle, struct AudioSampleAttributes *attrs);
371 int32_t AudioRenderGetCurrentChannelId(AudioHandle handle, uint32_t *channelId);
[all …]
/drivers/peripheral/bluetooth/audio/hal/hdi_passthrough/src/
Daudio_render.cpp43 int32_t AudioRenderStart(AudioHandle handle) in AudioRenderStart()
70 int32_t AudioRenderStop(AudioHandle handle) in AudioRenderStop()
97 int32_t AudioRenderPause(AudioHandle handle) in AudioRenderPause()
125 int32_t AudioRenderResume(AudioHandle handle) in AudioRenderResume()
148 int32_t AudioRenderFlush(AudioHandle handle) in AudioRenderFlush()
158 int32_t AudioRenderGetFrameSize(AudioHandle handle, uint64_t *size) in AudioRenderGetFrameSize()
176 int32_t AudioRenderGetFrameCount(AudioHandle handle, uint64_t *count) in AudioRenderGetFrameCount()
186 int32_t AudioRenderSetSampleAttributes(AudioHandle handle, const struct AudioSampleAttributes *attr… in AudioRenderSetSampleAttributes()
192 int32_t AudioRenderGetSampleAttributes(AudioHandle handle, struct AudioSampleAttributes *attrs) in AudioRenderGetSampleAttributes()
213 int32_t AudioRenderGetCurrentChannelId(AudioHandle handle, uint32_t *channelId) in AudioRenderGetCurrentChannelId()
[all …]
/drivers/peripheral/bluetooth/audio/hal/hdi_binder/proxy/src/
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 handle, const struct AudioSampleAttri… in AudioProxyRenderSetSampleAttributes()
[all …]
/drivers/peripheral/audio/hal/hdi_binder/server/src/
Dhdf_audio_server_render.c238 return render->control.Start((AudioHandle)render); in HdiServiceRenderStart()
255 return render->control.Stop((AudioHandle)render); in HdiServiceRenderStop()
273 return render->control.Pause((AudioHandle)render); in HdiServiceRenderPause()
290 return render->control.Resume((AudioHandle)render); in HdiServiceRenderResume()
308 return render->control.Flush((AudioHandle)render); in HdiServiceRenderFlush()
327 if (render->attr.GetFrameSize((AudioHandle)render, &size)) { in HdiServiceRenderGetFrameSize()
353 if (render->attr.GetFrameCount((AudioHandle)render, &count)) { in HdiServiceRenderGetFrameCount()
382 return render->attr.SetSampleAttributes((AudioHandle)render, &attrs); in HdiServiceRenderSetSampleAttr()
401 ret = render->attr.GetSampleAttributes((AudioHandle)render, &attrs); in HdiServiceRenderGetSampleAttr()
427 ret = render->attr.GetCurrentChannelId((AudioHandle)render, &channelId); in HdiServiceRenderGetCurChannelId()
[all …]
Dhdf_audio_server_capture.c237 return capture->control.Start((AudioHandle)capture); in HdiServiceCaptureStart()
254 return capture->control.Stop((AudioHandle)capture); in HdiServiceCaptureStop()
271 return capture->control.Pause((AudioHandle)capture); in HdiServiceCapturePause()
288 return capture->control.Resume((AudioHandle)capture); in HdiServiceCaptureResume()
305 return capture->control.Flush((AudioHandle)capture); in HdiServiceCaptureFlush()
324 if (capture->attr.GetFrameSize((AudioHandle)capture, &size)) { in HdiServiceCaptureGetFrameSize()
349 if (capture->attr.GetFrameCount((AudioHandle)capture, &count)) { in HdiServiceCaptureGetFrameCount()
380 return capture->attr.SetSampleAttributes((AudioHandle)capture, &attrs); in HdiServiceCaptureSetSampleAttr()
399 ret = capture->attr.GetSampleAttributes((AudioHandle)capture, &attrs); in HdiServiceCaptureGetSampleAttr()
425 ret = capture->attr.GetCurrentChannelId((AudioHandle)capture, &channelId); in HdiServiceCaptureGetCurChannelId()
[all …]
/drivers/peripheral/bluetooth/audio/hal/hdi_binder/server/src/
Dhdf_audio_server_render.cpp200 return render->control.Start((AudioHandle)render); in HdiServiceRenderStart()
213 return render->control.Stop((AudioHandle)render); in HdiServiceRenderStop()
228 return render->control.Pause((AudioHandle)render); in HdiServiceRenderPause()
241 return render->control.Resume((AudioHandle)render); in HdiServiceRenderResume()
255 return render->control.Flush((AudioHandle)render); in HdiServiceRenderFlush()
270 if (render->attr.GetFrameSize((AudioHandle)render, &size)) { in HdiServiceRenderGetFrameSize()
291 if (render->attr.GetFrameCount((AudioHandle)render, &count)) { in HdiServiceRenderGetFrameCount()
316 return render->attr.SetSampleAttributes((AudioHandle)render, &attrs); in HdiServiceRenderSetSampleAttr()
331 ret = render->attr.GetSampleAttributes((AudioHandle)render, &attrs); in HdiServiceRenderGetSampleAttr()
353 ret = render->attr.GetCurrentChannelId((AudioHandle)render, &channelId); in HdiServiceRenderGetCurChannelId()
[all …]

12