mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-29 11:40:38 +00:00
38253a1bc8
Original commit message from CVS: * configure.ac: Put DEFAULT_AUDIOSINK in config.h and use whereever possible. (Fixes #165997) * examples/capsfilter/capsfilter1.c: (main): * examples/dynparams/filter.c: (create_ui): * examples/seeking/cdparanoia.c: (get_track_info), (main): * examples/seeking/chained.c: (main): * examples/seeking/seek.c: (make_mod_pipeline), (make_dv_pipeline), (make_wav_pipeline), (make_flac_pipeline), (make_sid_pipeline), (make_vorbis_pipeline), (make_mp3_pipeline), (make_avi_pipeline), (make_mpeg_pipeline), (make_mpegnt_pipeline): * examples/seeking/spider_seek.c: (make_spider_pipeline): * examples/switch/switcher.c: (main): * ext/dv/demo-play.c: (main): * ext/faad/gstfaad.c: (gst_faad_change_state): * ext/mad/gstmad.c: (gst_mad_chain): * ext/smoothwave/demo-osssrc.c: (main): * gst-libs/gst/gconf/gconf.c: (gst_gconf_set_string), (gst_gconf_render_bin_from_description), (gst_gconf_get_default_audio_sink), (gst_gconf_get_default_video_sink), (gst_gconf_get_default_audio_src), (gst_gconf_get_default_video_src), (gst_gconf_get_default_visualization_element): * gst/level/demo.c: (main): * gst/level/plot.c: (main): * gst/playback/gstplaybin.c: (gen_video_element), (gen_audio_element): * gst/playback/test.c: (gen_video_element), (gen_audio_element): * gst/playondemand/demo-mp3.c: (setup_pipeline): * gst/sine/demo-dparams.c: (main): * gst/spectrum/demo-osssrc.c: (main): * gst/speed/demo-mp3.c: (main): * gst/volume/demo.c: (main): * testsuite/embed/embed.c: (main): |
||
---|---|---|
.. | ||
.gitignore | ||
demo.c | ||
filter.func | ||
gstlevel-marshal.list | ||
gstlevel.c | ||
gstlevel.h | ||
Makefile.am | ||
plot.c | ||
README |
level plugin by thomas <thomas@apestaart.org> this plugin signals: - running time since last EOS/start - channel - RMS level - peak level - decaying peak level over the given interval. This is useful for a VU meter display and for plotting out the signal graph. The VU meter can either display RMS, or display immediate peak level and have the falloff decaying peak level displayed as a line. The interval for signal emission, ttl of decay peak, and falloff of decay peak can all be set. The element only takes unsigned data in; it could be extended to signed as well, if separate fast chain functions are made that displaces the incoming data to its midpoint (ie, 0,65535 should be mapped to -32768, 32767) There are two demo apps, apps and plot. apps will create some GTK sliders to display the volume. plot will output data readable by gnuplot. Here is a sample plot script to plot output of the plot command that was stored to plot.dat set xlabel "Seconds" set ylabel "dB" set yrange [-60:0] plot 'plot.dat' using 1:2 title 'L RMS' with lines, \ 'plot.dat' using 1:3 title 'L peak' with lines, \ 'plot.dat' using 1:4 title 'L decay' with lines plot 'plot.dat' using 1:5 title 'R RMS' with lines, \ 'plot.dat' using 1:6 title 'R peak' with lines, \ 'plot.dat' using 1:7 title 'R decay' with lines