Searched refs:pcm_avail (Results 1 – 1 of 1) sorted by relevance
269 unsigned int pcm_avail, to_write; in hfp_write_msbc() local277 samples = buf_read_pointer_size(info->playback_buf, &pcm_avail); in hfp_write_msbc()278 if (pcm_avail < MSBC_CODE_SIZE) { in hfp_write_msbc()279 to_write = MSBC_CODE_SIZE - pcm_avail; in hfp_write_msbc()284 wp = buf_write_pointer_size(info->playback_buf, &pcm_avail); in hfp_write_msbc()288 samples = buf_read_pointer_size(info->playback_buf, &pcm_avail); in hfp_write_msbc()289 if (pcm_avail < MSBC_CODE_SIZE) in hfp_write_msbc()298 info->msbc_write, samples, pcm_avail, wp + MSBC_H2_HEADER_LEN, in hfp_write_msbc()305 pcm_avail -= pcm_encoded; in hfp_write_msbc()431 unsigned int pcm_avail; in handle_packet_loss() local[all …]