diff options
author | Michael Alexsander Silva Dias <michaelalexsander@protonmail.com> | 2019-08-08 17:08:27 -0300 |
---|---|---|
committer | Michael Alexsander Silva Dias <michaelalexsander@protonmail.com> | 2019-08-09 11:27:39 -0300 |
commit | 5ca74604217758d91e344b052fe87c9eda8940a9 (patch) | |
tree | 863c635081277814250bbca958ea6e74100ca65b /servers/audio | |
parent | 7bb2215ed0d7415179a8b59ad4766a3b573cf696 (diff) |
Replace 'ERR_EXPLAIN' with 'ERR_FAIL_*_MSG' in "main" and "servers" directories
Diffstat (limited to 'servers/audio')
-rw-r--r-- | servers/audio/voice_rb_sw.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/servers/audio/voice_rb_sw.h b/servers/audio/voice_rb_sw.h index 0a39c536ae..1f0c88ed30 100644 --- a/servers/audio/voice_rb_sw.h +++ b/servers/audio/voice_rb_sw.h @@ -125,8 +125,7 @@ public: if (full) { #ifdef DEBUG_ENABLED if (OS::get_singleton()->is_stdout_verbose()) { - ERR_EXPLAIN("Audio Ring Buffer Full (too many commands"); - ERR_FAIL_COND(((write_pos + 1) % VOICE_RB_SIZE) == read_pos); + ERR_FAIL_COND_MSG(((write_pos + 1) % VOICE_RB_SIZE) == read_pos, "Audio ring buffer full (too many commands)."); } #endif return; |