2005-10-19 Wim Taymans <wim@fluendo.com>
- reviewed by: <delete if not using a buddy>
+ * check/elements/audioconvert.c:
+ * docs/libs/tmpl/gstaudio.sgml:
+ * docs/libs/tmpl/gstcolorbalance.sgml:
+ * ext/vorbis/vorbisdec.c: (vorbis_dec_sink_event),
+ (vorbis_handle_identification_packet), (vorbis_handle_data_packet):
+ * ext/vorbis/vorbisenc.c: (raw_caps_factory):
+ * gst-libs/gst/audio/audio.c: (gst_audio_structure_set_int):
+ * gst-libs/gst/audio/audio.h:
+ * gst/audioconvert/audioconvert.h:
+ * gst/audioconvert/gstaudioconvert.c:
+ (gst_audio_convert_parse_caps):
+ * gst/volume/gstvolume.c:
+ Bye bye buffer-frames.
+
+2005-10-19 Wim Taymans <wim@fluendo.com>
* examples/seeking/seek.c: (make_avi_msmpeg4v3_mp3_pipeline),
(query_positions_elems), (query_positions_pads), (update_scale),
(dump_element_stats), (main):
* gst/playback/test6.c: (main):
* gst/sine/gstsinesrc.c: (gst_sinesrc_src_query):
- * gst/videotestsrc/gstvideotestsrc.c:
- (gst_videotestsrc_class_init), (gst_videotestsrc_negotiate),
- (gst_videotestsrc_newsegment):
+ Query API update.
2005-10-19 Tim-Philipp Müller <tim at centricular dot net>
"rate = (int) [ 1, MAX ], " \
"channels = (int) [ 1, 8 ], " \
"endianness = (int) BYTE_ORDER, " \
- "width = (int) 32, " \
- "buffer-frames = (int) [ 0, MAX ];" \
+ "width = (int) 32;" \
"audio/x-raw-int, " \
"rate = (int) [ 1, MAX ], " \
"channels = (int) [ 1, 8 ], " \
@GST_AUDIO_FIELD_WIDTH:
@GST_AUDIO_FIELD_DEPTH:
@GST_AUDIO_FIELD_SIGNED:
-@GST_AUDIO_FIELD_BUFFER_FRAMES:
<!-- ##### FUNCTION gst_audio_frame_byte_size ##### -->
<para>
</para>
-<!-- ##### SIGNAL GstColorBalance::value-changed ##### -->
-<para>
-
-</para>
-
-@gstcolorbalance: the object which received the signal.
-@arg1:
-@arg2:
-
<!-- ##### STRUCT GstColorBalanceClass ##### -->
<para>
"layout = \"sequential\", "
#endif
*/
- "width = (int) 32, " "buffer-frames = (int) 0")
+ "width = (int) 32")
);
static GstStaticPadTemplate vorbis_dec_sink_factory =
caps = gst_caps_new_simple ("audio/x-raw-float",
"rate", G_TYPE_INT, vd->vi.rate,
"channels", G_TYPE_INT, vd->vi.channels,
- "endianness", G_TYPE_INT, G_BYTE_ORDER,
- "width", G_TYPE_INT, 32, "buffer-frames", G_TYPE_INT, 0, NULL);
+ "endianness", G_TYPE_INT, G_BYTE_ORDER, "width", G_TYPE_INT, 32, NULL);
switch (vd->vi.channels) {
case 1:
gst_caps_new_simple ("audio/x-raw-float",
"rate", GST_TYPE_INT_RANGE, 8000, 50000,
"channels", GST_TYPE_INT_RANGE, 1, 2,
- "endianness", G_TYPE_INT, G_BYTE_ORDER,
- "width", G_TYPE_INT, 32, "buffer-frames", G_TYPE_INT, 0, NULL);
+ "endianness", G_TYPE_INT, G_BYTE_ORDER, "width", G_TYPE_INT, 32, NULL);
}
static void
if (flag & GST_AUDIO_FIELD_SIGNED)
_gst_audio_structure_set_list (structure, "signed", G_TYPE_BOOLEAN, 2, TRUE,
FALSE, NULL);
- if (flag & GST_AUDIO_FIELD_BUFFER_FRAMES)
- gst_structure_set (structure, "buffer-frames", GST_TYPE_INT_RANGE, 1,
- G_MAXINT, NULL);
}
"rate = (int) [ 1, MAX ], " \
"channels = (int) [ 1, MAX ], " \
"endianness = (int) { LITTLE_ENDIAN , BIG_ENDIAN }, " \
- "width = (int) { 32, 64 }, " \
- "buffer-frames = (int) [ 1, MAX]"
+ "width = (int) { 32, 64 }"
/* "standard" float audio is native order, 32 bit mono. */
#define GST_AUDIO_FLOAT_STANDARD_PAD_TEMPLATE_CAPS \
"width = (int) 32, " \
"rate = (int) [ 1, MAX ], " \
"channels = (int) 1, " \
- "endianness = (int) BYTE_ORDER, " \
- "buffer-frames = (int) [ 1, MAX]"
+ "endianness = (int) BYTE_ORDER"
/*
* this library defines and implements some helper functions for audio
GST_AUDIO_FIELD_WIDTH = (1 << 3),
GST_AUDIO_FIELD_DEPTH = (1 << 4),
GST_AUDIO_FIELD_SIGNED = (1 << 5),
- GST_AUDIO_FIELD_BUFFER_FRAMES = (1 << 6)
} GstAudioFieldFlag;
void gst_audio_structure_set_int (GstStructure *structure, GstAudioFieldFlag flag);
gboolean sign;
gint depth;
- /* float audio caps */
- gint buffer_frames;
-
gint unit_size;
};
"rate = (int) [ 1, MAX ], " \
"channels = (int) [ 1, 8 ], " \
"endianness = (int) BYTE_ORDER, " \
- "width = (int) 32, " \
- "buffer-frames = (int) [ 0, MAX ];" \
+ "width = (int) 32;" \
"audio/x-raw-int, " \
"rate = (int) [ 1, MAX ], " \
"channels = (int) [ 1, 8 ], " \
/* depth cannot be bigger than the width */
if (fmt->depth > fmt->width)
goto not_allowed;
- } else {
- /* float specific fields */
- if (!gst_structure_get_int (structure, "buffer-frames",
- &fmt->buffer_frames))
- goto no_values;
}
fmt->unit_size = (fmt->width * fmt->channels) / 8;
"rate = (int) [ 1, MAX ], "
"channels = (int) [ 1, MAX ], "
"endianness = (int) BYTE_ORDER, "
- "width = (int) 32, "
- "buffer-frames = (int) [ 0, MAX]; "
+ "width = (int) 32; "
"audio/x-raw-int, "
"channels = (int) [ 1, MAX ], "
"rate = (int) [ 1, MAX ], "
"rate = (int) [ 1, MAX ], "
"channels = (int) [ 1, MAX ], "
"endianness = (int) BYTE_ORDER, "
- "width = (int) 32, "
- "buffer-frames = (int) [ 0, MAX]; "
+ "width = (int) 32; "
"audio/x-raw-int, "
"channels = (int) [ 1, MAX ], "
"rate = (int) [ 1, MAX ], "
"rate = (int) [ 1, MAX ], " \
"channels = (int) [ 1, 8 ], " \
"endianness = (int) BYTE_ORDER, " \
- "width = (int) 32, " \
- "buffer-frames = (int) [ 0, MAX ];" \
+ "width = (int) 32;" \
"audio/x-raw-int, " \
"rate = (int) [ 1, MAX ], " \
"channels = (int) [ 1, 8 ], " \