Lines Matching refs:nb_frame
299 static void btif_media_aa_prep_2_send(UINT8 nb_frame);
2509 static void btif_media_aa_prep_sbc_2_send(UINT8 nb_frame) in btif_media_aa_prep_sbc_2_send() argument
2515 while (nb_frame) in btif_media_aa_prep_sbc_2_send()
2546 nb_frame--; in btif_media_aa_prep_sbc_2_send()
2552 nb_frame, btif_media_cb.media_feeding_state.pcm.aa_feed_residue); in btif_media_aa_prep_sbc_2_send()
2553 btif_media_cb.media_feeding_state.pcm.counter += nb_frame * in btif_media_aa_prep_sbc_2_send()
2559 nb_frame = 0; in btif_media_aa_prep_sbc_2_send()
2570 && (p_buf->layer_specific < 0x0F) && nb_frame); in btif_media_aa_prep_sbc_2_send()
2612 static void btif_media_aa_prep_2_send(UINT8 nb_frame) in btif_media_aa_prep_2_send() argument
2616 if (nb_frame > MAX_OUTPUT_A2DP_FRAME_QUEUE_SZ) in btif_media_aa_prep_2_send()
2617 nb_frame = MAX_OUTPUT_A2DP_FRAME_QUEUE_SZ; in btif_media_aa_prep_2_send()
2619 if (GKI_queue_length(&btif_media_cb.TxAaQ) > (MAX_OUTPUT_A2DP_FRAME_QUEUE_SZ - nb_frame)) in btif_media_aa_prep_2_send()
2622 GKI_queue_length(&btif_media_cb.TxAaQ), MAX_OUTPUT_A2DP_FRAME_QUEUE_SZ - nb_frame); in btif_media_aa_prep_2_send()
2625 while (GKI_queue_length(&btif_media_cb.TxAaQ) > (MAX_OUTPUT_A2DP_FRAME_QUEUE_SZ - nb_frame)) in btif_media_aa_prep_2_send()
2633 btif_media_aa_prep_sbc_2_send(nb_frame); in btif_media_aa_prep_2_send()