Project

General

Profile

Bug #2384

[FluidSynth] Music volume setting has no effect

Added by skyjake 7 months ago. Updated 6 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Defect
Target version:
Start date:
2019-12-27
% Done:

100%


Description

When FluidSynth was playing music on its own (not via Doomsday's SFX backend), the music volume level was not being set at all.

This scenario occurs for example when FMOD is not available.

Associated revisions

Revision f769ca6b (diff)
Added by skyjake 7 months ago

FluidSynth: Changed how music volume is applied

IssueID #2384

Revision bb5f9089 (diff)
Added by skyjake 7 months ago

FluidSynth: Changed how music volume is applied

IssueID #2384

Revision a2525878 (diff)
Added by skyjake 7 months ago

Fixed|FluidSynth|Audio: Excessive lag on music volume setting

Apply changes to music volume immediately if possible.

IssueID #2384

Revision aa14c21c (diff)
Added by skyjake 7 months ago

Fixed|FluidSynth|Audio: Excessive lag on music volume setting

Apply changes to music volume immediately if possible.

IssueID #2384

History

#1 Updated by skyjake 7 months ago

One more detail to note: because FluidSynth uses a buffer to store generated samples, changes in the gain setting become effective only after a short (second or two) delay. This may make the music setting seem unresponsive at first. A better approach would be to only resort to changing the gain if the music isn't being streamed manually to the SFX backend (in which case one can apply immediate changes to the channel volume).

#2 Updated by skyjake 7 months ago

Latency issue addressed by a2525878.

#3 Updated by skyjake 6 months ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF