Skip to content

Commit 9fbd0a4

Browse files
committed
test: fix volume cmocka tests
Fixes volume cmocka tests. Signed-off-by: Tomasz Lauda <tomasz.lauda@linux.intel.com>
1 parent c4a9cca commit 9fbd0a4

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

test/cmocka/src/audio/volume/volume_process.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ static int setup(void **state)
7777
/* allocate and set new device */
7878
vol_state->dev = test_malloc(COMP_SIZE(struct sof_ipc_comp_volume));
7979
vol_state->dev->params.channels = parameters->channels;
80+
vol_state->dev->frames = parameters->frames;
8081

8182
/* allocate and set new data */
8283
cd = test_malloc(sizeof(*cd));

0 commit comments

Comments
 (0)