MCPcopy Create free account
hub / github.com/Redot-Engine/redot-engine / _stop

Method _stop

editor/audio/audio_stream_editor_plugin.cpp:141–147  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

139}
140
141void AudioStreamEditor::_stop() {
142 _player->stop();
143 _play_button->set_button_icon(get_editor_theme_icon(SNAME("MainPlay")));
144 _current = 0;
145 _indicator->queue_redraw();
146 set_process(false);
147}
148
149void AudioStreamEditor::_on_finished() {
150 _play_button->set_button_icon(get_editor_theme_icon(SNAME("MainPlay")));

Callers

nothing calls this directly

Calls 3

set_button_iconMethod · 0.80
stopMethod · 0.45
queue_redrawMethod · 0.45

Tested by

no test coverage detected