Move bell sound to themes directory

This commit is contained in:
Leroy Hopson 2021-07-12 22:55:00 +07:00
parent e13bc7e082
commit 04e077694f
No known key found for this signature in database
GPG key ID: D2747312A6DB51AA
4 changed files with 5 additions and 5 deletions

View file

@ -169,7 +169,7 @@ You are also implicitly verifying that all code is your original work, or unorig
### Sounds
- [bell.wav](/examples/bell.wav) by InspectorJ (<https://www.jshaw.co.uk>), downloaded from [freesound.org](https://freesound.org/people/InspectorJ/sounds/484344/), released under [CC-BY-3.0](https://creativecommons.org/licenses/by/3.0/).
- [bell.wav](/addons/godot_xterm/themes/audio/bell.wav) by InspectorJ (<https://www.jshaw.co.uk>), downloaded from [freesound.org](https://freesound.org/people/InspectorJ/sounds/484344/), released under [CC-BY-3.0](https://creativecommons.org/licenses/by/3.0/).
### Fonts

View file

@ -2,12 +2,12 @@
importer="wav"
type="AudioStreamSample"
path="res://.import/bell.wav-90c86fbe33880ba47c154bebbc865497.sample"
path="res://.import/bell.wav-54a2dcec0c35ce7bf9aa23071616df00.sample"
[deps]
source_file="res://examples/bell.wav"
dest_files=[ "res://.import/bell.wav-90c86fbe33880ba47c154bebbc865497.sample" ]
source_file="res://addons/godot_xterm/themes/audio/bell.wav"
dest_files=[ "res://.import/bell.wav-54a2dcec0c35ce7bf9aa23071616df00.sample" ]
[params]

View file

@ -17,7 +17,7 @@ func _on_Terminal_bell():
return
var player := AudioStreamPlayer.new()
player.stream = preload("../bell.wav")
player.stream = preload("res://addons/godot_xterm/themes/audio/bell.wav")
player.autoplay = true
player.connect("finished", self, "_on_player_finished", [player])
add_child(player)