From 2f99c988d85da3bd6f917324312de6f60152ccc6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Thu, 21 Jul 2005 16:37:30 +0000 Subject: gst/spectrum/demo-osssrc.c: Use 32 for the graph since it's the dimension of the drawing window; use proper buffersiz... MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Original commit message from CVS: Reviewed by: Tim-Philipp Müller * gst/spectrum/demo-osssrc.c: (spectrum_chain), (main): Use 32 for the graph since it's the dimension of the drawing window; use proper buffersize (bytes != samples); connect delete-event to gtk_main_quit. * gst/spectrum/gstspectrum.c: (gst_spectrum_class_init), (gst_spectrum_chain): Specify max. width of 1024 in property param spec; spec_base must be 10 instead of 8, since it's the exponent of the N pased to the FFT (2^10=1024); memcpy the buffer in the mono case (fixes a crash). --- ChangeLog | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index aa1440d0..5dfb964d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,19 @@ +2005-07-21 Paolo Borelli + + Reviewed by: Tim-Philipp Müller + + * gst/spectrum/demo-osssrc.c: (spectrum_chain), (main): + Use 32 for the graph since it's the dimension of the + drawing window; use proper buffersize (bytes != samples); + connect delete-event to gtk_main_quit. + + * gst/spectrum/gstspectrum.c: (gst_spectrum_class_init), + (gst_spectrum_chain): + Specify max. width of 1024 in property param spec; + spec_base must be 10 instead of 8, since it's the + exponent of the N pased to the FFT (2^10=1024); + memcpy the buffer in the mono case (fixes a crash). + 2005-07-21 Zaheer Abbas Merali * configure.ac: -- cgit v1.2.1