Fix AudioStreamPlayback::stop not being called on AudioStreamPlayer::stop
This commit is contained in:
parent
d16ce4a8ed
commit
9c8449a3db
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue