summaryrefslogtreecommitdiffstats
path: root/platform/web/audio_driver_web.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Add a `--audio-output-latency` command-line argumentHugo Locurcio2023-08-171-1/+1
| | | | | This allows optimizing the audio output latency on higher-end CPUs, especially in projects that do not expose a way to override this setting.
* Fix crash caused by invalid mix_rate assignment due to bogusEoin O'Neill2023-04-251-1/+1
| | | | | | | | | project settings. We'll default to a sensible value in the case that a user has somehow managed to modify the configuration file incorrectly. Closes 69819
* Further refactoring to AudioDriver implementations after #69120.Emmanouil Papadeas2023-02-091-4/+4
| | | | | | | | | | | | - Rename all instances of `capture_start()` and `capture_end()` to their new names. Fixes #72892. - More internal renames to match what was started in #69120. - Use `override` consistently so that such refactoring bugs can be caught. - Harmonize the order of definition of the overridden virtual methods in each audio driver. - Harmonize prototype for `set_output_device` and `set_input_device`. Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
* One Copyright Update to rule them allRémi Verschelde2023-01-051-29/+29
| | | | | | | | | | | | | | | | | | | | 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".
* Remove NO_THREADS fallback code, Godot 4 requires thread supportRémi Verschelde2022-10-031-46/+0
| | | | | This also removes `OS::can_use_threads` from the public API since it's always true.
* [Web] Rename JavaScript platform to Web.Fabio Alessandrelli2022-08-291-0/+293
Also rename export name from "HTML5" to "Web".