FS#58673 - [fluidsynth] AUDIO_DRIVER is ignored

Attached to Project: Arch Linux
Opened by Fabian Maurer (DarkShadow44) - Sunday, 20 May 2018, 13:13 GMT
Last edited by Antonio Rojas (arojas) - Monday, 21 May 2018, 06:39 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Ray Rashif (schivmeister)
Antonio Rojas (arojas)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

I'm using fluidsynth as user service by starting it with "systemctl --user restart fluidsynth".
My config is in /etc/conf.d/fluidsynth:
```
SOUND_FONT=/usr/share/soundfonts/GeneralUser.sf2
AUDIO_DRIVER=pulseaudio
OTHER_OPTS='-is -m alsa_seq -r 48000'
```
It used to work and I want fluidsynth to use pulseaudio. But it does use JACK according to the log (journalctl --user-unit fluidsynth):
`ATTENTION: The playback device "hw:0" is already in use. Please stop the application using it and run JACK again`

Now, when setting the driver directly instead of using the environment variable by using OTHER_OPTS='-is -m alsa_seq -r 48000 -a pulseaudio' it works as expected and the log then shows:
`fluidsynth: Using PulseAudio driver`

Why is the AUDIO_DRIVER setting not working?

Additional info:
* fluidsynth 1.1.11-1

Steps to reproduce:
Change AUDIO_DRIVER to pulseaudio in /etc/conf.d/fluidsynth to pulseaudio, restart fluidsynth and check the journalctl log.
Then use the -a option to set the driver directyly, restart fluidsynth and check the journalctl log again.
This task depends upon

Closed by  Antonio Rojas (arojas)
Monday, 21 May 2018, 06:39 GMT
Reason for closing:  Not a bug
Additional comments about closing:  The upstream service doesn't use that option
Comment by Doug Newgard (Scimmia) - Monday, 21 May 2018, 05:18 GMT
The upstream service file doesn't use that option. If you think that needs to be changed, talk to them.

Loading...