mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-05 13:29:57 -05:00
downgrade a few messages
This commit is contained in:
parent
5348cc1275
commit
143e1ba739
2 changed files with 4 additions and 4 deletions
|
|
@ -538,7 +538,7 @@ int main(int argc, char *argv[]) {
|
||||||
|
|
||||||
if ((conf->high_priority && !allow_high_priority) ||
|
if ((conf->high_priority && !allow_high_priority) ||
|
||||||
(conf->realtime_scheduling && !allow_realtime))
|
(conf->realtime_scheduling && !allow_realtime))
|
||||||
pa_log_notice(_("Called SUID root and real-time and/or high-priority scheduling was requested in the configuration. However, we lack the necessary privileges:\n"
|
pa_log_info(_("Called SUID root and real-time and/or high-priority scheduling was requested in the configuration. However, we lack the necessary privileges:\n"
|
||||||
"We are not in group '%s', PolicyKit refuse to grant us the requested privileges and we have no increase RLIMIT_NICE/RLIMIT_RTPRIO resource limits.\n"
|
"We are not in group '%s', PolicyKit refuse to grant us the requested privileges and we have no increase RLIMIT_NICE/RLIMIT_RTPRIO resource limits.\n"
|
||||||
"For enabling real-time/high-priority scheduling please acquire the appropriate PolicyKit privileges, or become a member of '%s', or increase the RLIMIT_NICE/RLIMIT_RTPRIO resource limits for this user."),
|
"For enabling real-time/high-priority scheduling please acquire the appropriate PolicyKit privileges, or become a member of '%s', or increase the RLIMIT_NICE/RLIMIT_RTPRIO resource limits for this user."),
|
||||||
PA_REALTIME_GROUP, PA_REALTIME_GROUP);
|
PA_REALTIME_GROUP, PA_REALTIME_GROUP);
|
||||||
|
|
@ -563,7 +563,7 @@ int main(int argc, char *argv[]) {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (conf->high_priority && !pa_can_high_priority()) {
|
if (conf->high_priority && !pa_can_high_priority()) {
|
||||||
pa_log_warn(_("High-priority scheduling enabled in configuration but not allowed by policy."));
|
pa_log_info(_("High-priority scheduling enabled in configuration but not allowed by policy."));
|
||||||
conf->high_priority = FALSE;
|
conf->high_priority = FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -609,7 +609,7 @@ int main(int argc, char *argv[]) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (conf->realtime_scheduling && !pa_can_realtime()) {
|
if (conf->realtime_scheduling && !pa_can_realtime()) {
|
||||||
pa_log_warn(_("Real-time scheduling enabled in configuration but not allowed by policy."));
|
pa_log_info(_("Real-time scheduling enabled in configuration but not allowed by policy."));
|
||||||
conf->realtime_scheduling = FALSE;
|
conf->realtime_scheduling = FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1063,7 +1063,7 @@ snd_mixer_elem_t *pa_alsa_find_elem(snd_mixer_t *mixer, const char *name, const
|
||||||
fallback_elem = NULL;
|
fallback_elem = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
pa_log_warn("Cannot find fallback mixer control \"%s\" or mixer control is no combination of switch/volume.", snd_mixer_selem_id_get_name(sid));
|
pa_log_info("Cannot find fallback mixer control \"%s\" or mixer control is no combination of switch/volume.", snd_mixer_selem_id_get_name(sid));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (elem && fallback_elem) {
|
if (elem && fallback_elem) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue