Searched refs:bytes_per_tick (Results 1 – 7 of 7) sorted by relevance
102 uint32_t bytes_per_tick = in send_audio_data() local105 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()
106 uint32_t bytes_per_tick; /* pcm bytes read for each media task tick */ member201 .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()
70 uint32_t bytes_per_tick; /* pcm bytes read each media task tick */ member335 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()
61 uint32_t bytes_per_tick; /* pcm bytes read each media task tick */ member442 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()
49 uint32_t bytes_per_tick; member291 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()
70 uint32_t bytes_per_tick; /* pcm bytes read each media task tick */ member344 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()
213 uint32_t bytes_per_tick = in SendAudioData() local217 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()