Fixed _stop() not being called when stop() is called
This commit is contained in:
parent
f4af8201ba
commit
623dc97064
1 changed files with 2 additions and 0 deletions
|
@ -1248,6 +1248,8 @@ void AudioServer::stop_playback_stream(Ref<AudioStreamPlayback> p_playback) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
p_playback->stop();
|
||||||
|
|
||||||
AudioStreamPlaybackListNode *playback_node = _find_playback_list_node(p_playback);
|
AudioStreamPlaybackListNode *playback_node = _find_playback_list_node(p_playback);
|
||||||
if (!playback_node) {
|
if (!playback_node) {
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue