Files
hyperframes/packages
Miguel Ángel 07965e9fe9 fix(studio): play preview audio at speeds above 1x (#2691)
* fix(studio): play preview audio at speeds above 1x

The player force-muted preview audio whenever playback rate exceeded 1x
and disabled the mute button (and the M shortcut) in that state. Users
changing speed to 2x heard nothing, and clicking unmute did nothing.

Media elements play audio fine at any rate (pitch preserved by default),
so remove the special case: audio now follows only the user's mute
toggle at every speed. Drops the shouldMutePreviewAudio helper and the
audioAutoMuted UI/keyboard gating that existed solely for it.

* test(studio): update seek audio test for unmuted-above-1x behavior

useTimelinePlayer.seek.test.ts still asserted the old force-mute: at 2x
with the user unmuted it expected a set-muted{muted:true} message. With
audio now following only the user's toggle, the preview receives
set-muted{muted:false}. Update the assertion and title to match.
2026-07-21 14:32:13 +02:00
..
2026-07-21 04:45:59 +00:00
2026-07-21 04:45:59 +00:00
2026-07-21 04:45:59 +00:00
2026-07-21 04:45:59 +00:00
2026-07-21 04:45:59 +00:00
2026-07-21 04:45:59 +00:00
2026-07-21 04:45:59 +00:00
2026-07-21 04:45:59 +00:00
2026-07-21 04:45:59 +00:00
2026-07-21 04:45:59 +00:00
2026-07-21 04:45:59 +00:00