Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions src/audio/kpb.c
Original file line number Diff line number Diff line change
Expand Up @@ -553,8 +553,7 @@ static size_t kpb_allocate_history_buffer(struct comp_data *kpb,
/*! Current allocation size */
size_t ca_size = hb_size;
/*! Memory caps priorites for history buffer */
int hb_mcp[KPB_NO_OF_MEM_POOLS] = {SOF_MEM_CAPS_LP, SOF_MEM_CAPS_HP,
SOF_MEM_CAPS_RAM };
int hb_mcp[] = {SOF_MEM_CAPS_LP, SOF_MEM_CAPS_HP, SOF_MEM_CAPS_RAM};
void *new_mem_block = NULL;
size_t temp_ca_size;
int i = 0;
Expand Down
1 change: 0 additions & 1 deletion src/include/sof/audio/kpb.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ struct comp_buffer;
#define KPB_MAX_SINK_CNT (1 + KPB_MAX_NO_OF_CLIENTS)
#define KPB_NO_OF_HISTORY_BUFFERS 2 /**< no of internal buffers */
#define KPB_ALLOCATION_STEP 0x100
#define KPB_NO_OF_MEM_POOLS 5
#define KPB_BYTES_TO_FRAMES(bytes, sample_width, channels_number) \
((bytes) / ((KPB_SAMPLE_CONTAINER_SIZE(sample_width) / 8) * \
(channels_number)))
Expand Down
Loading