From c6b75500be47faa71f2f84d4ec10ef7af5dc975b Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Sat, 6 Mar 2004 15:31:25 +0000 Subject: [PATCH] add some 'what's this element and what is it not' doc Original commit message from CVS: add some 'what's this element and what is it not' doc --- gst/audioconvert/gstaudioconvert.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/gst/audioconvert/gstaudioconvert.c b/gst/audioconvert/gstaudioconvert.c index 26a49a7800..7790882e6b 100644 --- a/gst/audioconvert/gstaudioconvert.c +++ b/gst/audioconvert/gstaudioconvert.c @@ -20,6 +20,18 @@ */ /* Element-Checklist-Version: 5 */ +/* + * design decisions: + * - audioconvert converts buffers in a set of supported caps. If it supports + * a caps, it supports conversion from these caps to any other caps it + * supports. (example: if it does A=>B and A=>C, it also does B=>C) + * - audioconvert does not save state between buffers. Every incoming buffer is + * converted and the converted buffer is pushed out. + * conclusion: + * audioconvert is not supposed to be a one-element-does-anything solution for + * audio conversions. + */ + #ifdef HAVE_CONFIG_H #include "config.h" #endif