MPD

- Main Page
- Data Structures
- Files

- File List
- Globals

Data Structures | Functions

# src/output_plugin.h File Reference

`#include <glib.h>`
`#include <stdbool.h>`
`#include <stddef.h>`

Go to the source code of this file.

## Data Structures
struct | audio_output_plugin
| A plugin which controls an audio output device. More...
## Functions
static bool | ao_plugin_test_default_device (const struct audio_output_plugin *plugin)
static void * | ao_plugin_init (const struct audio_output_plugin *plugin, const struct audio_format *audio_format, const struct config_param *param, GError **error)
static void | ao_plugin_finish (const struct audio_output_plugin *plugin, void *data)
static bool | ao_plugin_enable (const struct audio_output_plugin *plugin, void *data, GError **error_r)
static void | ao_plugin_disable (const struct audio_output_plugin *plugin, void *data)
static bool | ao_plugin_open (const struct audio_output_plugin *plugin, void *data, struct audio_format *audio_format, GError **error)
static void | ao_plugin_close (const struct audio_output_plugin *plugin, void *data)
static unsigned | ao_plugin_delay (const struct audio_output_plugin *plugin, void *data)
static void | ao_plugin_send_tag (const struct audio_output_plugin *plugin, void *data, const struct tag *tag)
static size_t | ao_plugin_play (const struct audio_output_plugin *plugin, void *data, const void *chunk, size_t size, GError **error)
static void | ao_plugin_drain (const struct audio_output_plugin *plugin, void *data)
static void | ao_plugin_cancel (const struct audio_output_plugin *plugin, void *data)
static bool | ao_plugin_pause (const struct audio_output_plugin *plugin, void *data)

## Function Documentation

static void ao_plugin_cancel | ( | const struct audio_output_plugin * | plugin,
|  | void * | data
| ) |  | `[inline, static]`

Definition at line 247 of file output_plugin.h.

static void ao_plugin_close | ( | const struct audio_output_plugin * | plugin,
|  | void * | data
| ) |  | `[inline, static]`

Definition at line 210 of file output_plugin.h.

static unsigned ao_plugin_delay | ( | const struct audio_output_plugin * | plugin,
|  | void * | data
| ) |  | `[inline, static]`

Definition at line 216 of file output_plugin.h.

static void ao_plugin_disable | ( | const struct audio_output_plugin * | plugin,
|  | void * | data
| ) |  | `[inline, static]`

Definition at line 195 of file output_plugin.h.

static void ao_plugin_drain | ( | const struct audio_output_plugin * | plugin,
|  | void * | data
| ) |  | `[inline, static]`

Definition at line 240 of file output_plugin.h.

static bool ao_plugin_enable | ( | const struct audio_output_plugin * | plugin,
|  | void * | data,
|  | GError ** | error_r
| ) |  | `[inline, static]`

Definition at line 186 of file output_plugin.h.

static void ao_plugin_finish | ( | const struct audio_output_plugin * | plugin,
|  | void * | data
| ) |  | `[inline, static]`

Definition at line 180 of file output_plugin.h.

static void* ao_plugin_init | ( | const struct audio_output_plugin * | plugin,
|  | const struct audio_format * | audio_format,
|  | const struct config_param * | param,
|  | GError ** | error
| ) |  | `[inline, static]`

Definition at line 171 of file output_plugin.h.

static bool ao_plugin_open | ( | const struct audio_output_plugin * | plugin,
|  | void * | data,
|  | struct audio_format * | audio_format,
|  | GError ** | error
| ) |  | `[inline, static]`

Definition at line 202 of file output_plugin.h.

static bool ao_plugin_pause | ( | const struct audio_output_plugin * | plugin,
|  | void * | data
| ) |  | `[inline, static]`

Definition at line 254 of file output_plugin.h.

static size_t ao_plugin_play | ( | const struct audio_output_plugin * | plugin,
|  | void * | data,
|  | const void * | chunk,
|  | size_t | size,
|  | GError ** | error
| ) |  | `[inline, static]`

Definition at line 232 of file output_plugin.h.

static void ao_plugin_send_tag | ( | const struct audio_output_plugin * | plugin,
|  | void * | data,
|  | const struct tag * | tag
| ) |  | `[inline, static]`

Definition at line 224 of file output_plugin.h.

static bool ao_plugin_test_default_device | ( | const struct audio_output_plugin * | plugin | ) | `[inline, static]`

Definition at line 163 of file output_plugin.h.