summaryrefslogtreecommitdiffstats
path: root/tests/examples/equalizer
Commit message (Collapse)AuthorAgeFilesLines
* Don't use declarations after statements and variable length arrays.Sebastian Dröge2008-07-081-1/+2
| | | | | | | | | | | | | Original commit message from CVS: * ext/raw1394/gstdv1394src.c: (gst_dv1394src_uri_set_uri): * ext/speex/gstspeexenc.c: (gst_speex_enc_sink_getcaps): * ext/wavpack/gstwavpackenc.c: (gst_wavpack_enc_set_wp_config): * sys/v4l2/gstv4l2src.c: (gst_v4l2src_fixate): * sys/v4l2/v4l2src_calls.c: (gst_v4l2src_probe_caps_for_format): * tests/examples/equalizer/demo.c: (message_handler): * tests/examples/spectrum/demo-audiotest.c: (message_handler): * tests/examples/spectrum/demo-osssrc.c: (message_handler): Don't use declarations after statements and variable length arrays.
* tests/examples/equalizer/demo.c: C89 fix, moving variable declarations to ↵Jens Granseuer2008-02-221-2/+1
| | | | | | | | | | the beginning of the block. Fixes bug #517933. Original commit message from CVS: Patch by: Jens Granseuer <jensgr at gmx dot net> * tests/examples/equalizer/demo.c: (main): C89 fix, moving variable declarations to the beginning of the block. Fixes bug #517933.
* gst/multifile/gstmultifilesrc.c: Need to use gsize here for the size, fixes ↵Tim-Philipp Müller2008-02-082-0/+9
| | | | | | | | | | | | | compiler warning. Original commit message from CVS: * gst/multifile/gstmultifilesrc.c: (gst_multi_file_src_create): Need to use gsize here for the size, fixes compiler warning. * tests/examples/equalizer/.cvsignore: * tests/examples/equalizer/Makefile.am: * tests/examples/spectrum/.cvsignore: * tests/examples/spectrum/Makefile.am: Add missing files to fix the build.
* gst/: Change the meaning of the magnitude values given in theSebastian Dröge2007-11-111-2/+2
| | | | | | | | | | | 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.
* gst/equalizer/demo.c: Make default volume a bit less. Improve layout by ↵Stefan Kost2007-11-081-5/+6
| | | | | | | | | giving more space to the slider with big-numb... Original commit message from CVS: * gst/equalizer/demo.c: Make default volume a bit less. Improve layout by giving more space to the slider with big-numbers and enable fill.
* gst/equalizer/: Allow setting 0 as bandwidth and handle this correctly.Sebastian Dröge2007-11-031-1/+1
| | | | | | | | | | | | | | Original commit message from CVS: * gst/equalizer/demo.c: (main): * gst/equalizer/gstiirequalizer.c: (gst_iir_equalizer_band_class_init), (setup_filter): Allow setting 0 as bandwidth and handle this correctly. Also handle a bandwidth of rate/2 properly. * gst/equalizer/gstiirequalizernbands.c: (gst_iir_equalizer_nbands_class_init): Make it possible to generate a N-band equalizer with 1 bands. The previous limit of 2 was caused by a nowadays replaced calculation doing a division by zero if number of bands was 1.
* gst/equalizer/: Add small demo application based on the spectrum demo ↵Sebastian Dröge2007-10-301-0/+246
applications that gets white noise as input, pu... Original commit message from CVS: * gst/equalizer/Makefile.am: * gst/equalizer/demo.c: (on_window_destroy), (on_configure_event), (on_gain_changed), (on_bandwidth_changed), (on_freq_changed), (draw_spectrum), (message_handler), (main): Add small demo application based on the spectrum demo applications that gets white noise as input, pushes it through an equalizer and paints the spectrum. For every equalizer band it's possible to set gain, bandwidth and frequency. * gst/equalizer/gstiirequalizer.c: (setup_filter): Add some guarding against too large or too small frequencies and bandwidths. Also improve debugging a bit.