if (pools[idx] == NULL)
_logger_log_warn("Pool with specified identifier is NULL");
- if (rank < 0)
- _logger_log_warn("Priority rank should to be greater or equal 0, but "
- "it's value is %i", rank);
-
_logger_log_info(CMD_SET_STREAM_PRIORITY " command was called");
int ret = sound_pool_stream_set_priority(pools[idx], stream_idx, rank);