src/xmms/output.c File Reference

Output plugin helper. More...

#include <string.h>
#include <unistd.h>
#include "xmmspriv/xmms_output.h"
#include "xmmspriv/xmms_ringbuf.h"
#include "xmmspriv/xmms_plugin.h"
#include "xmmspriv/xmms_xform.h"
#include "xmmspriv/xmms_sample.h"
#include "xmmspriv/xmms_medialib.h"
#include "xmmspriv/xmms_outputplugin.h"
#include "xmms/xmms_log.h"
#include "xmms/xmms_ipc.h"
#include "xmms/xmms_object.h"
#include "xmms/xmms_config.h"
#include "output_ipc.c"

Go to the source code of this file.

Defines

#define VOLUME_MAX_CHANNELS   128

Typedefs

typedef struct xmms_volume_map_St xmms_volume_map_t
typedef enum
xmms_output_filler_state_E 
xmms_output_filler_state_t

Enumerations

enum  xmms_output_filler_state_E {
  FILLER_STOP, FILLER_RUN, FILLER_QUIT, FILLER_KILL,
  FILLER_SEEK
}

Functions

xmms_medialib_entry_t xmms_output_current_id (xmms_output_t *output)
 Get the currently medialib id of the currently played entry.
gpointer xmms_output_private_data_get (xmms_output_t *output)
 Retrieve the private data for the plugin that was set with xmms_output_private_data_set.
void xmms_output_private_data_set (xmms_output_t *output, gpointer data)
 Set the private data for the plugin that can be retrived with xmms_output_private_data_get later.
void xmms_output_stream_type_add (xmms_output_t *output,...)
 Add format to list of supported formats.
void xmms_output_set_error (xmms_output_t *output, xmms_error_t *error)
 Set an error.
gint xmms_output_read (xmms_output_t *output, char *buffer, gint len)
 Read a number of bytes of data from the output buffer into a buffer.
xmms_config_property_txmms_output_config_property_register (xmms_output_t *output, const gchar *name, const gchar *default_value, xmms_object_handler_t cb, gpointer userdata)
 Register a configuration directive.
xmms_config_property_txmms_output_config_lookup (xmms_output_t *output, const gchar *path)
 Lookup a configuration directive for the output plugin.
guint32 xmms_output_latency (xmms_output_t *output)
gboolean xmms_output_plugin_switch (xmms_output_t *output, xmms_output_plugin_t *new_plugin)
 Switch to another output plugin.
xmms_output_txmms_output_new (xmms_output_plugin_t *plugin, xmms_playlist_t *playlist)
 Allocate a new xmms_output_t.
void xmms_output_flush (xmms_output_t *output)
 Flush the buffers in soundcard.

Detailed Description

Output plugin helper.

Definition in file output.c.


Define Documentation

#define VOLUME_MAX_CHANNELS   128

Definition at line 37 of file output.c.


Typedef Documentation

typedef struct xmms_volume_map_St xmms_volume_map_t

Enumeration Type Documentation

Enumerator:
FILLER_STOP 
FILLER_RUN 
FILLER_QUIT 
FILLER_KILL 
FILLER_SEEK 

Definition at line 60 of file output.c.


Generated on Tue Feb 23 18:14:36 2010 for XMMS2 by  doxygen 1.6.1