---
name: "snd_soc_dai_set_channel_map"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/snd_soc_dai_set_channel_map"
---

# snd\_soc\_dai\_set\_channel\_map(9)

configure DAI audio channel map

## NAME

snd\_soc\_dai\_set\_channel\_map - configure DAI audio channel map

## SYNOPSIS

**int snd\_soc\_dai\_set\_channel\_map(struct snd\_soc\_dai \*** *dai***, unsigned int** *tx\_num***, unsigned int \*** *tx\_slot***, unsigned int** *rx\_num***, unsigned int \*** *rx\_slot***);**

## ARGUMENTS

*dai*

DAI

*tx\_num*

how many TX channels

*tx\_slot*

pointer to an array which imply the TX slot number channel 0~num-1 uses

*rx\_num*

how many RX channels

*rx\_slot*

pointer to an array which imply the RX slot number channel 0~num-1 uses

## DESCRIPTION

configure the relationship between channel number and TDM slot number.

## COPYRIGHT
