Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/bta/hearing_aid/
Dhearing_aid_audio_source.cc90 uint32_t bytes_per_tick = in send_audio_data() local
93 uint8_t p_buf[bytes_per_tick]; in send_audio_data()
97 bytes_read = bluetooth::audio::hearing_aid::read(p_buf, bytes_per_tick); in send_audio_data()
100 bytes_per_tick); in send_audio_data()
104 if (bytes_read < bytes_per_tick) { in send_audio_data()
105 stats.media_read_total_underflow_bytes += bytes_per_tick - bytes_read; in send_audio_data()
/packages/modules/Bluetooth/system/bta/le_audio/audio_hal_client/
Daudio_source_hal_client.cc184 uint32_t bytes_per_tick = in SendAudioData() local
188 std::vector<uint8_t> data(bytes_per_tick); in SendAudioData()
190 uint32_t bytes_read = halSinkInterface_->Read(data.data(), bytes_per_tick); in SendAudioData()
191 if (bytes_read < bytes_per_tick) { in SendAudioData()
192 sStats.media_read_total_underflow_bytes += bytes_per_tick - bytes_read; in SendAudioData()
/packages/modules/Bluetooth/system/stack/a2dp/
Da2dp_vendor_ldac_encoder.cc68 uint32_t bytes_per_tick; /* pcm bytes read each media task tick */ member
344 a2dp_ldac_encoder_cb.ldac_feeding_state.bytes_per_tick = in a2dp_vendor_ldac_feeding_reset()
352 a2dp_ldac_encoder_cb.ldac_feeding_state.bytes_per_tick); in a2dp_vendor_ldac_feeding_reset()
419 (float)a2dp_ldac_encoder_cb.ldac_feeding_state.bytes_per_tick * us_this_tick / in a2dp_ldac_get_num_frame_iteration()
Da2dp_aac_encoder.cc59 uint32_t bytes_per_tick; /* pcm bytes read each media task tick */ member
461 a2dp_aac_encoder_cb.aac_feeding_state.bytes_per_tick = in a2dp_aac_feeding_reset()
469 a2dp_aac_encoder_cb.aac_feeding_state.bytes_per_tick, in a2dp_aac_feeding_reset()
524 (float)a2dp_aac_encoder_cb.aac_feeding_state.bytes_per_tick * in a2dp_aac_get_num_frame_iteration()
Da2dp_vendor_opus_encoder.cc52 uint32_t bytes_per_tick; member
300 a2dp_opus_encoder_cb.opus_feeding_state.bytes_per_tick = in a2dp_vendor_opus_feeding_reset()
359 (float)a2dp_opus_encoder_cb.opus_feeding_state.bytes_per_tick * in a2dp_opus_get_num_frame_iteration()
Da2dp_sbc_encoder.cc75 uint32_t bytes_per_tick; /* pcm bytes read each media task tick */ member
351 a2dp_sbc_encoder_cb.feeding_state.bytes_per_tick = in a2dp_sbc_feeding_reset()
359 a2dp_sbc_encoder_cb.feeding_state.bytes_per_tick); in a2dp_sbc_feeding_reset()
414 (float)a2dp_sbc_encoder_cb.feeding_state.bytes_per_tick * in a2dp_sbc_get_num_frame_iteration()