2017-08-09 21:54:03 +08:00
|
|
|
# DAI Playback connector
|
|
|
|
|
|
|
|
# Include topology builder
|
2018-03-06 06:17:12 +08:00
|
|
|
include(`utils.m4')
|
|
|
|
include(`dai.m4')
|
|
|
|
include(`pipeline.m4')
|
2017-08-09 21:54:03 +08:00
|
|
|
|
|
|
|
#
|
|
|
|
# DAI definitions
|
|
|
|
#
|
2018-06-13 04:01:56 +08:00
|
|
|
W_DAI_OUT(DAI_TYPE, DAI_INDEX, DAI_BE, DAI_FORMAT, 0, 2, 2)
|
2017-08-09 21:54:03 +08:00
|
|
|
|
|
|
|
#
|
|
|
|
# DAI pipeline - always use 0 for DAIs
|
|
|
|
#
|
2017-09-11 23:03:57 +08:00
|
|
|
W_PIPELINE(N_DAI_OUT, SCHEDULE_DEADLINE, SCHEDULE_PRIORITY, SCHEDULE_FRAMES, SCHEDULE_CORE, 0, pipe_dai_schedule_plat)
|
2017-08-09 21:54:03 +08:00
|
|
|
|
|
|
|
#
|
|
|
|
# Graph connections to pipelines
|
|
|
|
|
2018-03-06 05:58:30 +08:00
|
|
|
P_GRAPH(DAI_NAME, PIPELINE_ID,
|
|
|
|
LIST(` ', `dapm(N_DAI_OUT, DAI_BUF)'))
|