Home
last modified time | relevance | path

Searched refs:adev (Results 1 – 6 of 6) sorted by relevance

/device/linaro/hikey/audio/
Daudio_hw.c182 struct alsa_audio_device *adev = out->dev; in xa_device_run() local
184 void *p_comp=adev->dsp_device.p_decoder; in xa_device_run()
186 memcpy(adev->dsp_device.dec_inbuf[0],buffer,bytes); in xa_device_run()
187 adev->dsp_device.read_length=bytes; in xa_device_run()
189 if (adev->dsp_device.xafinitdone == 0) { in xa_device_run()
190 …XF_CHK_API(xaf_comp_process(adev->dsp_device.p_adev, adev->dsp_device.p_decoder, adev->dsp_device.… in xa_device_run()
191 …XF_CHK_API(xaf_comp_get_status(adev->dsp_device.p_adev, adev->dsp_device.p_decoder, &adev->dsp_dev… in xa_device_run()
192 ALOGE("PROXY:%s xaf_comp_get_status %d\n",__func__,adev->dsp_device.dec_status); in xa_device_run()
193 if (adev->dsp_device.dec_status == XAF_INIT_DONE) { in xa_device_run()
194 adev->dsp_device.xafinitdone = 1; in xa_device_run()
[all …]
/device/linaro/poplar/audio/
Daudio_hw.c91 struct alsa_audio_device *adev = out->dev; in start_output_stream() local
108 adev->active_output = NULL; in start_output_stream()
113 adev->active_output = out; in start_output_stream()
162 struct alsa_audio_device *adev = out->dev; in do_output_standby() local
167 adev->active_output = NULL; in do_output_standby()
197 struct alsa_audio_device *adev = out->dev; in out_set_parameters() local
207 pthread_mutex_lock(&adev->lock); in out_set_parameters()
209 if (((adev->devices & AUDIO_DEVICE_OUT_ALL) != val) && (val != 0)) { in out_set_parameters()
210 adev->devices &= ~AUDIO_DEVICE_OUT_ALL; in out_set_parameters()
211 adev->devices |= val; in out_set_parameters()
[all …]
/device/amlogic/yukawa/hal/audio/
Daudio_hw.c158 struct alsa_audio_device *adev = out->dev; in start_output_stream() local
188 adev->active_output = out; in start_output_stream()
237 struct alsa_audio_device *adev = out->dev; in do_output_standby() local
244 adev->active_output = NULL; in do_output_standby()
247 aec_set_spk_running(adev->aec, false); in do_output_standby()
275 struct alsa_audio_device *adev = out->dev; in out_set_parameters() local
285 pthread_mutex_lock(&adev->lock); in out_set_parameters()
292 pthread_mutex_unlock(&adev->lock); in out_set_parameters()
324 struct alsa_audio_device *adev = out->dev; in out_write() local
334 pthread_mutex_lock(&adev->lock); in out_write()
[all …]
/device/linaro/dragonboard/audio/
Daudio_hw.c1061 struct generic_audio_device *adev = in->dev; in in_read() local
1066 adev_get_mic_mute(&adev->device, &mic_mute); in in_read()
1195 struct generic_audio_device *adev = (struct generic_audio_device *)dev; in adev_open_output_stream() local
1233 out->dev = adev; in adev_open_output_stream()
1263 pthread_mutex_lock(&adev->lock); in adev_open_output_stream()
1264 list_add_tail(&adev->out_streams, &out->stream_node); in adev_open_output_stream()
1265 pthread_mutex_unlock(&adev->lock); in adev_open_output_stream()
1276 struct generic_audio_device *adev, audio_io_handle_t handle) { in get_stream_out_by_io_handle_l() argument
1279 list_for_each(node, &adev->out_streams) { in get_stream_out_by_io_handle_l()
1304 struct generic_audio_device *adev = (struct generic_audio_device *) dev; in adev_close_output_stream() local
[all …]
/device/google/cuttlefish/guest/hals/audio/
Daudio_hw.c1064 struct generic_audio_device *adev = in->dev; in in_read() local
1069 adev_get_mic_mute(&adev->device, &mic_mute); in in_read()
1198 struct generic_audio_device *adev = (struct generic_audio_device *)dev; in adev_open_output_stream() local
1236 out->dev = adev; in adev_open_output_stream()
1266 pthread_mutex_lock(&adev->lock); in adev_open_output_stream()
1267 list_add_tail(&adev->out_streams, &out->stream_node); in adev_open_output_stream()
1268 pthread_mutex_unlock(&adev->lock); in adev_open_output_stream()
1279 struct generic_audio_device *adev, audio_io_handle_t handle) { in get_stream_out_by_io_handle_l() argument
1282 list_for_each(node, &adev->out_streams) { in get_stream_out_by_io_handle_l()
1307 struct generic_audio_device *adev = (struct generic_audio_device *) dev; in adev_close_output_stream() local
[all …]
/device/generic/car/emulator/audio/driver/
Daudio_hw.c834 struct generic_audio_device *adev = in->dev; in in_read() local
840 adev_get_mic_mute(&adev->device, &mic_mute); in in_read()
959 struct generic_audio_device *adev = (struct generic_audio_device *)dev; in adev_open_output_stream() local
995 out->dev = adev; in adev_open_output_stream()
1026 hashmapPut(adev->out_bus_stream_map, out->bus_address, out); in adev_open_output_stream()
1048 struct generic_audio_device *adev = (struct generic_audio_device *)dev; in adev_close_output_stream() local
1063 hashmapRemove(adev->out_bus_stream_map, out->bus_address); in adev_close_output_stream()
1096 struct generic_audio_device *adev = (struct generic_audio_device *)dev; in adev_set_master_mute() local
1097 pthread_mutex_lock(&adev->lock); in adev_set_master_mute()
1098 adev->master_mute = muted; in adev_set_master_mute()
[all …]