Skip to content

Commit 324075b

Browse files
Add UAOL to ALH stream conversion
Signed-off-by: Serhiy Katsyuba <serhiy.katsyuba@intel.com>
1 parent 2e52762 commit 324075b

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

src/audio/base_fw_intel.c

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -505,6 +505,14 @@ __cold int basefw_vendor_dma_control(uint32_t node_id, const char *config_data,
505505
case ipc4_alh_uaol_stream_link_output_class:
506506
case ipc4_alh_uaol_stream_link_input_class:
507507
type = SOF_DAI_INTEL_UAOL;
508+
509+
510+
///FIXME: UAOL to ALH stream id mapping !!!
511+
int uaol_to_alh[] = { 13, 14, 15, 16, 29, 30 };
512+
if (node.f.v_index >= 0 && node.f.v_index <= 5)
513+
node.f.v_index = uaol_to_alh[node.f.v_index];
514+
515+
508516
break;
509517
default:
510518
return IPC4_INVALID_RESOURCE_ID;

0 commit comments

Comments
 (0)