Clean up style

This commit is contained in:
Robbert van der Helm
2021-05-05 19:04:49 +02:00
parent 000fa04b7b
commit ce668ec022
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -104,7 +104,7 @@ void Logger::log(const std::string& message) {
if (prefix_timestamp) {
const auto current_time = std::chrono::system_clock::now();
const std::time_t timestamp =
const time_t timestamp =
std::chrono::system_clock::to_time_t(current_time);
// How did C++ manage to get time formatting libraries without a way to
+1 -1
View File
@@ -579,7 +579,7 @@ void Vst2PluginBridge::do_process(T** inputs, T** outputs, int sample_frames) {
// We'll synchronize the scheduling priority of the audio thread on the Wine
// plugin host with that of the host's audio thread every once in a while
std::optional<int> new_realtime_priority;
const time_t now = std::time(nullptr);
const time_t now = time(nullptr);
if (now > last_audio_thread_priority_synchronization +
audio_thread_priority_synchronization_interval) {
new_realtime_priority = get_realtime_priority();
@@ -179,7 +179,7 @@ Vst3PluginProxyImpl::process(Steinberg::Vst::ProcessData& data) {
// We'll synchronize the scheduling priority of the audio thread on the Wine
// plugin host with that of the host's audio thread every once in a while
std::optional<int> new_realtime_priority = std::nullopt;
time_t now = std::time(nullptr);
time_t now = time(nullptr);
if (now > last_audio_thread_priority_synchronization +
audio_thread_priority_synchronization_interval) {
new_realtime_priority = get_realtime_priority();