Searched refs:frame_len (Results 1 – 2 of 2) 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()
752 uint32_t frame_len; in calculate_max_frames_per_packet() local789 frame_len = a2dp_sbc_frame_length(); in calculate_max_frames_per_packet()796 if (frame_len == 0) { in calculate_max_frames_per_packet()800 frame_len = A2DP_SBC_MAX_HQ_FRAME_SIZE_44_1; in calculate_max_frames_per_packet()802 result = (effective_mtu_size - A2DP_HDR_SIZE) / frame_len; in calculate_max_frames_per_packet()808 if (frame_len == 0) { in calculate_max_frames_per_packet()812 frame_len = A2DP_SBC_MAX_HQ_FRAME_SIZE_48; in calculate_max_frames_per_packet()814 result = (effective_mtu_size - A2DP_HDR_SIZE) / frame_len; in calculate_max_frames_per_packet()841 uint32_t frame_len = 0; in a2dp_sbc_frame_length() local856 frame_len = A2DP_SBC_FRAME_HEADER_SIZE_BYTES + in a2dp_sbc_frame_length()[all …]