1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-22 06:42:42 +01:00

Add a few more sounds

Summary: A few more mp3s to choose from for Conpherence.

Test Plan: Test each sound in a new room.

Reviewers: epriestley

Reviewed By: epriestley

Subscribers: Korvin

Differential Revision: https://secure.phabricator.com/D17734
This commit is contained in:
Chad Little 2017-04-19 13:35:56 -07:00
parent 8e813f4f1f
commit 15e7624a17
6 changed files with 21 additions and 1 deletions

View file

@ -19,7 +19,11 @@ return array(
'favicon.ico' => '30672e08',
'maniphest.pkg.css' => '4845691a',
'maniphest.pkg.js' => '5ab2753f',
'rsrc/audio/basic/alert.mp3' => '98461568',
'rsrc/audio/basic/bing.mp3' => 'ab8603a5',
'rsrc/audio/basic/pock.mp3' => '0cc772f5',
'rsrc/audio/basic/tap.mp3' => 'fc2fd796',
'rsrc/audio/basic/ting.mp3' => '17660001',
'rsrc/css/aphront/aphront-bars.css' => '231ac33c',
'rsrc/css/aphront/dark-console.css' => '53798a6d',
'rsrc/css/aphront/dialog-view.css' => '685c7e2d',

View file

@ -6,7 +6,7 @@ final class ConpherenceRoomSettings extends ConpherenceConstants {
const SOUND_MENTION = 'mention';
const DEFAULT_RECEIVE_SOUND = 'tap';
const DEFAULT_MENTION_SOUND = 'tap'; // Upload a new sound
const DEFAULT_MENTION_SOUND = 'alert';
const DEFAULT_NO_SOUND = 'none';
public static function getSoundMap() {
@ -15,10 +15,26 @@ final class ConpherenceRoomSettings extends ConpherenceConstants {
'name' => pht('No Sound'),
'rsrc' => '',
),
'alert' => array(
'name' => pht('Alert'),
'rsrc' => celerity_get_resource_uri('/rsrc/audio/basic/alert.mp3'),
),
'bing' => array(
'name' => pht('Bing'),
'rsrc' => celerity_get_resource_uri('/rsrc/audio/basic/bing.mp3'),
),
'pock' => array(
'name' => pht('Pock'),
'rsrc' => celerity_get_resource_uri('/rsrc/audio/basic/pock.mp3'),
),
'tap' => array(
'name' => pht('Tap'),
'rsrc' => celerity_get_resource_uri('/rsrc/audio/basic/tap.mp3'),
),
'ting' => array(
'name' => pht('Ting'),
'rsrc' => celerity_get_resource_uri('/rsrc/audio/basic/ting.mp3'),
),
);
}

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.