mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
gst/audioconvert/gstaudioconvert.c: And enable 24 bits mode as well..
Original commit message from CVS: * gst/audioconvert/gstaudioconvert.c: And enable 24 bits mode as well..
This commit is contained in:
parent
022f6698f0
commit
b6bc76642a
2 changed files with 11 additions and 13 deletions
|
@ -1,3 +1,8 @@
|
|||
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:
|
||||
|
|
|
@ -45,10 +45,6 @@
|
|||
|
||||
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 = {
|
||||
|
@ -111,6 +107,12 @@ GST_STATIC_CAPS ( \
|
|||
"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 ], " \
|
||||
|
@ -127,15 +129,6 @@ GST_STATIC_CAPS ( \
|
|||
"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;
|
||||
|
|
Loading…
Reference in a new issue