22 Aug
2022
22 Aug
'22
4:04 p.m.
Hi guys,
Did you encountered any problems with memory allocations when switching to Zephyr?
I'm facing a very strange issue with a playback pipeline with module adapter (MP3) where it looks like the DAI hits underruns as soon as I start the pipeline.
With normal PCM playback everything works fine.
I think it might be a problem in the sense Zephyr allocates memory and/or Cadence memory alignment requirements?
Looks like as soon as I change this:
-#define PLATFORM_DCACHE_ALIGN sizeof(void *) +#define PLATFORM_DCACHE_ALIGN 32
everything seems to work.
But I cannot find any logical explanation.