Merge pull request #23653 from marcelofg55/as_stop
Fix AudioStreamPlayback::stop not being called on AudioStreamPlayer::stop
This commit is contained in:
commit
85f0ce40e1
|
@ -219,6 +219,7 @@ void AudioStreamPlayer::seek(float p_seconds) {
|
|||
void AudioStreamPlayer::stop() {
|
||||
|
||||
if (stream_playback.is_valid()) {
|
||||
stream_playback->stop();
|
||||
active = false;
|
||||
set_process_internal(false);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue