MPD  0.20.18
Functions
ChainFilterPlugin.hxx File Reference

A filter chain is a container for several filters. More...

Go to the source code of this file.

Functions

PreparedFilterfilter_chain_new ()
 Creates a new filter chain. More...
 
void filter_chain_append (PreparedFilter &chain, const char *name, PreparedFilter *filter)
 Appends a new filter at the end of the filter chain. More...
 

Detailed Description

A filter chain is a container for several filters.

They are chained together, i.e. called in a row, one filter passing its output to the next one.

Definition in file ChainFilterPlugin.hxx.

Function Documentation

◆ filter_chain_append()

void filter_chain_append ( PreparedFilter chain,
const char *  name,
PreparedFilter filter 
)

Appends a new filter at the end of the filter chain.

You must call this function before the first filter_open() call.

Parameters
chainthe filter chain created with filter_chain_new()
filterthe filter to be appended to #chain

◆ filter_chain_new()

PreparedFilter* filter_chain_new ( )

Creates a new filter chain.