diff options
author | Marcelo Fernandez <marcelofg55@gmail.com> | 2018-06-20 21:02:02 -0300 |
---|---|---|
committer | Marcelo Fernandez <marcelofg55@gmail.com> | 2018-07-17 10:11:56 -0300 |
commit | 9f6536bd0af75ea1dad3a5cbfe1c7987e5557986 (patch) | |
tree | 4cbf2fa35bad7fc7d9bb3f53a3b0c0310a1f0c6a /main/main.cpp | |
parent | b64bf118f11aaf083b4dcad790e8acdaa809c158 (diff) | |
download | redot-engine-9f6536bd0af75ea1dad3a5cbfe1c7987e5557986.tar.gz |
Add Audio Server profiling time to the profiler
Diffstat (limited to 'main/main.cpp')
-rw-r--r-- | main/main.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/main/main.cpp b/main/main.cpp index 23acb60c89..23f2776737 100644 --- a/main/main.cpp +++ b/main/main.cpp @@ -1823,6 +1823,8 @@ bool Main::iteration() { ScriptServer::get_language(i)->frame(); } + AudioServer::get_singleton()->update(); + if (script_debugger) { if (script_debugger->is_profiling()) { script_debugger->profiling_set_frame_times(USEC_TO_SEC(frame_time), USEC_TO_SEC(idle_process_ticks), USEC_TO_SEC(physics_process_ticks), frame_slice); |