Skip to content

Add fast-forward and slow-mo audio volume settings - #2736

Open
Davey-Hughes wants to merge 1 commit into
melonDS-emu:masterfrom
Davey-Hughes:speed-volume
Open

Add fast-forward and slow-mo audio volume settings#2736
Davey-Hughes wants to merge 1 commit into
melonDS-emu:masterfrom
Davey-Hughes:speed-volume

Conversation

@Davey-Hughes

@Davey-Hughes Davey-Hughes commented Aug 31, 2026

Copy link
Copy Markdown

I saw this issue and didn't realize that the fix had already been merged, but I enhanced the feature if we want it.

I basically made it so you could set a volume from 0% to 200 as a percentage of the master volume on fast-foward or slo-mo (as separate sliders). One other change from how it works compared to what's on master right now is that the volume percentage you set for fast-foward applies to the uncapped speed as well.

image

Anyway if this feature is not needed then no worries and this PR can be closed.

Muting while fast-forwarding is all-or-nothing, and the existing setting
only reacted to the fast-forward hotkeys. Turning off Config -> Limit
framerate also runs well above 100% speed but was never covered, which
is half of what issue melonDS-emu#2056 asked for.

Fast-forward and slow-mo now each get an independent volume, as a
percentage of the normal volume, so it composes with the volume slider
and with DSi volume sync. 100% leaves the audio alone, 0% mutes, and
above 100% is louder than normal play.

The trigger compares curFPS against targetFPS instead of reading the
hotkey flags. That picks up the frame-limiter case for free, and leaves
audio alone when audio sync is already pacing playback to real time.

MuteFastForward is reused as the fast-forward enable and
FastForwardVolume defaults to 0, so a config that already had muting
turned on keeps muting without any migration.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant