XMMS2
Macros | Typedefs | Enumerations | Functions
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_medialib.h>
#include <xmmspriv/xmms_outputplugin.h>
#include <xmmspriv/xmms_thread_name.h>
#include <xmms/xmms_sample.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"

Macros

#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. More...
 
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. More...
 
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. More...
 
void xmms_output_stream_type_add (xmms_output_t *output,...)
 Add format to list of supported formats. More...
 
void xmms_output_set_error (xmms_output_t *output, xmms_error_t *error)
 Set an error. More...
 
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. More...
 
gint xmms_output_bytes_available (xmms_output_t *output)
 Gets Number of available bytes in the output buffer. More...
 
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. More...
 
xmms_config_property_txmms_output_config_lookup (xmms_output_t *output, const gchar *path)
 Lookup a configuration directive for the output plugin. More...
 
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. More...
 
xmms_output_txmms_output_new (xmms_output_plugin_t *plugin, xmms_playlist_t *playlist, xmms_medialib_t *medialib)
 Allocate a new xmms_output_t. More...
 
void xmms_output_flush (xmms_output_t *output)
 Flush the buffers in soundcard. More...
 

Detailed Description

Output plugin helper.

Macro Definition Documentation

#define VOLUME_MAX_CHANNELS   128

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