Skip to content

Commit da5fea8

Browse files
cykmwasko
authored andcommitted
Add pipe for Waves codec playback
Modify sof-jsl-rt5682 topology so Waves codec can be added to playback in case 'WAVES' is defined Signed-off-by: CY Kuei cyk@waves.com
1 parent c4098d3 commit da5fea8

1 file changed

Lines changed: 10 additions & 14 deletions

File tree

tools/topology/sof-jsl-rt5682.m4

Lines changed: 10 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -60,29 +60,25 @@ dnl frames, deadline, priority, core)
6060

6161
# Low Latency playback pipeline 1 on PCM 0 using max 2 channels of s32le.
6262
# Schedule 48 frames per 1000us deadline on core 0 with priority 0
63-
PIPELINE_PCM_ADD(sof/pipe-volume-playback.m4,
63+
define(ENDPOINT_NAME, `Speakers')
64+
PIPELINE_PCM_ADD(
65+
ifdef(`WAVES', sof/pipe-waves-codec-playback.m4, sof/pipe-volume-playback.m4),
6466
1, 0, 2, s32le,
6567
1000, 0, 0,
6668
48000, 48000, 48000)
69+
undefine(ENDPOINT_NAME)
6770

68-
ifdef(`INCLUDE_IIR_EQ',
69-
`
7071
# Low Latency playback pipeline 2 on PCM 1 using max 2 channels of s32le.
7172
# Schedule 48 frames per 1000us deadline on core 0 with priority 0
72-
PIPELINE_PCM_ADD(sof/pipe-eq-iir-volume-playback.m4,
73-
2, 1, 2, s32le,
74-
1000, 0, 0,
75-
48000, 48000, 48000)
76-
'
77-
,
78-
`
79-
# Low Latency playback pipeline 2 on PCM 1 using max 2 channels of s32le.
80-
# Schedule 48 frames per 1000us deadline on core 0 with priority 0
81-
PIPELINE_PCM_ADD(sof/pipe-volume-playback.m4,
73+
define(`ENDPOINT_NAME', `Headphones')
74+
PIPELINE_PCM_ADD(
75+
ifdef(`WAVES', sof/pipe-waves-codec-playback.m4,
76+
ifdef(`INCLUDE_IIR_EQ', sof/pipe-eq-iir-volume-playback.m4,
77+
sof/pipe-volume-playback.m4)),
8278
2, 1, 2, s32le,
8379
1000, 0, 0,
8480
48000, 48000, 48000)
85-
')
81+
undefine(`ENDPOINT_NAME')
8682

8783
# Low Latency capture pipeline 3 on PCM 1 using max 2 channels of s32le.
8884
# Schedule 48 frames per 1000us deadline on core 0 with priority 0

0 commit comments

Comments
 (0)