mirror of https://github.com/thesofproject/sof.git
test: add format S24_3LE in volume test
The format is added to make volume test pass. The implementation will be added later. Signed-off-by: Rander Wang <rander.wang@intel.com>
This commit is contained in:
parent
671e635077
commit
235255bc44
|
@ -383,6 +383,8 @@ static void test_audio_eq_iir(void **state)
|
|||
case SOF_IPC_FRAME_S32_LE:
|
||||
fill_source_s32(td, frames);
|
||||
break;
|
||||
case SOF_IPC_FRAME_S24_3LE:
|
||||
break;
|
||||
default:
|
||||
assert(0);
|
||||
break;
|
||||
|
|
|
@ -305,6 +305,10 @@ int main(void)
|
|||
tests[ti].test_func = test_demux_copy_proc_32;
|
||||
break;
|
||||
#endif /* CONFIG_FORMAT_S32LE */
|
||||
#if CONFIG_FORMAT_S24_3LE
|
||||
case SOF_IPC_FRAME_S24_3LE:
|
||||
break;
|
||||
#endif /* CONFIG_FORMAT_S24_3LE */
|
||||
default:
|
||||
return -EINVAL;
|
||||
}
|
||||
|
|
|
@ -324,6 +324,10 @@ int main(void)
|
|||
tests[ti].test_func = test_mux_copy_proc_32;
|
||||
break;
|
||||
#endif /* CONFIG_FORMAT_S32LE */
|
||||
#if CONFIG_FORMAT_S24_3LE
|
||||
case SOF_IPC_FRAME_S24_3LE:
|
||||
break;
|
||||
#endif /* CONFIG_FORMAT_S24_3LE */
|
||||
default:
|
||||
return -EINVAL;
|
||||
}
|
||||
|
|
|
@ -280,8 +280,10 @@ 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:
|
||||
break;
|
||||
}
|
||||
|
||||
cd->sel_func(sel_state->dev, &sel_state->sink->stream, &sel_state->source->stream,
|
||||
sel_state->dev->frames);
|
||||
|
||||
|
|
|
@ -385,6 +385,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 */
|
||||
break;
|
||||
}
|
||||
|
||||
cd->scale_vol(vol_state->dev, &vol_state->sink->stream,
|
||||
|
|
Loading…
Reference in New Issue