Home
last modified time | relevance | path

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

12

/ohos5.0/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);
36 int32_t FastRenderSetMute(AudioHandle handle, bool mute);
37 int32_t FastRenderGetMute(AudioHandle handle, bool *mute);
38 int32_t FastRenderSetVolume(AudioHandle handle, float volume);
41 int32_t FastRenderGetGain(AudioHandle handle, float *gain);
42 int32_t FastRenderSetGain(AudioHandle handle, float gain);
[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);
375 int32_t AudioRenderSetMute(AudioHandle handle, bool mute);
376 int32_t AudioRenderGetMute(AudioHandle handle, bool *mute);
377 int32_t AudioRenderSetVolume(AudioHandle handle, float volume);
380 int32_t AudioRenderGetGain(AudioHandle handle, float *gain);
381 int32_t AudioRenderSetGain(AudioHandle handle, float gain);
[all …]
/ohos5.0/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);
41 int32_t AudioProxyRenderSetSampleAttributes(const AudioHandle handle,
43 int32_t AudioProxyRenderGetSampleAttributes(const AudioHandle handle,
46 int32_t AudioProxyRenderCheckSceneCapability(const AudioHandle handle,
48 int32_t AudioProxyRenderSelectScene(const AudioHandle handle,
50 int32_t AudioProxyRenderSetMute(const AudioHandle handle, bool mute);
[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);
/ohos5.0/drivers/peripheral/audio/hal/hdi_passthrough/include/
H A Daudio_internal.h168 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);
493 int32_t AudioCaptureStart(AudioHandle handle);
494 int32_t AudioCaptureStop(AudioHandle handle);
495 int32_t AudioCapturePause(AudioHandle handle);
496 int32_t AudioCaptureResume(AudioHandle handle);
[all …]
/ohos5.0/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);
136 int32_t (*GetMmapPosition)(AudioHandle handle, uint64_t *frames, struct AudioTimeStamp *time);
145 int32_t (*AddAudioEffect)(AudioHandle handle, uint64_t effectid);
154 int32_t (*RemoveAudioEffect)(AudioHandle handle, uint64_t effectid);
[all …]
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_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…
82 int32_t (*SelectScene)(AudioHandle handle, const struct AudioSceneDescriptor *scene);
/ohos5.0/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);
137 int32_t (*GetMmapPosition)(AudioHandle handle, uint64_t *frames, struct AudioTimeStamp *time);
146 int32_t (*AddAudioEffect)(AudioHandle handle, uint64_t effectid);
155 int32_t (*RemoveAudioEffect)(AudioHandle handle, uint64_t effectid);
[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…
83 int32_t (*SelectScene)(AudioHandle handle, const struct AudioSceneDescriptor *scene);
/ohos5.0/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()
152 int32_t FastRenderSetMute(AudioHandle handle, bool mute) in FastRenderSetMute()
160 int32_t FastRenderGetMute(AudioHandle handle, bool *mute) in FastRenderGetMute()
168 int32_t FastRenderSetVolume(AudioHandle handle, float volume) in FastRenderSetVolume()
193 int32_t FastRenderGetGain(AudioHandle handle, float *gain) in FastRenderGetGain()
201 int32_t FastRenderSetGain(AudioHandle handle, float gain) in FastRenderSetGain()
[all …]
H A 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()
239 int32_t AudioRenderSetMute(AudioHandle handle, bool mute) in AudioRenderSetMute()
245 int32_t AudioRenderGetMute(AudioHandle handle, bool *mute) in AudioRenderGetMute()
271 int32_t AudioRenderGetGain(AudioHandle handle, float *gain) in AudioRenderGetGain()
278 int32_t AudioRenderSetGain(AudioHandle handle, float gain) in AudioRenderSetGain()
521 int32_t AudioRenderTurnStandbyMode(AudioHandle handle) in AudioRenderTurnStandbyMode()
[all …]
/ohos5.0/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 *de…
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…
82 int32_t (*SelectScene)(AudioHandle handle, const struct AudioSceneDescriptor *scene);
/ohos5.0/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()
494 ret = render->volume.GetMute((AudioHandle)render, &mute); in HdiServiceRenderGetMute()
526 return render->volume.SetMute((AudioHandle)render, mute); in HdiServiceRenderSetMute()
626 ret = render->volume.GetGain((AudioHandle)render, &gain); in HdiServiceRenderGetGain()
675 ret = render->GetLatency((AudioHandle)render, &ms); in HdiServiceRenderGetLatency()
1080 return render->control.Stop((AudioHandle)render); in HdiServiceRenderTurnStandbyMode()
[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()
492 ret = capture->volume.GetMute((AudioHandle)capture, &mute); in HdiServiceCaptureGetMute()
526 return capture->volume.SetMute((AudioHandle)capture, mute); in HdiServiceCaptureSetMute()
570 ret = capture->volume.GetVolume((AudioHandle)capture, &volume); in HdiServiceCaptureGetVolume()
632 ret = capture->volume.GetGain((AudioHandle)capture, &gain); in HdiServiceCaptureGetGain()
[all …]
/ohos5.0/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()
132 int32_t AudioProxyRenderGetSampleAttributes(const AudioHandle handle, in AudioProxyRenderGetSampleAttributes()
192 int32_t AudioProxyRenderCheckSceneCapability(const AudioHandle handle, in AudioProxyRenderCheckSceneCapability()
267 int32_t AudioProxyRenderSetMute(const AudioHandle handle, bool mute) in AudioProxyRenderSetMute()
290 int32_t AudioProxyRenderGetMute(const AudioHandle handle, bool *mute) in AudioProxyRenderGetMute()
[all …]
/ohos5.0/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()
441 ret = render->volume.GetMute((AudioHandle)render, &mute); in HdiServiceRenderGetMute()
469 return render->volume.SetMute((AudioHandle)render, mute); in HdiServiceRenderSetMute()
503 ret = render->volume.GetVolume((AudioHandle)render, &volume); in HdiServiceRenderGetVolume()
553 ret = render->volume.GetGain((AudioHandle)render, &gain); in HdiServiceRenderGetGain()
[all …]
/ohos5.0/foundation/multimedia/media_lite/services/player_lite/impl/player_control/sink/
H A Dplayer_audio_sink.cpp347 int32_t ret = audioRender_->control.Start((AudioHandle)audioRender_); in Start()
372 audioRender_->volume.SetVolume(reinterpret_cast<AudioHandle>(audioRender_), volume); in SetVolume()
386 (void)audioRender_->control.Stop(reinterpret_cast<AudioHandle>(audioRender_)); in Stop()
399 (void)audioRender_->control.Pause(reinterpret_cast<AudioHandle>(audioRender_)); in Pause()
409 (void)audioRender_->control.Resume(reinterpret_cast<AudioHandle>(audioRender_)); in Resume()
419 (void)audioRender_->control.Flush(reinterpret_cast<AudioHandle>(audioRender_)); in Reset()
442 (void)audioRender_->control.Flush(reinterpret_cast<AudioHandle>(audioRender_)); in Flush()
/ohos5.0/foundation/multimedia/audio_lite/services/impl/audio_source/
H A Daudio_source.cpp115 …ret = audioCapture_->attr.GetFrameCount(reinterpret_cast<AudioHandle>(audioCapture_), &frameCount); in GetFrameCount()
226 …int32_t ret = audioCapture_->attr.GetCurrentChannelId(reinterpret_cast<AudioHandle>(audioCapture_)… in GetCurrentDeviceId()
243 ret = audioCapture_->control.Start(reinterpret_cast<AudioHandle>(audioCapture_)); in Start()
282 int32_t ret = audioCapture_->control.Stop(reinterpret_cast<AudioHandle>(audioCapture_)); in Stop()

12