filter_plugin Struct Reference

#include <filter_plugin.h>

Data Fields

const char * name
struct filter *(* init )(const struct config_param *param, GError **error_r)
 Allocates and configures a filter.
void(* finish )(struct filter *filter)
 Free instance data.
struct audio_format *(* open )(struct filter *filter, struct audio_format *audio_format, GError **error_r)
 Opens a filter.
void(* close )(struct filter *filter)
 Closes a filter.
const void *(* filter )(struct filter *filter, const void *src, size_t src_size, size_t *dest_buffer_r, GError **error_r)
 Filters a block of PCM data.

Detailed Description

Definition at line 37 of file filter_plugin.h.


Field Documentation

Closes a filter.

const void*(* filter_plugin::filter)(struct filter *filter, const void *src, size_t src_size, size_t *dest_buffer_r, GError **error_r)

Filters a block of PCM data.

Free instance data.

struct filter*(* filter_plugin::init)(const struct config_param *param, GError **error_r) [read]

Allocates and configures a filter.

const char* filter_plugin::name

Definition at line 38 of file filter_plugin.h.

struct audio_format*(* filter_plugin::open)(struct filter *filter, struct audio_format *audio_format, GError **error_r) [read]

Opens a filter.

Parameters:
audio_format the audio format of incoming data; the plugin may modify the object to enforce another input format

The documentation for this struct was generated from the following file:

Generated on 17 Jul 2013 for MPD by  doxygen 1.6.1