Skip to content
This repository has been archived by the owner on May 2, 2024. It is now read-only.

Commit

Permalink
Reload sound now works
Browse files Browse the repository at this point in the history
Audio bit depth of Reload.wav is now 24 bits/sample instead of 32 bits/sample
  • Loading branch information
HenIsTheMan committed Nov 2, 2020
1 parent cb6252b commit 4b8ab45
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file modified Client/Audio/Sounds/Reload.wav
Binary file not shown.
2 changes: 1 addition & 1 deletion Client/Src/World/Scene.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ bool Scene::Init(){
std::sort(scores.begin(), scores.end(), std::greater<int>());
}

soundEngine = createIrrKlangDevice(ESOD_AUTO_DETECT, ESEO_MULTI_THREADED | ESEO_LOAD_PLUGINS | ESEO_USE_3D_BUFFERS | ESEO_PRINT_DEBUG_INFO_TO_DEBUGGER);
soundEngine = createIrrKlangDevice(ESOD_AUTO_DETECT, ESEO_DEFAULT_OPTIONS & ~ESEO_PRINT_DEBUG_INFO_TO_DEBUGGER & ~ESEO_PRINT_DEBUG_INFO_TO_STDOUT);
if(!soundEngine){
(void)puts("Failed to init soundEngine!\n");
}
Expand Down

0 comments on commit 4b8ab45

Please sign in to comment.