summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordartraiden <wowemuh@gmail.com>2022-08-30 23:43:17 +0300
committerdartraiden <wowemuh@gmail.com>2022-08-30 23:43:17 +0300
commit03594b445dc91053dec6b83dc65ad3d1eadf0d83 (patch)
treef5e2bbf68ee3bcd034ff6d646a0e2faf400fec07
parent14904b103a55f2bba92a57804a4737c6dd9c2259 (diff)
Pack MP3 inside WAV container
-rw-r--r--plugins/Nudge/docs/Sounds/nudge.mp3bin31954 -> 0 bytes
-rw-r--r--plugins/Nudge/docs/Sounds/nudge.wavbin0 -> 164500 bytes
-rw-r--r--src/mir_app/src/sounds.cpp2
-rw-r--r--tools/build_scripts/z1_ReBuild_Full.bat2
-rw-r--r--tools/installer_ng/Common/Files/Settings/autoexec_sounds.ini80
5 files changed, 42 insertions, 42 deletions
diff --git a/plugins/Nudge/docs/Sounds/nudge.mp3 b/plugins/Nudge/docs/Sounds/nudge.mp3
deleted file mode 100644
index 8cde7d6382..0000000000
--- a/plugins/Nudge/docs/Sounds/nudge.mp3
+++ /dev/null
Binary files differ
diff --git a/plugins/Nudge/docs/Sounds/nudge.wav b/plugins/Nudge/docs/Sounds/nudge.wav
new file mode 100644
index 0000000000..938812970c
--- /dev/null
+++ b/plugins/Nudge/docs/Sounds/nudge.wav
Binary files differ
diff --git a/src/mir_app/src/sounds.cpp b/src/mir_app/src/sounds.cpp
index ab23fdf386..722db7a531 100644
--- a/src/mir_app/src/sounds.cpp
+++ b/src/mir_app/src/sounds.cpp
@@ -238,7 +238,7 @@ public:
if (GetModuleHandle(L"bass_interface.dll"))
mir_snwprintf(filter, L"%s (*.wav,*.mp3,*.ogg)%c*.wav;*.mp3;*.ogg%c%s (*)%c*%c", TranslateT("Sound files"), 0, 0, TranslateT("All files"), 0, 0);
else
- mir_snwprintf(filter, L"%s (*.wav,*.mp3)%c*.wav;*.mp3%c%s (*)%c*%c", TranslateT("Sound files"), 0, 0, TranslateT("All files"), 0, 0);
+ mir_snwprintf(filter, L"%s (*.wav)%c*.wav%c%s (*)%c*%c", TranslateT("WAV files"), 0, 0, TranslateT("All files"), 0, 0);
ofn.lStructSize = OPENFILENAME_SIZE_VERSION_400;
ofn.hwndOwner = GetParent(m_hwnd);
ofn.hInstance = nullptr;
diff --git a/tools/build_scripts/z1_ReBuild_Full.bat b/tools/build_scripts/z1_ReBuild_Full.bat
index be4485762f..c23a7145be 100644
--- a/tools/build_scripts/z1_ReBuild_Full.bat
+++ b/tools/build_scripts/z1_ReBuild_Full.bat
@@ -83,7 +83,7 @@ copy /V /Y ..\plugins\Boltun\src\Engine\boltun.mindw "Release%tp%\Plugins\"
copy /V /Y ..\plugins\FavContacts\gadget\favcontacts.gadget "Release%tp%\Gadgets\"
copy /V /Y ..\plugins\Import\ini\*.ini "Release%tp%\Plugins\Import\"
copy /V /Y ..\plugins\ListeningTo\listeningto\*.dll "Release%tp%\Plugins\Listeningto\"
-copy /V /Y ..\plugins\Nudge\docs\Sounds\*.mp3 "Release%tp%\Sounds\"
+copy /V /Y ..\plugins\Nudge\docs\Sounds\*.wav "Release%tp%\Sounds\"
copy /V /Y ..\plugins\RemovePersonalSettings\docs\RemovePersonalSettings.ini "Release%tp%\"
copy /V /Y ..\plugins\Watrack\player.ini "Release%tp%\Plugins\"
diff --git a/tools/installer_ng/Common/Files/Settings/autoexec_sounds.ini b/tools/installer_ng/Common/Files/Settings/autoexec_sounds.ini
index d830edca18..b96b80da72 100644
--- a/tools/installer_ng/Common/Files/Settings/autoexec_sounds.ini
+++ b/tools/installer_ng/Common/Files/Settings/autoexec_sounds.ini
@@ -4,46 +4,46 @@ SETTINGS:
UseSound=b1
[SkinSounds]
-AddedEvent=uSounds\added_event.mp3
-AuthRequest=uSounds\authorisation_request.mp3
-FileDone=uSounds\complete.mp3
-FileDenied=uSounds\denied.mp3
-FileFailed=uSounds\error.mp3
-RecvFile=uSounds\incoming_file.mp3
-ChatMessage=uSounds\incoming_group_message.mp3
-ChatSent=uSounds\outgoing.mp3
-ChatHighlight=uSounds\message_highlight.mp3
-ChatTopic=uSounds\topic_changed.mp3
-ChatNick=uSounds\user_name.mp3
-ChatQuit=uSounds\user_disconnect.mp3
-ChatKick=uSounds\user_kicked.mp3
-ChatPart=uSounds\user_left.mp3
-ChatAction=uSounds\user_action.mp3
-ChatNotice=uSounds\user_notice.mp3
-ChatMode=uSounds\user_status.mp3
-TNStart=uSounds\typing_start.mp3
-TNStop=uSounds\typing_stop.mp3
-RecvMsgActive=uSounds\incoming_focused.mp3
-AlertMsg=uSounds\incoming_new.mp3
-RecvMsgInactive=uSounds\incoming_unfocused.mp3
-SendMsg=uSounds\outgoing.mp3
-SendError=uSounds\error.mp3
-Nudge : Default=uSounds\nudge.mp3
-MetaContacts: Nudge=uSounds\nudge.mp3
-weatheralert=uSounds\weather_alert.mp3
-weatherupdated=uSounds\weather_update.mp3
-NewsFeed=uSounds\news_feed.mp3
-Notification=uSounds\notification.mp3
-OtherEvent=uSounds\other_event.mp3
-ChatJoin=uSounds\user_connect.mp3
-UserOnline=uSounds\online.mp3
-UserFromOffline=uSounds\online.mp3
-WWIBirthdayNear=uSounds\birthdaycoming.mp3
-WWIBirthdayToday=uSounds\birthday.mp3
-Anniversary=uSounds\reminder.mp3
-Birthday=uSounds\birthday.mp3
-BirthdayComing=uSounds\birthdaycoming.mp3
-voice_ringing=uSounds\ring.mp3
+AddedEvent=uSounds\added_event.wav
+AuthRequest=uSounds\authorisation_request.wav
+FileDone=uSounds\complete.wav
+FileDenied=uSounds\denied.wav
+FileFailed=uSounds\error.wav
+RecvFile=uSounds\incoming_file.wav
+ChatMessage=uSounds\incoming_group_message.wav
+ChatSent=uSounds\outgoing.wav
+ChatHighlight=uSounds\message_highlight.wav
+ChatTopic=uSounds\topic_changed.wav
+ChatNick=uSounds\user_name.wav
+ChatQuit=uSounds\user_disconnect.wav
+ChatKick=uSounds\user_kicked.wav
+ChatPart=uSounds\user_left.wav
+ChatAction=uSounds\user_action.wav
+ChatNotice=uSounds\user_notice.wav
+ChatMode=uSounds\user_status.wav
+TNStart=uSounds\typing_start.wav
+TNStop=uSounds\typing_stop.wav
+RecvMsgActive=uSounds\incoming_focused.wav
+AlertMsg=uSounds\incoming_new.wav
+RecvMsgInactive=uSounds\incoming_unfocused.wav
+SendMsg=uSounds\outgoing.wav
+SendError=uSounds\error.wav
+Nudge : Default=uSounds\nudge.wav
+MetaContacts: Nudge=uSounds\nudge.wav
+weatheralert=uSounds\weather_alert.wav
+weatherupdated=uSounds\weather_update.wav
+NewsFeed=uSounds\news_feed.wav
+Notification=uSounds\notification.wav
+OtherEvent=uSounds\other_event.wav
+ChatJoin=uSounds\user_connect.wav
+UserOnline=uSounds\online.wav
+UserFromOffline=uSounds\online.wav
+WWIBirthdayNear=uSounds\birthdaycoming.wav
+WWIBirthdayToday=uSounds\birthday.wav
+Anniversary=uSounds\reminder.wav
+Birthday=uSounds\birthday.wav
+BirthdayComing=uSounds\birthdaycoming.wav
+voice_ringing=uSounds\ring.wav
[TopToolBar]
Enable/Disable sounds_Visible=b1 \ No newline at end of file