Lines Matching refs:g_duplex_control

63 static duplex_info_t g_duplex_control = {  variable
1704 g_duplex_control.alsa_duplex_opened = true; in hfp_alsa_playback()
1706 while (g_duplex_control.alsa_duplex_opened) { in hfp_alsa_playback()
1708 if (!g_duplex_control.alsa_duplex_opened) in hfp_alsa_playback()
1730 if (!g_duplex_control.alsa_duplex_opened) in hfp_alsa_playback()
1800 g_duplex_control.bt_duplex_opened = true; in hfp_bt_playback()
1802 while (g_duplex_control.bt_duplex_opened) { in hfp_bt_playback()
1804 if (!g_duplex_control.bt_duplex_opened) in hfp_bt_playback()
1826 if (!g_duplex_control.bt_duplex_opened) in hfp_bt_playback()
1858 if (!g_duplex_control.alsa_duplex_opened) { in hfp_open_alsa_duplex()
1859 if (pthread_create(&g_duplex_control.alsa_tid, NULL, hfp_alsa_playback, NULL)) { in hfp_open_alsa_duplex()
1873 g_duplex_control.alsa_duplex_opened = false; in hfp_close_alsa_duplex()
1874 if (g_duplex_control.alsa_tid) { in hfp_close_alsa_duplex()
1875 pthread_join(g_duplex_control.alsa_tid, NULL); in hfp_close_alsa_duplex()
1876 g_duplex_control.alsa_tid = 0; in hfp_close_alsa_duplex()
1884 if (!g_duplex_control.bt_duplex_opened) { in hfp_open_bt_duplex()
1885 if (pthread_create(&g_duplex_control.bt_tid, NULL, hfp_bt_playback, NULL)) { in hfp_open_bt_duplex()
1899 g_duplex_control.bt_duplex_opened = false; in hfp_close_bt_duplex()
1900 if (g_duplex_control.bt_tid) { in hfp_close_bt_duplex()
1901 pthread_join(g_duplex_control.bt_tid, NULL); in hfp_close_bt_duplex()
1902 g_duplex_control.bt_tid = 0; in hfp_close_bt_duplex()