Commit graph

3093 commits

Author SHA1 Message Date
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
Tim-Philipp Müller
89bbcdea39 Merge SBC decoder and encoder from bluez
https://bugzilla.gnome.org/show_bug.cgi?id=690582
2013-03-27 22:40:55 +00:00
Tim-Philipp Müller
50643d6192 sbc: remove parser in favour of new GstBaseParse-based sbcparse in -good 2013-03-27 22:21:30 +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
7e65f96acb sbc: enc: sbc_get_frame_duration is in milliseconds 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
Arun Raghavan
dace80cc41 sbc: audio: Initialise SBC data before use in sbcparse element 2013-03-27 22:21:17 +00:00
Anderson Lizardo
6979975963 sbc: Fix trivial coding style issues on pointer declarations and casting
Avoid using C++ style pointer declarations like "char* ptr", as most
BlueZ code uses "char *ptr".
2013-03-27 22:21:17 +00:00
Syam Sidhardhan
142a5fb637 sbc: audio: Fix newline before EOF 2013-03-27 22:21:17 +00:00
Lucas De Marchi
b31ee7bffc sbc: Fix common misspelled words
Accounting of misspelled words, as detected by codespell:

acording      2
ancilliary    1
appropiate    1
atribute      1
cant          1
comming       2
gracefull     1
lenght        1
mispelled     1
occured       1
occurences    1
ocurred       3
prefered      1
presense      1
reponse       1
seperate      1
succesful     1
successully   1
sucessfull    1
sucessfully   1
2013-03-27 22:21:17 +00:00
Marcel Holtmann
5514d457a1 sbc: audio: Remove workaround for compiler warnings 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
d4fd8f3ecd sbc: Remove unused variable. 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
Marcel Holtmann
db16c0332c sbc: Fix signed/unsigned comparison issue within GStreamer plugin 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
Marcel Holtmann
57f6f2655d sbc: Assign variables after declarations 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
266cfb11b4 sbc: Fix runtime warnings of gstreamer plugin. 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
Luiz Augusto von Dentz
ccf5d9ea7e sbc: Make use of parameters selected in alsa plugin and fix auto selection. 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
937066575a sbc: Add bitpool property and others fixes for gstreamer plugin. 2013-03-27 22:21:15 +00:00
Luiz Augusto von Dentz
10325f3604 sbc: Enable gstreamer plugin to use autoconnect flag. 2013-03-27 22:21:15 +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
ad24bafb62 sbc: Fix gtreamer payloader sending fragmented frames. 2013-03-27 22:21:15 +00:00
Luiz Augusto von Dentz
84dcb6bb34 sbc: Add mp3 support for gstreamer plugin. 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
6a34433dd8 sbc: Code cleanup. 2013-03-27 22:21:15 +00:00
Luiz Augusto von Dentz
742f952688 sbc: Integrate new ipc API implementation. 2013-03-27 22:21:15 +00:00
Luiz Augusto von Dentz
2a21d83ce0 sbc: Add sbc_reinit. 2013-03-27 22:21:15 +00:00
Luiz Augusto von Dentz
946d564292 sbc: Fix bug in sbcenc when changing encoder parameters. 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
Luiz Augusto von Dentz
6f87580cfa sbc: Fix sbc negotiation and improves buffer handling by using GstAdapter. 2013-03-27 22:21:15 +00:00
Luiz Augusto von Dentz
5672836c61 sbc: Fix buffers timestamps in sbcenc. 2013-03-27 22:21:15 +00:00
Luiz Augusto von Dentz
a2152f6c12 sbc: Add bitpool capability. 2013-03-27 22:21:15 +00:00
Marcel Holtmann
f2441fe654 sbc: Some more coding style changes 2013-03-27 22:21:15 +00:00
Marcel Holtmann
d1062c97d1 sbc: Don't forget to include the config options 2013-03-27 22:21:15 +00:00
Marcel Holtmann
cd3e730aeb sbc: Fix coding style issues 2013-03-27 22:21:14 +00:00
Luiz Augusto von Dentz
8f8ccc0f12 sbc: Fix coding style issues. 2013-03-27 22:21:14 +00:00
Luiz Augusto von Dentz
01b0530663 sbc: Fixes sbcparser element. 2013-03-27 22:21:14 +00:00