Commit graph

116 commits

Author SHA1 Message Date
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
Tim-Philipp Müller
8c2d0ab637 Merge commit '7521b597f4dc49d8d168f368f0e7ebaf98a72156' into 0.11 2011-11-28 23:20:32 +00:00
Vincent Penquerc'h
cf9dee41c3 various: fix pad template ref leaks
https://bugzilla.gnome.org/show_bug.cgi?id=662664
2011-11-28 13:08:27 +00: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
Stefan Kost
2e2b74df48 dtmfdetect: fix classification 2010-03-25 23:01:05 +02:00
Stefan Kost
f8aa6ab3fe dtmfdetect: reformat message docs
Use a list like in other element docs as an untweaked docbook table look ugly.
2010-03-25 23:00:00 +02:00
Benjamin Otte
316781e0e9 Add -Wwrite-strings
and fix its warnings
2010-03-22 13:16:33 +01:00
Benjamin Otte
d79780dd62 Add -Wredundant-decls flag
and fix warnings from it
2010-03-22 12:05:59 +01:00
Benjamin Otte
cd564af873 Add -Wmissing-declarations -Wmissing-prototypes to configure flags
And fix all warnings
2010-03-21 21:39:18 +01:00
Benjamin Otte
ecd6632f18 gst_element_class_set_details => gst_element_class_set_details_simple 2010-03-18 22:46:41 +01:00
Tim-Philipp Müller
d40c856ae5 Clean up LDFLAGS, LIBS, CFLAGS
Fix order, fix variables that don't exist, like GST_LIBS_LIBS,
use $(LIBM) instead of -lm, and move _LIBS from LDFLAGS to LIBADD.

Spotted by Havard Graff.
2009-11-22 19:30:58 +00:00
Olivier Crête
5d439f56bb dtmf: Use _stdint.h from configure
https://bugzilla.gnome.org/show_bug.cgi?id=602465
2009-11-20 10:31:47 -05:00
Olivier Crête
1f04af784c dtmf: Update dtmfdetect to make it MSVC friendly
https://bugzilla.gnome.org/show_bug.cgi?id=602465
2009-11-19 20:33:07 -05:00
Olivier Crête
12837a2611 dtmfdetect: Add DTMF tone detector
It looks at raw audio data and emits messages when DTMF is detected.
The dtmf detector is the same Goertzel implementation used in FreeSwitch
and Asterisk. It is in the public domain.
2009-11-05 10:39:37 -05:00
Olivier Crête
f01e6c6f89 dtmfsrc: Reject empty caps 2009-11-04 22:44:26 -05:00
Olivier Crête
ec62833ee5 dtmfsrc: Use log level for repeated debug messages 2009-11-04 22:44:26 -05:00
Olivier Crête
af9f789b67 dtmfsrc: Allow for any samplerate 2009-11-04 20:05:17 -05:00
Josep Torra
d1b87e4dda dtmf: fix warnings in macosx snow leopard 2009-10-11 11:35:23 +02:00
Olivier Crête
757fd42ebb dtmfsrc: Empty event queue on finalize 2009-08-12 17:08:01 -04:00
Olivier Crête
e9f782544e dtmf: Use GSlice for internal event structures 2009-08-12 17:08:01 -04:00
Tim-Philipp Müller
195be0da01 rtpdtmfsrc: Cleanup events on finalize
Problem found by Laurent Glayal

Fixes bug #591440
2009-08-12 17:08:01 -04:00
Tim-Philipp Müller
2e27e89d28 rtpdtmfsrc: Cleanup events on finalize
Problem found by Laurent Glayal

Fixes bug #591440
2009-08-12 17:08:01 -04:00
Stefan Kost
17ce409de4 Makefile.am: no static libs for plugins 2009-03-22 21:02:45 +02:00