Commit graph

135 commits

Author SHA1 Message Date
Sebastian Dröge b0b0557c48 gst: Add better support for static plugins 2013-04-15 15:54:11 +02:00
Tim-Philipp Müller 694dbcc5a0 dtmf: move dtmf plugin from -bad to -good
https://bugzilla.gnome.org/show_bug.cgi?id=687416
2013-03-09 01:18:30 +00:00
Tim-Philipp Müller 47fccbe635 rtpdtmfsrc: fix compiler warning
gstrtpdtmfsrc.c: In function 'gst_dtmf_src_prepare_message.isra.1':
gstrtpdtmfsrc.c:669:3: error: 's' may be used uninitialized in this function
2013-01-26 22:58:29 +00:00
Olivier Crête db5c3f4048 rtpdtmfdepay: Fix missing work in doc 2013-01-25 21:06:05 -05:00
Olivier Crête 92f9a9d9ff rtpdtmfsrc: Post the messages after the clock wait
This way, the messages will be closer in time to when the packets are sent out
2013-01-25 20:45:43 -05:00
Olivier Crête 0d316b4f43 rtpdtmfsrc: Only set the duration when starting to send
The duration depends on the clock rate, which could change due to renegotiation
2013-01-25 20:45:43 -05:00
Olivier Crête 90497aa3cd rtpdtmfsrc: remove "ssrc" from caps
ssrc is uint and we don't have a uint range type
2013-01-25 20:45:43 -05:00
Olivier Crête c6dea5d09c dtmf/spandsp: Move dtmfdetect to use libspandsp
Remove our copy of the tone_detect.c file and use the original
from libspandsp. Also move the element to the spandsp plugin.
2013-01-09 20:05:16 -05:00
Tim-Philipp Müller beb3c9c9be Fix FSF address
https://bugzilla.gnome.org/show_bug.cgi?id=687520
2012-11-04 00:09:59 +00:00
Tim-Philipp Müller 488549bb54 Use gst_element_class_set_static_metadata()
where possible. Avoids some string copies. Also re-indent
some stuff. Also some indent fixes here and there.
2012-10-17 17:46:34 +01:00
Olivier Crête 0363c1cebf rtpdtmfdepay: Use 1.0-style caps negotiation and audio/x-raw 2012-09-22 15:00:27 -04:00
Mark Nauwelaerts 0380de3f95 replace gst_element_class_set_details_simple with gst_element_class_set_metadata 2012-09-14 17:27:49 +02:00
Sebastian Dröge 6586e42384 gst: Set alignment at the correct place of GstAllocationParams 2012-08-08 17:41:42 +02:00
Wim Taymans 3371297afc update for RTP buffer api changes 2012-07-17 16:39:02 +02:00
Tim-Philipp Müller 945ed74ebe dtmfsrc: pass unhandled non-custom events to the base class
https://bugzilla.gnome.org/show_bug.cgi?id=666626
2012-07-08 00:08:55 +01:00
Sebastian Dröge 9c8944ca89 gst: Update for GST_PLUGIN_DEFINE() API changes 2012-04-05 18:02:56 +02:00
Sebastian Dröge a2ac7554ee gst: Update versioning 2012-04-04 14:44:34 +02:00
Wim Taymans 04a91237f3 update for memory api changes 2012-03-15 13:37:36 +01:00
Wim Taymans 124a33dc95 fix for caps api changes 2012-03-11 19:06:59 +01:00
Matej Knopp b65fe71cba Fix compiler warnings 2012-02-20 16:20:55 +01:00
Wim Taymans aad9a2fc57 GST_FLOW_WRONG_STATE -> GST_FLOW_FLUSHING 2012-02-08 16:37:13 +01:00
Olivier Crête 00b500ceb1 dtmf: Use new-style caps 2012-01-27 19:04:23 +01:00
Wim Taymans aa0a531c23 port to new memory API 2012-01-25 14:51:25 +01:00
Olivier Crête bc44628831 dtmf: port to 0.11 2012-01-25 11:55:13 +01:00
Thijs Vermeir dcadfe6621 dtmf: fix compiler warning for uninitialized values 2011-11-09 11:56:07 +01:00
Olivier Crête 76b1ac09a3 dtmfsrc: Reject start/stop requests that come out of order 2011-11-08 17:45:48 -05:00
Olivier Crête 479ab0db68 dtmf: Post messages when starting to send/receive DTMF
This way, the UI can display the DTMF events as they as being sent.
2011-11-08 17:45:48 -05:00
Olivier Crête 9e521e2b6d dtmf: Add more debug 2011-08-24 12:24:18 -04:00
Olivier Crête 9a5a8e49da dtmf: Max event type is 15 2011-08-24 12:24:18 -04:00
Olivier Crête 126efa5e06 dtmfsrc: Align DTMF sound buffers with last-stop from event
Also make sure the timestamps never go backwards
2011-08-24 12:24:18 -04:00
Olivier Crête 0656a861e3 rtpdtmfsrc: Correctly recognize the end of a buffer 2011-08-24 12:24:18 -04:00
Olivier Crête a3de27c68b rtpdtmfsrc: Make sure rtpdtmfsrc timestamps don't overlap 2011-08-24 12:24:17 -04:00
Olivier Crête 3a5d14993a rtpdtmfsrc: Put the inter digit interval at the end, not at the start
The reason is to let rtpdtmfmux drop buffers during the inter digit interval,
this way, there will be more silence around the DTMF tones so IVFs will have
a better chance recognizing them.
2011-08-24 12:24:17 -04:00
Olivier Crête 340a65b484 rtpdtmfsrc: Start at the last_stop from the start event if there was one
The goal is to try to not have a GAP between the audio and the DTMF
2011-08-24 12:24:17 -04:00
Olivier Crête e7038fd520 rtpdtmfsrc: Respect ptime from the caps
Respect the ptime from the caps for the DTMF packets
2011-08-24 12:24:17 -04:00
Olivier Crête 94f75d08af rtpdtmfsrc: Just error out if there is no clock 2011-08-24 12:24:17 -04:00
Olivier Crête d68165cff8 dtmf: Move duplicate #defines into a common include
Centralize duplicated constants so they have the same value.
Also standardise minimum tone duration to 250ms and minimum inter-tone
interval to 100ms.
2011-04-13 21:59:42 -04:00
Olivier Crête 27cafd8d8e dtmf: Remove leftover MAEMO_BROKEN defines
Remove defines to work around bugs in old Maemo releases
2011-04-12 16:42:48 -04:00
Thibault Saunier 3c86c6432a android: make it ready for androgenizer
Remove the android/ top dir
Fixe the Makefile.am to be androgenized

