diff options
author | Thorbjørn Lindeijer <thorbjorn@lindeijer.nl> | 2012-02-18 22:47:30 +0100 |
---|---|---|
committer | Thorbjørn Lindeijer <thorbjorn@lindeijer.nl> | 2012-02-18 23:24:03 +0100 |
commit | 20afba1adc84dd0e859605250c5a44a111045c2b (patch) | |
tree | 304f34e96403215a8e1d9a3cf880a6a28f5a4721 /data | |
parent | 6fd1246735010bccd0d75e9e7969431b963b7858 (diff) | |
download | mana-20afba1adc84dd0e859605250c5a44a111045c2b.tar.gz mana-20afba1adc84dd0e859605250c5a44a111045c2b.tar.bz2 mana-20afba1adc84dd0e859605250c5a44a111045c2b.tar.xz mana-20afba1adc84dd0e859605250c5a44a111045c2b.zip |
Added notification sound on receiving whisper
One of the sound channels is reserved for notification sounds, of which the
volume can be configured separately. Currently, the only notification sound
that is played is for receiving whispers. That can be extended later.
The newmessage.ogg sound used currently is the one for receiving a message
with the Psi instant messenger.
Parts of this patch are based on the new message notification in ManaPlus.
Reviewed-by: Erik Schilling
Diffstat (limited to 'data')
-rw-r--r-- | data/CMakeLists.txt | 1 | ||||
-rw-r--r-- | data/sfx/CMakeLists.txt | 1 | ||||
-rw-r--r-- | data/sfx/system/CMakeLists.txt | 5 | ||||
-rw-r--r-- | data/sfx/system/newmessage.ogg | bin | 0 -> 8194 bytes |
4 files changed, 7 insertions, 0 deletions
diff --git a/data/CMakeLists.txt b/data/CMakeLists.txt index 4aa0cdd5..e5dd528c 100644 --- a/data/CMakeLists.txt +++ b/data/CMakeLists.txt @@ -4,3 +4,4 @@ ADD_SUBDIRECTORY(fonts) ADD_SUBDIRECTORY(graphics) ADD_SUBDIRECTORY(help) ADD_SUBDIRECTORY(icons) +ADD_SUBDIRECTORY(sfx) diff --git a/data/sfx/CMakeLists.txt b/data/sfx/CMakeLists.txt new file mode 100644 index 00000000..e006c71f --- /dev/null +++ b/data/sfx/CMakeLists.txt @@ -0,0 +1 @@ +ADD_SUBDIRECTORY(system) diff --git a/data/sfx/system/CMakeLists.txt b/data/sfx/system/CMakeLists.txt new file mode 100644 index 00000000..b19c3e06 --- /dev/null +++ b/data/sfx/system/CMakeLists.txt @@ -0,0 +1,5 @@ +SET(FILES + newmessage.ogg + ) + +INSTALL(FILES ${FILES} DESTINATION ${DATA_DIR}/sfx/system) diff --git a/data/sfx/system/newmessage.ogg b/data/sfx/system/newmessage.ogg Binary files differnew file mode 100644 index 00000000..69b996f7 --- /dev/null +++ b/data/sfx/system/newmessage.ogg |