13
0

NO-OP: whitespace

This commit is contained in:
Robin Gareus 2020-04-29 14:34:54 +02:00
parent 6144de5bf0
commit 551be058f2
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -35,15 +35,15 @@
#include <cstdio> // Needed so that libraptor (included in lrdf) won't complain #include <cstdio> // Needed so that libraptor (included in lrdf) won't complain
#include <cstdlib> #include <cstdlib>
#include <sys/stat.h> #include <sys/stat.h>
#include <sys/types.h>
#include <sys/time.h> #include <sys/time.h>
#include <sys/types.h>
#ifndef PLATFORM_WINDOWS #ifndef PLATFORM_WINDOWS
#include <sys/resource.h> #include <sys/resource.h>
#endif #endif
#include <unistd.h>
#include <fcntl.h>
#include <errno.h> #include <errno.h>
#include <fcntl.h>
#include <time.h> #include <time.h>
#include <unistd.h>
#include <glib.h> #include <glib.h>
#include "pbd/gstdio_compat.h" #include "pbd/gstdio_compat.h"
@ -85,22 +85,22 @@
#endif #endif
#include "pbd/cpus.h" #include "pbd/cpus.h"
#include "pbd/enumwriter.h"
#include "pbd/error.h" #include "pbd/error.h"
#include "pbd/file_utils.h"
#include "pbd/fpu.h"
#include "pbd/id.h" #include "pbd/id.h"
#include "pbd/pbd.h" #include "pbd/pbd.h"
#include "pbd/strsplit.h" #include "pbd/strsplit.h"
#include "pbd/fpu.h"
#include "pbd/file_utils.h"
#include "pbd/enumwriter.h"
#include "midi++/port.h"
#include "midi++/mmc.h" #include "midi++/mmc.h"
#include "midi++/port.h"
#include "LuaBridge/LuaBridge.h" #include "LuaBridge/LuaBridge.h"
#include "ardour/analyser.h" #include "ardour/analyser.h"
#include "ardour/audio_library.h"
#include "ardour/audio_backend.h" #include "ardour/audio_backend.h"
#include "ardour/audio_library.h"
#include "ardour/audioengine.h" #include "ardour/audioengine.h"
#include "ardour/audioplaylist.h" #include "ardour/audioplaylist.h"
#include "ardour/audioregion.h" #include "ardour/audioregion.h"
@ -109,9 +109,9 @@
#include "ardour/directory_names.h" #include "ardour/directory_names.h"
#include "ardour/event_type_map.h" #include "ardour/event_type_map.h"
#include "ardour/filesystem_paths.h" #include "ardour/filesystem_paths.h"
#include "ardour/midi_patch_manager.h"
#include "ardour/midi_region.h" #include "ardour/midi_region.h"
#include "ardour/midi_ui.h" #include "ardour/midi_ui.h"
#include "ardour/midi_patch_manager.h"
#include "ardour/midiport_manager.h" #include "ardour/midiport_manager.h"
#include "ardour/mix.h" #include "ardour/mix.h"
#include "ardour/operations.h" #include "ardour/operations.h"
@ -131,6 +131,7 @@
#ifdef LV2_SUPPORT #ifdef LV2_SUPPORT
#include "ardour/uri_map.h" #include "ardour/uri_map.h"
#endif #endif
#include "audiographer/routines.h" #include "audiographer/routines.h"
#if defined(__APPLE__) #if defined(__APPLE__)
@ -184,7 +185,6 @@ setup_hardware_optimization (bool try_optimization)
bool generic_mix_functions = true; bool generic_mix_functions = true;
if (try_optimization) { if (try_optimization) {
FPU* fpu = FPU::instance (); FPU* fpu = FPU::instance ();
#if defined(ARCH_X86) && defined(BUILD_SSE_OPTIMIZATIONS) #if defined(ARCH_X86) && defined(BUILD_SSE_OPTIMIZATIONS)
@ -210,7 +210,6 @@ setup_hardware_optimization (bool try_optimization)
generic_mix_functions = false; generic_mix_functions = false;
} else if (fpu->has_sse ()) { } else if (fpu->has_sse ()) {
info << "Using SSE optimized routines" << endmsg; info << "Using SSE optimized routines" << endmsg;
// SSE SET // SSE SET
@ -222,7 +221,6 @@ setup_hardware_optimization (bool try_optimization)
copy_vector = default_copy_vector; copy_vector = default_copy_vector;
generic_mix_functions = false; generic_mix_functions = false;
} }
#elif defined(__APPLE__) && defined(BUILD_VECLIB_OPTIMIZATIONS) #elif defined(__APPLE__) && defined(BUILD_VECLIB_OPTIMIZATIONS)
@ -247,7 +245,6 @@ setup_hardware_optimization (bool try_optimization)
} }
if (generic_mix_functions) { if (generic_mix_functions) {
compute_peak = default_compute_peak; compute_peak = default_compute_peak;
find_peaks = default_find_peaks; find_peaks = default_find_peaks;
apply_gain_to_buffer = default_apply_gain_to_buffer; apply_gain_to_buffer = default_apply_gain_to_buffer;
@ -269,7 +266,6 @@ lotsa_files_please ()
struct rlimit rl; struct rlimit rl;
if (getrlimit (RLIMIT_NOFILE, &rl) == 0) { if (getrlimit (RLIMIT_NOFILE, &rl) == 0) {
#ifdef __APPLE__ #ifdef __APPLE__
/* See the COMPATIBILITY note on the Apple setrlimit() man page */ /* See the COMPATIBILITY note on the Apple setrlimit() man page */
rl.rlim_cur = min ((rlim_t)OPEN_MAX, rl.rlim_max); rl.rlim_cur = min ((rlim_t)OPEN_MAX, rl.rlim_max);
@ -322,7 +318,6 @@ copy_configuration_files (string const & old_dir, string const & new_dir, int ol
} }
if (old_version >= 3) { if (old_version >= 3) {
old_name = Glib::build_filename (old_dir, X_("recent")); old_name = Glib::build_filename (old_dir, X_("recent"));
new_name = Glib::build_filename (new_dir, X_("recent")); new_name = Glib::build_filename (new_dir, X_("recent"));
@ -464,7 +459,8 @@ ARDOUR::init (bool use_windows_vst, bool try_optimization, const char* localedir
fftwf_make_planner_thread_safe (); fftwf_make_planner_thread_safe ();
#endif #endif
if (!PBD::init()) return false; if (!PBD::init ())
return false;
#if ENABLE_NLS #if ENABLE_NLS
(void)bindtextdomain (PACKAGE, localedir); (void)bindtextdomain (PACKAGE, localedir);
@ -526,7 +522,6 @@ ARDOUR::init (bool use_windows_vst, bool try_optimization, const char* localedir
Profile = new RuntimeProfile; Profile = new RuntimeProfile;
#ifdef WINDOWS_VST_SUPPORT #ifdef WINDOWS_VST_SUPPORT
if (Config->get_use_windows_vst () && fst_init (0)) { if (Config->get_use_windows_vst () && fst_init (0)) {
return false; return false;
@ -596,7 +591,7 @@ ARDOUR::init (bool use_windows_vst, bool try_optimization, const char* localedir
reserved_io_names[_("Monitor")] = true; reserved_io_names[_("Monitor")] = true;
reserved_io_names[_("Master")] = true; reserved_io_names[_("Master")] = true;
reserved_io_names["auditioner"] = true; // auditioner.cc Track (s, "auditioner",...) reserved_io_names[X_("auditioner")] = true; // auditioner.cc Track (s, "auditioner",...)
reserved_io_names[_("Virtual Keyboard")] = false; reserved_io_names[_("Virtual Keyboard")] = false;
/* pure I/O */ /* pure I/O */
@ -625,9 +620,7 @@ ARDOUR::init_post_engine (uint32_t start_cnt)
XMLNode* node; XMLNode* node;
if (start_cnt == 0) { if (start_cnt == 0) {
if (!running_from_gui) { if (!running_from_gui) {
/* find plugins, but only using the existing cache (i.e. do /* find plugins, but only using the existing cache (i.e. do
* not discover new ones. GUIs are responsible for * not discover new ones. GUIs are responsible for
* invoking this themselves after the engine is * invoking this themselves after the engine is
@ -824,7 +817,6 @@ ARDOUR::set_translations_enabled (bool yn)
return true; return true;
} }
vector<SyncSource> vector<SyncSource>
ARDOUR::get_available_sync_options () ARDOUR::get_available_sync_options ()
{ {
@ -903,9 +895,6 @@ ARDOUR::get_microseconds ()
int int
ARDOUR::format_data_width (ARDOUR::SampleFormat format) ARDOUR::format_data_width (ARDOUR::SampleFormat format)
{ {
switch (format) { switch (format) {
case ARDOUR::FormatInt16: case ARDOUR::FormatInt16:
return 16; return 16;