Vyacheslav Ivanov
ba2fe68ec6
fix: PVS-Studio V560
...
Signed-off-by: Vyacheslav Ivanov <islavaivanov76@gmail.com>
2024-08-03 23:00:10 +03:00
Vyacheslav Ivanov
ab28b4df70
fix: PVS-Studio V550
...
Signed-off-by: Vyacheslav Ivanov <islavaivanov76@gmail.com>
2024-08-03 23:00:10 +03:00
Vyacheslav Ivanov
3621e7ce1b
fix: PVS-Studio V522 mark false
...
Signed-off-by: Vyacheslav Ivanov <islavaivanov76@gmail.com>
2024-08-03 23:00:10 +03:00
Vyacheslav Ivanov
bbf33e8e4d
format: reformat project
...
Signed-off-by: Vyacheslav Ivanov <islavaivanov76@gmail.com>
2024-08-03 19:53:48 +03:00
Vyacheslav Ivanov
8c5e5559ec
fix: optimization: PVS-Studio warning V831
...
Replaced 'at()' method with 'operator[]' to improve performance.
The 'at()' method performs bounds checking, which can introduce overhead. Using 'operator[]' bypasses this check and can improve performance when you are certain that the index is within bounds.
Reported by: PVS-Studio
Signed-off-by: Vyacheslav Ivanov <islavaivanov76@gmail.com>
2024-08-03 17:46:29 +03:00
Vyacheslav Ivanov
aecd0f5db9
fix: optimization: PVS-Studio warning V832
...
It's better to use '= default;' syntax instead of empty constructor and destructor body.
Using '= default;' can help the compiler generate more optimal code.
Reported by: PVS-Studio
Signed-off-by: Vyacheslav Ivanov <islavaivanov76@gmail.com>
2024-08-03 17:44:10 +03:00
MihailRis
ba046a52c0
Revert "fix: optimization: Various PVS-Studio warnings"
2024-08-02 14:51:44 +03:00
Vyacheslav Ivanov
2c1103307f
fix: optimization: PVS-Studio warning V813
...
Passing large objects by const reference avoids unnecessary copying and enhances efficiency.
Reported by: PVS-Studio
Signed-off-by: Vyacheslav Ivanov <islavaivanov76@gmail.com>
2024-08-02 05:35:55 +03:00
Vyacheslav Ivanov
f3f872c7a3
fix: optimization: PVS-Studio warning V831
...
Replaced 'at()' method with 'operator[]' to improve performance.
The 'at()' method performs bounds checking, which can introduce overhead. Using 'operator[]' bypasses this check and can improve performance when you are certain that the index is within bounds.
Reported by: PVS-Studio
Signed-off-by: Vyacheslav Ivanov <islavaivanov76@gmail.com>
2024-08-02 02:38:54 +03:00
Vyacheslav Ivanov
5dd7a15c09
fix: optimization: PVS-Studio warning V832
...
It's better to use '= default;' syntax instead of empty constructor and destructor body.
Using '= default;' can help the compiler generate more optimal code.
Reported by: PVS-Studio
Signed-off-by: Vyacheslav Ivanov <islavaivanov76@gmail.com>
2024-08-02 01:57:43 +03:00
Pugemon
e98fb9a1a7
Optimize container insertions using emplace_back instead of push_back
2024-06-07 04:43:27 +03:00
Pugemon
f25a425cb9
Optimize parameter passing to avoid unnecessary copying
2024-06-07 04:00:38 +03:00
MihailRis
c5f663b7cb
memory-related refactor
2024-05-19 07:09:58 +03:00
MihailRis
2809cc9b86
help to non-existing command + audio fix
2024-05-17 17:50:10 +03:00
MihailRis
8ff629e1cd
minor refactor
2024-05-17 15:46:54 +03:00
MihailRis
9522aedeec
quick check with linters
2024-05-10 12:34:05 +03:00
MihailRis
1627e21c1d
the final rename
2024-05-06 03:38:19 +03:00
MihailRis
9ea67deb13
'ifnot' template property + hpp
2024-05-06 00:45:43 +03:00
MihailRis
9b843817f8
redundancy reduced
2024-04-30 14:49:55 +03:00
MihailRis
051f0b8c6a
rename
2024-04-23 18:43:02 +03:00
MihailRis
1549a02731
audio-related minor refactor
2024-04-10 20:11:43 +03:00
MihailRis
0c411cf227
debug::Logger
2024-04-04 18:19:19 +03:00
MihailRis
3b3c5f081c
ALSpeaker start volume fix + 'master' channel is now forbidden to use in Lua
2024-03-27 20:37:03 +03:00
MihailRis
7e6e447976
AL max sources default value set to 256
2024-03-27 19:43:29 +03:00
MihailRis
a149c520c6
ALSpeaker::play fix
2024-03-15 01:36:00 +03:00
MihailRis
a82476949c
audio volume-related fix
2024-03-15 01:24:57 +03:00
MihailRis
a971f6dccf
audio settings menu
2024-03-12 23:49:42 +03:00
MihailRis
8ac51752d3
audio fixes
2024-03-09 12:15:11 +03:00
MihailRis
90f3373f46
even more steps sounds test
2024-03-09 02:42:53 +03:00
MihailRis
bfc3182ed3
sounds variability + first step fix
2024-03-09 02:10:19 +03:00
MihailRis
a58fbd7df2
paused stream setTime fix
2024-03-06 23:29:08 +03:00
MihailRis
7cca53fca3
stream buffers recycling fix
2024-03-06 23:19:43 +03:00
MihailRis
a5f0f0a780
audio::Stream.setTime(time)
2024-03-06 22:58:48 +03:00
MihailRis
6874e3c812
audio streams: getTime fix
2024-03-06 20:01:24 +03:00
MihailRis
cea4867567
audio::Speaker.getDuration()
2024-03-06 18:55:38 +03:00
MihailRis
13a8c61ee1
audio::get renamed to audio::get_speaker
2024-03-05 14:30:37 +03:00
MihailRis
69e79f3181
removed test resource
2024-03-05 02:45:42 +03:00
MihailRis
1c6689b6b6
sounds variants
2024-03-05 02:30:16 +03:00
MihailRis
0ab39fa06f
audio::reset_channel + minor refactor
2024-03-05 00:19:46 +03:00
MihailRis
d41973583c
al streaming fix
2024-03-04 13:32:04 +03:00
MihailRis
75ee269db3
audio: channels
2024-03-04 02:35:22 +03:00
MihailRis
5657457edb
minor refactor + fix
2024-03-03 19:20:38 +03:00
MihailRis
43b21c664a
fixed clang warnings
2024-03-03 15:01:09 +03:00
MihailRis
cd657a1234
stream now restores speaker after long freezes
2024-03-03 14:49:47 +03:00
MihailRis
011bdd8397
wav streaming fix
2024-03-01 19:03:27 +03:00
MihailRis
603546f642
audio::playStream + speaker relative property
2024-03-01 14:47:12 +03:00
MihailRis
2fab1593c8
PCMStream interface update
2024-03-01 14:27:04 +03:00
MihailRis
7c51e39dfe
wav files streaming
2024-03-01 14:08:13 +03:00
MihailRis
cc9a3e3ec8
AL streaming test
2024-03-01 02:37:32 +03:00
MihailRis
8bd43098d5
ALStream WIP
2024-02-29 13:21:58 +03:00