Commit graph

30 commits

Author SHA1 Message Date
Vineeth TM
8cdfb13658 bad: use new gst_element_class_add_static_pad_template()
https://bugzilla.gnome.org/show_bug.cgi?id=763081
2016-03-24 14:56:51 +02:00
Tim Sheridan
95a14fd470 sbc: sbcdec: Fix frame length calculation
SBC frame length calculation wasn't being rounded up to the nearest byte
(as specified in the A2DP 1.0 specification, section 12.9). This could
cause 'stereo' and 'joint stereo' mode SBC streams to have incorrectly
calculated frame lengths.

https://bugzilla.gnome.org/show_bug.cgi?id=742446
2016-01-12 21:45:05 +00:00
Thiago Santos
56b822f9f6 audiodecoders: use default pad accept-caps handling
Avoids useless check of downstream caps when handling an
accept-caps query

Elements: dtsdec, faad, gsmdec, mpg123audiodec, opusdec,
          sbcdec, adpcmdec, sirendec
2015-08-15 13:51:16 -03:00
Sebastian Dröge
c635cb233f sbcdec: Require caps to be set before any data processing 2013-12-05 12:05:30 +01:00
Tim-Philipp Müller
ca9daee444 sbc: port decoder to GstAudioDecoder
https://bugzilla.gnome.org/show_bug.cgi?id=690582
2013-03-27 22:40:56 +00:00
Tim-Philipp Müller
fecddde2c2 sbc: import sbc decoder/encoder from bluez and port to 1.0
https://bugzilla.gnome.org/show_bug.cgi?id=690582
2013-03-27 22:40:56 +00:00
Wim Taymans
91f4b15490 sbc: sbcdec: make decoder more performant
Use an adapter to accumulate input buffers.
Decode all input in one output buffer when possible to reduce the amount of push
operations.
2013-03-27 22:21:17 +00:00
Wim Taymans
dcb57780ef sbc: sbcdec: skip the frame on decoding error 2013-03-27 22:21:17 +00:00
Wim Taymans
a559bb7060 sbc: sbcdec: set DISCONT on outgoing buffers. 2013-03-27 22:21:17 +00:00
Wim Taymans
beaeeafb4d sbc: sbcdec: handle DISCONT and timestamps
Reset state on discont.
Interpollate timestamps.
2013-03-27 22:21:17 +00:00
Arun Raghavan
32154c5ae6 sbc: audio: Make the sbcdec element copy buffer metadata
Makes sure we don't lose timestamps, etc.
2013-03-27 22:21:17 +00:00
Wim Taymans
9581e704b6 sbc: dec: chain up to parent before downward state change 2013-03-27 22:21:17 +00:00
Arun Raghavan
c6f6cc736f sbc: audio: Fix a leak in sbcdec 2013-03-27 22:21:17 +00:00
Marcel Holtmann
df140f7852 sbc: Add pragma based workaround for GStreamer warnings 2013-03-27 22:21:17 +00:00
Marcel Holtmann
1ddbdc3e7a sbc: Update copyright information 2013-03-27 22:21:16 +00:00
Luiz Augusto von Dentz
c985a85cf2 sbc: Remove unused variable. 2013-03-27 22:21:16 +00:00
Siarhei Siamashka
3f994a84bb sbc: Use native byte order for audio in GStreamer and ALSA plugins
This fixes endianness inconsistency between default SBC
configuration and GStreamer/ALSA.
2013-03-27 22:21:16 +00:00
Marcel Holtmann
a3bf74686a sbc: Update copyright information 2013-03-27 22:21:16 +00:00
Marcel Holtmann
54f6cd0218 sbc: First attempt in fixing compiler warnings (still needs cleanup) 2013-03-27 22:21:16 +00:00
Johan Hedberg
7ae0c70682 sbc: More coding style fixes 2013-03-27 22:21:16 +00:00
Luiz Augusto von Dentz
834a9b193b sbc: Update gstreamer plugin to use new sbc API. 2013-03-27 22:21:16 +00:00
Marcel Holtmann
5be53d24ab sbc: Update copyright information 2013-03-27 22:21:16 +00:00
Luiz Augusto von Dentz
2a5e58f44f sbc: Fixes gstreamer caps and code cleanup. 2013-03-27 22:21:15 +00:00
Luiz Augusto von Dentz
76c77b1c60 sbc: Make a2dpsink to act like a bin and split the payloader. 2013-03-27 22:21:15 +00:00
Luiz Augusto von Dentz
97fcf537cd sbc: Make sbc codec to write directly in application buffers and so avoiding memcpys. 2013-03-27 22:21:15 +00:00
Marcel Holtmann
e590dc56dc sbc: Force LITTLE_ENDIAN instead of BYTE_ORDER for now 2013-03-27 22:21:14 +00:00
Marcel Holtmann
1f88ce2dca sbc: Fix class variable naming 2013-03-27 22:21:14 +00:00
Marcel Holtmann
7a231ada07 sbc: Limit the supported output rates 2013-03-27 22:21:14 +00:00
Marcel Holtmann
36f952b627 sbc: Implement full decoding support 2013-03-27 22:21:14 +00:00
Marcel Holtmann
974757b2f7 sbc: Add SBC encoder and decoder skeletons for GStreamer 2013-03-27 22:21:14 +00:00