Home
last modified time | relevance | path

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

/hardware/qcom/audio/msm8909/hal/audio_extn/
Da2dp.c47 struct audio_hw_device *a2dp_device; member
71 if (a2dp.a2dp_device == NULL){ in open_a2dp_output()
79 rc = audio_hw_device_open(mod, &a2dp.a2dp_device); in open_a2dp_output()
86 rc = a2dp.a2dp_device->open_output_stream(a2dp.a2dp_device, 0,AUDIO_DEVICE_OUT_BLUETOOTH_A2DP, in open_a2dp_output()
101 if(!a2dp.a2dp_device && !a2dp.a2dp_stream){ in close_a2dp_output()
106 a2dp.a2dp_device->close_output_stream(a2dp.a2dp_device, a2dp.a2dp_stream); in close_a2dp_output()
142 if (a2dp.a2dp_device && a2dp.a2dp_stream) { in audio_extn_a2dp_set_parameters()
143 a2dp.a2dp_device->set_parameters(a2dp.a2dp_device, str_parms_to_str(parms)); in audio_extn_a2dp_set_parameters()
158 if (!a2dp.a2dp_started && a2dp.a2dp_device && a2dp.a2dp_stream) { in audio_extn_a2dp_start_playback()
162 ret = a2dp.a2dp_device->set_parameters(a2dp.a2dp_device, buf); in audio_extn_a2dp_start_playback()
[all …]