mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-29 19:50:40 +00:00
bluez: Add source and destination fields to audio ipc messages.
This commit is contained in:
parent
1f8330784a
commit
35e57f99f0
1 changed files with 2 additions and 2 deletions
|
@ -769,7 +769,7 @@ gst_avdtp_sink_get_capabilities (GstAvdtpSink * self)
|
||||||
|
|
||||||
if (self->device == NULL)
|
if (self->device == NULL)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
strncpy (req->device, self->device, 18);
|
strncpy (req->destination, self->device, 18);
|
||||||
if (self->autoconnect)
|
if (self->autoconnect)
|
||||||
req->flags |= BT_FLAG_AUTOCONNECT;
|
req->flags |= BT_FLAG_AUTOCONNECT;
|
||||||
|
|
||||||
|
@ -1043,7 +1043,7 @@ gst_avdtp_sink_configure (GstAvdtpSink * self, GstCaps * caps)
|
||||||
req->h.length = sizeof (*req);
|
req->h.length = sizeof (*req);
|
||||||
|
|
||||||
req->access_mode = BT_CAPABILITIES_ACCESS_MODE_WRITE;
|
req->access_mode = BT_CAPABILITIES_ACCESS_MODE_WRITE;
|
||||||
strncpy (req->device, self->device, 18);
|
strncpy (req->destination, self->device, 18);
|
||||||
structure = gst_caps_get_structure (caps, 0);
|
structure = gst_caps_get_structure (caps, 0);
|
||||||
|
|
||||||
if (gst_structure_has_name (structure, "audio/x-sbc"))
|
if (gst_structure_has_name (structure, "audio/x-sbc"))
|
||||||
|
|
Loading…
Reference in a new issue