struct snd_tplg_stream_template

Overview

Stream configurations. Moreā€¦

#include <topology.h>

struct snd_tplg_stream_template {
    // fields

    const char* name;
    int format;
    int rate;
    int period_bytes;
    int buffer_bytes;
    int channels;
};

Detailed Documentation

Stream configurations.

Fields

const char* name

name of the stream config

int format

SNDRV_PCM_FMTBIT_*

int rate

SNDRV_PCM_RATE_*

int period_bytes

size of period in bytes

int buffer_bytes

size of buffer in bytes.

int channels

number of channels