cmocka: volume: Add default case to handle unsupported formats

The switch supporting various sample formats was missing a default handler,
which caused compilation errors when enabling/adding a new format that is
not supported.

Signed-off-by: Adrian Warecki <adrian.warecki@intel.com>
This commit is contained in:
Adrian Warecki 2023-07-14 14:46:58 +02:00 committed by Liam Girdwood
parent a60492e848
commit 722d86301a
1 changed files with 3 additions and 2 deletions

View File

@ -278,8 +278,9 @@ static void test_audio_vol(void **state)
case SOF_IPC_FRAME_FLOAT: case SOF_IPC_FRAME_FLOAT:
fill_source_s32(vol_state); fill_source_s32(vol_state);
break; break;
case SOF_IPC_FRAME_S24_3LE:
/* TODO: add 3LE support */ /* TODO: add 3LE support */
default:
break; break;
} }