mirror of
https://github.com/lihop/godot-xterm.git
synced 2025-05-04 12:14:24 +02:00
Move bell sound to themes directory
This commit is contained in:
parent
e13bc7e082
commit
04e077694f
4 changed files with 5 additions and 5 deletions
Binary file not shown.
|
@ -1,21 +0,0 @@
|
|||
[remap]
|
||||
|
||||
importer="wav"
|
||||
type="AudioStreamSample"
|
||||
path="res://.import/bell.wav-90c86fbe33880ba47c154bebbc865497.sample"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://examples/bell.wav"
|
||||
dest_files=[ "res://.import/bell.wav-90c86fbe33880ba47c154bebbc865497.sample" ]
|
||||
|
||||
[params]
|
||||
|
||||
force/8_bit=false
|
||||
force/mono=false
|
||||
force/max_rate=false
|
||||
force/max_rate_hz=44100
|
||||
edit/trim=false
|
||||
edit/normalize=false
|
||||
edit/loop=false
|
||||
compress/mode=0
|
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue