Commit graph

225 commits

Author SHA1 Message Date
Tim-Philipp Müller 71477a3eac examples: fix spectrum example build issues
Find fft headers in uninstalled setup, fix LIBS order.
2012-02-15 23:55:44 +00:00
Stefan Sauer dfc431dbb8 spectrum-demo: show the effect of fast-mode 2012-02-15 11:25:45 +01:00
Tim-Philipp Müller 0f3b7b010e build: ignore GValueArray deprecation warnings for the time being
until this gets sorted out with the GLib folks and we have a
viable alternative.

https://bugzilla.gnome.org/show_bug.cgi?id=667228
2012-02-01 16:40:51 +00:00
Stefan Sauer e83c53790f controller: adapt to control-source type changes 2012-01-31 12:22:19 +01:00
Stefan Sauer 80494c6318 controller: rename control-bindings
gst_control_binding_xxx -> gst_xxx_control_binding for consistency.
2012-01-30 21:40:28 +01:00
Stefan Sauer 20cdee6aa6 controller: move from control-binding to control-binding-direct 2012-01-23 11:04:03 +01:00
Stefan Sauer ba2ec3ff98 controller: adapt to control binding changes 2012-01-20 14:45:01 +01:00
Stefan Sauer 535d66102c controller: adapt to controller api changes
Don't use the convenience api for control sources.
2012-01-20 11:39:16 +01:00
Stefan Sauer f43c88a203 controller: port to API changes 2011-12-31 10:00:41 +01:00
Stefan Sauer bf4c6bd92b controller: port to new control source api 2011-12-25 20:34:52 +01:00
Wim Taymans 4b8975f867 update for removed property probe 2011-12-21 11:59:46 +01:00
Stefan Sauer a65e641f18 controller: port to new interpolation-mode api 2011-12-19 23:50:19 +01:00
Stefan Sauer eba47a0fc2 controller: port to new controller api 2011-12-19 22:56:34 +01:00
Tim-Philipp Müller 09ca5fa910 rtpmanager: rename gstrtp* -> rtp*
This was done in 0.10 to avoid conflict with the rtp elements in
farsight, but the gst-prefixing is no longer needed in 0.11
2011-11-24 00:54:08 +00:00
Stefan Sauer 655e109237 controller: no need to explicitely add controlled properties anymore 2011-11-14 10:08:09 +01:00
Stefan Sauer 3a1acca583 controller: port api changes 2011-11-10 23:15:30 +02:00
Stefan Sauer fb162c8eb4 controller: port to new controller location and api 2011-11-04 20:15:48 +01:00
Wim Taymans 632588b3d9 Merge branch 'master' into 0.11 2011-10-10 14:08:29 +02:00
Stefan Sauer 4b06e3095a tests: add missing PLUGIN_ASE_LIBS to LDADD 2011-10-10 13:20:04 +02:00
Wim Taymans 77ad0a1363 port more elements to new audio caps and API 2011-08-19 14:01:45 +02:00
Wim Taymans 7555d0949f Merge branch 'master' into 0.11
Conflicts:
	android/apetag.mk
	android/avi.mk
	android/flv.mk
	android/icydemux.mk
	android/id3demux.mk
	android/qtdemux.mk
	android/rtp.mk
	android/rtpmanager.mk
	android/rtsp.mk
	android/soup.mk
	android/udp.mk
	android/wavenc.mk
	android/wavparse.mk
	configure.ac
2011-04-18 10:23:45 +02:00
Tim-Philipp Müller b005dfea5b examples: fix some warnings in rtp example
Caused by -DG_DISABLE_ASSERT
2011-04-16 18:07:35 +01:00
Tim-Philipp Müller 9e050481c2 examples: don't put code with side-effects into g_assert()
Otherwise things won't work too well when compiling with
-DG_DISABLE_ASSERT (as we do for pre-releases and releases).
2011-04-16 17:57:32 +01:00
Tim-Philipp Müller 9b93ae0eae examples: fix 'control reaches end of non-void function' warning in cairo example 2011-04-16 13:23:50 +01:00
Robert Swain 4893678fd1 tests: Address unused but set variables
GCC 4.6.x spits warnings about such usage of variables.
2011-04-16 13:10:58 +01:00
Wim Taymans a4fdb8ee44 Merge branch 'master' into 0.11
Conflicts:
	tests/examples/cairo/Makefile.am
2011-03-08 10:14:20 +00:00
Sebastian Dröge 1a8aa16612 cairooverlay: Add a bus handler to the example to handle EOS/ERROR/WARNING
Also clean up the pipeline properly.
2011-03-07 10:54:22 +01:00
Sebastian Dröge 7f85827bf7 examples: Always dist the cairo example 2011-03-07 10:47:23 +01:00
Sebastian Dröge 8b9183c633 cairooverlay: Use LDADD instead of LDFLAGS for libs and add $(GST_LIBS) 2011-03-07 10:46:12 +01:00
Jon Nordby 92808b1010 cairooverlay: Remove unnecessary gtk/gtk-x11 use in example.
This removes code, and allows the example to be used on any platform.

Fixes bug #643981.
2011-03-07 10:44:48 +01:00
Wim Taymans 4ac7184454 examples: don't use hardcodec 0.10 2011-03-04 17:04:37 +01:00
Wim Taymans 338c300f5f Merge branch 'master' into 0.11 2011-03-04 16:30:36 +01:00
Sebastian Dröge 08232b470e cairooverlay: The example always requires gtk-x11
Check for gtk-x11 and only build the example if it's available.
2011-03-02 23:21:15 +01:00
Jon Nordby 32dff9df75 cairooverlay: Add generic Cairo overlay video element.
Allows applications to connect to the "draw" signal of
the element and do their custom drawing there.
Includes an example application demonstrating usage.

Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=595520
2011-03-02 22:55:52 +01:00
Stefan Kost 4e9daf0e49 example: fix the variable name for the ip-address
Fix the name in the launch pipeline and use a value of "localhost" by default.
2011-03-01 22:40:19 +02:00
Wim Taymans 8131d1157f build: don't hardcode version number 2011-02-28 11:58:48 +01:00
Stefan Kost f73cc87239 rtp-examples: move capsfilter behind converters
We need to have the capsfilter behin the converters to make the converters
convert from the formats v4l2src can do to what we request with the
capsfilter.
2011-02-22 14:54:28 +02:00
Stefan Kost 768dbfaf92 rtp-examples: fix ascii-art
Some boxes where misaligned due to long "audiotetssrc" name. Trim trailing
whitespace.
2011-02-22 14:54:28 +02:00
Tim-Philipp Müller 285235a10a examples: autoaudisink -> autoaudiosink in RTP examples 2011-01-24 13:39:58 +00:00
Tim-Philipp Müller 67f4489cd0 jack: new jackaudiosrc and jackaudiosink elements, moved from gst-plugins-bad
https://bugzilla.gnome.org/show_bug.cgi?id=621929
2011-01-02 15:26:30 +00:00
Tristan Matthews 13957deeed examples: add test to demonstrate jack_client_t usage 2011-01-02 14:30:08 +00:00
David Schleef 7b8981766b Change M_PI to G_PI 2010-12-30 14:20:52 -08:00
Wim Taymans 17c45a8869 examples: add example RTP stats
Add some more RTP examples for how to retrieve RTP stats in a receiver.
2010-12-23 13:58:30 +01:00
Wim Taymans fdfe76ac53 examples: improve RTP examples
Make the examples use autovideosink and ffmpegcolorspace for better
compàtibility.
Make some more variables for the sink and the decoders.
Set zerolatency tuning on x264enc for better realtime results.
2010-12-02 19:16:47 +01:00
Sebastian Dröge 96fb89f86c examples: Fix build with GTK+ 3.0 2010-10-12 11:37:40 +02:00
Wim Taymans 1e310bc1ee test: add python version of the audio sender
Add a python version of the audio sender pipeline.

Ported by Sp4rc on IRC.
2010-10-04 17:56:57 +02:00
Wim Taymans b50ce27b14 tests: Add python RTP client example
Add a python version of the PCMA client app.

Ported by Sp4rc on IRC.
2010-10-04 17:52:22 +02:00
Thijs Vermeir 9c429de37a examples: fix indentation on rtp client example 2010-09-30 11:38:38 +02:00
Thijs Vermeir 92a1adfde8 examples: fix typo in port of rtp examples 2010-09-30 11:38:38 +02:00
Wim Taymans 0236b2efc3 pulse: add test app for pulse device probe 2010-09-22 19:02:35 +02:00
Stefan Kost 78d0353745 shapewipe: add optional border parameter and slowdown animation
Allow to play with the border property (sharp/soft edges).
2010-09-21 23:35:38 +03:00
Sebastian Dröge e20663bf89 shapewipe: Force the input to AYUV to prevent negotiation failures in videomixer
The second videotestsrc chain might produce YUY2 because everything is
accepted downstream before the first shapewipe chain gets negotiated.
2010-09-21 19:15:22 +02:00
Stefan Kost bbb7943942 camctrl: add license header to demo 2010-09-15 18:44:31 +03:00
Stefan Kost 9338395bc5 example: add v4l2 example, demonstrating the use of gst controller 2010-09-10 17:00:58 +03:00
Stefan Kost 0a9a3e4b26 examples: no need to set the color for each frq-band 2010-08-02 23:17:46 +03:00
Sebastian Dröge a978c1a03d examples: Destroy the cairo context after usage 2010-07-24 10:29:01 +02:00
Sebastian Dröge bba463be38 examples: Use cairo instead of to-be-deprecated GDK API
Fixes bug #625002.
2010-07-24 10:26:31 +02:00
Guido Günther 496ed42bbd examples: Make demos -DSEAL safe to fix build with GTK+ 3.0 2010-06-27 07:28:22 +02:00
Tim-Philipp Müller cc04850bd8 tests: use LDADD for libs to link to instead of LDFLAGS
Use foo_LDADD instead of foo_LDFLAGS to specify the libraries to link to.
This should make sure arguments are passed to the linker in the right
order, and makes LDFLAGS usable again.

Based on patch by Brian Cameron <brian.cameron@oracle.com>

Fixes #615697.
2010-04-14 20:06:09 +01:00
Tim-Philipp Müller d756bab488 build: build plugins and examples in parallel where possible 2010-03-29 11:00:57 +01:00
Tim-Philipp Müller 073201b329 build: Makefile.am cleanups
Mostly add $(GST_BASE_CFLAGS) where it was missing, but also fix up
order of flags and libs if needed (see docs/random/moving-plugins).
2010-03-18 21:34:24 +00:00
Benjamin Otte 3342b1679e Add -Wmissing-declarations -Wmissing-prototypes warning flags
And fix all the warnings.
2010-03-17 18:23:28 +01:00
Tim-Philipp Müller 27569e53e8 Make git ignore shapewipe examples and tests 2010-02-19 12:13:08 +00:00
Sebastian Dröge bc611043a9 Moved 'shapewipe' from -bad to -good
Fixes bug #584536.
2010-02-12 11:24:38 +01:00
Sebastian Dröge a59bc8a240 [MOVED FROM BAD 26/29] shapewipe: Print some more details on error/warning messages 2010-02-12 11:12:35 +01:00
Sebastian Dröge 88f4bd4efd [MOVED FROM BAD 04/29] shapewipe: Divide the border value by two, otherwise we use a twice a wide border 2010-02-12 11:12:32 +01:00
Sebastian Dröge c0f9553707 [MOVED FROM BAD 03/29] shapewipe: Add border property to allow smooth borders
...and use a border of 0.01 in the example application.
2010-02-12 11:12:32 +01:00
Sebastian Dröge b7f83c6b80 [MOVED FROM BAD 02/29] shapewipe: Fix Makefile of the example application 2010-02-12 11:12:32 +01:00
Sebastian Dröge 12a27a46f9 [MOVED FROM BAD 01/29] shapewipe: Add a simple shapewipe transition filter & example application 2010-02-12 11:12:32 +01:00
Wim Taymans f85ebb389c tests: use right type when passing vararg value 2009-12-24 17:01:15 +01:00
Michael Smith e98c682732 rtp examples: remove executable bits from C files. 2009-10-23 17:25:17 -07:00
Stefan Kost e0cdd879b4 build: fprintf, sprintf, sscanf need stdio.h 2009-10-07 14:03:20 +03:00
Sebastian Dröge 1a291a126a rtp: Use autoaudio{sink,src} instead of alsa in the examples 2009-09-30 18:46:57 +02:00
Jan Schmidt 988123b186 gitignore: Ignore some new binaries 2009-07-19 11:42:12 +01:00
Filippo Argiolas 6105fa5b5e v4l2src: add a simple test case for device probing 2009-07-13 16:16:22 +02:00
Stefan Kost 00fdca0c14 Fix example apps by drawing in the main-loop. 2009-01-27 23:10:36 +02:00
Jan Schmidt 093e555473 More entries for the gitignores 2009-01-23 23:38:10 +00:00
Sebastian Dröge 75c1c9f378 Add audioiirfilter and audiofirfilter elements which allow generic IIR/FIR filters to be implemented by providing the...
Original commit message from CVS:
* configure.ac:
* gst/audiofx/Makefile.am:
* gst/audiofx/audiofirfilter.c: (gst_audio_fir_filter_base_init),
(gst_audio_fir_filter_class_init),
(gst_audio_fir_filter_update_kernel), (gst_audio_fir_filter_init),
(gst_audio_fir_filter_setup), (gst_audio_fir_filter_finalize),
(gst_audio_fir_filter_set_property),
(gst_audio_fir_filter_get_property):
* gst/audiofx/audiofirfilter.h:
* gst/audiofx/audiofx.c: (plugin_init):
* gst/audiofx/audioiirfilter.c: (gst_audio_iir_filter_base_init),
(gst_audio_iir_filter_class_init),
(gst_audio_iir_filter_update_coefficients),
(gst_audio_iir_filter_init), (gst_audio_iir_filter_setup),
(gst_audio_iir_filter_finalize),
(gst_audio_iir_filter_set_property),
(gst_audio_iir_filter_get_property):
* gst/audiofx/audioiirfilter.h:
Add audioiirfilter and audiofirfilter elements which allow
generic IIR/FIR filters to be implemented by providing the
filter coefficients. Fixes bug #567577.
* docs/plugins/Makefile.am:
* docs/plugins/gst-plugins-good-plugins-docs.sgml:
* docs/plugins/gst-plugins-good-plugins-sections.txt:
* docs/plugins/gst-plugins-good-plugins.args:
* docs/plugins/gst-plugins-good-plugins.hierarchy:
* docs/plugins/gst-plugins-good-plugins.signals:
* docs/plugins/inspect/plugin-alaw.xml:
* docs/plugins/inspect/plugin-audiofx.xml:
* docs/plugins/inspect/plugin-avi.xml:
* docs/plugins/inspect/plugin-flac.xml:
* docs/plugins/inspect/plugin-mulaw.xml:
* docs/plugins/inspect/plugin-video4linux2.xml:
* docs/plugins/inspect/plugin-wavparse.xml:
Add documentation for the audioiirfilter and audiofirfilter
elements.
* tests/check/Makefile.am:
* tests/check/elements/audiofirfilter.c: (on_message),
(on_rate_changed), (on_handoff), (GST_START_TEST),
(audiofirfilter_suite):
* tests/check/elements/audioiirfilter.c: (on_message),
(on_rate_changed), (on_handoff), (GST_START_TEST),
(audioiirfilter_suite):
* tests/examples/Makefile.am:
* tests/examples/audiofx/Makefile.am:
* tests/examples/audiofx/firfilter-example.c: (on_message),
(on_rate_changed), (main):
* tests/examples/audiofx/iirfilter-example.c: (on_message),
(on_rate_changed), (main):
Add unit tests and example applications for the two filter
elements.
2009-01-13 19:23:57 +00:00
Wim Taymans 89060e8696 tests/examples/rtp/server-alsasrc-PCMA.c: Add some example code for printing the RTP manager stats.
Original commit message from CVS:
* tests/examples/rtp/server-alsasrc-PCMA.c: (print_source_stats),
(print_stats), (main):
Add some example code for printing the RTP manager stats.
2009-01-13 17:49:07 +00:00
Wim Taymans 996fb72681 tests/examples/rtp/server-decodebin-H263p-AMR.sh: Add example RTP transcoding pipeline from any file decodedable with...
Original commit message from CVS:
* tests/examples/rtp/server-decodebin-H263p-AMR.sh:
Add example RTP transcoding pipeline from any file decodedable with
uridecodebin.
2009-01-02 16:31:13 +00:00
Wim Taymans 9f46e70477 tests/examples/rtp/: Add two C examples of using gstrtpbin as a sender and a receiver.
Original commit message from CVS:
* tests/examples/rtp/.cvsignore:
* tests/examples/rtp/Makefile.am:
* tests/examples/rtp/client-PCMA.c: (pad_added_cb), (main):
* tests/examples/rtp/server-alsasrc-PCMA.c: (main):
Add two C examples of using gstrtpbin as a sender and a receiver.
2009-01-02 15:20:48 +00:00
Stefan Kost 6f13524166 tests/examples/level/level-example.c: Set fakesink to sync. Otherwise people might question the message interval. Nev...
Original commit message from CVS:
* tests/examples/level/level-example.c:
Set fakesink to sync. Otherwise people might question the message
interval. Nevertheless the timestamp in the message is what matters.
2008-11-26 21:19:47 +00:00
Wim Taymans a3dd91a4ae tests/examples/rtp/: Add some more H263p server and client examples.
Original commit message from CVS:
* tests/examples/rtp/client-H263p.sdp:
* tests/examples/rtp/client-H263p.sh:
* tests/examples/rtp/server-VTS-H263p.sh:
Add some more H263p server and client examples.
2008-10-07 09:58:13 +00:00
Stefan Kost 0f6a6dc73a tests/examples/spectrum/: Demo how to draw analyzer results synced to the clock.
Original commit message from CVS:
* tests/examples/spectrum/demo-audiotest.c:
* tests/examples/spectrum/demo-osssrc.c:
Demo how to draw analyzer results synced to the clock.
2008-08-10 19:35:05 +00:00
Sebastian Dröge 92ed8f6a74 Don't use declarations after statements and variable length arrays.
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.
2008-07-08 12:51:34 +00:00
Wim Taymans 198224ef58 gst/rtsp/URLS: Some more urls.
Original commit message from CVS:
* gst/rtsp/URLS:
Some more urls.
* gst/smpte/barboxwipes.c:
Add a comment
* tests/examples/rtp/server-v4l2-H264-alsasrc-PCMA.sh:
Fix typo, add audioresample to the pipeline.
2008-06-17 10:14:47 +00:00
Jan Schmidt e9370329dd Fix some compiler warnings.
Original commit message from CVS:
* ext/wavpack/gstwavpackstreamreader.c:
* tests/examples/spectrum/demo-audiotest.c:
* tests/examples/spectrum/demo-osssrc.c:
Fix some compiler warnings.
2008-05-16 17:50:20 +00:00
Wim Taymans 81ec7c45ce tests/examples/rtp/server-v4l2-H264-alsasrc-PCMA.sh: Remove test sync-offset by default.
Original commit message from CVS:
* tests/examples/rtp/server-v4l2-H264-alsasrc-PCMA.sh:
Remove test sync-offset by default.
2008-04-25 18:45:33 +00:00
Wim Taymans bd8c40c014 gst/avi/gstavidemux.c: Fix typo in comments.
Original commit message from CVS:
* gst/avi/gstavidemux.c: (gst_avi_demux_combine_flows):
Fix typo in comments.
* tests/examples/rtp/client-H263p-PCMA.sdp:
* tests/examples/rtp/client-H263p-PCMA.sh:
* tests/examples/rtp/client-H264-PCMA.sdp:
* tests/examples/rtp/client-H264-PCMA.sh:
* tests/examples/rtp/client-H264.sdp:
* tests/examples/rtp/client-H264.sh:
* tests/examples/rtp/client-PCMA.sdp:
* tests/examples/rtp/client-PCMA.sh:
* tests/examples/rtp/server-alsasrc-PCMA.sh:
* tests/examples/rtp/server-v4l2-H263p-alsasrc-AMR.sh:
* tests/examples/rtp/server-v4l2-H264-alsasrc-PCMA.sh:
Add some more docs and fix examples.
2008-04-25 07:56:12 +00:00
Jens Granseuer 73a4369e0e tests/examples/equalizer/demo.c: C89 fix, moving variable declarations to 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.
2008-02-22 05:39:01 +00:00
Stefan Kost fa6c3c178c tests/examples/spectrum/spectrum-example.c: Add missing include to fix compilation when libxml usage is disabled.
Original commit message from CVS:
* tests/examples/spectrum/spectrum-example.c:
Add missing include to fix compilation when libxml usage is disabled.
Fixes: #516371
2008-02-14 14:50:30 +00:00
Jan Schmidt 1ba01acdc0 Add a simple example application for the spectrum element, include it in the docs, and fix some documentation ambigui...
Original commit message from CVS:
* docs/plugins/Makefile.am:
* gst/spectrum/gstspectrum.c:
* tests/examples/spectrum/.cvsignore:
* tests/examples/spectrum/Makefile.am:
* tests/examples/spectrum/spectrum-example.c:
Add a simple example application for the spectrum element, include it
in the docs, and fix some documentation ambiguities.
Fixes: #348085
2008-02-09 01:45:32 +00:00
Tim-Philipp Müller 0e176540b5 gst/multifile/gstmultifilesrc.c: Need to use gsize here for the size, fixes 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.
2008-02-08 10:09:33 +00:00
Jan Schmidt 1d5d8e1397 Move spectrum plugin from -bad.
Original commit message from CVS:
* configure.ac:
* docs/plugins/Makefile.am:
* docs/plugins/gst-plugins-good-plugins-docs.sgml:
* docs/plugins/gst-plugins-good-plugins-sections.txt:
* docs/plugins/gst-plugins-good-plugins.args:
* docs/plugins/gst-plugins-good-plugins.hierarchy:
* docs/plugins/inspect/plugin-spectrum.xml:
* gst/spectrum/Makefile.am:
* tests/check/Makefile.am:
* tests/check/elements/.cvsignore:
* tests/examples/Makefile.am:
Move spectrum plugin from -bad.
Move examples into tests/examples/spectrum.
2008-02-08 03:28:57 +00:00
Jan Schmidt 5aa6c44ee8 Move the equalizer plugin across from -bad
Original commit message from CVS:
* configure.ac:
* docs/plugins/Makefile.am:
* docs/plugins/gst-plugins-good-plugins-docs.sgml:
* docs/plugins/gst-plugins-good-plugins-sections.txt:
* docs/plugins/gst-plugins-good-plugins.args:
* docs/plugins/gst-plugins-good-plugins.hierarchy:
* docs/plugins/gst-plugins-good-plugins.interfaces:
* docs/plugins/inspect/plugin-equalizer.xml:
* gst/equalizer/Makefile.am:
* tests/check/Makefile.am:
* tests/examples/Makefile.am:
Move the equalizer plugin across from -bad
* tests/check/elements/.cvsignore:
Add equalizer, audiosincwband and audiosincwlimit
* tests/check/elements/equalizer.c:
Fix compiler warnings
2008-02-08 02:49:20 +00:00
Sebastian Dröge 546ec34716 gst/: Change the meaning of the magnitude values given in the
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-11 21:12:10 +00:00
Stefan Kost ce9011f06a gst/equalizer/demo.c: Make default volume a bit less. Improve layout by 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.
2007-11-08 15:56:46 +00:00
Sebastian Dröge f75f427ec1 gst/spectrum/demo-audiotest.c: Use autoaudiosink instead of alsasink and use 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-11-06 12:23:35 +00:00
Sebastian Dröge 6edf8c4326 gst/equalizer/: Allow setting 0 as bandwidth and handle this correctly.
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.
2007-11-03 19:50:11 +00:00
Sebastian Dröge ceb068d0e9 gst/equalizer/: Add small demo application based on the spectrum demo 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.
2007-10-30 21:37:49 +00:00
Stefan Kost 2a9a20dc17 gst/spectrum/: Handling window resize.
Original commit message from CVS:
* gst/spectrum/demo-audiotest.c:
* gst/spectrum/demo-osssrc.c:
Handling window resize.
2007-09-18 13:55:06 +00:00
Sebastian Dröge f5a3e61e69 Port GstSpectrum to GstAudioFilter and libgstfft, add support for int32, 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-09-06 07:21:22 +00:00
Wim Taymans ec68d41d69 tests/examples/: Added some RTP example scripts for sending and receiving RTP streams.
Original commit message from CVS:
* tests/examples/Makefile.am:
* tests/examples/rtp/Makefile.am:
* tests/examples/rtp/client-H263p-AMR.sh:
* tests/examples/rtp/client-H263p-PCMA.sdp:
* tests/examples/rtp/client-H263p-PCMA.sh:
* tests/examples/rtp/client-H264-PCMA.sdp:
* tests/examples/rtp/client-H264-PCMA.sh:
* tests/examples/rtp/client-PCMA.sh:
* tests/examples/rtp/server-VTS-H263p-ATS-PCMA.sh:
* tests/examples/rtp/server-alsasrc-PCMA.sh:
* tests/examples/rtp/server-v4l2-H263p-alsasrc-AMR.sh:
* tests/examples/rtp/server-v4l2-H264-alsasrc-PCMA.sh:
Added some RTP example scripts for sending and receiving RTP streams.
2007-09-04 18:30:22 +00:00
Stefan Kost 546bc7dbc1 ext/annodex/Makefile.am: Fix CFLAGS/LIBS.
Original commit message from CVS:
* ext/annodex/Makefile.am:
Fix CFLAGS/LIBS.
* ext/cdio/gstcdiocddasrc.c:
* ext/libpng/gstpngdec.c: (gst_pngdec_task):
Include stdlib
* ext/cairo/Makefile.am:
* gst/videofilter/Makefile.am:
* tests/examples/level/Makefile.am:
Use $(LIBM) instead of -lm
2007-07-20 07:41:58 +00:00
Stefan Kost 728a5af63e Add stdlib include (free, atoi, exit).
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-07-18 07:35:32 +00:00
Stefan Kost 943584e0ff gst/spectrum/: Remove two obsolete and confusing comments.
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.
2007-03-05 08:30:52 +00:00
Stefan Kost 584c231629 gst/spectrum/demo-osssrc.c: Use more defines
Original commit message from CVS:
* gst/spectrum/demo-osssrc.c: (draw_spectrum), (main):
Use more defines
* gst/spectrum/gstspectrum.c: (gst_spectrum_init),
(gst_spectrum_dispose), (gst_spectrum_set_caps),
(gst_spectrum_transform_ip):
* gst/spectrum/gstspectrum.h:
Apply some of the spectrum cleanup changes suggested in #348085.
2006-09-11 18:02:39 +00:00
Stefan Kost 8ad4273ac5 gst/spectrum/: Do not use deprecated gtk functions.
Original commit message from CVS:
* gst/spectrum/demo-audiotest.c: (main):
* gst/spectrum/demo-osssrc.c: (main):
Do not use deprecated gtk functions.
2006-07-15 11:50:25 +00:00
Stefan Kost 2787798482 gst/spectrum/: port to use message to get results, cleanly exit when closing 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-06-16 09:49:07 +00:00
Thomas Vander Stichele b8d15510b5 moap ignore
Original commit message from CVS:
moap ignore
2006-06-11 18:56:24 +00:00
Tim-Philipp Müller 5848e0f55e tests/examples/level/Makefile.am: Add -lm to LIBS for pow() function, don't assume one of our dependencies (such as l...
Original commit message from CVS:
* tests/examples/level/Makefile.am:
Add -lm to LIBS for pow() function, don't assume one of our
dependencies (such as libxml-2.0) drags it in automatically
(#343603).
2006-06-09 18:33:01 +00:00
Stefan Kost ffbb13404e gst/spectrum/: added another example
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
2006-05-26 22:35:00 +00:00
Stefan Kost 58139f4877 gst/spectrum/Makefile.am: Link to base libraries
Original commit message from CVS:
* gst/spectrum/Makefile.am:
Link to base libraries
* gst/spectrum/demo-osssrc.c: (main):
use new threshhold property
* gst/spectrum/gstspectrum.c: (gst_spectrum_class_init),
(gst_spectrum_init), (gst_spectrum_dispose),
(gst_spectrum_set_property), (gst_spectrum_set_sink_caps),
(gst_spectrum_get_sink_caps), (gst_spectrum_chain),
(gst_spectrum_change_state):
* gst/spectrum/gstspectrum.h:
Use gst_adapter, support multiple-channels, add threshold property for
result, add docs, fix resulting spectrum range (was including mirrored
results)
2006-05-21 16:23:23 +00:00
Stefan Kost 83b3960a08 Initial port of the spectrum element
Original commit message from CVS:
* configure.ac:
* gst/spectrum/demo-osssrc.c: (spectrum_chain), (main):
* gst/spectrum/fix_fft.c: (gst_spectrum_fix_dot):
* gst/spectrum/gstspectrum.c: (gst_spectrum_get_type),
(gst_spectrum_base_init), (gst_spectrum_class_init),
(gst_spectrum_init), (gst_spectrum_dispose),
(gst_spectrum_set_property), (gst_spectrum_chain):
* gst/spectrum/gstspectrum.h:
Initial port of the spectrum element
2006-05-20 22:42:15 +00:00
Stefan Kost 34b11634ab tests/examples/Makefile.am: added missing Makefile.am
Original commit message from CVS:
* tests/examples/Makefile.am:
added missing Makefile.am
2005-12-30 15:34:18 +00:00
Stefan Kost cda24bb930 moved level-example to tests/examples/level-example
Original commit message from CVS:
* configure.ac:
* gst/level/Makefile.am:
* gst/level/level-example.c:
* tests/Makefile.am:
* tests/examples/level/Makefile.am:
* tests/examples/level/level-example.c: (message_handler), (main):
moved level-example to tests/examples/level-example
* tests/old/examples/level/demo.c: (main):
* tests/old/examples/level/plot.c: (main):
some initial fixes
2005-12-30 15:28:44 +00:00
David Schleef 38253a1bc8 configure.ac: Put DEFAULT_AUDIOSINK in config.h and use whereever possible. (Fixes #165997)
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):
2005-02-02 08:14:01 +00:00
Benjamin Otte 7e5f9b2500 gst/spectrum/: Fix demo and reenable it. Yes, I'm currently playing with audio analysis tools
Original commit message from CVS:
* gst/spectrum/Makefile.am:
* gst/spectrum/demo-osssrc.c: (spectrum_chain), (main),
(idle_func):
Fix demo and reenable it. Yes, I'm currently playing with audio
analysis tools
2004-10-22 20:09:55 +00:00
Thomas Vander Stichele 6cc1c73d2b don't mix tabs and spaces
Original commit message from CVS:
don't mix tabs and spaces
2004-03-15 19:32:27 +00:00
Thomas Vander Stichele 5d25c00e4b gst-indent
Original commit message from CVS:
gst-indent
2004-03-14 22:34:33 +00:00
David Schleef df41e0a0d7 change _connect to _link
Original commit message from CVS:
change _connect to _link
2003-12-02 02:28:13 +00:00
Andy Wingo f2d5cae8da /GstBuffer/GstData/ in the API where you can pass events. Fix the plugins to deal with that. Fixes #113488.
Original commit message from CVS:
/GstBuffer/GstData/ in the API where you can pass events. Fix the plugins to deal with that. Fixes #113488.
2003-10-08 16:08:18 +00:00
Andy Wingo 3a9c675a68 GstPadTemplate <-> gst_pad_template <-> GST_PAD_TEMPLATE same with *factory and typefind.
Original commit message from CVS:
GstPadTemplate <-> gst_pad_template <-> GST_PAD_TEMPLATE

same with *factory and typefind.

also, some -Werror fixes.
2002-04-11 20:42:25 +00:00
Andy Wingo d6258153e0 removal of //-style comments don't link plugins to core libs -- the versioning is done internally to the plugins with...
Original commit message from CVS:
* removal of //-style comments
* don't link plugins to core libs -- the versioning is done internally to the plugins with the plugin_info struct,
and symbol resolution is lazy, so we can always know if a plugin can be loaded by the plugin_info data. in theory.
2002-03-19 04:10:05 +00:00
Andy Wingo 9e0450cce0 spectrum.c -> demo-osssrc.c
Original commit message from CVS:
spectrum.c -> demo-osssrc.c
2002-01-04 21:36:18 +00:00