+2006-08-24 Stefan Kost <ensonic@users.sf.net>
+
+ * gst/audiofxgood/audiopanorama.c:
+ (gst_audio_panorama_transform_m2s):
+ Fix docs & debug category. Add Fixme for volume pan levels.
+
2006-08-24 Stefan Kost <ensonic@users.sf.net>
* gst/avi/gstavidemux.c: (gst_avi_demux_read_subindexes_pull),
* @short_description: audio strereo pan effect
*
* <refsect2>
- * Echo effect with controllable effect-ratio, delay-time and feedback.
+ * Stereo panorama effect with controllable pan position.
* <title>Example launch line</title>
* <para>
* <programlisting>
* gst-launch audiotestsrc wave=saw ! audiopanorama panorama=-100 ! alsasink
* gst-launch filesrc location="melo1.ogg" ! oggdemux ! vorbisdec ! audioconvert ! audiopanorama panorama=-100 ! alsasink
* </programlisting>
- * In the latter example the echo is applied to the input signal of the
- * soundcard (like a microphone).
* </para>
* </refsect2>
*/
);
#define DEBUG_INIT(bla) \
- GST_DEBUG_CATEGORY_INIT (gst_audio_panorama_debug, "audiopanorama", 0, "audiopanorama plugin");
+ GST_DEBUG_CATEGORY_INIT (gst_audio_panorama_debug, "audiopanorama", 0, "audiopanorama element");
GST_BOILERPLATE_FULL (GstAudioPanorama, gst_audio_panorama, GstBaseTransform,
GST_TYPE_BASE_TRANSFORM, DEBUG_INIT);
/* pan: -100 0 100
* lpan: 1.0 0.5 0.0
* rpan: 0.0 0.5 1.0
+ *
+ * FIXME: we should use -3db (1/sqtr(2)) for 50:50
*/
rpan = (gdouble) (filter->panorama + 100) / 200.0;
lpan = 1.0 - rpan;
* @short_description: audio strereo pan effect
*
* <refsect2>
- * Echo effect with controllable effect-ratio, delay-time and feedback.
+ * Stereo panorama effect with controllable pan position.
* <title>Example launch line</title>
* <para>
* <programlisting>
* gst-launch audiotestsrc wave=saw ! audiopanorama panorama=-100 ! alsasink
* gst-launch filesrc location="melo1.ogg" ! oggdemux ! vorbisdec ! audioconvert ! audiopanorama panorama=-100 ! alsasink
* </programlisting>
- * In the latter example the echo is applied to the input signal of the
- * soundcard (like a microphone).
* </para>
* </refsect2>
*/
);
#define DEBUG_INIT(bla) \
- GST_DEBUG_CATEGORY_INIT (gst_audio_panorama_debug, "audiopanorama", 0, "audiopanorama plugin");
+ GST_DEBUG_CATEGORY_INIT (gst_audio_panorama_debug, "audiopanorama", 0, "audiopanorama element");
GST_BOILERPLATE_FULL (GstAudioPanorama, gst_audio_panorama, GstBaseTransform,
GST_TYPE_BASE_TRANSFORM, DEBUG_INIT);
/* pan: -100 0 100
* lpan: 1.0 0.5 0.0
* rpan: 0.0 0.5 1.0
+ *
+ * FIXME: we should use -3db (1/sqtr(2)) for 50:50
*/
rpan = (gdouble) (filter->panorama + 100) / 200.0;
lpan = 1.0 - rpan;