diff --git a/profiles/audio/a2dp.c b/profiles/audio/a2dp.c
index a4719d8..fb241f0 100644
--- a/profiles/audio/a2dp.c
+++ b/profiles/audio/a2dp.c
return TRUE;
}
-gboolean a2dp_sep_is_playing(struct a2dp_sep *sep)
-{
- if (avdtp_sep_get_state(sep->lsep) == AVDTP_STATE_STREAMING)
- return TRUE;
- else
- return FALSE;
-}
-
struct avdtp_stream *a2dp_sep_get_stream(struct a2dp_sep *sep)
{
return sep->stream;
diff --git a/profiles/audio/a2dp.h b/profiles/audio/a2dp.h
index 2c49c5a..f0e3ee6 100644
--- a/profiles/audio/a2dp.h
+++ b/profiles/audio/a2dp.h
gboolean a2dp_sep_lock(struct a2dp_sep *sep, struct avdtp *session);
gboolean a2dp_sep_unlock(struct a2dp_sep *sep, struct avdtp *session);
-gboolean a2dp_sep_is_playing(struct a2dp_sep *sep);
struct avdtp_stream *a2dp_sep_get_stream(struct a2dp_sep *sep);