Add better sound. (woosh)

This commit is contained in:
Half-Shot
2024-10-28 18:00:39 +00:00
parent 38878d3ee8
commit 33724efee3
4 changed files with 6 additions and 2 deletions

Binary file not shown.

View File

@@ -80,7 +80,8 @@ import { makeSpotlightExpandedLayout } from "../grid/SpotlightExpandedLayout";
import { makeSpotlightLandscapeLayout } from "../grid/SpotlightLandscapeLayout";
import { makeSpotlightPortraitLayout } from "../grid/SpotlightPortraitLayout";
import { ReactionsProvider, useReactions } from "../useReactions";
import handSound from "../res/sounds/raise-hand.ogg?url";
import handSoundOgg from "../sound/raise_hand.ogg?url";
import handSoundMp3 from "../sound/raise_hand.mp3?url";
const canScreenshare = "getDisplayMedia" in (navigator.mediaDevices ?? {});
@@ -626,7 +627,10 @@ export const InCallView: FC<InCallViewProps> = ({
))}
<RoomAudioRenderer />
{renderContent()}
<audio ref={handRaisePlayer} src={handSound} hidden />
<audio ref={handRaisePlayer} hidden>
<source src={handSoundOgg} type="audio/ogg; codecs=vorbis" />
<source src={handSoundMp3} type="audio/mpeg" />
</audio>
{footer}
{!noControls && <RageshakeRequestModal {...rageshakeRequestModalProps} />}
<SettingsModal

BIN
src/sound/raise_hand.mp3 Normal file

Binary file not shown.

BIN
src/sound/raise_hand.ogg Normal file

Binary file not shown.