Home
last modified time | relevance | path

Searched refs:volume (Results 1 - 4 of 4) sorted by relevance

/device/board/hihope/rk3568/audio_alsa/
H A Dvendor_render.c79 static int32_t RenderGetVolumeImpl(struct AlsaRender *renderIns, long *volume) in RenderGetVolumeImpl() argument
91 AUDIO_FUNC_LOGE("Read left volume fail!"); in RenderGetVolumeImpl()
96 AUDIO_FUNC_LOGE("Read right volume fail!"); in RenderGetVolumeImpl()
99 *volume = (volLeft + volRight) >> 1; in RenderGetVolumeImpl()
104 static int32_t RenderSetVolumeImpl(struct AlsaRender *renderIns, long volume) in RenderSetVolumeImpl() argument
112 ret = SndElementWriteInt(cardIns, &priData->ctrlLeftVolume, volume); in RenderSetVolumeImpl()
114 AUDIO_FUNC_LOGE("Write left volume fail!"); in RenderSetVolumeImpl()
117 ret = SndElementWriteInt(cardIns, &priData->ctrlRightVolume, volume); in RenderSetVolumeImpl()
119 AUDIO_FUNC_LOGE("Write right volume fail!"); in RenderSetVolumeImpl()
222 static int32_t RenderGetGainImpl(struct AlsaRender *renderIns, float *volume) in RenderGetGainImpl() argument
228 RenderSetGainImpl(struct AlsaRender *renderIns, float volume) RenderSetGainImpl() argument
[all...]
H A Dvendor_capture.c79 static int32_t CaptureGetVolumeImpl(struct AlsaCapture *captureIns, long *volume) in CaptureGetVolumeImpl() argument
91 AUDIO_FUNC_LOGE("Read left volume fail!"); in CaptureGetVolumeImpl()
96 AUDIO_FUNC_LOGE("Read right volume fail!"); in CaptureGetVolumeImpl()
99 *volume = (volLeft + volRight) >> 1; in CaptureGetVolumeImpl()
104 static int32_t CaptureSetVolumeImpl(struct AlsaCapture *captureIns, long volume) in CaptureSetVolumeImpl() argument
111 ret = SndElementWriteInt(cardIns, &priData->ctrlLeftVolume, volume); in CaptureSetVolumeImpl()
113 AUDIO_FUNC_LOGE("Write left volume fail!"); in CaptureSetVolumeImpl()
116 ret = SndElementWriteInt(cardIns, &priData->ctrlRightVolume, volume); in CaptureSetVolumeImpl()
118 AUDIO_FUNC_LOGE("Write right volume fail!"); in CaptureSetVolumeImpl()
189 static int32_t CaptureGetGainImpl(struct AlsaCapture *captureIns, float *volume) in CaptureGetGainImpl() argument
195 CaptureSetGainImpl(struct AlsaCapture *captureIns, float volume) CaptureSetGainImpl() argument
[all...]
/device/board/hisilicon/hispark_taurus/audio_drivers/soc/include/
H A Dhi3516_aiao_impl.h72 unsigned int volume : 7; // [14..8] member
/device/board/hisilicon/hispark_taurus/audio_drivers/soc/src/
H A Dhi3516_aiao_impl.c307 aopCtrlReg.Bits.volume = 0x79; /* 0db */ in AopSetCtrlReg()

Completed in 3 milliseconds