Commit graph

105 commits

Author SHA1 Message Date
Olivier Crête
2c7257481a rtpdtmfsrc: Correctly recognize the end of a buffer 2011-08-24 12:24:18 -04:00
Olivier Crête
7c55ff3023 rtpdtmfsrc: Make sure rtpdtmfsrc timestamps don't overlap 2011-08-24 12:24:17 -04:00
Olivier Crête
e6c431a533 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
7837cc25fb 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
38aaf7cbab 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
4f97524376 rtpdtmfsrc: Just error out if there is no clock 2011-08-24 12:24:17 -04:00
Olivier Crête
747f32a857 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
3a0c6c6d60 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
17fd7ebcb4 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
68493aadab dtmf: Fix build failure caused by previous commit 2010-12-31 00:37:30 -08:00
David Schleef
57095d302d dtmf: build fixes for MSVC
Use gint16 and G_PI.
2010-12-30 18:39:21 -08:00
David Schleef
5fed7a264c dtmf: reindent 2010-12-30 18:39:12 -08:00
Edward Hervey
0d7ba7dc1a dtmf: Remove dead assignments 2010-11-25 19:06:27 +01:00
Stefan Kost
0c22e1b954 various (gst): add missing G_PARAM_STATIC_STRINGS flags
Canonicalize property names as needed.
2010-10-19 15:47:17 +03:00
Stefan Kost
1b23f7719a dtmfsrc: remove DEBUG_FUNCPTR from gobject vmethods 2010-10-19 13:46:57 +03:00
Youness Alaoui
9823b9358e 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
dd13e85ca1 dtmfdetect: Only works with rate=8000, fix in caps 2010-06-07 11:15:26 -04:00
Olivier Crête
0528e09974 dtmf: Remove rtpdtmfmux stream-lock code 2010-06-02 20:47:08 -04:00
Stefan Kost
16f532b71a dtmfdetect: if we tell that we handle gap flags, then do so 2010-03-25 23:01:42 +02:00
Stefan Kost
88b223d36b dtmfdetect: use glib types 2010-03-25 23:01:05 +02:00
Stefan Kost
de4a6adf80 dtmfdetect: fix classification 2010-03-25 23:01:05 +02:00
Stefan Kost
4f526f8aef 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
33c2f5fb01 Add -Wwrite-strings
and fix its warnings
2010-03-22 13:16:33 +01:00
Benjamin Otte
b7655bbd2e Add -Wredundant-decls flag
and fix warnings from it
2010-03-22 12:05:59 +01:00
Benjamin Otte
f96e4f1581 Add -Wmissing-declarations -Wmissing-prototypes to configure flags
And fix all warnings
2010-03-21 21:39:18 +01:00
Benjamin Otte
775c7584fd gst_element_class_set_details => gst_element_class_set_details_simple 2010-03-18 22:46:41 +01:00
Tim-Philipp Müller
c49cdd59ff 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
3865aadb65 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
33108dec82 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
d1db40df6e 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
64eb516283 dtmfsrc: Reject empty caps 2009-11-04 22:44:26 -05:00
Olivier Crête
7089b452dd dtmfsrc: Use log level for repeated debug messages 2009-11-04 22:44:26 -05:00
Olivier Crête
da0d9810af dtmfsrc: Allow for any samplerate 2009-11-04 20:05:17 -05:00
Josep Torra
093006d432 dtmf: fix warnings in macosx snow leopard 2009-10-11 11:35:23 +02:00
Olivier Crête
402aad7e87 dtmfsrc: Empty event queue on finalize 2009-08-12 17:08:01 -04:00
Olivier Crête
329b7b9849 dtmf: Use GSlice for internal event structures 2009-08-12 17:08:01 -04:00
Tim-Philipp Müller
a2ea288a02 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
0d697e8b58 rtpdtmfsrc: Cleanup events on finalize
Problem found by Laurent Glayal

Fixes bug #591440
2009-08-12 17:08:01 -04:00
Stefan Kost
a7a97b9139 Makefile.am: no static libs for plugins 2009-03-22 21:02:45 +02:00
Stefan Kost
53f975f63c docs: various doc fixes
No short-desc as we have them in the element details.
Also keep things (Makefile.am and sections.txt) sorted.
Reword ambigous returns. No text after since please.
2009-02-25 12:42:36 +02:00
Olivier Crête
a6d1d53de0 Document rtpdtmfdepay a bit 2009-02-21 17:48:08 +01:00
Olivier Crête
0df90ed395 Moved dtmf elements from gst-plugins-farsight to -bad 2009-02-21 17:48:08 +01:00
Olivier Crête
bda90f1977 Fix up documentation blobs SGML 2009-02-21 17:48:08 +01:00
Olivier Crête
8d6d58e94e Re-indent to Gst style 2009-02-21 17:48:07 +01:00
Laurent Glayal
edca624b55 [MOVED FROM GST-P-FARSIGHT] Missing format directive 2009-02-21 17:48:07 +01:00
Olivier Crête
81aa0ce103 [MOVED FROM GST-P-FARSIGHT] Allow setting a maximum duration to a RTP DTMF event 2009-02-21 17:48:07 +01:00
Olivier Crête
6b42ee6ae1 [MOVED FROM GST-P-FARSIGHT] Improve the minimum quanta to make it impossible for the duration to fall down to 0 2009-02-21 17:48:07 +01:00
Olivier Crête
1468b2e2b0 [MOVED FROM GST-P-FARSIGHT] Allow setting a minimum size of a sound quanta in the dtmf depayloader 2009-02-21 17:48:07 +01:00
Olivier Crête
3f7d5d70a8 [MOVED FROM GST-P-FARSIGHT] Remove .git-darcs-dir files 2009-02-21 17:48:07 +01:00
Håvard Graff
89cbf4fc96 [MOVED FROM GST-P-FARSIGHT] Do wierd casting of the volume to make MSVC happy 2009-02-21 17:48:07 +01:00