Use "sonar" sound for notifications

l-merge-prefix
David Cormier 11 years ago
parent a8b1fbd512
commit f9defeed9f
  1. BIN
      assets/audio/sonar.mp3
  2. BIN
      assets/audio/sonar.ogg
  3. 2
      js/glowingbear.js

Binary file not shown.

Binary file not shown.

@ -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;
}

Loading…
Cancel
Save