summaryrefslogtreecommitdiffstats
path: root/scene/2d/audio_stream_player_2d.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright statements to 2020Rémi Verschelde2020-01-011-2/+2
| | | | | | | | | | | Happy new year to the wonderful Godot community! We're starting a new decade with a well-established, non-profit, free and open source game engine, and tons of further improvements in the pipeline from hundreds of contributors. Godot will keep getting better, and we're looking forward to all the games that the community will keep developing and releasing with it.
* Some code changed with Clang-Tidyqarmin2019-06-261-2/+2
|
* Revert "Fix AudioStreams::stop possibly causing a small noise"Juan Linietsky2019-04-271-21/+14
|
* Added generator audio stream, and spectrum analyzer audio effectJuan Linietsky2019-04-101-0/+6
| | | | | | Made AudioFrame and Vector2 equivalent for casting. Added ability to obtain the playback object from stream players. Added ability to obtain effect instance from audio server.
* Fix AudioStreams::stop possibly causing a small noiseMarcelo Fernandez2019-02-171-14/+21
|
* Update copyright statements to 2019Rémi Verschelde2019-01-011-2/+2
| | | | Happy new year to the wonderful Godot community!
* Fix AudioStreamPlayer2D/3D::is_playing right after a play()Marcelo Fernandez2018-11-171-0/+1
|
* Ability to remove buses while they are being used on 2D and 3D stream ↵Juan Linietsky2018-11-131-0/+12
| | | | players. Fixes #15115
* Fixes Area and Area2D audio bus overrideMrCdK2018-10-111-1/+1
|
* Make core/ includes absolute, remove subfolders from include pathRémi Verschelde2018-09-121-1/+1
| | | | | | This allows more consistency in the manner we include core headers, where previously there would be a mix of absolute, relative and include path-dependent includes.
* Restrict set_pitch_scale to positive scales for AudioStreamPlayer*Chaosus2018-08-221-0/+1
| | | | | | Fixes #20459. Co-authored-by: Tiago José Sousa Magalhães <crakylps@gmail.com>
* Fix possible bug with AudioStreamPlayer2D audio positionMarcelo Fernandez2018-07-101-0/+5
|
* Improved stream paused fade codeMarcelo Fernandez2018-07-091-15/+16
|
* Merge pull request #19646 from chanon/fix-audiostream-cant-set-null-streamMax Hilbrunner2018-07-051-5/+5
|\ | | | | Fix can't set AudioStreamPlayer stream to null
| * fix can't set AudioStreamPlayer stream to nullchanon2018-06-221-5/+5
| |
* | Pause AudioStreamPlayers when SceneTree pausesMarcelo Fernandez2018-06-031-7/+43
|/
* Allow editing of some unbound properties when hinted (or no range hinted)Juan Linietsky2018-05-161-1/+1
|
* -New inspector.Juan Linietsky2018-05-151-1/+1
| | | | | | | -Changed UI resizing code, gained huge amount of speed. -Reorganized timer sync to clean up behavior (sorry forgot commit this before) -
* Revert "Use fake audio playing property in editor"Hein-Pieter van Braam2018-05-131-10/+1
|
* Use fake audio playing property in editorShyRed2018-03-161-1/+10
| | | | | | | | It appears that some time ago users were supposed to be able to include the playback of sound effects in their animations by placing keys on the "playing" property. Back then the key frame editor took the value of the checkbox in the property_editor. Somewhere / Sometime this behaviour changed and the key frame editor is now reading the actual value from the object instead of relying on the property editor. This commit introduces a fake active field that is returned when reading the playing property in the editor. While the actual active flag is changed when playback is finished the fake one will stay the same thus allowing the user to take their time with setting the key in the animation editor.
* Fix typos with codespellluz.paz2018-02-211-2/+2
| | | | | | | | | | | | | | Found via `codespell -q 3 --skip="./thirdparty,./editor/translations" -I ../godot-word-whitelist.txt` Whitelist consists of: ``` ang doubleclick lod nd que te unselect ```
* Merge pull request #15254 from mrcdk/pitch_scaleRémi Verschelde2018-02-011-1/+13
|\ | | | | Added pitch scale property to AudioStreamPlayer, AudioStreamPlayer2D and AudioStreamPlayer3D
| * Added pitch scale property to AudioStreamPlayer, AudioStreamPlayer2D and ↵MrCdK2018-01-011-1/+13
| | | | | | | | AudioStreamPlayer3D
* | Fix typos in code and docs with codespellRémi Verschelde2018-01-181-1/+1
| | | | | | | | Using v1.11.0 from https://github.com/lucasdemarchi/codespell
* | Add missing copyright headers and fix formattingRémi Verschelde2018-01-051-0/+29
|/ | | | | | Using `misc/scripts/fix_headers.py` on all Godot files. Some missing header guards were added, and the header inclusion order was fixed in the Bullet module.
* Made Vector::ptrw explicit for writing, compiler was sometimes using the ↵Juan Linietsky2017-11-251-1/+1
| | | | | | wrong function, leading to unnecesary copy on writes and reduced performance.
* Removed type_mask and fixed some variable nameAndreaCatania2017-11-211-1/+1
|
* Renamed fixed_process to physics_processAndreaCatania2017-09-301-4/+4
|
* Rename get_position => get_playback_position and seek_pos => seek on audio ↵Marcelo Fernandez2017-09-231-3/+3
| | | | classes
* Changed get_audio_bus and set functions to get_audio_bus_name and setMarcelo Paez2017-09-221-1/+1
| | | | and edited docs for Area2D due to renaming o get_audio_bus and set_audio_bus
* Rename pos to position in user facing methods and variablesletheed2017-09-201-5/+5
| | | | | | | | | | | Rename user facing methods and variables as well as the corresponding C++ methods according to the folloming changes: * pos -> position * rot -> rotation * loc -> location C++ variables are left as is.
* Renamed play to playing property, but now playing and is_playing is the ↵Juan Linietsky2017-09-131-1/+1
| | | | same, to avoid confusing. Closes #11211
* Fixed issues with surround sound on audio serverMarcelo Fernandez2017-09-121-38/+18
|
* Fix serveral recent new clang-format errorsHein-Pieter van Braam2017-09-081-3/+0
|
* Renamed playing property of audiostreams to play, to make it clearer. Fixes ↵Juan Linietsky2017-09-061-3/+5
| | | | | | #10730 Also disabled the auto shut down of the property when stream ends, to make it easier to animate
* Fix freeze on exit on audiostreamplayers when setting invalid stream, closes ↵Juan Linietsky2017-09-011-1/+3
| | | | #10093
* added finished signals to audio stream players, fixes #9928Juan Linietsky2017-08-251-0/+4
|
* Convert Object::cast_to() to the static versionHein-Pieter van Braam2017-08-241-3/+1
| | | | | | | | | | | | Currently we rely on some undefined behavior when Object->cast_to() gets called with a Null pointer. This used to work fine with GCC < 6 but newer versions of GCC remove all codepaths in which the this pointer is Null. However, the non-static cast_to() was supposed to be null safe. This patch makes cast_to() Null safe and removes the now redundant Null checks where they existed. It is explained in this article: https://www.viva64.com/en/b/0226/
* Removes editor_hint from SceneTreeIgnacio Etcheverry2017-08-191-1/+4
|
* Removes type information from method bindsIgnacio Etcheverry2017-08-101-1/+1
|
* Fixed bug regarding to two spatial 2d players not mixing properlyJuan Linietsky2017-06-221-6/+6
|
* -Added AudioStreamPlayer2D, for 2D positional soundJuan Linietsky2017-06-181-0/+463
-Added ability for Area2D to redirect positional sound to a specific audio bus