mirror of https://github.com/thesofproject/sof.git
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:
parent
a6de3b1602
commit
a60492e848
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue