struct snd_pcm_extplug

Overview

Handle of extplug

Handle of external filter plugin Moreā€¦

#include <pcm_extplug.h>

struct snd_pcm_extplug {
    // fields

    unsigned int version;
    const char* name;
    const snd_pcm_extplug_callback_t* callback;
    void* private_data;
    snd_pcm_t* pcm;
    snd_pcm_stream_t stream;
    snd_pcm_format_t format;
    snd_pcm_subformat_t subformat;
    unsigned int channels;
    unsigned int rate;
    snd_pcm_format_t slave_format;
    snd_pcm_subformat_t slave_subformat;
    unsigned int slave_channels;
};

Detailed Documentation

Handle of extplug

Handle of external filter plugin

Fields

unsigned int version

protocol version; SND_PCM_EXTPLUG_VERSION must be filled here before calling snd_pcm_extplug_create()

const char* name

name of this plugin; must be filled before calling snd_pcm_extplug_create()

const snd_pcm_extplug_callback_t* callback

callbacks of this plugin; must be filled before calling snd_pcm_extplug_create()

void* private_data

private data, which can be used freely in the driver callbacks

snd_pcm_t* pcm

PCM handle filled by snd_pcm_extplug_create()

snd_pcm_stream_t stream

stream direction; read-only status

snd_pcm_format_t format

format hw parameter; filled after hw_params is caled

snd_pcm_subformat_t subformat

subformat hw parameter; filled after hw_params is caled

unsigned int channels

channels hw parameter; filled after hw_params is caled

unsigned int rate

rate hw parameter; filled after hw_params is caled

snd_pcm_format_t slave_format

slave_format hw parameter; filled after hw_params is caled

snd_pcm_subformat_t slave_subformat

slave_subformat hw parameter; filled after hw_params is caled

unsigned int slave_channels

slave_channels hw parameter; filled after hw_params is caled