Skip to content

Commit 8ae4535

Browse files
authored
Merge pull request #112 from tlauda/topic/volume_ut_fix
test: fix volume cmocka tests
2 parents c4a9cca + 9fbd0a4 commit 8ae4535

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)