2005-09-15 Wim Taymans <wim@fluendo.com>
+ * gst/audioconvert/gstaudioconvert.c:
+ And enable 24 bits mode as well..
+
+2005-09-15 Wim Taymans <wim@fluendo.com>
+
* gst-libs/gst/rtp/Makefile.am:
* gst-libs/gst/rtp/gstbasertppayload.c:
(gst_basertppayload_get_type), (gst_basertppayload_base_init),
GST_DEBUG_CATEGORY (audio_convert_debug);
-/* int to float conversion: int2float(i) = 1 / (2^31-1) * i */
-#define INT2FLOAT(i) (4.6566128752457969e-10 * ((gfloat)i))
-
-
/*** DEFINITIONS **************************************************************/
static GstElementDetails audio_convert_details = {
"width = (int) 32, " \
"depth = (int) [ 1, 32 ], " \
"signed = (boolean) { true, false }; " \
+ "audio/x-raw-int, " \
+ "rate = (int) [ 1, MAX ], " \
+ "channels = (int) [ 1, 8 ], " \
+ "endianness = (int) { LITTLE_ENDIAN, BIG_ENDIAN }, " \
+ "width = (int) 24, " \
+ "depth = (int) [ 1, 24 ], " "signed = (boolean) { true, false }; " \
"audio/x-raw-int, " \
"rate = (int) [ 1, MAX ], " \
"channels = (int) [ 1, 8 ], " \
"signed = (boolean) { true, false } " \
)
-/* FIXME: put back 24 bit audio */
-#if 0
-"audio/x-raw-int, "
- "rate = (int) [ 1, MAX ], "
- "channels = (int) [ 1, 8 ], "
- "endianness = (int) { LITTLE_ENDIAN, BIG_ENDIAN }, "
- "width = (int) 24, "
- "depth = (int) [ 1, 24 ], " "signed = (boolean) { true, false }; "
-#endif
static GstAudioChannelPosition *supported_positions;
static GstStaticCaps gst_audio_convert_static_caps = STATIC_CAPS;