Use "sonar" sound for notifications

This commit is contained in:
David Cormier 2014-03-04 08:26:32 -05:00
parent a8b1fbd512
commit f9defeed9f
3 changed files with 1 additions and 1 deletions

BIN
assets/audio/sonar.mp3 Normal file

Binary file not shown.

BIN
assets/audio/sonar.ogg Normal file

Binary file not shown.

View file

@ -881,7 +881,7 @@ weechat.controller('WeechatCtrl', ['$rootScope', '$scope', '$store', '$timeout',
if ($scope.soundnotification) {
// TODO fill in a sound file
var audioFile = "assets/rickroll";
var audioFile = "assets/audio/sonar";
var soundHTML = '<audio autoplay="autoplay"><source src="' + audioFile + '.ogg" type="audio/ogg" /><source src="' + audioFile + '.mp3" type="audio/mpeg" /></audio>';
document.getElementById("soundNotification").innerHTML = soundHTML;
}