CI: Update to clang-format 16

This commit also modifies UI, libobs, and plugins.
This commit is contained in:
Ryan Foster
2023-08-10 16:07:25 -04:00
parent c81f531edb
commit 64139a6bbd
25 changed files with 65 additions and 57 deletions
+1 -1
View File
@@ -618,4 +618,4 @@ const CardEntries::iterator CardManager::end()
return mCardEntries.end();
}
} // aja
} // namespace aja
+1 -1
View File
@@ -103,4 +103,4 @@ private:
mutable std::mutex mMutex;
};
} // aja
} // namespace aja
+1 -1
View File
@@ -1183,4 +1183,4 @@ std::vector<NTV2DeviceID> MultiViewCards()
return {DEVICE_ID_IOX3};
}
} // aja
} // namespace aja
+1 -1
View File
@@ -110,4 +110,4 @@ extern VPIDStandard DetermineVPIDStandard(IOSelection io, NTV2VideoFormat vf,
SDITransport4K t4k);
extern std::vector<NTV2DeviceID> MultiViewCards();
} // aja
} // namespace aja
+1 -1
View File
@@ -1836,4 +1836,4 @@ bool RoutingConfigurator::FindFirstPreset(ConnectionKind kind, NTV2DeviceID id,
return false;
}
} // aja
} // namespace aja
+1 -1
View File
@@ -46,4 +46,4 @@ private:
RoutingPresetMap m_presets;
};
} // aja
} // namespace aja
+1 -1
View File
@@ -608,4 +608,4 @@ void Routing::LogRoutingPreset(const RoutingPreset &rp)
}
}
} // aja
} // namespace aja
+1 -1
View File
@@ -62,4 +62,4 @@ public:
static void LogRoutingPreset(const RoutingPreset &rp);
};
} // aja
} // namespace aja
+3 -4
View File
@@ -125,7 +125,7 @@ struct ca_encoder {
};
typedef struct ca_encoder ca_encoder;
}
} // namespace
namespace std {
@@ -152,7 +152,7 @@ template<> struct default_delete<remove_pointer<AudioConverterRef>::type> {
}
};
}
} // namespace std
template<typename T>
using cf_ptr = unique_ptr<typename remove_pointer<T>::type>;
@@ -1405,8 +1405,7 @@ bool obs_module_load(void)
CA_LOG(LOG_INFO, "Adding CoreAudio AAC encoder");
#endif
struct obs_encoder_info aac_info {
};
struct obs_encoder_info aac_info {};
aac_info.id = "CoreAudio_AAC";
aac_info.type = OBS_ENCODER_AUDIO;
aac_info.codec = "aac";
+3 -3
View File
@@ -41,7 +41,7 @@ namespace std {
}
};
}
} // namespace std
#define TEXT_AVCAPTURE obs_module_text("AVCapture")
#define TEXT_DEVICE obs_module_text("Device")
@@ -111,7 +111,7 @@ namespace {
bool video_params_valid = false;
};
}
} // namespace
struct av_capture {
OBSAVCaptureDelegate *delegate;
@@ -303,7 +303,7 @@ namespace {
}
};
}
} // namespace
static av_capture_ref get_ref(obs_properties_t *props)
{
+1 -1
View File
@@ -60,4 +60,4 @@ private:
T data[2] = {{}, {}};
};
}
} // namespace left_right
+1 -1
View File
@@ -58,7 +58,7 @@ operator+(detail::ScopeGuardOnExit, FunctionType &&fn)
std::forward<FunctionType>(fn));
}
}
} // namespace detail
} // namespace scope_guard_util
+1 -1
View File
@@ -139,5 +139,5 @@ enum type {
};
}
class Logger;
}
} // namespace srt_logging
#endif