| 231 | } |
| 232 | |
| 233 | WavData read_and_mix_wavs_to_reference_shape( |
| 234 | const std::vector<std::pair<std::filesystem::path, float>> & inputs, |
| 235 | bool normalize_peak) { |
| 236 | std::vector<AudioMixInput> loaded; |
| 237 | loaded.reserve(inputs.size()); |
| 238 | for (const auto & [path, gain] : inputs) { |
| 239 | loaded.push_back(AudioMixInput{read_wav_f32(path), gain}); |
| 240 | } |
| 241 | return mix_audio_to_reference_shape(loaded, normalize_peak); |
| 242 | } |
| 243 | |
| 244 | } // namespace engine::audio |
nothing calls this directly
no test coverage detected