struct snd_tplg_hw_config_template

Template type to describe a physical link runtime supported hardware config, i.e. hardware audio formats.

#include <topology.h>

struct snd_tplg_hw_config_template {
    // fields

    int id;
    unsigned int fmt;
    unsigned char clock_gated;
    unsigned char invert_bclk;
    unsigned char invert_fsync;
    unsigned char bclk_master;
    unsigned char fsync_master;
    unsigned char mclk_direction;
    unsigned short reserved;
    unsigned int mclk_rate;
    unsigned int bclk_rate;
    unsigned int fsync_rate;
    unsigned int tdm_slots;
    unsigned int tdm_slot_width;
    unsigned int tx_slots;
    unsigned int rx_slots;
    unsigned int tx_channels;
    unsigned int* tx_chanmap;
    unsigned int rx_channels;
    unsigned int* rx_chanmap;
};