To build gstreamer for android we are now using androgenizer which generates the needed Android.mk files.
Androgenizer can be found here: http://git.collabora.co.uk/?p=user/derek/androgenizer.git
2011-04-11 07:27:11 +02:00
David Schleef fc96e423db dtmf: Fix build failure caused by previous commit 2010-12-31 00:37:30 -08:00
David Schleef ae9bb7a179 dtmf: build fixes for MSVC
Use gint16 and G_PI.
2010-12-30 18:39:21 -08:00
David Schleef dc54fd9add dtmf: reindent 2010-12-30 18:39:12 -08:00
Edward Hervey 884f716dee dtmf: Remove dead assignments 2010-11-25 19:06:27 +01:00
Stefan Kost 7bc9009b37 various (gst): add missing G_PARAM_STATIC_STRINGS flags
Canonicalize property names as needed.
2010-10-19 15:47:17 +03:00
Stefan Kost 594d29b70d dtmfsrc: remove DEBUG_FUNCPTR from gobject vmethods 2010-10-19 13:46:57 +03:00
Youness Alaoui bed1bb3b61 dtmfsrc: Make the dtmfsrc accept events sent with gst_element_send_event
The doc says to use gst_element_send_event on the pipeline, but if
we are to call it on the element itself, it's a noop. This should make it
handle the event properly before delegating it to basesrc.
2010-09-06 13:45:44 +03:00
Olivier Crête 2d681fff96 dtmfdetect: Only works with rate=8000, fix in caps 2010-06-07 11:15:26 -04:00
Olivier Crête 032090d9c2 dtmf: Remove rtpdtmfmux stream-lock code 2010-06-02 20:47:08 -04:00
Stefan Kost 763fd13ba9 dtmfdetect: if we tell that we handle gap flags, then do so 2010-03-25 23:01:42 +02:00
Stefan Kost 09b83bc3a3 dtmfdetect: use glib types 2010-03-25 23:01:05 +02:00