Merge pull request #97625 from SourceOfHTML/master
Fix `AudioStreamPlayback`'s `_stop()` not being called when `AudioStreamPlayer`'s `stop()` is called
This commit is contained in:
commit
5410000a52
1 changed files with 2 additions and 0 deletions
|
@ -1248,6 +1248,8 @@ void AudioServer::stop_playback_stream(Ref<AudioStreamPlayback> p_playback) {
|
|||
return;
|
||||
}
|
||||
|
||||
p_playback->stop();
|
||||
|
||||
AudioStreamPlaybackListNode *playback_node = _find_playback_list_node(p_playback);
|
||||
if (!playback_node) {
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue