Searched refs:IAudioRenderVdi (Results 1 - 6 of 6) sorted by relevance
/drivers/peripheral/audio/interfaces/sound/v1_0/ |
H A D | iaudio_render_vdi.h | 31 struct IAudioRenderVdi { struct 32 int32_t (*GetLatency)(struct IAudioRenderVdi *self, uint32_t *ms); 33 int32_t (*RenderFrame)(struct IAudioRenderVdi *self, const int8_t *frame, uint32_t frameLen, uint64_t *replyBytes); 34 int32_t (*GetRenderPosition)(struct IAudioRenderVdi *self, uint64_t *frames, struct AudioTimeStampVdi *time); 35 int32_t (*SetRenderSpeed)(struct IAudioRenderVdi *self, float speed); 36 int32_t (*GetRenderSpeed)(struct IAudioRenderVdi *self, float *speed); 37 int32_t (*SetChannelMode)(struct IAudioRenderVdi *self, enum AudioChannelModeVdi mode); 38 int32_t (*GetChannelMode)(struct IAudioRenderVdi *self, enum AudioChannelModeVdi *mode); 39 int32_t (*RegCallback)(struct IAudioRenderVdi *self, RenderCallbackVdi audioCallback, void *cookie); 40 int32_t (*DrainBuffer)(struct IAudioRenderVdi *sel [all...] |
H A D | iaudio_adapter_vdi.h | 36 const struct AudioSampleAttributesVdi *attrs, struct IAudioRenderVdi **render); 37 int32_t (*DestroyRender)(struct IAudioAdapterVdi *self, struct IAudioRenderVdi *render);
|
/drivers/peripheral/audio/test/hal_mock/ |
H A D | audio_render_mock.c | 20 static int32_t GetLatency(struct IAudioRenderVdi* render, uint32_t *ms)
in GetLatency() 33 static int32_t RenderFrame(struct IAudioRenderVdi* render, const int8_t *frame, uint32_t frameLen, uint64_t *replyBytes)
in RenderFrame() 45 static int32_t GetPosition(struct IAudioRenderVdi* render, uint64_t *frames, struct AudioTimeStamp *time)
in GetPosition() 57 static int32_t SetSpeed(struct IAudioRenderVdi* render, float speed)
in SetSpeed() 68 static int32_t GetSpeed(struct IAudioRenderVdi* render, float *speed)
in GetSpeed() 79 static int32_t RegCallback(struct IAudioRenderVdi* render, struct IAudioCallback *audioCallback, int8_t cookie)
in RegCallback() 90 static int32_t SetChannelMode(struct IAudioRenderVdi* render, enum AudioChannelMode mode)
in SetChannelMode() 101 static int32_t GetChannelMode(struct IAudioRenderVdi* render, enum AudioChannelMode *mode)
in GetChannelMode() 112 static int32_t DrainBuffer(struct IAudioRenderVdi* render, enum AudioDrainNotifyType *type)
in DrainBuffer() 123 static int32_t IsSupportsDrain(struct IAudioRenderVdi* rende [all...] |
/drivers/peripheral/audio/hdi_service/primary_impl/vdi_src/ |
H A D | audio_render_vdi.c | 35 struct IAudioRenderVdi *vdiRender; 55 struct IAudioRenderVdi *AudioGetVdiRenderByIdVdi(uint32_t renderId) in AudioGetVdiRenderByIdVdi() 72 struct IAudioRenderVdi *vdiRender = renderInfo->vdiRender; in AudioGetLatencyVdi() 92 struct IAudioRenderVdi *vdiRender = renderInfo->vdiRender; in AudioRenderFrameVdi() 116 struct IAudioRenderVdi *vdiRender = renderInfo->vdiRender; in AudioGetRenderPositionVdi() 138 struct IAudioRenderVdi *vdiRender = renderInfo->vdiRender; in AudioSetRenderSpeedVdi() 157 struct IAudioRenderVdi *vdiRender = renderInfo->vdiRender; in AudioGetRenderSpeedVdi() 192 struct IAudioRenderVdi *vdiRender = renderInfo->vdiRender; in AudioRenderRegCallbackVdi() 211 struct IAudioRenderVdi *vdiRender = renderInfo->vdiRender; in AudioRenderSetChannelModeVdi() 230 struct IAudioRenderVdi *vdiRende in AudioRenderGetChannelModeVdi() [all...] |
H A D | audio_render_vdi.h | 23 struct IAudioRenderVdi *vdiRender, const struct AudioDeviceDescriptor *desc, char *adapterName); 25 struct IAudioRenderVdi *AudioGetVdiRenderByIdVdi(uint32_t renderId);
|
H A D | audio_adapter_vdi.c | 147 struct IAudioRenderVdi *vdiRender = NULL; in AudioCreateRenderVdi() 211 struct IAudioRenderVdi *vdiRender = AudioGetVdiRenderByIdVdi(renderId); in AudioDestroyRenderVdi()
|
Completed in 4 milliseconds