Hand raised sound

Co-authored-by: Fedor Indutny <79877362+indutny-signal@users.noreply.github.com>
This commit is contained in:
ayumi-signal 2024-01-10 21:57:36 -08:00 committed by GitHub
parent 980f162c96
commit c126ca1016
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 39 additions and 2 deletions

View file

@ -6,6 +6,7 @@ import { missingCaseError } from './missingCaseError';
export enum SoundType {
CallingHangUp,
CallingHandRaised,
CallingPresenting,
Pop,
Ringtone,
@ -103,6 +104,10 @@ export class Sound {
}
static getSrc(soundStyle: SoundType): string {
if (soundStyle === SoundType.CallingHandRaised) {
return 'sounds/notification_simple-01.ogg';
}
if (soundStyle === SoundType.CallingHangUp) {
return 'sounds/navigation-cancel.ogg';
}