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.cc617 uint32_t nb_byte_read; in a2dp_sbc_read_feeding() local
640 nb_byte_read = a2dp_sbc_encoder_cb.read_callback( in a2dp_sbc_read_feeding()
645 nb_byte_read; in a2dp_sbc_read_feeding()
647 *bytes_read = nb_byte_read; in a2dp_sbc_read_feeding()
648 if (nb_byte_read != read_size) { in a2dp_sbc_read_feeding()
649 a2dp_sbc_encoder_cb.feeding_state.aa_feed_residue += nb_byte_read; in a2dp_sbc_read_feeding()
702 nb_byte_read = in a2dp_sbc_read_feeding()
704 a2dp_sbc_encoder_cb.stats.media_read_total_actual_read_bytes += nb_byte_read; in a2dp_sbc_read_feeding()
706 if (nb_byte_read < read_size) { in a2dp_sbc_read_feeding()
707 if (nb_byte_read == 0) return false; in a2dp_sbc_read_feeding()
[all …]
Da2dp_aac_encoder.cc676 uint32_t nb_byte_read = in a2dp_aac_read_feeding() local
678 a2dp_aac_encoder_cb.stats.media_read_total_actual_read_bytes += nb_byte_read; in a2dp_aac_read_feeding()
679 *bytes_read = nb_byte_read; in a2dp_aac_read_feeding()
681 if (nb_byte_read < read_size) { in a2dp_aac_read_feeding()
682 if (nb_byte_read == 0) return false; in a2dp_aac_read_feeding()
685 memset(((uint8_t*)read_buffer) + nb_byte_read, 0, read_size - nb_byte_read); in a2dp_aac_read_feeding()
686 nb_byte_read = read_size; in a2dp_aac_read_feeding()
Da2dp_vendor_ldac_encoder.cc728 uint32_t nb_byte_read = in a2dp_ldac_read_feeding() local
730 a2dp_ldac_encoder_cb.stats.media_read_total_actual_read_bytes += nb_byte_read; in a2dp_ldac_read_feeding()
732 if (nb_byte_read < read_size) { in a2dp_ldac_read_feeding()
733 if (nb_byte_read == 0) return false; in a2dp_ldac_read_feeding()
736 memset(((uint8_t*)read_buffer) + nb_byte_read, 0, read_size - nb_byte_read); in a2dp_ldac_read_feeding()
737 nb_byte_read = read_size; in a2dp_ldac_read_feeding()
741 *bytes_read = nb_byte_read; in a2dp_ldac_read_feeding()