mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-16 05:36:00 +02:00
fix(player): restore preserving html audio pitch
This commit is contained in:
@@ -36,7 +36,7 @@ export function WebPlayer() {
|
||||
const { crossfadeDuration, crossfadeStyle, speed, transitionType } = usePlayerProperties();
|
||||
const isMuted = usePlayerMuted();
|
||||
const volume = usePlayerVolume();
|
||||
const { transcode } = usePlaybackSettings();
|
||||
const { preservePitch, transcode } = usePlaybackSettings();
|
||||
|
||||
const [localPlayerStatus, setLocalPlayerStatus] = useState<PlayerStatus>(status);
|
||||
const [isTransitioning, setIsTransitioning] = useState<boolean | string>(false);
|
||||
@@ -432,6 +432,7 @@ export function WebPlayer() {
|
||||
playerNum={num}
|
||||
playerRef={playerRef}
|
||||
playerStatus={localPlayerStatus}
|
||||
preservesPitch={preservePitch}
|
||||
speed={speed}
|
||||
src1={player1Url}
|
||||
src2={player2Url}
|
||||
|
||||
Reference in New Issue
Block a user