mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-11 13:30:02 -05:00
print machine id during startup
This commit is contained in:
parent
73e2577ca6
commit
0075649f13
1 changed files with 11 additions and 1 deletions
|
|
@ -767,12 +767,22 @@ int main(int argc, char *argv[]) {
|
||||||
|
|
||||||
pa_log_info(_("This is PulseAudio %s"), PACKAGE_VERSION);
|
pa_log_info(_("This is PulseAudio %s"), PACKAGE_VERSION);
|
||||||
pa_log_info(_("Page size is %lu bytes"), (unsigned long) PA_PAGE_SIZE);
|
pa_log_info(_("Page size is %lu bytes"), (unsigned long) PA_PAGE_SIZE);
|
||||||
|
|
||||||
|
if (!(s = pa_machine_id())) {
|
||||||
|
pa_log(_("Failed to get machine ID"));
|
||||||
|
goto finish;
|
||||||
|
}
|
||||||
|
pa_log_info(_("Machine ID is %s."), s);
|
||||||
|
pa_xfree(s);
|
||||||
|
|
||||||
if (!(s = pa_get_runtime_dir()))
|
if (!(s = pa_get_runtime_dir()))
|
||||||
goto finish;
|
goto finish;
|
||||||
pa_log_info(_("Using runtime directory %s."), s);
|
pa_log_info(_("Using runtime directory %s."), s);
|
||||||
pa_xfree(s);
|
pa_xfree(s);
|
||||||
|
|
||||||
if (!(s = pa_get_state_dir()))
|
if (!(s = pa_get_state_dir()))
|
||||||
pa_log_info(_("Using state directory %s."), s);
|
goto finish;
|
||||||
|
pa_log_info(_("Using state directory %s."), s);
|
||||||
pa_xfree(s);
|
pa_xfree(s);
|
||||||
|
|
||||||
pa_log_info(_("Running in system mode: %s"), pa_yes_no(pa_in_system_mode()));
|
pa_log_info(_("Running in system mode: %s"), pa_yes_no(pa_in_system_mode()));
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue