Searched refs:frame_len (Results 1 – 2 of 2) sorted by relevance
165 size_t frame_len = 3 + packet_len; in read_ready() local167 if (client->buffer_size < frame_len) in read_ready()186 size_t remainder = client->buffer_size - frame_len; in read_ready()187 memmove(buffer, buffer + frame_len, remainder); in read_ready()188 client->buffer_size -= frame_len; in read_ready()
2493 UINT32 frame_len = 0; in get_frame_length() local2508 frame_len = SBC_FRAME_HEADER_SIZE_BYTES + in get_frame_length()2516 frame_len = SBC_FRAME_HEADER_SIZE_BYTES + in get_frame_length()2523 frame_len = SBC_FRAME_HEADER_SIZE_BYTES + in get_frame_length()2535 APPL_TRACE_DEBUG("%s calculated frame length: %d", __func__, frame_len); in get_frame_length()2536 return frame_len; in get_frame_length()2543 UINT32 frame_len; in calculate_max_frames_per_packet() local2576 frame_len = get_frame_length(); in calculate_max_frames_per_packet()2583 if (frame_len == 0) { in calculate_max_frames_per_packet()2586 frame_len = MAX_SBC_HQ_FRAME_SIZE_44_1; in calculate_max_frames_per_packet()[all …]