cmocka: selector: 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:37 +02:00 committed by Liam Girdwood
parent a6de3b1602
commit a60492e848
1 changed files with 3 additions and 2 deletions

View File

@ -438,8 +438,9 @@ static void test_audio_sel(void **state)
fill_source_s32(sel_state);
break;
#endif /* CONFIG_FORMAT_S24LE || CONFIG_FORMAT_S32LE */
/* TODO: add S24_3LE support */
case SOF_IPC_FRAME_S24_3LE:
/* TODO: add S24_3LE support */
default:
break;
}