Decrease SRC pipeline buffers RAM size and update PCM configuration
This patch decreases pipeline buffers usage from 5x or 4x periods to 3x to avoid DAI error in APL platform when allocating buffers. The smaller buffers are sufficient since the test topology pipelines are scheduled every 1ms (earlier assumption was every 5 ms). The PCM capability is updated to 8 channels similarly as with low delay pipeline. The highest sample rate is increased from 96 kHz to 192 kHz. Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
This commit is contained in:
parent
a984b93df9
commit
157e37856d
|
@ -17,8 +17,8 @@ include(`pipeline.m4')
|
||||||
#
|
#
|
||||||
|
|
||||||
# Host "Passthrough Playback" PCM
|
# Host "Passthrough Playback" PCM
|
||||||
# with 5 sink and 0 source periods
|
# with 3 sink and 0 source periods
|
||||||
W_PCM_PLAYBACK(PCM_ID, Passthrough Playback, 5, 0, 2)
|
W_PCM_PLAYBACK(PCM_ID, Passthrough Playback, 3, 0, 2)
|
||||||
|
|
||||||
#
|
#
|
||||||
# SRC Configuration
|
# SRC Configuration
|
||||||
|
@ -28,14 +28,14 @@ W_VENDORTUPLES(media_src_tokens, sof_src_tokens, LIST(` ', `SOF_TKN_SRC_RATE_OU
|
||||||
|
|
||||||
W_DATA(media_src_conf, media_src_tokens)
|
W_DATA(media_src_conf, media_src_tokens)
|
||||||
|
|
||||||
# "SRC" has 5 source and 4 sink periods
|
# "SRC" has 3 source and 3 sink periods
|
||||||
W_SRC(0, PIPELINE_FORMAT, 5, 4, media_src_conf, 2)
|
W_SRC(0, PIPELINE_FORMAT, 3, 3, media_src_conf, 2)
|
||||||
|
|
||||||
# Playback Buffers
|
# Playback Buffers
|
||||||
W_BUFFER(0, COMP_BUFFER_SIZE(5,
|
W_BUFFER(0, COMP_BUFFER_SIZE(3,
|
||||||
COMP_SAMPLE_SIZE(PIPELINE_FORMAT), PIPELINE_CHANNELS, SCHEDULE_FRAMES),
|
COMP_SAMPLE_SIZE(PIPELINE_FORMAT), PIPELINE_CHANNELS, SCHEDULE_FRAMES),
|
||||||
PLATFORM_HOST_MEM_CAP)
|
PLATFORM_HOST_MEM_CAP)
|
||||||
W_BUFFER(1, COMP_BUFFER_SIZE(4,
|
W_BUFFER(1, COMP_BUFFER_SIZE(3,
|
||||||
COMP_SAMPLE_SIZE(PIPELINE_FORMAT), PIPELINE_CHANNELS, SCHEDULE_FRAMES),
|
COMP_SAMPLE_SIZE(PIPELINE_FORMAT), PIPELINE_CHANNELS, SCHEDULE_FRAMES),
|
||||||
PLATFORM_DAI_MEM_CAP)
|
PLATFORM_DAI_MEM_CAP)
|
||||||
|
|
||||||
|
@ -61,5 +61,5 @@ indir(`define', concat(`PIPELINE_PCM_', PIPELINE_ID), Passthrough Playback PCM_I
|
||||||
# PCM Configuration
|
# PCM Configuration
|
||||||
#
|
#
|
||||||
|
|
||||||
PCM_CAPABILITIES(Passthrough Playback PCM_ID, `S32_LE,S24_LE,S16_LE', 8000, 96000, 2, 4, 2, 16, 192, 16384, 65536, 65536)
|
PCM_CAPABILITIES(Passthrough Playback PCM_ID, `S32_LE,S24_LE,S16_LE', 8000, 192000, 2, 8, 2, 16, 192, 16384, 65536, 65536)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue