Skip to content

[BUG] Playback time is at half with i.MX SRC test for 11025 rate #10154

@dbaluta

Description

@dbaluta

Describe the bug

Running aplay -Dhw:2,0 -f S32_LE -c 2 -r 11025 sample.wav

using SRC topology we can see that the sound is faster.

Measuring time it looks like WAV playback time is half from what it should be.

It looks like the problem appeared after commit:

commit 5821682809c73dd2a49f8e1649a2e6c60ef2b092 (HEAD)
Author: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Date:   Fri Jul 4 15:57:31 2025 +0100

    heap: simplify heap API.
    
    Use a Linux kernel like heap API now that zephyr allocator deals with
    the complexity.

Environment

  1. Branch name and commit hash of the 2 repositories: sof (firmware/topology) and linux (kernel driver).
    • Kernel: linux-6.12
    • SOF: main / 117e460
  2. Name of the topology file
    • Topology: sof-imx8mp-src-wm8960.tplg
  3. Name of the platform(s) on which the bug is observed.
    • Platform: imx8/imx8x/imx8m

Metadata

Metadata

Labels

P2Critical bugs or normal featuresbugSomething isn't working as expectedstaleIssue/PR marked as stale and will be closed after 14 days if there is no activity.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions