Skip to content

Commit

Permalink
tplg: bt: use KNOT for supported rates
Browse files Browse the repository at this point in the history
BT LE supports 24kHz, non-standard sampling rate defined by ALSA,
so switch to SNDRV_PCM_RATE_KNOT to prepare for 24kHz rate support.

Signed-off-by: Yong Zhi <yong.zhi@intel.com>
  • Loading branch information
yongzhi1 committed Jun 4, 2024
1 parent 0bda13d commit c89fade
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/topology/topology2/platform/intel/bt-generic.conf
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ Object.PCM.pcm [
direction "playback"
name $BT_PB_PCM_CAPS
formats 'S16_LE'
rates '8000,16000,48000'
rates 'KNOT'
channels_min 1
channels_max 2
}
Expand All @@ -244,7 +244,7 @@ Object.PCM.pcm [
direction "capture"
name $BT_CP_PCM_CAPS
formats 'S16_LE'
rates '8000,16000,48000'
rates 'KNOT'
channels_min 1
channels_max 2
}
Expand Down

0 comments on commit c89fade

Please sign in to comment.