NO-OP: whitespace
This commit is contained in:
parent
6144de5bf0
commit
551be058f2
|
@ -35,15 +35,15 @@
|
|||
#include <cstdio> // Needed so that libraptor (included in lrdf) won't complain
|
||||
#include <cstdlib>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/time.h>
|
||||
#include <sys/types.h>
|
||||
#ifndef PLATFORM_WINDOWS
|
||||
#include <sys/resource.h>
|
||||
#endif
|
||||
#include <unistd.h>
|
||||
#include <fcntl.h>
|
||||
#include <errno.h>
|
||||
#include <fcntl.h>
|
||||
#include <time.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include <glib.h>
|
||||
#include "pbd/gstdio_compat.h"
|
||||
|
@ -85,22 +85,22 @@
|
|||
#endif
|
||||
|
||||
#include "pbd/cpus.h"
|
||||
#include "pbd/enumwriter.h"
|
||||
#include "pbd/error.h"
|
||||
#include "pbd/file_utils.h"
|
||||
#include "pbd/fpu.h"
|
||||
#include "pbd/id.h"
|
||||
#include "pbd/pbd.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++/port.h"
|
||||
|
||||
#include "LuaBridge/LuaBridge.h"
|
||||
|
||||
#include "ardour/analyser.h"
|
||||
#include "ardour/audio_library.h"
|
||||
#include "ardour/audio_backend.h"
|
||||
#include "ardour/audio_library.h"
|
||||
#include "ardour/audioengine.h"
|
||||
#include "ardour/audioplaylist.h"
|
||||
#include "ardour/audioregion.h"
|
||||
|
@ -109,9 +109,9 @@
|
|||
#include "ardour/directory_names.h"
|
||||
#include "ardour/event_type_map.h"
|
||||
#include "ardour/filesystem_paths.h"
|
||||
#include "ardour/midi_patch_manager.h"
|
||||
#include "ardour/midi_region.h"
|
||||
#include "ardour/midi_ui.h"
|
||||
#include "ardour/midi_patch_manager.h"
|
||||
#include "ardour/midiport_manager.h"
|
||||
#include "ardour/mix.h"
|
||||
#include "ardour/operations.h"
|
||||
|
@ -131,6 +131,7 @@
|
|||
#ifdef LV2_SUPPORT
|
||||
#include "ardour/uri_map.h"
|
||||
#endif
|
||||
|
||||
#include "audiographer/routines.h"
|
||||
|
||||
#if defined(__APPLE__)
|
||||
|
@ -184,7 +185,6 @@ setup_hardware_optimization (bool try_optimization)
|
|||
bool generic_mix_functions = true;
|
||||
|
||||
if (try_optimization) {
|
||||
|
||||
FPU* fpu = FPU::instance ();
|
||||
|
||||
#if defined(ARCH_X86) && defined(BUILD_SSE_OPTIMIZATIONS)
|
||||
|
@ -210,7 +210,6 @@ setup_hardware_optimization (bool try_optimization)
|
|||
generic_mix_functions = false;
|
||||
|
||||
} else if (fpu->has_sse ()) {
|
||||
|
||||
info << "Using SSE optimized routines" << endmsg;
|
||||
|
||||
// SSE SET
|
||||
|
@ -222,7 +221,6 @@ setup_hardware_optimization (bool try_optimization)
|
|||
copy_vector = default_copy_vector;
|
||||
|
||||
generic_mix_functions = false;
|
||||
|
||||
}
|
||||
|
||||
#elif defined(__APPLE__) && defined(BUILD_VECLIB_OPTIMIZATIONS)
|
||||
|
@ -247,7 +245,6 @@ setup_hardware_optimization (bool try_optimization)
|
|||
}
|
||||
|
||||
if (generic_mix_functions) {
|
||||
|
||||
compute_peak = default_compute_peak;
|
||||
find_peaks = default_find_peaks;
|
||||
apply_gain_to_buffer = default_apply_gain_to_buffer;
|
||||
|
@ -269,7 +266,6 @@ lotsa_files_please ()
|
|||
struct rlimit rl;
|
||||
|
||||
if (getrlimit (RLIMIT_NOFILE, &rl) == 0) {
|
||||
|
||||
#ifdef __APPLE__
|
||||
/* See the COMPATIBILITY note on the Apple setrlimit() man page */
|
||||
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) {
|
||||
|
||||
old_name = Glib::build_filename (old_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 ();
|
||||
#endif
|
||||
|
||||
if (!PBD::init()) return false;
|
||||
if (!PBD::init ())
|
||||
return false;
|
||||
|
||||
#if ENABLE_NLS
|
||||
(void)bindtextdomain (PACKAGE, localedir);
|
||||
|
@ -526,7 +522,6 @@ ARDOUR::init (bool use_windows_vst, bool try_optimization, const char* localedir
|
|||
|
||||
Profile = new RuntimeProfile;
|
||||
|
||||
|
||||
#ifdef WINDOWS_VST_SUPPORT
|
||||
if (Config->get_use_windows_vst () && fst_init (0)) {
|
||||
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[_("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;
|
||||
|
||||
/* pure I/O */
|
||||
|
@ -625,9 +620,7 @@ ARDOUR::init_post_engine (uint32_t start_cnt)
|
|||
XMLNode* node;
|
||||
|
||||
if (start_cnt == 0) {
|
||||
|
||||
if (!running_from_gui) {
|
||||
|
||||
/* find plugins, but only using the existing cache (i.e. do
|
||||
* not discover new ones. GUIs are responsible for
|
||||
* invoking this themselves after the engine is
|
||||
|
@ -824,7 +817,6 @@ ARDOUR::set_translations_enabled (bool yn)
|
|||
return true;
|
||||
}
|
||||
|
||||
|
||||
vector<SyncSource>
|
||||
ARDOUR::get_available_sync_options ()
|
||||
{
|
||||
|
@ -903,9 +895,6 @@ ARDOUR::get_microseconds ()
|
|||
int
|
||||
ARDOUR::format_data_width (ARDOUR::SampleFormat format)
|
||||
{
|
||||
|
||||
|
||||
|
||||
switch (format) {
|
||||
case ARDOUR::FormatInt16:
|
||||
return 16;
|
||||
|
|
Loading…
Reference in New Issue
Block a user