ALSA project - the C library reference
|
Template type to describe a physical link runtime supported hardware config, i.e. hardware audio formats. More...
#include <topology.h>
Data Fields | |
int | id |
unsigned int | fmt |
unsigned char | clock_gated |
unsigned char | invert_bclk |
unsigned char | invert_fsync |
unsigned char | bclk_provider |
unsigned char | fsync_provider |
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 |
Template type to describe a physical link runtime supported hardware config, i.e. hardware audio formats.
unsigned char snd_tplg_hw_config_template::bclk_provider |
SND_SOC_TPLG_BCLK_ value
unsigned int snd_tplg_hw_config_template::bclk_rate |
BCLK freqency in Hz
unsigned char snd_tplg_hw_config_template::clock_gated |
SND_SOC_TPLG_DAI_CLK_GATE_ value
unsigned int snd_tplg_hw_config_template::fmt |
SND_SOC_DAI_FORMAT_ format value
unsigned char snd_tplg_hw_config_template::fsync_provider |
SND_SOC_TPLG_FSYNC_ value
unsigned int snd_tplg_hw_config_template::fsync_rate |
frame clock in Hz
int snd_tplg_hw_config_template::id |
unique ID - - used to match
unsigned char snd_tplg_hw_config_template::invert_bclk |
1 for inverted BCLK, 0 for normal
unsigned char snd_tplg_hw_config_template::invert_fsync |
1 for inverted frame clock, 0 for normal
unsigned char snd_tplg_hw_config_template::mclk_direction |
SND_SOC_TPLG_MCLK_ value
unsigned int snd_tplg_hw_config_template::mclk_rate |
MCLK or SYSCLK freqency in Hz
unsigned short snd_tplg_hw_config_template::reserved |
for 32bit alignment
unsigned int* snd_tplg_hw_config_template::rx_chanmap |
array of slot number
unsigned int snd_tplg_hw_config_template::rx_channels |
number of Rx channels
unsigned int snd_tplg_hw_config_template::rx_slots |
bit mask for active Rx slots
unsigned int snd_tplg_hw_config_template::tdm_slot_width |
width in bits for each slot
unsigned int snd_tplg_hw_config_template::tdm_slots |
number of TDM slots in use
unsigned int* snd_tplg_hw_config_template::tx_chanmap |
array of slot number
unsigned int snd_tplg_hw_config_template::tx_channels |
number of Tx channels
unsigned int snd_tplg_hw_config_template::tx_slots |
bit mask for active Tx slots