summaryrefslogtreecommitdiffstats
path: root/ext/sndfile
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.net>2005-07-21 16:37:30 +0000
committerTim-Philipp Müller <tim@centricular.net>2005-07-21 16:37:30 +0000
commit2f99c988d85da3bd6f917324312de6f60152ccc6 (patch)
treef7866005b7d6e7ae8f1518e1b290457aafa243c2 /ext/sndfile
parent59a14a7a1037425fa0f90f648e44f2add10d7f6b (diff)
downloadgst-plugins-bad-2f99c988d85da3bd6f917324312de6f60152ccc6.tar.gz
gst-plugins-bad-2f99c988d85da3bd6f917324312de6f60152ccc6.tar.bz2
gst-plugins-bad-2f99c988d85da3bd6f917324312de6f60152ccc6.zip
gst/spectrum/demo-osssrc.c: Use 32 for the graph since it's the dimension of the drawing window; use proper buffersiz...
Original commit message from CVS: Reviewed by: Tim-Philipp Müller <tim at centricular dot net> * 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).
Diffstat (limited to 'ext/sndfile')
0 files changed, 0 insertions, 0 deletions