summaryrefslogtreecommitdiffstats
path: root/gst/spectrum/demo-audiotest.c
AgeCommit message (Collapse)AuthorFilesLines
2007-11-11gst/: Change the meaning of the magnitude values given in theSebastian Dröge1-1/+1
Original commit message from CVS: * gst/equalizer/demo.c: (draw_spectrum): * gst/spectrum/demo-audiotest.c: (draw_spectrum): * gst/spectrum/demo-osssrc.c: (draw_spectrum): * gst/spectrum/gstspectrum.c: (gst_spectrum_class_init): Change the meaning of the magnitude values given in the GstMessages by spectrum to decibel instead of decibel+threshold.
2007-11-06gst/spectrum/demo-audiotest.c: Use autoaudiosink instead of alsasink and use ↵Sebastian Dröge1-2/+2
a sine wave. Original commit message from CVS: * gst/spectrum/demo-audiotest.c: (main): Use autoaudiosink instead of alsasink and use a sine wave. * gst/spectrum/gstspectrum.c: Fix the magnitude calculation.
2007-09-18gst/spectrum/: Handling window resize.Stefan Kost1-16/+34
Original commit message from CVS: * gst/spectrum/demo-audiotest.c: * gst/spectrum/demo-osssrc.c: Handling window resize.
2007-09-06Port GstSpectrum to GstAudioFilter and libgstfft, add support for int32, ↵Sebastian Dröge1-7/+9
float and double, use floats for the message... Original commit message from CVS: * configure.ac: * gst/spectrum/Makefile.am: * gst/spectrum/demo-audiotest.c: (draw_spectrum), (message_handler), (main): * gst/spectrum/demo-osssrc.c: (draw_spectrum), (message_handler): * gst/spectrum/gstspectrum.c: (gst_spectrum_base_init), (gst_spectrum_class_init), (gst_spectrum_init), (gst_spectrum_dispose), (gst_spectrum_set_property), (gst_spectrum_get_property), (gst_spectrum_start), (gst_spectrum_setup), (gst_spectrum_message_new), (gst_spectrum_transform_ip): * gst/spectrum/gstspectrum.h: Port GstSpectrum to GstAudioFilter and libgstfft, add support for int32, float and double, use floats for the message contents, average all FFTs done in one interval for better results, use a better windowing function, allow posting the phase in the message and actually do an FFT with the requested number of bands instead of interpolating. * tests/check/elements/spectrum.c: (GST_START_TEST), (spectrum_suite): Improve the units tests by checking for a 11025Hz sine wave and add unit tests for all 4 supported sample types.
2007-07-18Add stdlib include (free, atoi, exit).Stefan Kost1-0/+1
Original commit message from CVS: * examples/app/appsrc_ex.c: * examples/switch/switcher.c: * ext/neon/gstneonhttpsrc.c: * ext/timidity/gstwildmidi.c: * ext/x264/gstx264enc.c: * gst/mve/mveaudioenc.c: (mve_compress_audio): * gst/rtpmanager/gstrtpclient.c: * gst/rtpmanager/gstrtpjitterbuffer.c: * gst/spectrum/demo-audiotest.c: * gst/spectrum/demo-osssrc.c: * sys/dvb/gstdvbsrc.c: Add stdlib include (free, atoi, exit).
2007-03-05gst/spectrum/: Remove two obsolete and confusing comments.Stefan Kost1-2/+0
Original commit message from CVS: * gst/spectrum/demo-audiotest.c: (message_handler): * gst/spectrum/demo-osssrc.c: (message_handler): Remove two obsolete and confusing comments.
2006-07-15gst/spectrum/: Do not use deprecated gtk functions.Stefan Kost1-1/+1
Original commit message from CVS: * gst/spectrum/demo-audiotest.c: (main): * gst/spectrum/demo-osssrc.c: (main): Do not use deprecated gtk functions.
2006-06-16gst/spectrum/: port to use message to get results, cleanly exit when closing ↵Stefan Kost1-25/+85
the window Original commit message from CVS: * gst/spectrum/demo-audiotest.c: (on_window_destroy), (draw_spectrum), (message_handler), (main): * gst/spectrum/demo-osssrc.c: (on_window_destroy), (draw_spectrum), (message_handler), (main): port to use message to get results, cleanly exit when closing the window * gst/spectrum/gstspectrum.c: (gst_spectrum_class_init), (gst_spectrum_init), (gst_spectrum_dispose), (gst_spectrum_set_property), (gst_spectrum_get_property), (gst_spectrum_set_caps), (gst_spectrum_start), (gst_spectrum_message_new), (gst_spectrum_transform_ip): * gst/spectrum/gstspectrum.h: port to derive from basetransform and send results via messages (like level element)
2006-05-26gst/spectrum/: added another exampleStefan Kost1-0/+99
Original commit message from CVS: * gst/spectrum/Makefile.am: * gst/spectrum/demo-audiotest.c: (on_frequency_changed), (spectrum_chain), (main): * gst/spectrum/demo-osssrc.c: added another example * sys/v4l2/gstv4l2src.c: fix typo