/drivers/peripheral/bluetooth/audio/hal/hdi_binder/proxy/include/ |
D | audio_proxy_internal.h | 34 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 …]
|
D | audio_proxy_common.h | 33 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/ |
D | i_audio_attribute.h | 56 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 …]
|
D | i_audio_control.h | 57 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);
|
D | i_audio_volume.h | 58 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);
|
D | i_audio_scene.h | 59 …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/ |
D | audio_attribute.h | 56 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 …]
|
D | audio_control.h | 57 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);
|
D | audio_volume.h | 58 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);
|
D | audio_scene.h | 59 …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/ |
D | audio_attribute.h | 57 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 …]
|
D | audio_control.h | 58 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);
|
D | audio_volume.h | 58 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);
|
D | audio_scene.h | 60 …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/ |
D | audio_attribute.h | 56 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);
|
D | audio_control.h | 57 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);
|
D | audio_volume.h | 58 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);
|
D | audio_scene.h | 59 …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/ |
D | audio_internal.h | 123 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/ |
D | audio_internal.h | 362 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/ |
D | audio_render.cpp | 43 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/ |
D | audio_proxy_render.cpp | 19 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/ |
D | hdf_audio_server_render.c | 238 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 …]
|
D | hdf_audio_server_capture.c | 237 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/ |
D | hdf_audio_server_render.cpp | 200 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 …]
|