mirror of https://github.com/thesofproject/sof.git
parent
d3884977cd
commit
9359f57808
|
@ -573,12 +573,6 @@ config FORMAT_S24LE
|
|||
help
|
||||
Support 24 bit processing data format with sign and in little endian format
|
||||
|
||||
config FORMAT_S24_3LE
|
||||
bool "Support S24_3LE"
|
||||
default n
|
||||
help
|
||||
Support packed 24 bit processing data format with sign and in little endian format
|
||||
|
||||
config FORMAT_S32LE
|
||||
bool "Support S32LE"
|
||||
default y
|
||||
|
|
|
@ -1055,13 +1055,10 @@ static inline void audio_stream_fmt_conversion(enum ipc4_bit_depth depth,
|
|||
*valid_fmt = SOF_IPC_FRAME_U8;
|
||||
#endif /* CONFIG_FORMAT_U8 */
|
||||
|
||||
if (valid == 24) {
|
||||
#ifdef CONFIG_FORMAT_S24_3LE
|
||||
if (depth == 24) {
|
||||
*frame_fmt = SOF_IPC_FRAME_S24_3LE;
|
||||
*valid_fmt = SOF_IPC_FRAME_S24_3LE;
|
||||
}
|
||||
#endif
|
||||
/* really 24_3LE */
|
||||
if (valid == 24 && depth == 24) {
|
||||
*frame_fmt = SOF_IPC_FRAME_S24_3LE;
|
||||
*valid_fmt = SOF_IPC_FRAME_S24_3LE;
|
||||
}
|
||||
|
||||
if (type == IPC4_TYPE_FLOAT && depth == 32) {
|
||||
|
|
Loading…
Reference in New Issue