XMMS2
Typedefs | Functions
xmms_converter.h File Reference
#include <xmmspriv/xmms_streamtype.h>
#include <xmms/xmms_sample.h>
#include <xmms/xmms_medialib.h>

Typedefs

typedef struct
xmms_sample_converter_St 
xmms_sample_converter_t
 
typedef guint(* xmms_sample_conv_func_t )(xmms_sample_converter_t *, xmms_sample_t *, guint, xmms_sample_t *)
 

Functions

xmms_sample_converter_txmms_sample_converter_init (xmms_stream_type_t *from, xmms_stream_type_t *to)
 
gint64 xmms_sample_convert_scale (xmms_sample_converter_t *conv, gint64 samples)
 
gint64 xmms_sample_convert_rev_scale (xmms_sample_converter_t *conv, gint64 samples)
 
void xmms_sample_convert (xmms_sample_converter_t *conv, xmms_sample_t *in, guint len, xmms_sample_t **out, guint *outlen)
 do the actual converstion between two audio formats. More...
 
void xmms_sample_convert_reset (xmms_sample_converter_t *conv)
 
xmms_sample_converter_txmms_sample_audioformats_coerce (xmms_stream_type_t *in, const GList *goal_types)
 
xmms_stream_type_txmms_sample_converter_get_from (xmms_sample_converter_t *conv)
 Return the audio format used by the converter as source. More...
 
xmms_stream_type_txmms_sample_converter_get_to (xmms_sample_converter_t *conv)
 Return the audio format used by the converter as target. More...
 
void xmms_sample_converter_to_medialib (xmms_sample_converter_t *conv, xmms_medialib_entry_t entry)
 

Typedef Documentation

typedef guint(* xmms_sample_conv_func_t)(xmms_sample_converter_t *, xmms_sample_t *, guint, xmms_sample_t *)
typedef struct xmms_sample_converter_St xmms_sample_converter_t

Function Documentation

xmms_sample_converter_t* xmms_sample_audioformats_coerce ( xmms_stream_type_t in,
const GList *  goal_types 
)