|
@@ -40,7 +40,7 @@ void AudioStreamPlayer::_notification(int p_what) {
|
|
if (autoplay && !Engine::get_singleton()->is_editor_hint()) {
|
|
if (autoplay && !Engine::get_singleton()->is_editor_hint()) {
|
|
play();
|
|
play();
|
|
}
|
|
}
|
|
- set_stream_paused(false);
|
|
|
|
|
|
+ set_stream_paused(!can_process());
|
|
} break;
|
|
} break;
|
|
|
|
|
|
case NOTIFICATION_INTERNAL_PROCESS: {
|
|
case NOTIFICATION_INTERNAL_PROCESS: {
|