diff options
Diffstat (limited to 'tizen-audio-routing.c')
-rw-r--r-- | tizen-audio-routing.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tizen-audio-routing.c b/tizen-audio-routing.c index ec4fac6..f4994ce 100644 --- a/tizen-audio-routing.c +++ b/tizen-audio-routing.c @@ -302,6 +302,7 @@ audio_return_t audio_update_route(void *audio_handle, audio_route_info_t *info) AUDIO_RETURN_VAL_IF_FAIL(ah, AUDIO_ERR_PARAMETER); AUDIO_RETURN_VAL_IF_FAIL(info, AUDIO_ERR_PARAMETER); + AUDIO_RETURN_VAL_IF_FAIL(info->role, AUDIO_ERR_PARAMETER); AUDIO_LOG_INFO("role:%s", info->role); |