src/xmms/sample.head.c File Reference

#include <glib.h>
#include <math.h>
#include "xmmspriv/xmms_sample.h"
#include "xmms/xmms_medialib.h"
#include "xmms/xmms_object.h"
#include "xmms/xmms_log.h"

Go to the source code of this file.


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.
xmms_stream_type_txmms_sample_converter_get_to (xmms_sample_converter_t *conv)
 Return the audio format used by the converter as target.
void xmms_sample_converter_to_medialib (xmms_sample_converter_t *conv, xmms_medialib_entry_t entry)
guint xmms_sample_ms_to_samples (const xmms_stream_type_t *st, guint milliseconds)
 convert from milliseconds to samples for this format.
guint xmms_sample_samples_to_ms (const xmms_stream_type_t *st, guint samples)
 Convert from samples to milliseconds for this format.
guint xmms_sample_bytes_to_ms (const xmms_stream_type_t *st, guint bytes)
 Convert from bytes to milliseconds for this format.
gint xmms_sample_frame_size_get (const xmms_stream_type_t *st)
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.
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)

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