Lines Matching refs:a2dp
49 struct a2dp_info a2dp; member
66 a2dp_sbc_t a2dp; in update_supported_formats() local
68 cras_bt_transport_configuration(a2dpio->transport, &a2dp, in update_supported_formats()
69 sizeof(a2dp)); in update_supported_formats()
72 channel = (a2dp.channel_mode == SBC_CHANNEL_MODE_MONO) ? 1 : 2; in update_supported_formats()
74 if (a2dp.frequency & SBC_SAMPLING_FREQ_48000) in update_supported_formats()
76 else if (a2dp.frequency & SBC_SAMPLING_FREQ_44100) in update_supported_formats()
78 else if (a2dp.frequency & SBC_SAMPLING_FREQ_32000) in update_supported_formats()
80 else if (a2dp.frequency & SBC_SAMPLING_FREQ_16000) in update_supported_formats()
131 a2dp_queued_frames(&a2dpio->a2dp) + in frames_queued()
176 a2dp_block_size(&a2dpio->a2dp, in configure_dev()
217 a2dp_drain(&a2dpio->a2dp); in close_dev()
232 &a2dpio->a2dp, in pre_fill_socket()
243 &a2dpio->a2dp, in pre_fill_socket()
255 a2dp_drain(&a2dpio->a2dp); in pre_fill_socket()
285 &a2dpio->a2dp, in flush_data()
303 written = a2dp_write(&a2dpio->a2dp, in flush_data()
308 a2dp_queued_frames(&a2dpio->a2dp), 0); in flush_data()
442 destroy_a2dp(&a2dpio->a2dp); in free_resources()
451 a2dp_sbc_t a2dp; in a2dp_iodev_create() local
460 cras_bt_transport_configuration(a2dpio->transport, &a2dp, in a2dp_iodev_create()
461 sizeof(a2dp)); in a2dp_iodev_create()
462 err = init_a2dp(&a2dpio->a2dp, &a2dp); in a2dp_iodev_create()