You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[BUG][DSM][TGL] LSB rounding in S32_LE in smart_amp pipeline #3310
Describe the bug
A nocodec topology is created to test DSM in nocodec mode: #3212.
With this topology, play a sine wave through DSM playback pipeline, and record it back through DSM capture pipeline.
The recorded data is binary same with playback data under S16_LE, but not binary same under S32_LE.
Under S32_LE, the LSB seems rounded. for example: 9F 75 53 0D becomes 00 76 53 0D 01 97 86 A6 becomes 00 97 86 A6 (LSB-->MSB)
24 valid bits is configured in the DSM SSP, that's the reason we get 32 bit data rounding to 24 bit. but some codec do require 24 bit data, so close this for won't fix.
Activity
paulstelian97 commentedon Aug 14, 2020
Something in the pipeline may be 24 bits and that could be the reason why we notice this. The data looks oddly like S24_4LE format.
lgirdwood commentedon Aug 14, 2020
@singalsu any comments ?
singalsu commentedon Aug 14, 2020
Is there processing in the pipeline, e.g. volume? A plot of the topology would be nice to attach for this issue.
aiChaoSONG commentedon Aug 17, 2020
@singalsu There is no processing component, only BUF and MUXDEMUX. I think LSB(byte) rounding doesn't make sense in any processing.

aiChaoSONG commentedon Sep 4, 2020
24 valid bits is configured in the DSM SSP, that's the reason we get 32 bit data rounding to 24 bit. but some codec do require 24 bit data, so close this for won't fix.