Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/bta/hearing_aid/
Dhearing_aid_audio_source.cc102 uint32_t bytes_per_tick = in send_audio_data() local
105 uint8_t p_buf[bytes_per_tick]; in send_audio_data()
109 bytes_read = bluetooth::audio::hearing_aid::read(p_buf, bytes_per_tick); in send_audio_data()
112 bytes_per_tick); in send_audio_data()
116 if (bytes_read < bytes_per_tick) { in send_audio_data()
117 stats.media_read_total_underflow_bytes += bytes_per_tick - bytes_read; in send_audio_data()
/packages/modules/Bluetooth/system/stack/a2dp/
Da2dp_aac_encoder_linux.cc106 uint32_t bytes_per_tick; /* pcm bytes read for each media task tick */ member
201 .bytes_per_tick = (sample_rate * bits_per_sample / 8 * in a2dp_aac_encoder_init()
230 .bytes_per_tick = (a2dp_aac_encoder_cb.feeding_params.sample_rate * in a2dp_aac_feeding_reset()
238 a2dp_aac_encoder_cb.aac_feeding_state.bytes_per_tick, in a2dp_aac_feeding_reset()
290 (float)a2dp_aac_encoder_cb.aac_feeding_state.bytes_per_tick * in a2dp_aac_get_num_frame_iteration()
Da2dp_vendor_ldac_encoder.cc70 uint32_t bytes_per_tick; /* pcm bytes read each media task tick */ member
335 a2dp_ldac_encoder_cb.ldac_feeding_state.bytes_per_tick = in a2dp_vendor_ldac_feeding_reset()
343 a2dp_ldac_encoder_cb.ldac_feeding_state.bytes_per_tick); in a2dp_vendor_ldac_feeding_reset()
410 (float)a2dp_ldac_encoder_cb.ldac_feeding_state.bytes_per_tick * us_this_tick / in a2dp_ldac_get_num_frame_iteration()
Da2dp_aac_encoder.cc61 uint32_t bytes_per_tick; /* pcm bytes read each media task tick */ member
442 a2dp_aac_encoder_cb.aac_feeding_state.bytes_per_tick = in a2dp_aac_feeding_reset()
450 a2dp_aac_encoder_cb.aac_feeding_state.bytes_per_tick, in a2dp_aac_feeding_reset()
505 (float)a2dp_aac_encoder_cb.aac_feeding_state.bytes_per_tick * in a2dp_aac_get_num_frame_iteration()
Da2dp_vendor_opus_encoder.cc49 uint32_t bytes_per_tick; member
291 a2dp_opus_encoder_cb.opus_feeding_state.bytes_per_tick = in a2dp_vendor_opus_feeding_reset()
350 (float)a2dp_opus_encoder_cb.opus_feeding_state.bytes_per_tick * in a2dp_opus_get_num_frame_iteration()
Da2dp_sbc_encoder.cc70 uint32_t bytes_per_tick; /* pcm bytes read each media task tick */ member
344 a2dp_sbc_encoder_cb.feeding_state.bytes_per_tick = in a2dp_sbc_feeding_reset()
352 a2dp_sbc_encoder_cb.feeding_state.bytes_per_tick); in a2dp_sbc_feeding_reset()
407 (float)a2dp_sbc_encoder_cb.feeding_state.bytes_per_tick * in a2dp_sbc_get_num_frame_iteration()
/packages/modules/Bluetooth/system/bta/le_audio/audio_hal_client/
Daudio_source_hal_client.cc213 uint32_t bytes_per_tick = in SendAudioData() local
217 std::vector<uint8_t> data(bytes_per_tick); in SendAudioData()
219 uint32_t bytes_read = halSinkInterface_->Read(data.data(), bytes_per_tick); in SendAudioData()
220 if (bytes_read < bytes_per_tick) { in SendAudioData()
221 sStats.media_read_total_underflow_bytes += bytes_per_tick - bytes_read; in SendAudioData()