ALSA Library Documentation
  • Configuration Interface
  • Constants for Digital Audio Interfaces
  • Constants for MIDI v1.0
  • Control Interface
  • Error handling
  • External Control Plugin SDK
  • External PCM plugin SDK
  • Global defines and functions
  • Hardware Dependant Interface
  • Input Interface
  • MIDI Sequencer
  • Mixer Interface
  • Output Interface
  • PCM Interface
  • RawMidi Interface
  • Timer Interface
  • Topology Interface
    • enum snd_tplg_type
    • struct snd_tplg_bytes_template
    • struct snd_tplg_channel_elem
    • struct snd_tplg_channel_map_template
    • struct snd_tplg_channel_template
    • struct snd_tplg_ctl_template
    • struct snd_tplg_dai_template
    • struct snd_tplg_enum_template
    • struct snd_tplg_graph_elem
    • struct snd_tplg_graph_template
    • struct snd_tplg_hw_config_template
    • struct snd_tplg_io_ops_template
    • struct snd_tplg_link_template
      • Overview
      • Detailed Documentation
        • Fields
    • struct snd_tplg_mixer_template
    • struct snd_tplg_obj_template
    • struct snd_tplg_obj_template_t
    • struct snd_tplg_pcm_template
    • struct snd_tplg_pdata_template
    • struct snd_tplg_stream_caps_template
    • struct snd_tplg_stream_template
    • struct snd_tplg_tlv_dbscale_template
    • struct snd_tplg_tlv_template
    • struct snd_tplg_widget_template
    • Overview
    • Detailed Documentation
  • Use Case Interface
  • ALSA Topology Interface
  • ALSA Use Case Interface
  • Bug List
  • Configuration files
  • Control interface
  • Deprecated List
  • External Control Plugin SDK
  • High level control interface
  • Hooks in configuration files
  • Mixer interface
  • PCM (digital audio) interface
  • PCM (digital audio) plugins
  • PCM External Plugin SDK
  • RawMidi interface
  • Runtime arguments in configuration files
  • Runtime functions in configuration files
  • Sequencer interface
  • Timer interface
  • /test/latency.c
  • /test/pcm.c
  • /test/pcm_min.c
  • /test/rawmidi.c
  • /test/timer.c
  • Global Namespace
ALSA Library Documentation
  • Topology Interface
  • struct snd_tplg_link_template

struct snd_tplg_link_template

Overview

Template type for physical DAI Links. More…

#include <topology.h>

struct snd_tplg_link_template {
    // fields

    const char* name;
    int id;
    const char* stream_name;
    int num_streams;
    struct snd_tplg_stream_template* stream;
    struct snd_tplg_hw_config_template* hw_config;
    int num_hw_configs;
    int default_hw_config_id;
    unsigned int flag_mask;
    unsigned int flags;
    struct snd_soc_tplg_private* priv;
};

Detailed Documentation

Template type for physical DAI Links.

Fields

const char* name

link name, used to match

int id

unique ID - used to match with existing physical links

const char* stream_name

link stream name, used to match

int num_streams

number of configs

struct snd_tplg_stream_template* stream

supported configs

struct snd_tplg_hw_config_template* hw_config

supported HW configs

struct snd_soc_tplg_private* priv

private data

Previous Next

© Copyright 1998-2017, ALSA Library Maintainers.

Built with Sphinx using a theme provided by Read the Docs.