mirror of https://github.com/thesofproject/sof.git
topology: add more buffering to media pipe after src
Currently we have 1.5 times buffering after SRC in media pipeline. This will not work for S24 or S32 playback as SRC will use the bigger buffers with non-integer sample rate conversions as 44.1kHz to 48kHz. So add as big buffer after SRC as before it. Signed-off-by: Jaska Uimonen <jaska.uimonen@intel.com>
This commit is contained in:
parent
ec6ed1ac15
commit
a8ca07f6e7
|
@ -68,8 +68,8 @@ W_BUFFER(1,COMP_BUFFER_SIZE(4,
|
|||
COMP_SAMPLE_SIZE(PIPELINE_FORMAT), PIPELINE_CHANNELS, SCHEDULE_FRAMES),
|
||||
PLATFORM_COMP_MEM_CAP)
|
||||
|
||||
# Buffer B2 is on fixed rate sink side of SRC. Set it 1.5 * rate.
|
||||
W_BUFFER(2, COMP_BUFFER_SIZE(3,
|
||||
# Buffer B2 is on fixed rate sink side of SRC.
|
||||
W_BUFFER(2, COMP_BUFFER_SIZE(4,
|
||||
COMP_SAMPLE_SIZE(PIPELINE_FORMAT), PIPELINE_CHANNELS, SCHEDULE_FRAMES),
|
||||
PLATFORM_COMP_MEM_CAP)
|
||||
|
||||
|
|
Loading…
Reference in New Issue