Applied clang-format-18 to codebase

This commit is contained in:
OpenSauce04
2024-11-10 21:02:54 +00:00
parent 3e02c29225
commit fd55b4fd6c
148 changed files with 1028 additions and 1029 deletions

View File

@@ -101,11 +101,11 @@ private:
template <class Archive>
void serialize(Archive& ar, const unsigned int) {
ar& dsp_state;
ar& pipe_data;
ar& dsp_memory.raw_memory;
ar& sources;
ar& mixers;
ar & dsp_state;
ar & pipe_data;
ar & dsp_memory.raw_memory;
ar & sources;
ar & mixers;
// interrupt_handler is reregistered when loading state from DSP_DSP
}
friend class boost::serialization::access;

View File

@@ -57,11 +57,11 @@ private:
template <class Archive>
void serialize(Archive& ar, const unsigned int) {
ar& current_frame;
ar& state.intermediate_mixer_volume;
ar& state.aux_bus_enable;
ar& state.intermediate_mix_buffer;
ar& state.output_format;
ar & current_frame;
ar & state.intermediate_mixer_volume;
ar & state.aux_bus_enable;
ar & state.intermediate_mix_buffer;
ar & state.output_format;
}
friend class boost::serialization::access;
};

View File

@@ -60,7 +60,7 @@ private:
template <class Archive>
void serialize(Archive& ar, const unsigned int) {
ar& storage;
ar & storage;
}
friend class boost::serialization::access;
};

View File

@@ -93,18 +93,18 @@ private:
private:
template <class Archive>
void serialize(Archive& ar, const unsigned int) {
ar& physical_address;
ar& length;
ar& adpcm_ps;
ar& adpcm_yn;
ar& adpcm_dirty;
ar& is_looping;
ar& buffer_id;
ar& mono_or_stereo;
ar& format;
ar& from_queue;
ar& play_position;
ar& has_played;
ar & physical_address;
ar & length;
ar & adpcm_ps;
ar & adpcm_yn;
ar & adpcm_dirty;
ar & is_looping;
ar & buffer_id;
ar & mono_or_stereo;
ar & format;
ar & from_queue;
ar & play_position;
ar & has_played;
}
friend class boost::serialization::access;
};
@@ -163,20 +163,20 @@ private:
private:
template <class Archive>
void serialize(Archive& ar, const unsigned int) {
ar& enabled;
ar& sync_count;
ar& gain;
ar& input_queue;
ar& mono_or_stereo;
ar& format;
ar& current_sample_number;
ar& current_buffer_physical_address;
ar& current_buffer;
ar& buffer_update;
ar& current_buffer_id;
ar& adpcm_coeffs;
ar& rate_multiplier;
ar& interpolation_mode;
ar & enabled;
ar & sync_count;
ar & gain;
ar & input_queue;
ar & mono_or_stereo;
ar & format;
ar & current_sample_number;
ar & current_buffer_physical_address;
ar & current_buffer;
ar & buffer_update;
ar & current_buffer_id;
ar & adpcm_coeffs;
ar & rate_multiplier;
ar & interpolation_mode;
}
friend class boost::serialization::access;
@@ -196,7 +196,7 @@ private:
template <class Archive>
void serialize(Archive& ar, const unsigned int) {
ar& state;
ar & state;
}
friend class boost::serialization::access;
};