Skip to content

Commit 02bdca6

Browse files
committed
Tools: Topology2: Add 24 kHz rate to topologies with SRC
This patch adds the missing 24 kHz rate that is used with MPEG-2 standard based and other codecs. The support started with Linux kernel 6.12. Note: Build of these topologies needs alsa-lib version TBD. Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
1 parent 140b001 commit 02bdca6

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

tools/topology/topology2/cavs-benchmark-hda.conf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -195,15 +195,15 @@ Object.PCM.pcm [
195195
direction "playback"
196196
name $ANALOG_PLAYBACK_PCM
197197
formats 'S32_LE,S24_LE,S16_LE'
198-
rates "8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,176400,192000"
198+
rates "8000,11025,16000,22050,24000,32000,44100,48000,64000,88200,96000,176400,192000"
199199
channels_min $BENCH_PCM_CHANNELS_MIN
200200
channels_max $BENCH_PCM_CHANNELS_MAX
201201
}
202202
Object.PCM.pcm_caps.2 {
203203
direction "capture"
204204
name $ANALOG_CAPTURE_PCM
205205
formats 'S32_LE,S24_LE,S16_LE'
206-
rates "8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,176400,192000"
206+
rates "8000,11025,16000,22050,24000,32000,44100,48000,64000,88200,96000,176400,192000"
207207
channels_min $BENCH_PCM_CHANNELS_MIN
208208
channels_max $BENCH_PCM_CHANNELS_MAX
209209
}

tools/topology/topology2/cavs-benchmark-sdw.conf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ Object.PCM.pcm [
137137
Object.PCM.pcm_caps.1 {
138138
name $ANALOG_PLAYBACK_PCM
139139
formats 'S16_LE,S24_LE,S32_LE'
140-
rates "8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,176400,192000"
140+
rates "8000,11025,16000,22050,24000,32000,44100,48000,64000,88200,96000,176400,192000"
141141
channels_min $BENCH_PCM_CHANNELS_MIN
142142
channels_max $BENCH_PCM_CHANNELS_MAX
143143
}
@@ -153,7 +153,7 @@ Object.PCM.pcm [
153153
Object.PCM.pcm_caps.1 {
154154
name $ANALOG_CAPTURE_PCM
155155
formats 'S16_LE,S24_LE,S32_LE'
156-
rates "8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,176400,192000"
156+
rates "8000,11025,16000,22050,24000,32000,44100,48000,64000,88200,96000,176400,192000"
157157
channels_min $BENCH_PCM_CHANNELS_MIN
158158
channels_max $BENCH_PCM_CHANNELS_MAX
159159
}

tools/topology/topology2/cavs-nocodec.conf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1698,14 +1698,14 @@ IncludeByKey.PASSTHROUGH {
16981698
direction "playback"
16991699
name "SSP2 Playback"
17001700
formats 'S16_LE,S24_LE,S32_LE'
1701-
rates "8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,176400,192000"
1701+
rates "8000,11025,16000,22050,24000,32000,44100,48000,64000,88200,96000,176400,192000"
17021702
}
17031703

17041704
Object.PCM.pcm_caps.2 {
17051705
direction "capture"
17061706
name "SSP2 Capture"
17071707
formats 'S16_LE,S24_LE,S32_LE'
1708-
rates "8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,176400,192000"
1708+
rates "8000,11025,16000,22050,24000,32000,44100,48000,64000,88200,96000,176400,192000"
17091709
}
17101710
}
17111711
]

0 commit comments

Comments
 (0)