-
Notifications
You must be signed in to change notification settings - Fork 349
Closed
Labels
Description
Describe the bug
Used to be #2533
The DEMUX should copy the data from source to sink without any error, but now with DEMXU comp, the copy out data is broken when copy channel 4 to channel 2 with format conversion
To Reproduce
Use demux test tplg sof-apl-demux-pcm512x.tplg (#2958 ) to replace the sof-apl-nocodec.tplg with sof-apl-demux-nocodec.tplg
aplay -Dhw:0,0 -f s32_le -c 4 -r 48000 wav/32le-4ch-sin-100-400hz.wav -vvv
arecord -Dhw:0,4 -f s16_le -c 2 -r 48000 2ch_s16.wav -vvv
arecord -Dhw:0,4 -f s32_le -c 2 -r 48000 2ch_s32.wav -vvv
Reproduction Rate
100%
Expected behavior
The record wav should be same with s16le and s32le
Impact
This will be a stopper for echo reference and smart amplifier
Environment
- Branch name and commit hash of the 2 repositories: sof (firmware/topology) and linux (kernel driver).
- Kernel: sof-dev 3914cd2
- SOF: master d9e3d4d(TPLG from [RFC]topology: Add nocodec demux test tplg #2958 )
- Name of the topology file
- Topology: sof-apl-demux-nocodec.tplg rename to sof-apl-nocodec.tplg
- Name of the platform(s) on which the bug is observed.
- Platform: APL
Screenshots or console output

All wav files and trace log attached.
wavandlog.zip