Skip to content

Commit

Permalink
Tools: Topology2: Use rates instead of rate_min/max in benchmark
Browse files Browse the repository at this point in the history
The rate_min/rate_max is obsolete, should use rates with
list of rates to support. Without this change the playback
of non-48 kHz content happens with 48 kHz rate with pitch
shift effect. Aplay shows only a warning.

Signed-off-by: Seppo Ingalsuo <[email protected]>
  • Loading branch information
singalsu authored and kv2019i committed Jun 13, 2024
1 parent 7ee322f commit 1470e6c
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions tools/topology/topology2/cavs-benchmark-hda.conf
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,13 @@ Object.PCM.pcm [
direction "playback"
name $ANALOG_PLAYBACK_PCM
formats 'S32_LE,S24_LE,S16_LE'
rate_min 8000
rate_max 192000
rates "8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,176400,192000"
}
Object.PCM.pcm_caps.2 {
direction "capture"
name $ANALOG_CAPTURE_PCM
formats 'S32_LE,S24_LE,S16_LE'
rate_min 8000
rate_max 192000
rates "8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,176400,192000"
}
direction duplex
}
Expand Down

0 comments on commit 1470e6c

Please sign in to comment.