Skip to content

Commit

Permalink
topology1: sof-hda-generic: support BT audio offload
Browse files Browse the repository at this point in the history
Add new pipelines to sof-hda-generic.m4 to support BT audio offload on
SSP2 if BT_OFFLOAD is defined in makefile.

Signed-off-by: Brent Lu <brent.lu@intel.com>
  • Loading branch information
brentlu committed Jul 31, 2024
1 parent 64416ba commit 37404f5
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tools/topology/topology1/sof-hda-generic.m4
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,15 @@ include(`platform/intel/intel-generic-dmic.m4')
'
)

ifdef(`BT_OFFLOAD', `
# BT offload support
define(`BT_PIPELINE_PB_ID', `12')
define(`BT_PIPELINE_CP_ID', `13')
define(`BT_DAI_LINK_ID', 8)
define(`BT_PCM_ID', `8')
define(`HW_CONFIG_ID', 8)
include(`platform/intel/intel-generic-bt.m4')')

# The pipeline naming notation is pipe-mixer-PROCESSING-dai-DIRECTION.m4
# HSPROC is set by makefile, if not the default above is applied
define(PIPE_HEADSET_PLAYBACK, `sof/pipe-mixer-`HSPROC'-dai-playback.m4')
Expand Down

0 comments on commit 37404f5

Please sign in to comment.