Hand raised sound
Co-authored-by: Fedor Indutny <79877362+indutny-signal@users.noreply.github.com>
This commit is contained in:
parent
980f162c96
commit
c126ca1016
4 changed files with 39 additions and 2 deletions
|
@ -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';
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue