summaryrefslogtreecommitdiffstats
path: root/binding/radio-binding.c
diff options
context:
space:
mode:
Diffstat (limited to 'binding/radio-binding.c')
-rw-r--r--binding/radio-binding.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/binding/radio-binding.c b/binding/radio-binding.c
index 72f36ff..0de45a6 100644
--- a/binding/radio-binding.c
+++ b/binding/radio-binding.c
@@ -522,6 +522,10 @@ static void onevent(afb_api_t api, const char *event, struct json_object *object
if (strncmp(uid, "event.media.", 12))
return;
+ if (radio_impl_ops->get_corking_state &&
+ radio_impl_ops->get_corking_state())
+ return;
+
json_object_object_get_ex(object, "value", &tmp);
if (tmp == NULL)
return;