Skip to content

Commit

Permalink
Add sound for recording state change notifications
Browse files Browse the repository at this point in the history
  • Loading branch information
hacst committed Aug 25, 2010
1 parent a74fdf8 commit ab16dfc
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
Binary file added samples/RecordingStateChanged.ogg
Binary file not shown.
4 changes: 1 addition & 3 deletions src/mumble/Settings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -330,6 +330,7 @@ Settings::Settings() {
qmMessageSounds[Log::YouMutedOther] = QLatin1String(":/UserMutedYouOrByYou.ogg");
qmMessageSounds[Log::YouMuted] = QLatin1String(":/UserMutedYouOrByYou.ogg");
qmMessageSounds[Log::YouKicked] = QLatin1String(":/UserKickedYouOrByYou.ogg");
qmMessageSounds[Log::Recording] = QLatin1String(":/RecordingStateChanged.ogg");

qmMessages[Log::DebugInfo] = Settings::LogConsole;
qmMessages[Log::Warning] = Settings::LogConsole | Settings::LogBalloon;
Expand All @@ -339,9 +340,6 @@ Settings::Settings() {
qmMessages[Log::UserKicked] = Settings::LogConsole;
qmMessages[Log::OtherSelfMute] = Settings::LogConsole;
qmMessages[Log::OtherMutedOther] = Settings::LogConsole;

// Unnoticed recording has a chance to violate privacy. Make it as obvious as possible.
qmMessages[Log::Recording] = Settings::LogConsole | Settings::LogBalloon | Settings::LogTTS;
}

bool Settings::doEcho() const {
Expand Down
1 change: 1 addition & 0 deletions src/mumble/mumble.qrc
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
<file alias="UserKickedYouOrByYou.ogg">../../samples/UserKickedYouOrByYou.ogg</file>
<file alias="UserLeftChannel.ogg">../../samples/UserLeftChannel.ogg</file>
<file alias="UserMutedYouOrByYou.ogg">../../samples/UserMutedYouOrByYou.ogg</file>
<file alias="RecordingStateChanged.ogg">../../samples/RecordingStateChanged.ogg</file>
<file>mumble_en.qm</file>
<file>mumble_es.qm</file>
<file>mumble_fr.qm</file>
Expand Down

0 comments on commit ab16dfc

Please sign in to comment.