Skip to content

Commit

Permalink
Run formatters.
Browse files Browse the repository at this point in the history
  • Loading branch information
fire committed Jul 21, 2024
1 parent eaf9cb6 commit 5937b39
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions main/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2866,8 +2866,8 @@ Error Main::setup2(bool p_show_boot_logo) {
audio_server = memnew(AudioServer);
audio_server->init();

resonance_audio_server = memnew(ResonanceAudioServer);
resonance_audio_server = memnew(ResonanceAudioServer);

OS::get_singleton()->benchmark_end_measure("Servers", "Audio");
}

Expand Down
2 changes: 1 addition & 1 deletion scene/3d/audio_stream_player_3d.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@
#include "scene/3d/velocity_tracker_3d.h"
#include "scene/audio/audio_stream_player_internal.h"
#include "scene/main/viewport.h"
#include "scene/scene_string_names.h"
#include "servers/audio/audio_stream.h"
#include "servers/resonanceaudio/resonance_audio_wrapper.h"
#include "scene/scene_string_names.h"

// Based on "A Novel Multichannel Panning Method for Standard and Arbitrary Loudspeaker Configurations" by Ramy Sadek and Chris Kyriakakis (2004)
// Speaker-Placement Correction Amplitude Panning (SPCAP)
Expand Down
1 change: 1 addition & 0 deletions scene/3d/audio_stream_player_3d.h
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ class AudioStreamPlayer3D : public Node3D {
float cached_global_panning_strength = 0.5f;

AudioSourceId audio_source_id;

protected:
void _validate_property(PropertyInfo &p_property) const;
void _notification(int p_what);
Expand Down

0 comments on commit 5937b39

Please # to comment.