[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [fluid-dev] how to correctly install fluidsynth as a service?
From: |
Tom M. |
Subject: |
Re: [fluid-dev] how to correctly install fluidsynth as a service? |
Date: |
Fri, 13 Mar 2020 13:51:01 +0100 |
Regarding A), it would be worth to run fluidsynth for the current user, rather
than an extra user.
> why doesn't it connect to the user's pulsaudio?
You can tell fluidsynth via the setting audio.pulseaudio.server which server to
connect to. This setting receives a string which will then be passed as "Server
name" to pa_simple_new()[1].
Apparently pulse audio's default behaviour is to spawn a new server for every
user. To set up pulseaudio system-wide, it should be started as root with the
--system command line argument, see [2].
Regarding B), the only real option you have here is to start gdb, attach to the
fluidsynth process and provide a stack trace of the two running threads.
[1]
https://freedesktop.org/software/pulseaudio/doxygen/simple_8h.html#add9a7dce4e15955d4296726c26206689
[2]
https://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/SystemWide/
Tom