Revert "audio: add fixup for S24_3LE"

This reverts commit 6efab4a7ab.
This commit is contained in:
Marcin Szkudlinski 2023-08-24 15:27:30 +02:00 committed by Kai Vehmanen
parent d3884977cd
commit 9359f57808
2 changed files with 4 additions and 13 deletions

View File

@ -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

View File

@ -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) {