Mercurial > audlegacy
comparison 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 |
comparison
equal
deleted
inserted
replaced
2059:8aaf0f145578 | 2060:53a3d5db6b58 |
---|---|
26 #include <audacious/plugin.h> | 26 #include <audacious/plugin.h> |
27 #include "xconvert.h" | 27 #include "xconvert.h" |
28 | 28 |
29 #define IS_BIG_ENDIAN (G_BYTE_ORDER==G_BIG_ENDIAN) | 29 #define IS_BIG_ENDIAN (G_BYTE_ORDER==G_BIG_ENDIAN) |
30 | 30 |
31 /** | |
32 * buffer: | |
33 * | |
34 * Contains data for conversion. | |
35 * | |
36 * @buffer: A pointer to the memory being used in the conversion process. | |
37 * @size: The size of the memory being referenced. | |
38 **/ | |
31 struct buffer { | 39 struct buffer { |
32 void *buffer; | 40 void *buffer; |
33 int size; | 41 int size; |
34 }; | 42 }; |
35 | 43 |
44 /** | |
45 * xmms_convert_buffers: | |
46 * | |
47 * Stores data for conversion. | |
48 * | |
49 * @format_buffer: A buffer for converting formats. | |
50 * @stereo_buffer: A buffer for downmixing or upmixing. | |
51 * @freq_buffer: A buffer used for resampling. | |
52 **/ | |
36 struct xmms_convert_buffers { | 53 struct xmms_convert_buffers { |
37 struct buffer format_buffer, stereo_buffer, freq_buffer; | 54 struct buffer format_buffer, stereo_buffer, freq_buffer; |
38 }; | 55 }; |
39 | 56 |
40 /** | 57 /** |