Home
last modified time | relevance | path

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

/system/bt/stack/a2dp/
Da2dp_sbc_encoder.cc624 uint32_t nb_byte_read; in a2dp_sbc_read_feeding() local
647 nb_byte_read = a2dp_sbc_encoder_cb.read_callback( in a2dp_sbc_read_feeding()
652 nb_byte_read; in a2dp_sbc_read_feeding()
654 *bytes_read = nb_byte_read; in a2dp_sbc_read_feeding()
655 if (nb_byte_read != read_size) { in a2dp_sbc_read_feeding()
656 a2dp_sbc_encoder_cb.feeding_state.aa_feed_residue += nb_byte_read; in a2dp_sbc_read_feeding()
709 nb_byte_read = in a2dp_sbc_read_feeding()
711 a2dp_sbc_encoder_cb.stats.media_read_total_actual_read_bytes += nb_byte_read; in a2dp_sbc_read_feeding()
713 if (nb_byte_read < read_size) { in a2dp_sbc_read_feeding()
714 if (nb_byte_read == 0) return false; in a2dp_sbc_read_feeding()
[all …]
Da2dp_aac_encoder.cc729 uint32_t nb_byte_read = in a2dp_aac_read_feeding() local
731 a2dp_aac_encoder_cb.stats.media_read_total_actual_read_bytes += nb_byte_read; in a2dp_aac_read_feeding()
732 *bytes_read = nb_byte_read; in a2dp_aac_read_feeding()
734 if (nb_byte_read < read_size) { in a2dp_aac_read_feeding()
735 if (nb_byte_read == 0) return false; in a2dp_aac_read_feeding()
738 memset(((uint8_t*)read_buffer) + nb_byte_read, 0, read_size - nb_byte_read); in a2dp_aac_read_feeding()
739 nb_byte_read = read_size; in a2dp_aac_read_feeding()
Da2dp_vendor_ldac_encoder.cc723 uint32_t nb_byte_read = in a2dp_ldac_read_feeding() local
725 a2dp_ldac_encoder_cb.stats.media_read_total_actual_read_bytes += nb_byte_read; in a2dp_ldac_read_feeding()
727 if (nb_byte_read < read_size) { in a2dp_ldac_read_feeding()
728 if (nb_byte_read == 0) return false; in a2dp_ldac_read_feeding()
731 memset(((uint8_t*)read_buffer) + nb_byte_read, 0, read_size - nb_byte_read); in a2dp_ldac_read_feeding()
732 nb_byte_read = read_size; in a2dp_ldac_read_feeding()
736 *bytes_read = nb_byte_read; in a2dp_ldac_read_feeding()