mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 19:11:50 +00:00
audio fixes
This commit is contained in:
parent
3ee350fc0c
commit
8ac51752d3
12 changed files with 49 additions and 7 deletions
|
|
@ -2,6 +2,7 @@
|
|||
#include <memory>
|
||||
|
||||
#include "gui/controls.h"
|
||||
#include "../audio/audio.h"
|
||||
#include "../graphics/Mesh.h"
|
||||
#include "../objects/Player.h"
|
||||
#include "../physics/Hitbox.h"
|
||||
|
|
@ -52,6 +53,10 @@ std::shared_ptr<UINode> create_debug_panel(
|
|||
panel->add(create_label([](){
|
||||
return L"meshes: " + std::to_wstring(Mesh::meshesCount);
|
||||
}));
|
||||
panel->add(create_label([](){
|
||||
return L"speakers: " + std::to_wstring(audio::count_speakers())+
|
||||
L" streams: " + std::to_wstring(audio::count_streams());
|
||||
}));
|
||||
panel->add(create_label([=](){
|
||||
auto& settings = engine->getSettings();
|
||||
bool culling = settings.graphics.frustumCulling;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue