def
e592afc98c
Add Thread Safety Analysis
...
and annotate some code: https://clang.llvm.org/docs/ThreadSafetyAnalysis.html
2020-12-23 18:13:21 +01:00
def
165857a5a8
Fix variable names manually
2020-11-02 22:40:40 +01:00
def
b1f0fd8969
Enable modernize-loop-convert clang-tidy check
...
and run clang-format afterwards
https://clang.llvm.org/extra/clang-tidy/checks/modernize-loop-convert.html
2020-11-02 22:40:24 +01:00
def
62dc12aacb
Fix all Multiplication type alerts by CodeQL
...
> Multiplication result converted to larger type
> A multiplication result that is converted to a larger type can be a
> sign that the result can overflow the type converted from.
Example: https://github.com/ddnet/ddnet/security/code-scanning/17?query=ref%3Arefs%2Fheads%2Fmaster
2020-10-05 19:03:54 +02:00
def
3be8a592e5
Run clang-format
...
Purely automatic change. In case of conflict with this change, apply the
other change and rerun the formatting to restore it:
$ python scripts/fix_style.py
2020-09-26 21:50:15 +02:00
def
f4344dc420
Use (u)int64 from system.h instead of (u)int64_t from cstdint
...
src/game/client/prediction/gameworld.h:62:90: error: ‘int64_t’ has not been declared
62 | void CreateExplosion(vec2 Pos, int Owner, int Weapon, bool NoDamage, int ActivatedTeam, int64_t Mask);
| ^~~~~~~
2020-07-09 13:55:28 +02:00
def
83c820db09
Fix some naming conventions in videorecorder
2020-06-23 08:00:03 +02:00
Ryozuki
5f565a5eb5
check for WavpackCloseFile
2020-04-11 13:17:21 +02:00
Ryozuki
7d51a0992a
fix memory leak on sound decoding
2020-04-11 13:17:21 +02:00
sirius
483885b6b1
try to solve the problem that video not fluent caused by previous commits
2020-01-08 14:25:06 +08:00
sirius
e910fe404f
Direct mix when recording audio now, and seems solve the stuck problem when
...
DDNet is not the focusing window
2019-11-02 18:21:47 +08:00
sirius
ae1ff28579
not abort sample when sync now
2019-10-31 22:01:12 +08:00
sirius
99f6b66fbd
solve sync between video and audio by magic number
2019-10-31 17:37:38 +08:00
sirius
49ff1a5827
not play sound when rendering video
2019-10-26 20:01:09 +08:00
sirius
9866a73b1c
sync audio and video
2019-10-26 19:54:25 +08:00
H-M-H
7ae4b39574
made recording demos work
...
- videorecorder only works for recording demos now
- demoplayer was modified to allow controll over the time that passed
in order to get perfect fps, IVideo controlls how much time passed,
basically every rendercall sets the time to record the next frame
2019-09-30 20:48:47 +08:00
Learath
93d14a1eca
Inconvenience for windows
2019-04-26 22:36:49 +03:00
def
a7548511bf
Don't allow sound format changes, use preferred driver, print more debug info
2019-03-11 22:32:14 +01:00
Ryozuki
d9d3ed783e
fix windows sound
2018-11-02 12:47:20 +01:00
yangfl
81a39c229b
Fix typo
2018-07-10 17:29:02 +08:00
heinrich5991
f8277267a0
Remove mem_alloc
and mem_free
, use standard C functions instead
...
Replace `mem_free` by `free`, and `mem_alloc` by `malloc` or `calloc`
(the latter one being used to allocate a zeroed array of elements,
sometimes, this makes a call to `mem_zero` superfluous).
This results in having to remove `mem_stats` which previously recorded
the number of allocations and their size that the Teeworlds code did
directly.
Remove OOM handling in `src/game/client/components/binds.cpp`.
Remove needless copying in the CSV code in
`src/game/client/components/statboard.cpp`.
2018-04-09 11:56:39 +02:00
heinrich5991
f7b7054152
Fix crash on startup due to sound initialization
...
Of course `WavpackOpenFileInputEx` is subtly incompatible to
`WavpackOpenFileInputEx64` in that it requires the userdata for the main
steam to be nonnull.
Fixes #1041 .
2018-02-18 12:45:03 +01:00
heinrich5991
73c03544b4
Support older wavpack versions
2018-02-17 01:35:07 +01:00
heinrich5991
99fe1d7bcf
Revert "Fix bundled wavpack when system wavpack is available"
...
This reverts commit 0d9265b1fa
.
2018-02-17 01:31:40 +01:00
def
0d9265b1fa
Fix bundled wavpack when system wavpack is available
2018-02-15 19:30:40 +01:00
bors[bot]
c0fa444f3a
Merge #1034
...
1034: Try to find external GLEW, pnglite and Wavpack r=Learath2 a=heinrich5991
Allow for newer versions of Wavpack, fixes #1023 .
Fixes #1016 .
2018-02-13 02:02:07 +00:00
heinrich5991
94818ec1f0
Try to find external GLEW, pnglite and Wavpack
...
Allow for newer versions of Wavpack, fixes #1023 .
Fixes #1016 .
2018-02-12 23:29:45 +01:00
yangfl
1620fc9b0f
Fix typo
2018-02-07 16:10:40 +08:00
heinrich5991
33315452c3
Merge branch 'master' into leak_fix
2017-07-31 20:42:32 +02:00
def
c6a5a7dcb3
Try using more modern SDL audio interface
2017-07-30 12:33:51 +02:00
HMH
04e2946efc
mem_free is safe on null pointers
2017-07-28 15:42:32 +02:00
def
be8a149d12
We want Y axis falloff on both speakers
2017-07-22 09:15:28 +02:00
HMH
7486ee867e
also Unload Sound
2017-07-21 16:37:23 +02:00
def
ff8d22e335
Audio volume on right speaker should depend on x coordinate, not y...
2017-07-11 22:10:23 +02:00
def
f3e3d57a90
Always close files, cleaner demo recording, fix some other stuff
2017-07-08 13:39:20 +02:00
def
4125941896
Disable dbg_stress in release builds (fewer confused kids that think they hacked the server, less useless code in cache)
2017-06-02 20:45:09 +02:00
def
db2256e827
Fix a few whitespace-at-end-of-file issues
2015-08-22 15:27:41 +02:00
def
3992b1346b
Hopefully fix compilation on new OS X systems
...
Names collided with some new OS X defined names, fixes #189
2015-04-07 19:07:38 +02:00
def
801d6033a5
Revert "More unsigned ints because of undefined integer overflow behaviour"
...
This reverts commit 623223354a
.
2014-12-02 15:54:59 +01:00
def
623223354a
More unsigned ints because of undefined integer overflow behaviour
2014-12-02 12:10:21 +01:00
BeaR
186de4e08e
Add option to enable/disable panning per voice
2014-11-30 12:23:05 +01:00
BeaR
98d42adf9d
Implement sound logic for shaped sounds, fix rectangle height property in editor and submit voice shape information to audio interface
2014-11-29 14:29:40 +01:00
BeaR
9996751161
Remove deprecated falloff distance
2014-11-28 19:21:59 +01:00
BeaR
80c06aef91
Fix sound cutoff for looped sounds and make sound offset threshold dependent on the size of the audio buffer
2014-11-27 13:56:01 +01:00
def
36a9c00aed
Make sound more exact
2014-11-15 00:13:20 +01:00
def
11583ed434
Allow 256 voices
2014-10-30 00:14:16 +01:00
BeaR
f5fa00cfb7
Prevent integer overflow (fixes segfault in the soundengine)
2014-10-29 22:45:48 +01:00
def
ec55a87972
Fix opus map sound crash
2014-10-28 22:42:31 +01:00
BeaR
5562fac602
Add opus as external library (windows only)
2014-10-28 14:38:50 +01:00
BeaR
49373ee412
Fix opus sound loading
2014-10-28 14:01:21 +01:00