Thaddeus Crews
e380a41752
Style: Add class_db.h includes explicitly
2026-02-26 15:50:28 -06:00
Lukas Tenbrink
0ea5ece984
Move binary math functions to Math namespace in math_funcs_binary header.
2026-02-17 12:24:35 +01:00
Jan Haller
9dc1a82900
Fix GDExtension compatibility breakage in removed getter
2026-02-06 12:15:29 +01:00
Thaddeus Crews
b9b626406a
Merge pull request #114355 from Akosmo/spectrum-analyzer-fix
...
Fix Spectrum Analyzer effect returning jittered values
2026-02-05 09:32:36 -06:00
Lukas Tenbrink
c5df0cb82b
Don't right-align escaped newlines, e.g. for #define. This has previously led to long diffs in the commit history.
2026-02-04 19:31:28 +01:00
Akosmo
34e246399d
Fix spectrum analyzer
2026-02-01 19:22:16 -03:00
Aaron Franke
3d1c9fd5de
Move server files into their subfolders
2025-09-30 19:39:39 -07:00
LuoZhihao
8ba4656ea3
Compile out editor-only logic within validate_property in games
2025-06-12 12:54:19 +08:00
Aaron Franke
f6f1df7d73
Add 64-bit versions of core power of 2 functions
2025-06-01 23:11:12 -07:00
Thaddeus Crews
1a2a1b07df
Merge pull request #105799 from Repiteo/scons/enum-conversion-warnings
...
SCons: Add enum conversion warning
2025-04-27 19:21:23 -05:00
Thaddeus Crews
3947cbe3b2
Merge pull request #104386 from Repiteo/core/cpp-math
...
Core: Replace C math headers with C++ equivalents
2025-04-27 19:21:22 -05:00
Thaddeus Crews
dc9c34f0c6
SCons: Add enum conversion warning
2025-04-26 12:06:20 -05:00
Rémi Verschelde
80359d3577
AudioEffectPitchShift: 3rd attempt at fixing -Wstringop-overflow warning
2025-04-25 14:10:41 +02:00
Thaddeus Crews
ad40939b6f
Core: Replace C math headers with C++ equivalents
...
- Minor restructuring to ensure `math_funcs.h` is the central point for math functions
2025-04-16 15:49:02 -05:00
Thaddeus Crews
94282d88f9
Core: Use Math namespace for constants
2025-04-10 16:29:30 -05:00
kobewi
10f6c01b9c
Remove ABS in favor of Math::abs
2025-03-19 13:52:40 +01:00
Julian
f7bb2c8b11
Copy audio data to dest when bypassing pitch effect
2025-03-13 18:08:11 -04:00
A Thousand Ships
466590d0ec
Use get_slicec instead of get_slice for single character splitters
2025-03-08 20:36:37 +01:00
Thaddeus Crews
324512e11c
Style: Replace header guards with #pragma once
2025-03-07 17:33:47 -06:00
Pāvels Nadtočajevs
3965bdfd62
[AudioStreamGenerator] Add mixing rate presets, update docs.
2025-02-11 11:22:34 +02:00
Rémi Verschelde
e1a1acc66b
Merge pull request #101279 from akien-mga/audio-pitch-shift-fix-gcc-warning
...
Fix GCC warning about potential stringop-overflow in AudioEffectPitcShift
2025-01-09 11:17:31 +01:00
Aarni Koskela
f134769506
Fix various typos
...
* Add TODO notes for typos that should be fixed for 5.0
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2025-01-08 14:47:42 +02:00
Rémi Verschelde
6f4089fa55
Fix GCC warning about potential stringop-overflow in AudioEffectPitchShift
...
Fixes #101236 .
2025-01-08 10:40:17 +01:00
Yufeng Ying
e88e30c273
Remove unused headers in servers.
...
Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
2024-12-20 18:51:01 +08:00
Malcolm Anderson
2f5b97c7f9
Add volume_linear property and methods for audio-related classes
...
Remove default value from `volume_linear` property documentation
Remove `volume_linear` internal property from `AudioBusLayout`
Update doc/classes/AudioEffectAmplify.xml [no ci]
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
Make documentation more concise [no ci]
2024-12-18 12:41:57 -08:00
DeeJayLSP
afd68d785b
Use qoa.c and custom compress procedure
2024-12-05 13:20:09 -03:00
what-is-a-git
707f1038c3
Add runtime file loading to AudioStreamWAV
2024-12-02 20:03:53 -05:00
Rémi Verschelde
88e81ee730
Fix various typos and code style issues
2024-11-28 17:40:42 +01:00
Thaddeus Crews
9f9ee0c813
SCons: Add unobtrusive type hints in SCons files
2024-09-25 09:34:35 -05:00
Fabian S.
8ebabf68f8
AudioEffectPitchShift: Fix distortion when pitch is 1.0
2024-09-17 15:16:08 +03:00
A Thousand Ships
194bdde947
Cleanup of raw nullptr checks with Ref
...
Using `is_valid/null` over checks with `nullptr` or `ERR_FAIL_NULL` etc.
2024-08-31 15:01:09 +02:00
DeeJayLSP
5a50b3a6c5
WAV stream/importer: Improve compression/loop names and descriptions
2024-08-30 16:31:57 -03:00
landervr
61a5d52388
Add AudioEffectHardLimiter as a rework of audio limiter effect
2024-03-25 13:37:03 +01:00
Rémi Verschelde
f8af9bf3e4
AudioEffectPitchShift: Actually fix -Wstringop-overflow warning
...
Previous commit didn't help, so its changes are reverted.
2024-02-22 09:59:00 +01:00
Rémi Verschelde
3ba724e715
AudioEffectPitchShift: Prevent negative size memset (GCC warning)
2024-02-19 00:30:25 +01:00
A Thousand Ships
d8b29efe66
Fix member names of AudioFrame to match extension
2024-02-13 15:37:09 +01:00
A Thousand Ships
684752e75b
Replace error checks against size with is_empty
2024-02-09 12:50:15 +01:00
Fabian Keller
4eac548202
bugfix for audio stream generators getting killed accidentally by audio server
2023-09-10 09:22:21 +02:00
Wilson E. Alvarez
d19c376d2e
Fix AudioEffectRecord circular reference
2023-06-19 18:13:01 -04:00
Samuele Panzeri
4aaa2e6477
Fix wait for thread not started
2023-04-27 20:28:22 +02:00
Rémi Verschelde
9583c20171
Merge pull request #70515 from stmSi/fix-hanging-audio-pitch-scale
...
Fix hanging if audiostream's pitch_scale is NaN
2023-02-17 14:06:55 +01:00
Rémi Verschelde
d95794ec8a
One Copyright Update to rule them all
...
As many open source projects have started doing it, we're removing the
current year from the copyright notice, so that we don't need to bump
it every year.
It seems like only the first year of publication is technically
relevant for copyright notices, and even that seems to be something
that many companies stopped listing altogether (in a version controlled
codebase, the commits are a much better source of date of publication
than a hardcoded copyright statement).
We also now list Godot Engine contributors first as we're collectively
the current maintainers of the project, and we clarify that the
"exclusive" copyright of the co-founders covers the timespan before
opensourcing (their further contributions are included as part of Godot
Engine contributors).
Also fixed "cf." Frenchism - it's meant as "refer to / see".
2023-01-05 13:25:55 +01:00
stmSi
2041616934
Fix Editor hanging if audiostream's pitch_scale is NaN
2022-12-24 12:39:48 +06:30
M-O-Marmalade
8ea0d727f0
AudioEffectDistorion docs & inspector edits
...
Fixing a few typos in the AudioEffectDistortion docs, making a few
things clearer, etc
Also adding the decibel (dB) suffix to the pre/post gain properties in
the inspector.
2022-11-22 17:38:13 -08:00
Rémi Verschelde
f7c611ab71
Style: Misc docs and comment style and language fixes
...
- Removed empty paragraphs in XML.
- Consistently use bold style for "Example:", on a new line.
- Fix usage of `[code]` when hyperlinks could be used (`[member]`, `[constant]`).
- Fix invalid usage of backticks for inline code in BBCode.
- Fix some American/British English spelling inconsistencies.
- Other minor fixes spotted along the way, including typo fixes with codespell.
- Don't specify `@GlobalScope` for `enum` and `constant`.
2022-11-02 19:01:18 +01:00
bruvzg
0103af1ddd
Fix MSVC warnings, rename shadowed variables, fix uninitialized values, change warnings=all to use /W4.
2022-10-07 11:32:33 +03:00
Rémi Verschelde
54418ea659
Remove NO_THREADS fallback code, Godot 4 requires thread support
...
This also removes `OS::can_use_threads` from the public API since it's always
true.
2022-10-03 11:23:26 +02:00
bruvzg
ea1848ce0a
Use constexpr in the conditions with template parameters and sizeofs to suppress C4127 warnings.
2022-09-29 10:38:21 +03:00
Dave Palais
0c46068af0
Change time parameters and variables to double type
...
Addresses #65313
2022-09-26 13:52:54 -05:00
Micky
59e11934d8
Rename str2var to str_to_var and similar
...
Affects the Math class, a good chunk of the audio code, and a lot of other miscellaneous classes, too.
- `var2str` -> `var_to_str`
- `str2var` -> `str_to_var`
- `bytes2var` -> `bytes_to_var`
- `bytes2var_with_objects` -> `bytes_to_var_with_objects`
- `var2bytes` -> `var_to_bytes`
- `var2bytes_with_objects` -> `var_to_bytes_with_objects`
- `linear2db` -> `linear_to_db`
- `db2linear` -> `db_to_linear`
- `deg2rad` -> `deg_to_rad`
- `rad2deg` -> `rad_to_deg`
- `dict2inst` -> `dict_to_inst`
- `inst2dict` -> `inst_to_dict`
2022-08-26 14:58:22 +02:00