Home
last modified time | relevance | path

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

/system/bt/audio_a2dp_hw/
Daudio_a2dp_hw.c108 int audio_fd; member
485 common->audio_fd = AUDIO_SKT_DISCONNECTED; in a2dp_stream_common_init()
512 if (common->audio_fd == AUDIO_SKT_DISCONNECTED) in start_audio_datapath()
514 common->audio_fd = skt_connect(A2DP_DATA_PATH, common->buffer_sz); in start_audio_datapath()
515 if (common->audio_fd < 0) in start_audio_datapath()
549 skt_disconnect(common->audio_fd); in stop_audio_datapath()
550 common->audio_fd = AUDIO_SKT_DISCONNECTED; in stop_audio_datapath()
571 skt_disconnect(common->audio_fd); in suspend_audio_datapath()
573 common->audio_fd = AUDIO_SKT_DISCONNECTED; in suspend_audio_datapath()
592 DEBUG("write %zu bytes (fd %d)", bytes, out->common.audio_fd); in out_write()
[all …]