Searched refs:frame_len (Results 1 – 4 of 4) sorted by relevance
166 size_t frame_len = 3 + packet_len; in read_ready() local168 if (client->buffer_size < frame_len) break; in read_ready()187 size_t remainder = client->buffer_size - frame_len; in read_ready()188 memmove(buffer, buffer + frame_len, remainder); in read_ready()189 client->buffer_size -= frame_len; in read_ready()
758 uint32_t frame_len; in calculate_max_frames_per_packet() local795 frame_len = a2dp_sbc_frame_length(); in calculate_max_frames_per_packet()802 if (frame_len == 0) { in calculate_max_frames_per_packet()806 frame_len = A2DP_SBC_MAX_HQ_FRAME_SIZE_44_1; in calculate_max_frames_per_packet()808 result = (effective_mtu_size - A2DP_HDR_SIZE) / frame_len; in calculate_max_frames_per_packet()814 if (frame_len == 0) { in calculate_max_frames_per_packet()818 frame_len = A2DP_SBC_MAX_HQ_FRAME_SIZE_48; in calculate_max_frames_per_packet()820 result = (effective_mtu_size - A2DP_HDR_SIZE) / frame_len; in calculate_max_frames_per_packet()847 uint32_t frame_len = 0; in a2dp_sbc_frame_length() local862 frame_len = A2DP_SBC_FRAME_HEADER_SIZE_BYTES + in a2dp_sbc_frame_length()[all …]
98 size_t frame_len = info->frameSize * info->numChannels * in a2dp_aac_decoder_decode_packet() local102 frame_len); in a2dp_aac_decoder_decode_packet()
275 size_t frame_len = (size_t)wrote_bytes; in a2dp_vendor_ldac_decoder_decode_packet() local278 frame_len); in a2dp_vendor_ldac_decoder_decode_packet()