Commit graph

124 commits

Author SHA1 Message Date
Mark Nauwelaerts
578861abea replace gst_element_class_set_details_simple with gst_element_class_set_metadata 2012-09-14 17:27:49 +02:00
Sebastian Dröge
abfa30a42b gst: Set alignment at the correct place of GstAllocationParams 2012-08-08 17:41:42 +02:00
Wim Taymans
87ee22fe0e update for RTP buffer api changes 2012-07-17 16:39:02 +02:00
Tim-Philipp Müller
ea65e5d501 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
cda192b3b7 gst: Update for GST_PLUGIN_DEFINE() API changes 2012-04-05 18:02:56 +02:00
Sebastian Dröge
1318a97e0a gst: Update versioning 2012-04-04 14:44:34 +02:00
Wim Taymans
6cbb840385 update for memory api changes 2012-03-15 13:37:36 +01:00
Wim Taymans
77299ba6ae fix for caps api changes 2012-03-11 19:06:59 +01:00
Matej Knopp
e4e0d3ce02 Fix compiler warnings 2012-02-20 16:20:55 +01:00
Wim Taymans
de1f89bf07 GST_FLOW_WRONG_STATE -> GST_FLOW_FLUSHING 2012-02-08 16:37:13 +01:00
Olivier Crête
83118f5d82 dtmf: Use new-style caps 2012-01-27 19:04:23 +01:00
Wim Taymans
21073e98cf port to new memory API 2012-01-25 14:51:25 +01:00
Olivier Crête
071c6e8f15 dtmf: port to 0.11 2012-01-25 11:55:13 +01:00
Thijs Vermeir
8529526c54 dtmf: fix compiler warning for uninitialized values 2011-11-09 11:56:07 +01:00
Olivier Crête
d937da4c0c dtmfsrc: Reject start/stop requests that come out of order 2011-11-08 17:45:48 -05:00
Olivier Crête
d15d524fec 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
1fdae52753 dtmf: Add more debug 2011-08-24 12:24:18 -04:00
Olivier Crête
4167697c0e dtmf: Max event type is 15 2011-08-24 12:24:18 -04:00
Olivier Crête
e8268053c2 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
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