XMMS2
Functions
converter.head.c File Reference
#include <glib.h>
#include <math.h>
#include <xmmspriv/xmms_converter.h>
#include <xmms/xmms_medialib.h>
#include <xmms/xmms_object.h>
#include <xmms/xmms_log.h>

Functions

xmms_sample_converter_txmms_sample_converter_init (xmms_stream_type_t *from, xmms_stream_type_t *to)
 
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)
 
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...
 
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_reset (xmms_sample_converter_t *conv)