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(* flush )(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)


Detailed Description

Definition at line 37 of file encoder_plugin.h.


Field Documentation

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 38 of file encoder_plugin.h.

bool(* encoder_plugin::open)(struct encoder *encoder, struct audio_format *audio_format, 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 Thu Sep 3 02:29:41 2009 for MPD by  doxygen 1.5.9