-
Notifications
You must be signed in to change notification settings - Fork 322
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Audio: Multiband DRC: Optimize source and sink buffers access #5511
Audio: Multiband DRC: Optimize source and sink buffers access #5511
Conversation
…ions This patch adds functions to retrieve number of PCM samples until source or sink buffer circular wrap need. Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
This patch replaces the audio stream read/write frag functions based source read and sink write operations. The processing is performed in blocks those are based on number of samples from audio_stream_samples_without_wrap_s16/s24/32() function. On TGL-H and stereo 48 kHz playback stream the MCPS is decreased from 216.8/216.8/216.0 to 201.6/200.4/200.8 for s16/s24/s32 formats. The saving is in average 15.6 MCPS. Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
This patch adds build of topologies sof-hda-generic-multiband-drc.tplg and sof-hda-generic-2ch-multiband-drc.tplg. The processing happens in pipeline part after mixer. Volume is controlled in PGA before mixer. Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
This patch fixes issue in testbench when multiband-drc is executed. Since the library libsof_multiband_drc.so includes also crossover and drc component sources the topology component register is done for drc instead of multiband-drc. Therefore testench executes drc when multiband-drc run is attempted. Placement of multiband-drc as last in sources list is a workaround to fix but recommended now since this impacts only testbench. The proper fix of moving DRC and Crossover parts to library would be a much larger change. Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
The component passed this testbench samples comparison test. In addition to changes in patch for testbench run line
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@cujomalainey @johnylin76 fyi any comments ?
Looks good to me. Thanks a lot, Seppo. |
No description provided.