encoder_plugin Struct Reference

#include <encoder_plugin.h>

Data Fields

const char * name
struct encoder *(* init )(const struct config_param *param, GError **error)
void(* finish )(struct encoder *encoder)
bool(* open )(struct encoder *encoder, struct audio_format *audio_format, GError **error)
void(* close )(struct encoder *encoder)
bool(* end )(struct encoder *encoder, GError **error)
bool(* flush )(struct encoder *encoder, GError **error)
bool(* pre_tag )(struct encoder *encoder, GError **error)
bool(* tag )(struct encoder *encoder, const struct tag *tag, GError **error)
bool(* write )(struct encoder *encoder, const void *data, size_t length, GError **error)
size_t(* read )(struct encoder *encoder, void *dest, size_t length)
const char *(* get_mime_type )(struct encoder *encoder)

Detailed Description

Definition at line 42 of file encoder_plugin.h.


Field Documentation

bool(* encoder_plugin::end)(struct encoder *encoder, GError **error)
bool(* encoder_plugin::flush)(struct encoder *encoder, GError **error)
struct encoder*(* encoder_plugin::init)(const struct config_param *param, GError **error) [read]
const char* encoder_plugin::name

Definition at line 43 of file encoder_plugin.h.

bool(* encoder_plugin::open)(struct encoder *encoder, struct audio_format *audio_format, GError **error)
bool(* encoder_plugin::pre_tag)(struct encoder *encoder, GError **error)
size_t(* encoder_plugin::read)(struct encoder *encoder, void *dest, size_t length)
bool(* encoder_plugin::tag)(struct encoder *encoder, const struct tag *tag, GError **error)
bool(* encoder_plugin::write)(struct encoder *encoder, const void *data, size_t length, GError **error)

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

Generated on 9 Aug 2013 for MPD by  doxygen 1.6.1