Arun Raghavan
f644b924d4
bluez: Add an avdtpsrc element
...
Source element that connects to a given transport and reads audio over
AVDTP. Does not provide a clock but uses the system clock to timestamp
incoming packets. Only SBC is currently supported.
2013-03-28 16:50:25 +00:00
Tim-Philipp Müller
f198d04bf8
bluez: clean up GValue handling a little
...
Allocate GValues on the stack, and unset/free them properly, fixing
a few leaks in the process. Also use gst_structure_take_value()
where appropriate to avoid unnecessary list copies.
2013-01-20 17:49:32 +00:00
Tim-Philipp Müller
ee6d8a7e62
bluez: update SBC caps for renamed fields
...
mode -> channel-mode
allocation -> allocation-method
2013-01-20 17:49:26 +00:00
Tim-Philipp Müller
c994ae021d
bluez: make bluez elements compile with 1.0
...
Builds, but very likely doesn't work yet at all. Some
things are still commented out.
https://bugzilla.gnome.org/show_bug.cgi?id=690582
2013-01-09 18:02:11 +00:00
Syam Sidhardhan
711e5b4909
bluez: gstavdtpsink: Free the D-Bus error on reply failure
...
If D-Bus error is set we should free it.
2013-01-09 14:30:14 +00:00
Luiz Augusto von Dentz
3a02461349
bluez: audio: Remove internal audio IPC
...
With unix socket and ALSA removed there is no longer any use for the
internal IPC.
2013-01-09 14:30:13 +00:00
Anderson Lizardo
f40d5135f0
bluez: Remove compatibility check for DBUS_TYPE_UNIX_FD
...
Since commit c89b589a586e97ad875fbdd1d41f03979157ebb0, D-Bus >= 1.4.0 is
required. This version already contains Unix FD passing support,
therefore code that checks for DBUS_TYPE_UNIX_FD definition is
unnecessary.
2013-01-09 14:30:13 +00:00
Anderson Lizardo
54b8979d67
bluez: avdtp: Fix incorrect gchar buffer allocation
...
The code was allocating an array of gchar pointers, where an array of
gchar is expected.
2013-01-09 14:30:13 +00:00
Chan-yeol Park
6c31678d8b
bluez: audio: Add SBC NULL check for GST AVDTP signaling
...
Due to RF condition or headset malfunctioning, gst audio plug-in could
not get SBC (mandatory codec) information.
2013-01-09 14:30:13 +00:00
Syam Sidhardhan
a91cc4257d
bluez: gstavdtpsink: Fix D-Bus memory leak in audio
2013-01-09 14:30:13 +00:00
Anderson Lizardo
53031e0a9e
bluez: AVDTP: Fix closing invalid FD on error
...
In gst_avdtp_sink_start(), if bt_audio_service_open() failed, there was
an attempt to close an invalid file descriptor (through
bt_audio_service_close()).
2013-01-09 14:30:13 +00:00
Anderson Lizardo
83b0583a7a
bluez: Fix return value check for bt_audio_service_open()
...
Only negative values (namely -1) are errors for this function.
2013-01-09 14:30:13 +00:00
Anderson Lizardo
86c2797eef
bluez: AVDTP: Fix errno handling convention
...
Variables which are assigned to the errno variable (usually called
"err") should be negative, and "-err" should be used where a positive
value is needed.
2013-01-09 14:30:13 +00:00
Lucas De Marchi
445f76513a
bluez: 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-01-09 14:30:12 +00:00
Szymon Janc
3a81025f2e
bluez: Fix garbage return value in gst_avdtp_sink_audioservice_recv
2013-01-09 14:30:12 +00:00
Luiz Augusto von Dentz
9c9d76268a
bluez: Update a2dpsink to use new Acquire API
2013-01-09 14:30:12 +00:00
Luiz Augusto von Dentz
1396082264
bluez: Fix use of deprecated glib on audio plugin
2013-01-09 14:30:12 +00:00
Luiz Augusto von Dentz
c3afd98226
bluez: Add support for media transport in gstreamer plugin
2013-01-09 14:30:12 +00:00
Luiz Augusto von Dentz
651e1be7ef
bluez: Fix crash on gstreamer plugin if device doesn't support sbc
2013-01-09 14:30:12 +00:00
Marcel Holtmann
31fe375174
bluez: Add pragma based workaround for GStreamer warnings
2013-01-09 14:30:12 +00:00
Marcel Holtmann
d8b4759116
bluez: Update copyright information
2013-01-09 14:30:12 +00:00
Luiz Augusto von Dentz
81eb2b020f
bluez: Fix codec selection on gstream plugin.
2013-01-09 14:30:12 +00:00
Luiz Augusto von Dentz
621d857d49
bluez: Remove useless instruction.
2013-01-09 14:30:12 +00:00
Luiz Augusto von Dentz
86ea471beb
bluez: Add specific codec types.
...
Add specific codec types for a2dp sources and sinks so clients are able
to differ between them.
2013-01-09 14:30:11 +00:00
Luiz Augusto von Dentz
c4f094da7d
bluez: Remove unnecessary memset.
2013-01-09 14:30:11 +00:00
Luiz Augusto von Dentz
08837565fa
bluez: Add lock flag for capabilities.
...
lock flag permits the unix client to detect if there is someone holding
the lock so it can prevent useless attempt of setting a new configuration.
2013-01-09 14:30:11 +00:00
Luiz Augusto von Dentz
08dd7e709d
bluez: Introduce BT_OPEN command to audio ipc.
...
BT_OPEN make it possible to lock a given seid which is automacally
release if the client disconnects from the unix socket.
2013-01-09 14:30:11 +00:00
Luiz Augusto von Dentz
35e57f99f0
bluez: Add source and destination fields to audio ipc messages.
2013-01-09 14:30:11 +00:00
Luiz Augusto von Dentz
1f8330784a
bluez: Make use of g_io_channel_shutdown instead of deprecated g_io_channel_close.
2013-01-09 14:30:11 +00:00
Marcel Holtmann
93c66d5008
bluez: Update copyright information
2013-01-09 14:30:11 +00:00
Johan Hedberg
8b5d0aba41
bluez: More coding style fixes
2013-01-09 14:30:11 +00:00
Johan Hedberg
43879f9a5d
bluez: Coding style fixes
2013-01-09 14:30:11 +00:00
Johan Hedberg
d8b5c0d9c9
bluez: Fix length header values in messages
2013-01-09 14:30:11 +00:00
Luiz Augusto von Dentz
b03faa59d1
bluez: Fix gstreamer plugin to reflect the ipc changes.
2013-01-09 14:30:11 +00:00
Luiz Augusto von Dentz
4fd14e4113
bluez: Fix channel mode string from dual to dual-channel.
2013-01-09 14:30:10 +00:00
Luiz Augusto von Dentz
7bc4d8ee9e
bluez: Fix channel mode string to joint-stereo.
2013-01-09 14:30:10 +00:00
Luiz Augusto von Dentz
d27932cac4
bluez: Update gstreamer plugin to use new sbc API.
2013-01-09 14:30:10 +00:00
Luiz Augusto von Dentz
a85d0fb7e8
bluez: Make use of parameters selected in alsa plugin and fix auto selection.
2013-01-09 14:30:10 +00:00
Marcel Holtmann
89f66da8ae
bluez: Update copyright information
2013-01-09 14:30:10 +00:00
Luiz Augusto von Dentz
ff3034af81
bluez: Enable gstreamer plugin to use autoconnect flag.
2013-01-09 14:30:10 +00:00
Luiz Augusto von Dentz
1354fcea15
bluez: Fixes gstreamer caps and code cleanup.
2013-01-09 14:30:10 +00:00
Luiz Augusto von Dentz
309c6ecc47
bluez: Rename a2dpsendersink to avdtpsink.
2013-01-09 14:30:10 +00:00