xine-lib 1.2.11
Data Structures | Macros | Typedefs | Functions
upmix_mono.c File Reference
#include <stdio.h>
#include <pthread.h>
#include <xine/xineutils.h>
#include <xine/post.h>
#include "audio_filters.h"

Data Structures

struct  upmix_mono_parameters_s
 
struct  post_plugin_upmix_mono_s
 

Macros

#define LOG_MODULE   "upmix_mono"
 
#define LOG_VERBOSE
 

Typedefs

typedef struct upmix_mono_parameters_s upmix_mono_parameters_t
 

Functions

 PARAM_ITEM (POST_PARAM_TYPE_INT, channel, NULL, -1, 5, 0, "Select channel to upmix (duplicate) to stereo") typedef struct post_plugin_upmix_mono_s post_plugin_upmix_mono_t
 
static int set_parameters (xine_post_t *this_gen, const void *param_gen)
 
static int get_parameters (xine_post_t *this_gen, void *param_gen)
 
static xine_post_api_descr_tget_param_descr (void)
 
static char * get_help (void)
 
static int upmix_mono_port_open (xine_audio_port_t *port_gen, xine_stream_t *stream, uint32_t bits, uint32_t rate, int mode)
 
static void upmix_mono_port_put_buffer (xine_audio_port_t *port_gen, audio_buffer_t *buf, xine_stream_t *stream)
 
static void upmix_mono_dispose (post_plugin_t *this_gen)
 
static post_plugin_tupmix_mono_open_plugin (post_class_t *class_gen, int inputs, xine_audio_port_t **audio_target, xine_video_port_t **video_target)
 
void * upmix_mono_init_plugin (xine_t *xine, const void *data)
 

Macro Definition Documentation

◆ LOG_MODULE

#define LOG_MODULE   "upmix_mono"

◆ LOG_VERBOSE

#define LOG_VERBOSE

Typedef Documentation

◆ upmix_mono_parameters_t

Function Documentation

◆ get_help()

static char * get_help ( void  )
static

References _.

Referenced by upmix_mono_open_plugin().

◆ get_param_descr()

static xine_post_api_descr_t * get_param_descr ( void  )
static

Referenced by upmix_mono_open_plugin().

◆ get_parameters()

static int get_parameters ( xine_post_t this_gen,
void *  param_gen 
)
static

Referenced by upmix_mono_open_plugin().

◆ PARAM_ITEM()

PARAM_ITEM ( POST_PARAM_TYPE_INT  ,
channel  ,
NULL  ,
1,
,
,
"Select channel to upmix (duplicate) to stereo"   
)

◆ set_parameters()

static int set_parameters ( xine_post_t this_gen,
const void *  param_gen 
)
static

Referenced by upmix_mono_open_plugin().

◆ upmix_mono_dispose()

static void upmix_mono_dispose ( post_plugin_t this_gen)
static

References _x_post_dispose().

Referenced by upmix_mono_open_plugin().

◆ upmix_mono_init_plugin()

void * upmix_mono_init_plugin ( xine_t xine,
const void *  data 
)

◆ upmix_mono_open_plugin()

static post_plugin_t * upmix_mono_open_plugin ( post_class_t class_gen,
int  inputs,
xine_audio_port_t **  audio_target,
xine_video_port_t **  video_target 
)
static

◆ upmix_mono_port_open()

static int upmix_mono_port_open ( xine_audio_port_t port_gen,
xine_stream_t stream,
uint32_t  bits,
uint32_t  rate,
int  mode 
)
static

◆ upmix_mono_port_put_buffer()

static void upmix_mono_port_put_buffer ( xine_audio_port_t port_gen,
audio_buffer_t buf,
xine_stream_t stream 
)
static