Mercurial > audlegacy
diff libaudacious/xconvert.c @ 2060:53a3d5db6b58 trunk
[svn] - finish documenting the libaudacious API
author | nenolod |
---|---|
date | Mon, 04 Dec 2006 19:24:14 -0800 |
parents | 6f1346ce2764 |
children | f18a5b617c34 |
line wrap: on
line diff
--- a/libaudacious/xconvert.c Mon Dec 04 18:30:58 2006 -0800 +++ b/libaudacious/xconvert.c Mon Dec 04 19:24:14 2006 -0800 @@ -28,11 +28,28 @@ #define IS_BIG_ENDIAN (G_BYTE_ORDER==G_BIG_ENDIAN) +/** + * buffer: + * + * Contains data for conversion. + * + * @buffer: A pointer to the memory being used in the conversion process. + * @size: The size of the memory being referenced. + **/ struct buffer { void *buffer; int size; }; +/** + * xmms_convert_buffers: + * + * Stores data for conversion. + * + * @format_buffer: A buffer for converting formats. + * @stereo_buffer: A buffer for downmixing or upmixing. + * @freq_buffer: A buffer used for resampling. + **/ struct xmms_convert_buffers { struct buffer format_buffer, stereo_buffer, freq_buffer; };