struct snd_tplg_stream_caps_template

Overview

Stream Capabilities. Moreā€¦

#include <topology.h>

struct snd_tplg_stream_caps_template {
    // fields

    const char* name;
    uint64_t formats;
    unsigned int rates;
    unsigned int rate_min;
    unsigned int rate_max;
    unsigned int channels_min;
    unsigned int channels_max;
    unsigned int periods_min;
    unsigned int periods_max;
    unsigned int period_size_min;
    unsigned int period_size_max;
    unsigned int buffer_size_min;
    unsigned int buffer_size_max;
    unsigned int sig_bits;
};

Detailed Documentation

Stream Capabilities.

Fields

const char* name

name of the stream caps

uint64_t formats

supported formats SNDRV_PCM_FMTBIT_*

unsigned int rates

supported rates SNDRV_PCM_RATE_*

unsigned int rate_min

min rate

unsigned int rate_max

max rate

unsigned int channels_min

min channels

unsigned int channels_max

max channels

unsigned int periods_min

min number of periods

unsigned int periods_max

max number of periods

unsigned int period_size_min

min period size bytes

unsigned int period_size_max

max period size bytes

unsigned int buffer_size_min

min buffer size bytes

unsigned int buffer_size_max

max buffer size bytes

unsigned int sig_bits

number of bits of content