avdtputil: Remove dead code

These function are not used at all, using them together with the
transport-volume property from avdtpsrc may end up in a binding loop so
we better remove the functions.
This commit is contained in:
Jochen Henneberg 2018-11-09 15:20:09 +00:00 committed by Sebastian Dröge
parent bac0e14eae
commit 15fc39c296
2 changed files with 0 additions and 19 deletions

View file

@ -722,22 +722,6 @@ gst_avdtp_connection_get_caps (GstAvdtpConnection * conn)
return caps;
}
guint
gst_avdtp_connection_get_volume (GstAvdtpConnection * conn)
{
if (conn->data.is_acquired)
return bluez_media_transport1_get_volume (conn->data.conn);
else
return 127;
}
void
gst_avdtp_connection_set_volume (GstAvdtpConnection * conn, guint16 volume)
{
if (conn->data.is_acquired)
bluez_media_transport1_set_volume (conn->data.conn, volume);
}
void
gst_avdtp_connection_notify_volume (GstAvdtpConnection * conn,
GObject * target, const gchar * property)

View file

@ -69,9 +69,6 @@ void gst_avdtp_connection_set_device (GstAvdtpConnection * conn,
const char *device);
void gst_avdtp_connection_set_transport (GstAvdtpConnection * conn,
const char *transport);
guint gst_avdtp_connection_get_volume (GstAvdtpConnection * conn);
void gst_avdtp_connection_set_volume (GstAvdtpConnection * conn,
guint16 volume);
void gst_avdtp_connection_notify_volume (GstAvdtpConnection * conn,
GObject * target, const gchar * property);
gboolean gst_avdtp_connection_conf_recv_stream_fd (GstAvdtpConnection * conn);