diff --git a/sys/bluez/gstavdtputil.c b/sys/bluez/gstavdtputil.c index 8f9f9a0cf3..3e58e1275a 100644 --- a/sys/bluez/gstavdtputil.c +++ b/sys/bluez/gstavdtputil.c @@ -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) diff --git a/sys/bluez/gstavdtputil.h b/sys/bluez/gstavdtputil.h index 99394600bf..11deef5d2d 100644 --- a/sys/bluez/gstavdtputil.h +++ b/sys/bluez/gstavdtputil.h @@ -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);