struct snd_tplg_pcm_template

Overview

Template type for PCM (FE DAI & DAI links). Moreā€¦

#include <topology.h>

struct snd_tplg_pcm_template {
    // fields

    const char* pcm_name;
    const char* dai_name;
    unsigned int pcm_id;
    unsigned int dai_id;
    unsigned int playback;
    unsigned int capture;
    unsigned int compress;
    struct snd_tplg_stream_caps_template* caps[2];
    unsigned int flag_mask;
    unsigned int flags;
    struct snd_soc_tplg_private* priv;
    int num_streams;
    struct snd_tplg_stream_template stream[0];
};

Detailed Documentation

Template type for PCM (FE DAI & DAI links).

Fields

const char* pcm_name

PCM stream name

const char* dai_name

DAI name

unsigned int pcm_id

unique ID - used to match

unsigned int dai_id

unique ID - used to match

unsigned int playback

supports playback mode

unsigned int capture

supports capture mode

unsigned int compress

1 = compressed; 0 = PCM

struct snd_tplg_stream_caps_template* caps[2]

playback & capture for DAI

unsigned int flag_mask

bitmask of flags to configure

unsigned int flags

flag value SND_SOC_TPLG_LNK_FLGBIT_*

struct snd_soc_tplg_private* priv

private data

int num_streams

number of supported configs

struct snd_tplg_stream_template stream[0]

supported configs