diff options
Diffstat (limited to 'ahl-binding/role.cpp')
-rw-r--r-- | ahl-binding/role.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ahl-binding/role.cpp b/ahl-binding/role.cpp index 1b60a40..a122fc2 100644 --- a/ahl-binding/role.cpp +++ b/ahl-binding/role.cpp @@ -135,7 +135,7 @@ int role_t::apply_policy(afb_request* req) json_object_get(i.args()); json_object* result = nullptr; - AFB_DYNAPI_NOTICE(ahl_binding_t::instance().handle(), + AFB_DYNAPI_DEBUG(ahl_binding_t::instance().handle(), "Call '%s'/'%s' '%s", r.hal().c_str(), r.stream().c_str(), json_object_to_json_string(arg)); @@ -144,7 +144,7 @@ int role_t::apply_policy(afb_request* req) afb_request_fail(req, "Failed to call 'ramp' action on stream", nullptr); return -1; } - AFB_DYNAPI_NOTICE(ahl_binding_t::instance().handle(), + AFB_DYNAPI_DEBUG(ahl_binding_t::instance().handle(), "POLICY: Applying a ramp to '%s' stream because '%s' is opened and have higher priority!", r.stream().c_str(), stream_.c_str()); } @@ -210,7 +210,7 @@ void role_t::open(afb_request* r, json_object* o) role_t * role = (role_t*) arg; afb_dynapi * api = ahl_binding_t::instance().handle(); - AFB_DYNAPI_NOTICE(api, "Released role %s\n", role->uid_.c_str()); + AFB_DYNAPI_DEBUG(api, "Released role %s\n", role->uid_.c_str()); role->opened_ = false; // send a mute command to the HAL. We cannot reuse the do_mute function, @@ -306,7 +306,7 @@ void role_t::volume(afb_request* r, json_object* o) } else { - AFB_DYNAPI_NOTICE(api, "Granted special audio-mixer permission to change volume"); + AFB_DYNAPI_DEBUG(api, "Granted special audio-mixer permission to change volume"); } json_object* value; |