3 #include "core/serialize/orientation.h" 5 #include "core/attenuator/hrtf.h" 6 #include "core/attenuator/microphone.h" 7 #include "core/attenuator/null.h" 9 template <
typename Archive>
10 void wayverb::core::attenuator::hrtf::serialize(Archive& archive) {
11 archive(cereal::make_nvp(
"orientation", orientation),
12 cereal::make_nvp(
"channel", channel_),
13 cereal::make_nvp(
"radius", radius_));
16 template <
typename Archive>
17 void wayverb::core::attenuator::microphone::serialize(Archive& archive) {
18 archive(cereal::make_nvp(
"orientation", orientation),
19 cereal::make_nvp(
"shape", shape_));