mirror of https://github.com/thesofproject/sof.git
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:
parent
a60492e848
commit
722d86301a
|
@ -278,8 +278,9 @@ static void test_audio_vol(void **state)
|
|||
case SOF_IPC_FRAME_FLOAT:
|
||||
fill_source_s32(vol_state);
|
||||
break;
|
||||
case SOF_IPC_FRAME_S24_3LE:
|
||||
|
||||
/* TODO: add 3LE support */
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue