From: <wt...@ke...> - 2006-07-12 11:00:09
|
CVS Root: /cvs/gstreamer Module: gst-plugins-base Changes by: wtay Date: Wed Jul 12 2006 11:00:07 UTC Log message: * ext/alsa/gstalsasink.c: (set_hwparams), (gst_alsasink_prepare): basesink calculates silence sample correctly for us. Modified files: . : ChangeLog ext/alsa : gstalsasink.c Links: http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins-base/ChangeLog.diff?r1=1.2758&r2=1.2759 http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins-base/ext/alsa/gstalsasink.c.diff?r1=1.73&r2=1.74 ====Begin Diffs==== Index: gstalsasink.c =================================================================== RCS file: /cvs/gstreamer/gst-plugins-base/ext/alsa/gstalsasink.c,v retrieving revision 1.73 retrieving revision 1.74 diff -u -d -r1.73 -r1.74 --- gstalsasink.c 16 Jun 2006 11:04:21 -0000 1.73 +++ gstalsasink.c 12 Jul 2006 10:59:55 -0000 1.74 @@ -657,10 +657,6 @@ alsa->bytes_per_sample = spec->bytes_per_sample; spec->segsize = alsa->period_size * spec->bytes_per_sample; spec->segtotal = alsa->buffer_size / alsa->period_size; - spec->silence_sample[0] = 0; - spec->silence_sample[1] = 0; - spec->silence_sample[2] = 0; - spec->silence_sample[3] = 0; return TRUE; Index: ChangeLog RCS file: /cvs/gstreamer/gst-plugins-base/ChangeLog,v retrieving revision 1.2758 retrieving revision 1.2759 diff -u -d -r1.2758 -r1.2759 --- ChangeLog 12 Jul 2006 10:58:42 -0000 1.2758 +++ ChangeLog 12 Jul 2006 10:59:55 -0000 1.2759 @@ -1,5 +1,10 @@ 2006-07-12 Wim Taymans <wi...@fl...> + * ext/alsa/gstalsasink.c: (set_hwparams), (gst_alsasink_prepare): + basesink calculates silence sample correctly for us. + +2006-07-12 Wim Taymans <wi...@fl...> * gst-libs/gst/audio/gstringbuffer.c: (build_linear_format), (gst_ring_buffer_debug_spec_caps), (gst_ring_buffer_parse_caps): Calculate correct silence samples so we don't fill our ringbuffer |